#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 */
typedef int ulong;

/* Variables and functions */
char *Geterrwarnmessage(ulong errors, ulong warnings) {
  char *ps;
  if (errors == 0 && warnings == 0)
    ps = NULL;
  else if (errors & 0x00000001)
    ps = "Unknown command";
  else if (errors & 0x00000002)
    ps = "Command crosses end of memory block";
  else if (errors & 0x00000004)
    ps = "Illegal use of register";
  else if (errors & 0x00000008)
    ps = "Memory address is not allowed";
  else if (errors & 0x00000010)
    ps = "LOCK prefix is not allowed";
  else if (errors & 0x00000020)
    ps = "Invalid segment register";
  else if (errors & 0x00000040)
    ps = "Two prefixes from the same group";
  else if (errors & 0x00000080)
    ps = "More than 4 prefixes";
  else if (errors & 0x00000100)
    ps = "Invalid CR register";
  else if (errors & 0x00000200)
    ps = "Internal OllyDbg error";
  else if (warnings & 0x00000001)
    ps = "Superfluous operand size prefix";
  else if (warnings & 0x00000002)
    ps = "Superfluous address size prefix";
  else if (warnings & 0x00000004)
    ps = "Superfluous segment override prefix";
  else if (warnings & 0x00000008)
    ps = "Superfluous REPxx prefix";
  else if (warnings & 0x00000010)
    ps = "Explicit default segment register";
  else if (warnings & 0x00000020)
    ps = "16-bit jump, call or return";
  else if (warnings & 0x00000040)
    ps = "Far jump or call";
  else if (warnings & 0x00000080)
    ps = "Modification of segment register";
  else if (warnings & 0x00000100)
    ps = "Privileged instruction";
  else if (warnings & 0x00000200)
    ps = "I/O command";
  else if (warnings & 0x00000400)
    ps = "Shift out of range";
  else if (warnings & 0x00000800)
    ps = "Command uses (valid) LOCK prefix";
  else if (warnings & 0x00001000)
    ps = "Unaligned stack operation";
  else if (warnings & 0x00002000)
    ps = "Suspicious use of stack pointer";
  else if (warnings & 0x00008000)
    ps = "Undocumented instruction or encoding";
  else
    ps = NULL;
  return ps;
}


