#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*/ log_write_raw(int, char *, ...);
void info(int fmt, int flags, int ver) {
  const char *cp;
  switch (fmt) {
  case 6:
    cp = "TinyMUSH-3";
    break;
  case 5:
    cp = "TinyMUX";
    break;
  case 1:
    cp = "TinyMUSH";
    break;
  case 2:
    cp = "TinyMUSE";
    break;
  case 3:
    cp = "TinyMUD";
    break;
  case 4:
    cp = "TinyMUCK";
    break;
  default:
    cp = "*unknown*";
    break;
  }
  log_write_raw(1, "%s version %d:", cp, ver);
  if (flags & 0x00000100) {
    log_write_raw(1, " Zone");
  }
  if (flags & 0x00000200) {
    log_write_raw(1, " Link");
  }
  if (flags & 0x00000400) {
    log_write_raw(1, " GDBM");
  }
  if (flags & 0x00000800) {
    log_write_raw(1, " AtrName");
  }
  if (flags & 0x00001000) {
    if ((fmt == 1) && (ver == 2)) {
      log_write_raw(1, " ExtLocks");
    } else {
      log_write_raw(1, " AtrKey");
    }
  }
  if (flags & 0x00002000) {
    log_write_raw(1, " Parent");
  }
  if (flags & 0x00004000) {
    log_write_raw(1, " Comm");
  }
  if (flags & 0x00008000) {
    log_write_raw(1, " AtrMoney");
  }
  if (flags & 0x00010000) {
    log_write_raw(1, " ExtFlags");
  }
  if (flags & 0x00040000) {
    log_write_raw(1, " MoreFlags");
  }
  if (flags & 0x00020000) {
    log_write_raw(1, " Powers");
  }
  if (flags & 0x00080000) {
    log_write_raw(1, " QuotedStr");
  }
  if (flags & 0x00100000) {
    log_write_raw(1, " TypedQuotas");
  }
  if (flags & 0x00200000) {
    log_write_raw(1, " Timestamps");
  }
  if (flags & 0x00400000) {
    log_write_raw(1, " VisualAttrs");
  }
  if (flags & 0x00800000) {
    log_write_raw(1, " CreateTime");
  }
  log_write_raw(1, "\n");
}


x86 assembly (clang, -O0):
<info>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    -0x4(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0x5,%eax
ja     11aa <info+0x9a>
mov    -0x20(%rbp),%rax
lea    0xebf(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xec7(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <info+0xa5>
lea    0xec2(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <info+0xa5>
lea    0xeba(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <info+0xa5>
lea    0xeb3(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <info+0xa5>
lea    0xeac(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <info+0xa5>
lea    0xea4(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11b5 <info+0xa5>
lea    0xe9d(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdx
mov    -0xc(%rbp),%ecx
mov    $0x1,%edi
lea    0xe90(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     11f3 <info+0xe3>
mov    $0x1,%edi
lea    0xe7b(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     1217 <info+0x107>
mov    $0x1,%edi
lea    0xe5d(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x400,%eax
cmp    $0x0,%eax
je     123b <info+0x12b>
mov    $0x1,%edi
lea    0xe3f(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x800,%eax
cmp    $0x0,%eax
je     125f <info+0x14f>
mov    $0x1,%edi
lea    0xe21(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x1000,%eax
cmp    $0x0,%eax
je     12b4 <info+0x1a4>
cmpl   $0x1,-0x4(%rbp)
jne    129c <info+0x18c>
cmpl   $0x2,-0xc(%rbp)
jne    129c <info+0x18c>
mov    $0x1,%edi
lea    0xdf2(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
jmp    12af <info+0x19f>
mov    $0x1,%edi
lea    0xde4(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
jmp    12b4 <info+0x1a4>
mov    -0x8(%rbp),%eax
and    $0x2000,%eax
cmp    $0x0,%eax
je     12d8 <info+0x1c8>
mov    $0x1,%edi
lea    0xdc3(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x4000,%eax
cmp    $0x0,%eax
je     12fc <info+0x1ec>
mov    $0x1,%edi
lea    0xda7(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x8000,%eax
cmp    $0x0,%eax
je     1320 <info+0x210>
mov    $0x1,%edi
lea    0xd89(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x10000,%eax
cmp    $0x0,%eax
je     1344 <info+0x234>
mov    $0x1,%edi
lea    0xd6f(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x40000,%eax
cmp    $0x0,%eax
je     1368 <info+0x258>
mov    $0x1,%edi
lea    0xd55(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x20000,%eax
cmp    $0x0,%eax
je     138c <info+0x27c>
mov    $0x1,%edi
lea    0xd3c(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x80000,%eax
cmp    $0x0,%eax
je     13b0 <info+0x2a0>
mov    $0x1,%edi
lea    0xd20(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x100000,%eax
cmp    $0x0,%eax
je     13d4 <info+0x2c4>
mov    $0x1,%edi
lea    0xd07(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x200000,%eax
cmp    $0x0,%eax
je     13f8 <info+0x2e8>
mov    $0x1,%edi
lea    0xcf0(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x400000,%eax
cmp    $0x0,%eax
je     141c <info+0x30c>
mov    $0x1,%edi
lea    0xcd8(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    -0x8(%rbp),%eax
and    $0x800000,%eax
cmp    $0x0,%eax
je     1440 <info+0x330>
mov    $0x1,%edi
lea    0xcc1(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
mov    $0x1,%edi
lea    0xcba(%rip),%rsi
mov    $0x0,%al
call   1030 <log_write_raw@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<info>:
push   %rbp
push   %r14
push   %rbx
mov    %edx,%ebp
mov    %esi,%ebx
mov    %edi,%r14d
lea    -0x1(%r14),%eax
cmp    $0x5,%eax
ja     1136 <info+0x26>
cltq
lea    0xfc3(%rip),%rcx
movslq (%rcx,%rax,4),%rdx
add    %rcx,%rdx
jmp    113d <info+0x2d>
lea    0xef9(%rip),%rdx
lea    0xefc(%rip),%rsi
mov    $0x1,%edi
mov    %ebp,%ecx
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x100,%ebx
jne    1238 <info+0x128>
test   $0x200,%ebx
jne    1257 <info+0x147>
test   $0x400,%ebx
jne    1276 <info+0x166>
test   $0x800,%ebx
jne    1295 <info+0x185>
test   $0x1000,%ebx
jne    12b4 <info+0x1a4>
test   $0x2000,%ebx
jne    12e8 <info+0x1d8>
test   $0x4000,%ebx
jne    1307 <info+0x1f7>
test   $0x8000,%ebx
jne    1326 <info+0x216>
test   $0x10000,%ebx
jne    1345 <info+0x235>
test   $0x40000,%ebx
jne    1364 <info+0x254>
test   $0x20000,%ebx
jne    1383 <info+0x273>
test   $0x80000,%ebx
jne    13a2 <info+0x292>
test   $0x100000,%ebx
jne    13c1 <info+0x2b1>
test   $0x200000,%ebx
jne    13e0 <info+0x2d0>
test   $0x400000,%ebx
jne    13ff <info+0x2ef>
test   $0x800000,%ebx
je     1221 <info+0x111>
lea    0xecd(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
lea    0xec6(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %rbp
jmp    1030 <log_write_raw@plt>
lea    0xe10(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x200,%ebx
je     116a <info+0x5a>
lea    0xdf7(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x400,%ebx
je     1176 <info+0x66>
lea    0xdde(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x800,%ebx
je     1182 <info+0x72>
lea    0xdc5(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x1000,%ebx
je     118e <info+0x7e>
xor    $0x1,%r14d
xor    $0x2,%ebp
lea    0xda8(%rip),%rax
lea    0xdab(%rip),%rsi
or     %r14d,%ebp
cmove  %rax,%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x2000,%ebx
je     119a <info+0x8a>
lea    0xd8d(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x4000,%ebx
je     11a6 <info+0x96>
lea    0xd76(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x8000,%ebx
je     11b2 <info+0xa2>
lea    0xd5d(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x10000,%ebx
je     11be <info+0xae>
lea    0xd48(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x40000,%ebx
je     11ca <info+0xba>
lea    0xd33(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x20000,%ebx
je     11d6 <info+0xc6>
lea    0xd1f(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x80000,%ebx
je     11e2 <info+0xd2>
lea    0xd08(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x100000,%ebx
je     11ee <info+0xde>
lea    0xcf4(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x200000,%ebx
je     11fa <info+0xea>
lea    0xce2(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x400000,%ebx
je     1206 <info+0xf6>
lea    0xccf(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <log_write_raw@plt>
test   $0x800000,%ebx
jne    120e <info+0xfe>
jmp    1221 <info+0x111>

LLVM IR (-O0):
@.str = [11 x i8] c"TinyMUSH-3\00"
@.str.1 = [8 x i8] c"TinyMUX\00"
@.str.2 = [9 x i8] c"TinyMUSH\00"
@.str.3 = [9 x i8] c"TinyMUSE\00"
@.str.4 = [8 x i8] c"TinyMUD\00"
@.str.5 = [9 x i8] c"TinyMUCK\00"
@.str.6 = [10 x i8] c"*unknown*\00"
@.str.7 = [15 x i8] c"%s version %d:\00"
@.str.8 = [6 x i8] c" Zone\00"
@.str.9 = [6 x i8] c" Link\00"
@.str.10 = [6 x i8] c" GDBM\00"
@.str.11 = [9 x i8] c" AtrName\00"
@.str.12 = [10 x i8] c" ExtLocks\00"
@.str.13 = [8 x i8] c" AtrKey\00"
@.str.14 = [8 x i8] c" Parent\00"
@.str.15 = [6 x i8] c" Comm\00"
@.str.16 = [10 x i8] c" AtrMoney\00"
@.str.17 = [10 x i8] c" ExtFlags\00"
@.str.18 = [11 x i8] c" MoreFlags\00"
@.str.19 = [8 x i8] c" Powers\00"
@.str.20 = [11 x i8] c" QuotedStr\00"
@.str.21 = [13 x i8] c" TypedQuotas\00"
@.str.22 = [12 x i8] c" Timestamps\00"
@.str.23 = [13 x i8] c" VisualAttrs\00"
@.str.24 = [12 x i8] c" CreateTime\00"
@.str.25 = [2 x i8] c"\0A\00"
define void @info(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%8 = load i32, i32* %4
switch i32 %8, label %15 [
i32 6, label %9
i32 5, label %10
i32 1, label %11
i32 2, label %12
i32 3, label %13
i32 4, label %14
]
9: ; preds = %3
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8** %7
br label %16
10: ; preds = %3
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8** %7
br label %16
11: ; preds = %3
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8** %7
br label %16
12: ; preds = %3
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8** %7
br label %16
13: ; preds = %3
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8** %7
br label %16
14: ; preds = %3
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8** %7
br label %16
15: ; preds = %3
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8** %7
br label %16
16: ; preds = %15, %14, %13, %12, %11, %10, %9
%17 = load i8*, i8** %7
%18 = load i32, i32* %6
%19 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %17, i32 %18)
%20 = load i32, i32* %5
%21 = and i32 %20, 256
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %25
25: ; preds = %23, %16
%26 = load i32, i32* %5
%27 = and i32 %26, 512
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %31
31: ; preds = %29, %25
%32 = load i32, i32* %5
%33 = and i32 %32, 1024
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
br label %37
37: ; preds = %35, %31
%38 = load i32, i32* %5
%39 = and i32 %38, 2048
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
br label %43
43: ; preds = %41, %37
%44 = load i32, i32* %5
%45 = and i32 %44, 4096
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %58
47: ; preds = %43
%48 = load i32, i32* %4
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i32, i32* %6
%52 = icmp eq i32 %51, 2
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
br label %57
55: ; preds = %50, %47
%56 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0))
br label %57
57: ; preds = %55, %53
br label %58
58: ; preds = %57, %43
%59 = load i32, i32* %5
%60 = and i32 %59, 8192
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
br label %64
64: ; preds = %62, %58
%65 = load i32, i32* %5
%66 = and i32 %65, 16384
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
br label %70
70: ; preds = %68, %64
%71 = load i32, i32* %5
%72 = and i32 %71, 32768
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0))
br label %76
76: ; preds = %74, %70
%77 = load i32, i32* %5
%78 = and i32 %77, 65536
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %76
%81 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
br label %82
82: ; preds = %80, %76
%83 = load i32, i32* %5
%84 = and i32 %83, 262144
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %82
%87 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0))
br label %88
88: ; preds = %86, %82
%89 = load i32, i32* %5
%90 = and i32 %89, 131072
%91 = icmp ne i32 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
br label %94
94: ; preds = %92, %88
%95 = load i32, i32* %5
%96 = and i32 %95, 524288
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %94
%99 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0))
br label %100
100: ; preds = %98, %94
%101 = load i32, i32* %5
%102 = and i32 %101, 1048576
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %100
%105 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
br label %106
106: ; preds = %104, %100
%107 = load i32, i32* %5
%108 = and i32 %107, 2097152
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %112
110: ; preds = %106
%111 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.22, i64 0, i64 0))
br label %112
112: ; preds = %110, %106
%113 = load i32, i32* %5
%114 = and i32 %113, 4194304
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %118
116: ; preds = %112
%117 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0))
br label %118
118: ; preds = %116, %112
%119 = load i32, i32* %5
%120 = and i32 %119, 8388608
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %124
122: ; preds = %118
%123 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.24, i64 0, i64 0))
br label %124
124: ; preds = %122, %118
%125 = call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.25, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"TinyMUSH-3\00"
@.str.1 = [8 x i8] c"TinyMUX\00"
@.str.2 = [9 x i8] c"TinyMUSH\00"
@.str.3 = [9 x i8] c"TinyMUSE\00"
@.str.4 = [8 x i8] c"TinyMUD\00"
@.str.5 = [9 x i8] c"TinyMUCK\00"
@.str.6 = [10 x i8] c"*unknown*\00"
@.str.7 = [15 x i8] c"%s version %d:\00"
@.str.8 = [6 x i8] c" Zone\00"
@.str.9 = [6 x i8] c" Link\00"
@.str.10 = [6 x i8] c" GDBM\00"
@.str.11 = [9 x i8] c" AtrName\00"
@.str.12 = [10 x i8] c" ExtLocks\00"
@.str.13 = [8 x i8] c" AtrKey\00"
@.str.14 = [8 x i8] c" Parent\00"
@.str.15 = [6 x i8] c" Comm\00"
@.str.16 = [10 x i8] c" AtrMoney\00"
@.str.17 = [10 x i8] c" ExtFlags\00"
@.str.18 = [11 x i8] c" MoreFlags\00"
@.str.19 = [8 x i8] c" Powers\00"
@.str.20 = [11 x i8] c" QuotedStr\00"
@.str.21 = [13 x i8] c" TypedQuotas\00"
@.str.22 = [12 x i8] c" Timestamps\00"
@.str.23 = [13 x i8] c" VisualAttrs\00"
@.str.24 = [12 x i8] c" CreateTime\00"
@.str.25 = [2 x i8] c"\0A\00"
@reltable.info = [6 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.2 to i64), i64 ptrtoint ([6 x i32]* @reltable.info to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.3 to i64), i64 ptrtoint ([6 x i32]* @reltable.info to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.4 to i64), i64 ptrtoint ([6 x i32]* @reltable.info to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.5 to i64), i64 ptrtoint ([6 x i32]* @reltable.info to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.1 to i64), i64 ptrtoint ([6 x i32]* @reltable.info to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str to i64), i64 ptrtoint ([6 x i32]* @reltable.info to i64)) to i32)]
define void @info(i32 %0, i32 %1, i32 %2) {
%4 = add i32 %0, -1
%5 = icmp ult i32 %4, 6
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = sext i32 %4 to i64
%8 = shl i64 %7, 2
%9 = call i8* @llvm.load.relative.i64(i8* bitcast ([6 x i32]* @reltable.info to i8*), i64 %8)
br label %10
10: ; preds = %3, %6
%11 = phi i8* [ %9, %6 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), %3 ]
%12 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %11, i32 %2)
%13 = and i32 %1, 256
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %10
%16 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %17
17: ; preds = %15, %10
%18 = and i32 %1, 512
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %22
22: ; preds = %20, %17
%23 = and i32 %1, 1024
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %22
%26 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
br label %27
27: ; preds = %25, %22
%28 = and i32 %1, 2048
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
br label %32
32: ; preds = %30, %27
%33 = and i32 %1, 4096
%34 = icmp eq i32 %33, 0
br i1 %34, label %41, label %35
35: ; preds = %32
%36 = icmp eq i32 %0, 1
%37 = icmp eq i32 %2, 2
%38 = and i1 %36, %37
%39 = select i1 %38, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0)
%40 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* %39)
br label %41
41: ; preds = %35, %32
%42 = and i32 %1, 8192
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
br label %46
46: ; preds = %44, %41
%47 = and i32 %1, 16384
%48 = icmp eq i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
br label %51
51: ; preds = %49, %46
%52 = and i32 %1, 32768
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0))
br label %56
56: ; preds = %54, %51
%57 = and i32 %1, 65536
%58 = icmp eq i32 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %56
%60 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
br label %61
61: ; preds = %59, %56
%62 = and i32 %1, 262144
%63 = icmp eq i32 %62, 0
br i1 %63, label %66, label %64
64: ; preds = %61
%65 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0))
br label %66
66: ; preds = %64, %61
%67 = and i32 %1, 131072
%68 = icmp eq i32 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %66
%70 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
br label %71
71: ; preds = %69, %66
%72 = and i32 %1, 524288
%73 = icmp eq i32 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %71
%75 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0))
br label %76
76: ; preds = %74, %71
%77 = and i32 %1, 1048576
%78 = icmp eq i32 %77, 0
br i1 %78, label %81, label %79
79: ; preds = %76
%80 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
br label %81
81: ; preds = %79, %76
%82 = and i32 %1, 2097152
%83 = icmp eq i32 %82, 0
br i1 %83, label %86, label %84
84: ; preds = %81
%85 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.22, i64 0, i64 0))
br label %86
86: ; preds = %84, %81
%87 = and i32 %1, 4194304
%88 = icmp eq i32 %87, 0
br i1 %88, label %91, label %89
89: ; preds = %86
%90 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0))
br label %91
91: ; preds = %89, %86
%92 = and i32 %1, 8388608
%93 = icmp eq i32 %92, 0
br i1 %93, label %96, label %94
94: ; preds = %91
%95 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.24, i64 0, i64 0))
br label %96
96: ; preds = %94, %91
%97 = tail call i32 (i32, i8*, ...) @log_write_raw(i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.25, i64 0, i64 0))
ret void
}