x86 assembly (clang, -O0):
<Geterrwarnmessage>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
cmpl   $0x0,-0x4(%rbp)
jne    112b <Geterrwarnmessage+0x2b>
cmpl   $0x0,-0x8(%rbp)
jne    112b <Geterrwarnmessage+0x2b>
movq   $0x0,-0x10(%rbp)
jmp    14cd <Geterrwarnmessage+0x3cd>
mov    -0x4(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     114a <Geterrwarnmessage+0x4a>
lea    0xebf(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14c8 <Geterrwarnmessage+0x3c8>
mov    -0x4(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1169 <Geterrwarnmessage+0x69>
lea    0xeb0(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14c3 <Geterrwarnmessage+0x3c3>
mov    -0x4(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1188 <Geterrwarnmessage+0x88>
lea    0xeb5(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14be <Geterrwarnmessage+0x3be>
mov    -0x4(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     11a7 <Geterrwarnmessage+0xa7>
lea    0xeae(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14b9 <Geterrwarnmessage+0x3b9>
mov    -0x4(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     11c6 <Geterrwarnmessage+0xc6>
lea    0xead(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14b4 <Geterrwarnmessage+0x3b4>
mov    -0x4(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     11e5 <Geterrwarnmessage+0xe5>
lea    0xea9(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14af <Geterrwarnmessage+0x3af>
mov    -0x4(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     1204 <Geterrwarnmessage+0x104>
lea    0xea3(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14aa <Geterrwarnmessage+0x3aa>
mov    -0x4(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1225 <Geterrwarnmessage+0x125>
lea    0xea3(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14a5 <Geterrwarnmessage+0x3a5>
mov    -0x4(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     1246 <Geterrwarnmessage+0x146>
lea    0xe97(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    14a0 <Geterrwarnmessage+0x3a0>
mov    -0x4(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     1267 <Geterrwarnmessage+0x167>
lea    0xe8a(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    149b <Geterrwarnmessage+0x39b>
mov    -0x8(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1286 <Geterrwarnmessage+0x186>
lea    0xe82(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1496 <Geterrwarnmessage+0x396>
mov    -0x8(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     12a5 <Geterrwarnmessage+0x1a5>
lea    0xe83(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1491 <Geterrwarnmessage+0x391>
mov    -0x8(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     12c4 <Geterrwarnmessage+0x1c4>
lea    0xe84(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    148c <Geterrwarnmessage+0x38c>
mov    -0x8(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     12e3 <Geterrwarnmessage+0x1e3>
lea    0xe89(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1487 <Geterrwarnmessage+0x387>
mov    -0x8(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     1302 <Geterrwarnmessage+0x202>
lea    0xe83(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1482 <Geterrwarnmessage+0x382>
mov    -0x8(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1321 <Geterrwarnmessage+0x221>
lea    0xe86(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    147d <Geterrwarnmessage+0x37d>
mov    -0x8(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     1340 <Geterrwarnmessage+0x240>
lea    0xe83(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1478 <Geterrwarnmessage+0x378>
mov    -0x8(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1361 <Geterrwarnmessage+0x261>
lea    0xe73(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1473 <Geterrwarnmessage+0x373>
mov    -0x8(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     1382 <Geterrwarnmessage+0x282>
lea    0xe73(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    146e <Geterrwarnmessage+0x36e>
mov    -0x8(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     13a3 <Geterrwarnmessage+0x2a3>
lea    0xe69(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1469 <Geterrwarnmessage+0x369>
mov    -0x8(%rbp),%eax
and    $0x400,%eax
cmp    $0x0,%eax
je     13c4 <Geterrwarnmessage+0x2c4>
lea    0xe54(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1464 <Geterrwarnmessage+0x364>
mov    -0x8(%rbp),%eax
and    $0x800,%eax
cmp    $0x0,%eax
je     13e5 <Geterrwarnmessage+0x2e5>
lea    0xe46(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    145f <Geterrwarnmessage+0x35f>
mov    -0x8(%rbp),%eax
and    $0x1000,%eax
cmp    $0x0,%eax
je     1406 <Geterrwarnmessage+0x306>
lea    0xe46(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    145a <Geterrwarnmessage+0x35a>
mov    -0x8(%rbp),%eax
and    $0x2000,%eax
cmp    $0x0,%eax
je     1427 <Geterrwarnmessage+0x327>
lea    0xe3f(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1455 <Geterrwarnmessage+0x355>
mov    -0x8(%rbp),%eax
and    $0x8000,%eax
cmp    $0x0,%eax
je     1448 <Geterrwarnmessage+0x348>
lea    0xe3e(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    1450 <Geterrwarnmessage+0x350>
movq   $0x0,-0x10(%rbp)
jmp    1455 <Geterrwarnmessage+0x355>
jmp    145a <Geterrwarnmessage+0x35a>
jmp    145f <Geterrwarnmessage+0x35f>
jmp    1464 <Geterrwarnmessage+0x364>
jmp    1469 <Geterrwarnmessage+0x369>
jmp    146e <Geterrwarnmessage+0x36e>
jmp    1473 <Geterrwarnmessage+0x373>
jmp    1478 <Geterrwarnmessage+0x378>
jmp    147d <Geterrwarnmessage+0x37d>
jmp    1482 <Geterrwarnmessage+0x382>
jmp    1487 <Geterrwarnmessage+0x387>
jmp    148c <Geterrwarnmessage+0x38c>
jmp    1491 <Geterrwarnmessage+0x391>
jmp    1496 <Geterrwarnmessage+0x396>
jmp    149b <Geterrwarnmessage+0x39b>
jmp    14a0 <Geterrwarnmessage+0x3a0>
jmp    14a5 <Geterrwarnmessage+0x3a5>
jmp    14aa <Geterrwarnmessage+0x3aa>
jmp    14af <Geterrwarnmessage+0x3af>
jmp    14b4 <Geterrwarnmessage+0x3b4>
jmp    14b9 <Geterrwarnmessage+0x3b9>
jmp    14be <Geterrwarnmessage+0x3be>
jmp    14c3 <Geterrwarnmessage+0x3c3>
jmp    14c8 <Geterrwarnmessage+0x3c8>
jmp    14cd <Geterrwarnmessage+0x3cd>
mov    -0x10(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<Geterrwarnmessage>:
mov    %esi,%eax
or     %edi,%eax
je     121e <Geterrwarnmessage+0x11e>
test   $0x1,%dil
jne    1221 <Geterrwarnmessage+0x121>
test   $0x2,%dil
jne    1229 <Geterrwarnmessage+0x129>
test   $0x4,%dil
jne    1231 <Geterrwarnmessage+0x131>
test   $0x8,%dil
jne    1239 <Geterrwarnmessage+0x139>
test   $0x10,%dil
jne    1241 <Geterrwarnmessage+0x141>
test   $0x20,%dil
jne    1249 <Geterrwarnmessage+0x149>
test   $0x40,%dil
jne    1251 <Geterrwarnmessage+0x151>
test   $0x80,%dil
jne    1259 <Geterrwarnmessage+0x159>
test   $0x100,%edi
jne    1261 <Geterrwarnmessage+0x161>
test   $0x200,%edi
jne    1269 <Geterrwarnmessage+0x169>
test   $0x1,%sil
jne    1271 <Geterrwarnmessage+0x171>
test   $0x2,%sil
jne    1279 <Geterrwarnmessage+0x179>
test   $0x4,%sil
jne    1281 <Geterrwarnmessage+0x181>
test   $0x8,%sil
jne    1289 <Geterrwarnmessage+0x189>
test   $0x10,%sil
jne    1291 <Geterrwarnmessage+0x191>
test   $0x20,%sil
jne    1299 <Geterrwarnmessage+0x199>
test   $0x40,%sil
jne    12a1 <Geterrwarnmessage+0x1a1>
test   $0x80,%sil
jne    12a9 <Geterrwarnmessage+0x1a9>
test   $0x100,%esi
jne    12b1 <Geterrwarnmessage+0x1b1>
test   $0x200,%esi
jne    12b9 <Geterrwarnmessage+0x1b9>
test   $0x400,%esi
jne    12c1 <Geterrwarnmessage+0x1c1>
test   $0x800,%esi
jne    12c9 <Geterrwarnmessage+0x1c9>
test   $0x1000,%esi
jne    12d1 <Geterrwarnmessage+0x1d1>
test   $0x2000,%esi
jne    12d9 <Geterrwarnmessage+0x1d9>
xor    %eax,%eax
test   $0x8000,%esi
lea    0x1064(%rip),%rcx
cmovne %rcx,%rax
ret
xor    %eax,%eax
ret
lea    0xdd8(%rip),%rax
ret
lea    0xde0(%rip),%rax
ret
lea    0xdfc(%rip),%rax
ret
lea    0xe0c(%rip),%rax
ret
lea    0xe22(%rip),%rax
ret
lea    0xe35(%rip),%rax
ret
lea    0xe46(%rip),%rax
ret
lea    0xe5f(%rip),%rax
ret
lea    0xe6c(%rip),%rax
ret
lea    0xe78(%rip),%rax
ret
lea    0xe87(%rip),%rax
ret
lea    0xe9f(%rip),%rax
ret
lea    0xeb7(%rip),%rax
ret
lea    0xed3(%rip),%rax
ret
lea    0xee4(%rip),%rax
ret
lea    0xefe(%rip),%rax
ret
lea    0xf12(%rip),%rax
ret
lea    0xf1b(%rip),%rax
ret
lea    0xf34(%rip),%rax
ret
lea    0xf43(%rip),%rax
ret
lea    0xf47(%rip),%rax
ret
lea    0xf52(%rip),%rax
ret
lea    0xf6b(%rip),%rax
ret
lea    0xf7d(%rip),%rax
ret

LLVM IR (-O0):
@.str = [16 x i8] c"Unknown command\00"
@.str.1 = [36 x i8] c"Command crosses end of memory block\00"
@.str.2 = [24 x i8] c"Illegal use of register\00"
@.str.3 = [30 x i8] c"Memory address is not allowed\00"
@.str.4 = [27 x i8] c"LOCK prefix is not allowed\00"
@.str.5 = [25 x i8] c"Invalid segment register\00"
@.str.6 = [33 x i8] c"Two prefixes from the same group\00"
@.str.7 = [21 x i8] c"More than 4 prefixes\00"
@.str.8 = [20 x i8] c"Invalid CR register\00"
@.str.9 = [23 x i8] c"Internal OllyDbg error\00"
@.str.10 = [32 x i8] c"Superfluous operand size prefix\00"
@.str.11 = [32 x i8] c"Superfluous address size prefix\00"
@.str.12 = [36 x i8] c"Superfluous segment override prefix\00"
@.str.13 = [25 x i8] c"Superfluous REPxx prefix\00"
@.str.14 = [34 x i8] c"Explicit default segment register\00"
@.str.15 = [28 x i8] c"16-bit jump, call or return\00"
@.str.16 = [17 x i8] c"Far jump or call\00"
@.str.17 = [33 x i8] c"Modification of segment register\00"
@.str.18 = [23 x i8] c"Privileged instruction\00"
@.str.19 = [12 x i8] c"I/O command\00"
@.str.20 = [19 x i8] c"Shift out of range\00"
@.str.21 = [33 x i8] c"Command uses (valid) LOCK prefix\00"
@.str.22 = [26 x i8] c"Unaligned stack operation\00"
@.str.23 = [32 x i8] c"Suspicious use of stack pointer\00"
@.str.24 = [37 x i8] c"Undocumented instruction or encoding\00"
define i8* @Geterrwarnmessage(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
store i32 %0, i32* %3
store i32 %1, i32* %4
%6 = load i32, i32* %3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, i32* %4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %8
store i8* null, i8** %5
br label %163
12: ; preds = %8, %2
%13 = load i32, i32* %3
%14 = and i32 %13, 1
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8** %5
br label %162
17: ; preds = %12
%18 = load i32, i32* %3
%19 = and i32 %18, 2
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0), i8** %5
br label %161
22: ; preds = %17
%23 = load i32, i32* %3
%24 = and i32 %23, 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i8** %5
br label %160
27: ; preds = %22
%28 = load i32, i32* %3
%29 = and i32 %28, 8
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i8** %5
br label %159
32: ; preds = %27
%33 = load i32, i32* %3
%34 = and i32 %33, 16
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8** %5
br label %158
37: ; preds = %32
%38 = load i32, i32* %3
%39 = and i32 %38, 32
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8** %5
br label %157
42: ; preds = %37
%43 = load i32, i32* %3
%44 = and i32 %43, 64
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0), i8** %5
br label %156
47: ; preds = %42
%48 = load i32, i32* %3
%49 = and i32 %48, 128
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i8** %5
br label %155
52: ; preds = %47
%53 = load i32, i32* %3
%54 = and i32 %53, 256
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %52
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i8** %5
br label %154
57: ; preds = %52
%58 = load i32, i32* %3
%59 = and i32 %58, 512
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %57
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), i8** %5
br label %153
62: ; preds = %57
%63 = load i32, i32* %4
%64 = and i32 %63, 1
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i8** %5
br label %152
67: ; preds = %62
%68 = load i32, i32* %4
%69 = and i32 %68, 2
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %67
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0), i8** %5
br label %151
72: ; preds = %67
%73 = load i32, i32* %4
%74 = and i32 %73, 4
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %72
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0), i8** %5
br label %150
77: ; preds = %72
%78 = load i32, i32* %4
%79 = and i32 %78, 8
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %77
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0), i8** %5
br label %149
82: ; preds = %77
%83 = load i32, i32* %4
%84 = and i32 %83, 16
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %82
store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0), i8** %5
br label %148
87: ; preds = %82
%88 = load i32, i32* %4
%89 = and i32 %88, 32
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i8** %5
br label %147
92: ; preds = %87
%93 = load i32, i32* %4
%94 = and i32 %93, 64
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %92
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i8** %5
br label %146
97: ; preds = %92
%98 = load i32, i32* %4
%99 = and i32 %98, 128
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %102
101: ; preds = %97
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0), i8** %5
br label %145
102: ; preds = %97
%103 = load i32, i32* %4
%104 = and i32 %103, 256
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %102
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8** %5
br label %144
107: ; preds = %102
%108 = load i32, i32* %4
%109 = and i32 %108, 512
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %107
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), i8** %5
br label %143
112: ; preds = %107
%113 = load i32, i32* %4
%114 = and i32 %113, 1024
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %112
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), i8** %5
br label %142
117: ; preds = %112
%118 = load i32, i32* %4
%119 = and i32 %118, 2048
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %117
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.21, i64 0, i64 0), i8** %5
br label %141
122: ; preds = %117
%123 = load i32, i32* %4
%124 = and i32 %123, 4096
%125 = icmp ne i32 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %122
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), i8** %5
br label %140
127: ; preds = %122
%128 = load i32, i32* %4
%129 = and i32 %128, 8192
%130 = icmp ne i32 %129, 0
br i1 %130, label %131, label %132
131: ; preds = %127
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.23, i64 0, i64 0), i8** %5
br label %139
132: ; preds = %127
%133 = load i32, i32* %4
%134 = and i32 %133, 32768
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %132
store i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0), i8** %5
br label %138
137: ; preds = %132
store i8* null, i8** %5
br label %138
138: ; preds = %137, %136
br label %139
139: ; preds = %138, %131
br label %140
140: ; preds = %139, %126
br label %141
141: ; preds = %140, %121
br label %142
142: ; preds = %141, %116
br label %143
143: ; preds = %142, %111
br label %144
144: ; preds = %143, %106
br label %145
145: ; preds = %144, %101
br label %146
146: ; preds = %145, %96
br label %147
147: ; preds = %146, %91
br label %148
148: ; preds = %147, %86
br label %149
149: ; preds = %148, %81
br label %150
150: ; preds = %149, %76
br label %151
151: ; preds = %150, %71
br label %152
152: ; preds = %151, %66
br label %153
153: ; preds = %152, %61
br label %154
154: ; preds = %153, %56
br label %155
155: ; preds = %154, %51
br label %156
156: ; preds = %155, %46
br label %157
157: ; preds = %156, %41
br label %158
158: ; preds = %157, %36
br label %159
159: ; preds = %158, %31
br label %160
160: ; preds = %159, %26
br label %161
161: ; preds = %160, %21
br label %162
162: ; preds = %161, %16
br label %163
163: ; preds = %162, %11
%164 = load i8*, i8** %5
ret i8* %164
}

LLVM IR (-O2):
@.str = [16 x i8] c"Unknown command\00"
@.str.1 = [36 x i8] c"Command crosses end of memory block\00"
@.str.2 = [24 x i8] c"Illegal use of register\00"
@.str.3 = [30 x i8] c"Memory address is not allowed\00"
@.str.4 = [27 x i8] c"LOCK prefix is not allowed\00"
@.str.5 = [25 x i8] c"Invalid segment register\00"
@.str.6 = [33 x i8] c"Two prefixes from the same group\00"
@.str.7 = [21 x i8] c"More than 4 prefixes\00"
@.str.8 = [20 x i8] c"Invalid CR register\00"
@.str.9 = [23 x i8] c"Internal OllyDbg error\00"
@.str.10 = [32 x i8] c"Superfluous operand size prefix\00"
@.str.11 = [32 x i8] c"Superfluous address size prefix\00"
@.str.12 = [36 x i8] c"Superfluous segment override prefix\00"
@.str.13 = [25 x i8] c"Superfluous REPxx prefix\00"
@.str.14 = [34 x i8] c"Explicit default segment register\00"
@.str.15 = [28 x i8] c"16-bit jump, call or return\00"
@.str.16 = [17 x i8] c"Far jump or call\00"
@.str.17 = [33 x i8] c"Modification of segment register\00"
@.str.18 = [23 x i8] c"Privileged instruction\00"
@.str.19 = [12 x i8] c"I/O command\00"
@.str.20 = [19 x i8] c"Shift out of range\00"
@.str.21 = [33 x i8] c"Command uses (valid) LOCK prefix\00"
@.str.22 = [26 x i8] c"Unaligned stack operation\00"
@.str.23 = [32 x i8] c"Suspicious use of stack pointer\00"
@.str.24 = [37 x i8] c"Undocumented instruction or encoding\00"
define i8* @Geterrwarnmessage(i32 %0, i32 %1) {
%3 = or i32 %1, %0
%4 = icmp eq i32 %3, 0
br i1 %4, label %81, label %5
5: ; preds = %2
%6 = and i32 %0, 1
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %81
8: ; preds = %5
%9 = and i32 %0, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %81
11: ; preds = %8
%12 = and i32 %0, 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %81
14: ; preds = %11
%15 = and i32 %0, 8
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %81
17: ; preds = %14
%18 = and i32 %0, 16
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %81
20: ; preds = %17
%21 = and i32 %0, 32
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %81
23: ; preds = %20
%24 = and i32 %0, 64
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %81
26: ; preds = %23
%27 = and i32 %0, 128
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %81
29: ; preds = %26
%30 = and i32 %0, 256
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %81
32: ; preds = %29
%33 = and i32 %0, 512
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %81
35: ; preds = %32
%36 = and i32 %1, 1
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %81
38: ; preds = %35
%39 = and i32 %1, 2
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %81
41: ; preds = %38
%42 = and i32 %1, 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %81
44: ; preds = %41
%45 = and i32 %1, 8
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %81
47: ; preds = %44
%48 = and i32 %1, 16
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %81
50: ; preds = %47
%51 = and i32 %1, 32
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %81
53: ; preds = %50
%54 = and i32 %1, 64
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %81
56: ; preds = %53
%57 = and i32 %1, 128
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %81
59: ; preds = %56
%60 = and i32 %1, 256
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %81
62: ; preds = %59
%63 = and i32 %1, 512
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %81
65: ; preds = %62
%66 = and i32 %1, 1024
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %81
68: ; preds = %65
%69 = and i32 %1, 2048
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %81
71: ; preds = %68
%72 = and i32 %1, 4096
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %81
74: ; preds = %71
%75 = and i32 %1, 8192
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %81
77: ; preds = %74
%78 = and i32 %1, 32768
%79 = icmp eq i32 %78, 0
%80 = select i1 %79, i8* null, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0)
br label %81
81: ; preds = %77, %74, %71, %68, %65, %62, %59, %56, %53, %50, %47, %44, %41, %38, %35, %32, %29, %26, %23, %20, %17, %14, %11, %8, %5, %2
%82 = phi i8* [ null, %2 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), %5 ], [ getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0), %8 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), %11 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), %14 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), %17 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), %20 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0), %23 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), %26 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), %29 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), %32 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), %35 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0), %38 ], [ getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0), %41 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0), %44 ], [ getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0), %47 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), %50 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), %53 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0), %56 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), %59 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), %62 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), %65 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.21, i64 0, i64 0), %68 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), %71 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.23, i64 0, i64 0), %74 ], [ %80, %77 ]
ret i8* %82
}