#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 d(int);
int /*<<< orphan*/ printf(char *, ...);
char *rand4lvl();
char *rand5lvl();
void magictablec(void) {
  int d100;
  int d100_2;
  d100 = d(100);
  if (d100 < 16)
    printf("Potion of superior healing (8d4+8) [DM 188]\n");
  else if (d100 < 23)
    printf("'%s' Spell scroll (4th level) (Save DC 15, +7 Attack) [DM 200]\n",
           rand4lvl());
  else if (d100 < 28)
    printf("%d +2 Arrows\n", (d(6) + d(6) + d(6)));
  else if (d100 < 33)
    printf("Potion of clairvoyance [DM 187]\n");
  else if (d100 < 38)
    printf("Potion of diminution (1d4 hours) [DM 187]\n");
  else if (d100 < 43)
    printf("Potion of gaseous form (1 hour) [DM 187]\n");
  else if (d100 < 48)
    printf("Potion of frost giant strength (1 hour, STR 23 (+6)) [DM 187]\n");
  else if (d100 < 53)
    printf("Potion of stone giant strength (1 hour, STR 23 (+6)) [DM 187]\n");
  else if (d100 < 58)
    printf("Potion of heroism (1 hour, +10 HP and blessed) [DM 188]\n");
  else if (d100 < 63)
    printf(
        "Potion of invulnerability (1 minute, resist all damage) [DM 188]\n");
  else if (d100 < 68)
    printf("Potion of mind reading (detect thoughts) [DM 188]\n");
  else if (d100 < 73)
    printf("'%s' Spell scroll (5th level) (Save DC 17, +9 Attack) [DM 200]\n",
           rand5lvl());
  else if (d100 < 76)
    printf("Elixir of health (cures diseases, poisons, and afflictions) [DM "
           "168]\n");
  else if (d100 < 79)
    printf("Oil of etherrealness (10 min to apply, 1 hour) [DM 184]\n");
  else if (d100 < 82)
    printf("Potion of fire giant strength (1 hour, STR 25 (+7)) [DM 187]\n");
  else if (d100 < 85) {
    d100_2 = d(100);
    if (d100_2 < 21)
      printf("Quaal's anchor feather token (holds ship 1 day) [DM 188]\n");
    else if (d100_2 < 36)
      printf(
          "Quaal's bird feather token (500# capacity bird 1 day) [DM 188]\n");
    else if (d100_2 < 51)
      printf("Quaal's fan feather token (5 MPH ship wind 8 hours) [DM 188]\n");
    else if (d100_2 < 66)
      printf("Quaal's swan boat feather token (50'x20' 6 MPH boat 1 day) [DM "
             "188]\n");
    else if (d100_2 < 91)
      printf("Quaal's tree feather token (60' tall, 5' trunk, 20' spread oak "
             "tree) [DM 188]\n");
    else
      printf("Quaal's whip feather token (+9 1d6+5 attack, 1 hour) [DM 188]\n");
  } else if (d100 < 88)
    printf("Scroll of protection\n");
  else if (d100 < 90)
    printf("Bag of %d beans [DM 153]\n", (d(4) + d(4) + d(4)));
  else if (d100 < 92)
    printf("%d Beads of force (60' range, 10' rad 5d4 force dam & trap) [DM "
           "154]\n",
           (d(4) + 4));
  else if (d100 < 93)
    printf("Chime of opening (10 uses) [DM 158]\n");
  else if (d100 < 94)
    printf("Decanter of endless water [DM 161]\n");
  else if (d100 < 95)
    printf("Eyes of minute seeing [DM 168]\n");
  else if (d100 < 96)
    printf("Folding boat [DM 170]\n");
  else if (d100 < 97)
    printf("Heward's handy haversack [DM 174]\n");
  else if (d100 < 98)
    printf("Horseshoes of speed [DM 175]\n");
  else if (d100 < 99)
    printf("Necklace of %d fireballs (3rd lvl) [DM 182]\n", d(6) + 3);
  else if (d100 < 100)
    printf("Periapt of health (disease immunity) [DM 184]\n");
  else
    printf("Sending stones (1/day) [DM 199]\n");
}


x86 assembly (clang, -O0):
<magictablec>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    $0x64,%edi
call   1030 <d@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1172 <magictablec+0x32>
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1638 <magictablec+0x4f8>
cmpl   $0x17,-0x4(%rbp)
jge    1199 <magictablec+0x59>
mov    $0x0,%al
call   1050 <rand4lvl@plt>
mov    %rax,%rsi
lea    0xea0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1633 <magictablec+0x4f3>
cmpl   $0x1c,-0x4(%rbp)
jge    11e6 <magictablec+0xa6>
mov    $0x6,%edi
call   1030 <d@plt>
mov    %eax,-0x10(%rbp)
mov    $0x6,%edi
call   1030 <d@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xc(%rbp)
mov    $0x6,%edi
call   1030 <d@plt>
mov    -0xc(%rbp),%esi
add    %eax,%esi
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    162e <magictablec+0x4ee>
cmpl   $0x21,-0x4(%rbp)
jge    1203 <magictablec+0xc3>
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1629 <magictablec+0x4e9>
cmpl   $0x26,-0x4(%rbp)
jge    1220 <magictablec+0xe0>
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1624 <magictablec+0x4e4>
cmpl   $0x2b,-0x4(%rbp)
jge    123d <magictablec+0xfd>
lea    0xe96(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    161f <magictablec+0x4df>
cmpl   $0x30,-0x4(%rbp)
jge    125a <magictablec+0x11a>
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    161a <magictablec+0x4da>
cmpl   $0x35,-0x4(%rbp)
jge    1277 <magictablec+0x137>
lea    0xec5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1615 <magictablec+0x4d5>
cmpl   $0x3a,-0x4(%rbp)
jge    1294 <magictablec+0x154>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1610 <magictablec+0x4d0>
cmpl   $0x3f,-0x4(%rbp)
jge    12b1 <magictablec+0x171>
lea    0xf03(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    160b <magictablec+0x4cb>
cmpl   $0x44,-0x4(%rbp)
jge    12ce <magictablec+0x18e>
lea    0xf28(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1606 <magictablec+0x4c6>
cmpl   $0x49,-0x4(%rbp)
jge    12f5 <magictablec+0x1b5>
mov    $0x0,%al
call   1060 <rand5lvl@plt>
mov    %rax,%rsi
lea    0xf34(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1601 <magictablec+0x4c1>
cmpl   $0x4c,-0x4(%rbp)
jge    1312 <magictablec+0x1d2>
lea    0xf57(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15fc <magictablec+0x4bc>
cmpl   $0x4f,-0x4(%rbp)
jge    132f <magictablec+0x1ef>
lea    0xf80(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15f7 <magictablec+0x4b7>
cmpl   $0x52,-0x4(%rbp)
jge    134c <magictablec+0x20c>
lea    0xf9c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15f2 <magictablec+0x4b2>
cmpl   $0x55,-0x4(%rbp)
jge    141b <magictablec+0x2db>
mov    $0x64,%edi
call   1030 <d@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x15,-0x8(%rbp)
jge    1380 <magictablec+0x240>
lea    0xfa6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1416 <magictablec+0x2d6>
cmpl   $0x24,-0x8(%rbp)
jge    139d <magictablec+0x25d>
lea    0xfc3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1411 <magictablec+0x2d1>
cmpl   $0x33,-0x8(%rbp)
jge    13ba <magictablec+0x27a>
lea    0xfe6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    140c <magictablec+0x2cc>
cmpl   $0x42,-0x8(%rbp)
jge    13d7 <magictablec+0x297>
lea    0x1007(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1407 <magictablec+0x2c7>
cmpl   $0x5b,-0x8(%rbp)
jge    13f4 <magictablec+0x2b4>
lea    0x102f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1402 <magictablec+0x2c2>
lea    0x106b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1407 <magictablec+0x2c7>
jmp    140c <magictablec+0x2cc>
jmp    1411 <magictablec+0x2d1>
jmp    1416 <magictablec+0x2d6>
jmp    15ed <magictablec+0x4ad>
cmpl   $0x58,-0x4(%rbp)
jge    1438 <magictablec+0x2f8>
lea    0x1079(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15e8 <magictablec+0x4a8>
cmpl   $0x5a,-0x4(%rbp)
jge    1485 <magictablec+0x345>
mov    $0x4,%edi
call   1030 <d@plt>
mov    %eax,-0x18(%rbp)
mov    $0x4,%edi
call   1030 <d@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0x14(%rbp)
mov    $0x4,%edi
call   1030 <d@plt>
mov    -0x14(%rbp),%esi
add    %eax,%esi
lea    0x1042(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15e3 <magictablec+0x4a3>
cmpl   $0x5c,-0x4(%rbp)
jge    14b1 <magictablec+0x371>
mov    $0x4,%edi
call   1030 <d@plt>
mov    %eax,%esi
add    $0x4,%esi
lea    0x1030(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15de <magictablec+0x49e>
cmpl   $0x5d,-0x4(%rbp)
jge    14ce <magictablec+0x38e>
lea    0x1059(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15d9 <magictablec+0x499>
cmpl   $0x5e,-0x4(%rbp)
jge    14eb <magictablec+0x3ab>
lea    0x1061(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15d4 <magictablec+0x494>
cmpl   $0x5f,-0x4(%rbp)
jge    1508 <magictablec+0x3c8>
lea    0x1068(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15cf <magictablec+0x48f>
cmpl   $0x60,-0x4(%rbp)
jge    1525 <magictablec+0x3e5>
lea    0x106b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15ca <magictablec+0x48a>
cmpl   $0x61,-0x4(%rbp)
jge    1542 <magictablec+0x402>
lea    0x1065(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15c5 <magictablec+0x485>
cmpl   $0x62,-0x4(%rbp)
jge    155f <magictablec+0x41f>
lea    0x106b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15c0 <magictablec+0x480>
cmpl   $0x63,-0x4(%rbp)
jge    158b <magictablec+0x44b>
mov    $0x6,%edi
call   1030 <d@plt>
mov    %eax,%esi
add    $0x3,%esi
lea    0x105d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15bb <magictablec+0x47b>
cmpl   $0x64,-0x4(%rbp)
jge    15a8 <magictablec+0x468>
lea    0x106d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15b6 <magictablec+0x476>
lea    0x1089(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    15bb <magictablec+0x47b>
jmp    15c0 <magictablec+0x480>
jmp    15c5 <magictablec+0x485>
jmp    15ca <magictablec+0x48a>
jmp    15cf <magictablec+0x48f>
jmp    15d4 <magictablec+0x494>
jmp    15d9 <magictablec+0x499>
jmp    15de <magictablec+0x49e>
jmp    15e3 <magictablec+0x4a3>
jmp    15e8 <magictablec+0x4a8>
jmp    15ed <magictablec+0x4ad>
jmp    15f2 <magictablec+0x4b2>
jmp    15f7 <magictablec+0x4b7>
jmp    15fc <magictablec+0x4bc>
jmp    1601 <magictablec+0x4c1>
jmp    1606 <magictablec+0x4c6>
jmp    160b <magictablec+0x4cb>
jmp    1610 <magictablec+0x4d0>
jmp    1615 <magictablec+0x4d5>
jmp    161a <magictablec+0x4da>
jmp    161f <magictablec+0x4df>
jmp    1624 <magictablec+0x4e4>
jmp    1629 <magictablec+0x4e9>
jmp    162e <magictablec+0x4ee>
jmp    1633 <magictablec+0x4f3>
jmp    1638 <magictablec+0x4f8>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<magictablec>:
push   %rbx
mov    $0x64,%edi
call   1040 <d@plt>
cmp    $0xf,%eax
jg     116d <magictablec+0x1d>
lea    0x14ab(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x16,%eax
ja     118b <magictablec+0x3b>
xor    %eax,%eax
call   1060 <rand4lvl@plt>
lea    0xe80(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1050 <printf@plt>
cmp    $0x1b,%eax
ja     11c5 <magictablec+0x75>
mov    $0x6,%edi
call   1040 <d@plt>
mov    %eax,%ebx
mov    $0x6,%edi
call   1040 <d@plt>
add    %eax,%ebx
mov    $0x6,%edi
call   1040 <d@plt>
add    %eax,%ebx
lea    0xe85(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
pop    %rbx
jmp    1050 <printf@plt>
cmp    $0x20,%eax
ja     11d7 <magictablec+0x87>
lea    0x1421(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x25,%eax
ja     11e9 <magictablec+0x99>
lea    0x13e5(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x2a,%eax
ja     11fb <magictablec+0xab>
lea    0x13aa(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x2f,%eax
ja     120d <magictablec+0xbd>
lea    0x135a(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x34,%eax
ja     121f <magictablec+0xcf>
lea    0x130a(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x39,%eax
ja     1231 <magictablec+0xe1>
lea    0x12c0(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x3e,%eax
ja     1243 <magictablec+0xf3>
lea    0x126d(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x43,%eax
ja     1255 <magictablec+0x105>
lea    0x1229(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x48,%eax
ja     126d <magictablec+0x11d>
xor    %eax,%eax
call   1070 <rand5lvl@plt>
lea    0xde6(%rip),%rdi
jmp    1180 <magictablec+0x30>
cmp    $0x4b,%eax
ja     127f <magictablec+0x12f>
lea    0x11ba(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x4e,%eax
ja     1291 <magictablec+0x141>
lea    0x1170(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x51,%eax
ja     12a3 <magictablec+0x153>
lea    0x1121(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x54,%eax
ja     12c4 <magictablec+0x174>
mov    $0x64,%edi
call   1040 <d@plt>
cmp    $0x14,%eax
jg     12d6 <magictablec+0x186>
lea    0x10c7(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x57,%eax
ja     12e8 <magictablec+0x198>
lea    0xf54(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x23,%eax
ja     131d <magictablec+0x1cd>
lea    0x1064(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x59,%eax
ja     132f <magictablec+0x1df>
mov    $0x4,%edi
call   1040 <d@plt>
mov    %eax,%ebx
mov    $0x4,%edi
call   1040 <d@plt>
add    %eax,%ebx
mov    $0x4,%edi
call   1040 <d@plt>
add    %eax,%ebx
lea    0xd76(%rip),%rdi
jmp    11bb <magictablec+0x6b>
cmp    $0x32,%eax
ja     134d <magictablec+0x1fd>
lea    0xfe0(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x5b,%eax
ja     135f <magictablec+0x20f>
mov    $0x4,%edi
call   1040 <d@plt>
lea    0x4(%rax),%esi
lea    0xd60(%rip),%rdi
jmp    11bd <magictablec+0x6d>
cmp    $0x41,%eax
ja     1371 <magictablec+0x221>
lea    0xf6c(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x5c,%eax
jne    1383 <magictablec+0x233>
lea    0xe95(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x5a,%eax
ja     1395 <magictablec+0x245>
lea    0xefa(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x5d,%eax
ja     13a2 <magictablec+0x252>
lea    0xe4e(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
lea    0xe9d(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x5e,%eax
jne    13b4 <magictablec+0x264>
lea    0xe10(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x5f,%eax
ja     13c6 <magictablec+0x276>
lea    0xde8(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x60,%eax
jne    13d8 <magictablec+0x288>
lea    0xdb4(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x61,%eax
ja     13ea <magictablec+0x29a>
lea    0xd85(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
cmp    $0x62,%eax
jne    1408 <magictablec+0x2b8>
mov    $0x6,%edi
call   1040 <d@plt>
lea    0x3(%rax),%esi
lea    0xceb(%rip),%rdi
jmp    11bd <magictablec+0x6d>
cmp    $0x63,%eax
ja     141a <magictablec+0x2ca>
lea    0xd27(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
lea    0xcfa(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [45 x i8] c"Potion of superior healing (8d4+8) [DM 188]\0A\00"
@.str.1 = [64 x i8] c"'%s' Spell scroll (4th level) (Save DC 15, +7 Attack) [DM 200]\0A\00"
@.str.2 = [14 x i8] c"%d +2 Arrows\0A\00"
@.str.3 = [33 x i8] c"Potion of clairvoyance [DM 187]\0A\00"
@.str.4 = [43 x i8] c"Potion of diminution (1d4 hours) [DM 187]\0A\00"
@.str.5 = [42 x i8] c"Potion of gaseous form (1 hour) [DM 187]\0A\00"
@.str.6 = [63 x i8] c"Potion of frost giant strength (1 hour, STR 23 (+6)) [DM 187]\0A\00"
@.str.7 = [63 x i8] c"Potion of stone giant strength (1 hour, STR 23 (+6)) [DM 187]\0A\00"
@.str.8 = [57 x i8] c"Potion of heroism (1 hour, +10 HP and blessed) [DM 188]\0A\00"
@.str.9 = [66 x i8] c"Potion of invulnerability (1 minute, resist all damage) [DM 188]\0A\00"
@.str.10 = [51 x i8] c"Potion of mind reading (detect thoughts) [DM 188]\0A\00"
@.str.11 = [64 x i8] c"'%s' Spell scroll (5th level) (Save DC 17, +9 Attack) [DM 200]\0A\00"
@.str.12 = [70 x i8] c"Elixir of health (cures diseases, poisons, and afflictions) [DM 168]\0A\00"
@.str.13 = [57 x i8] c"Oil of etherrealness (10 min to apply, 1 hour) [DM 184]\0A\00"
@.str.14 = [62 x i8] c"Potion of fire giant strength (1 hour, STR 25 (+7)) [DM 187]\0A\00"
@.str.15 = [58 x i8] c"Quaal's anchor feather token (holds ship 1 day) [DM 188]\0A\00"
@.str.16 = [64 x i8] c"Quaal's bird feather token (500# capacity bird 1 day) [DM 188]\0A\00"
@.str.17 = [62 x i8] c"Quaal's fan feather token (5 MPH ship wind 8 hours) [DM 188]\0A\00"
@.str.18 = [69 x i8] c"Quaal's swan boat feather token (50'x20' 6 MPH boat 1 day) [DM 188]\0A\00"
@.str.19 = [79 x i8] c"Quaal's tree feather token (60' tall, 5' trunk, 20' spread oak tree) [DM 188]\0A\00"
@.str.20 = [63 x i8] c"Quaal's whip feather token (+9 1d6+5 attack, 1 hour) [DM 188]\0A\00"
@.str.21 = [22 x i8] c"Scroll of protection\0A\00"
@.str.22 = [26 x i8] c"Bag of %d beans [DM 153]\0A\00"
@.str.23 = [70 x i8] c"%d Beads of force (60' range, 10' rad 5d4 force dam & trap) [DM 154]\0A\00"
@.str.24 = [37 x i8] c"Chime of opening (10 uses) [DM 158]\0A\00"
@.str.25 = [36 x i8] c"Decanter of endless water [DM 161]\0A\00"
@.str.26 = [32 x i8] c"Eyes of minute seeing [DM 168]\0A\00"
@.str.27 = [23 x i8] c"Folding boat [DM 170]\0A\00"
@.str.28 = [35 x i8] c"Heward's handy haversack [DM 174]\0A\00"
@.str.29 = [30 x i8] c"Horseshoes of speed [DM 175]\0A\00"
@.str.30 = [45 x i8] c"Necklace of %d fireballs (3rd lvl) [DM 182]\0A\00"
@.str.31 = [47 x i8] c"Periapt of health (disease immunity) [DM 184]\0A\00"
@.str.32 = [33 x i8] c"Sending stones (1/day) [DM 199]\0A\00"
define void @magictablec() {
%1 = alloca i32
%2 = alloca i32
%3 = call i32 @d(i32 100)
store i32 %3, i32* %1
%4 = load i32, i32* %1
%5 = icmp slt i32 %4, 16
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
br label %213
8: ; preds = %0
%9 = load i32, i32* %1
%10 = icmp slt i32 %9, 23
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = call i8* (...) @rand4lvl()
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.1, i64 0, i64 0), i8* %12)
br label %212
14: ; preds = %8
%15 = load i32, i32* %1
%16 = icmp slt i32 %15, 28
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = call i32 @d(i32 6)
%19 = call i32 @d(i32 6)
%20 = add nsw i32 %18, %19
%21 = call i32 @d(i32 6)
%22 = add nsw i32 %20, %21
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %22)
br label %211
24: ; preds = %14
%25 = load i32, i32* %1
%26 = icmp slt i32 %25, 33
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
br label %210
29: ; preds = %24
%30 = load i32, i32* %1
%31 = icmp slt i32 %30, 38
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0))
br label %209
34: ; preds = %29
%35 = load i32, i32* %1
%36 = icmp slt i32 %35, 43
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
br label %208
39: ; preds = %34
%40 = load i32, i32* %1
%41 = icmp slt i32 %40, 48
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.6, i64 0, i64 0))
br label %207
44: ; preds = %39
%45 = load i32, i32* %1
%46 = icmp slt i32 %45, 53
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i64 0, i64 0))
br label %206
49: ; preds = %44
%50 = load i32, i32* %1
%51 = icmp slt i32 %50, 58
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0))
br label %205
54: ; preds = %49
%55 = load i32, i32* %1
%56 = icmp slt i32 %55, 63
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.9, i64 0, i64 0))
br label %204
59: ; preds = %54
%60 = load i32, i32* %1
%61 = icmp slt i32 %60, 68
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
br label %203
64: ; preds = %59
%65 = load i32, i32* %1
%66 = icmp slt i32 %65, 73
br i1 %66, label %67, label %70
67: ; preds = %64
%68 = call i8* (...) @rand5lvl()
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.11, i64 0, i64 0), i8* %68)
br label %202
70: ; preds = %64
%71 = load i32, i32* %1
%72 = icmp slt i32 %71, 76
br i1 %72, label %73, label %75
73: ; preds = %70
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.12, i64 0, i64 0))
br label %201
75: ; preds = %70
%76 = load i32, i32* %1
%77 = icmp slt i32 %76, 79
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.13, i64 0, i64 0))
br label %200
80: ; preds = %75
%81 = load i32, i32* %1
%82 = icmp slt i32 %81, 82
br i1 %82, label %83, label %85
83: ; preds = %80
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.14, i64 0, i64 0))
br label %199
85: ; preds = %80
%86 = load i32, i32* %1
%87 = icmp slt i32 %86, 85
br i1 %87, label %88, label %121
88: ; preds = %85
%89 = call i32 @d(i32 100)
store i32 %89, i32* %2
%90 = load i32, i32* %2
%91 = icmp slt i32 %90, 21
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.15, i64 0, i64 0))
br label %120
94: ; preds = %88
%95 = load i32, i32* %2
%96 = icmp slt i32 %95, 36
br i1 %96, label %97, label %99
97: ; preds = %94
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.16, i64 0, i64 0))
br label %119
99: ; preds = %94
%100 = load i32, i32* %2
%101 = icmp slt i32 %100, 51
br i1 %101, label %102, label %104
102: ; preds = %99
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.17, i64 0, i64 0))
br label %118
104: ; preds = %99
%105 = load i32, i32* %2
%106 = icmp slt i32 %105, 66
br i1 %106, label %107, label %109
107: ; preds = %104
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.18, i64 0, i64 0))
br label %117
109: ; preds = %104
%110 = load i32, i32* %2
%111 = icmp slt i32 %110, 91
br i1 %111, label %112, label %114
112: ; preds = %109
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.19, i64 0, i64 0))
br label %116
114: ; preds = %109
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.20, i64 0, i64 0))
br label %116
116: ; preds = %114, %112
br label %117
117: ; preds = %116, %107
br label %118
118: ; preds = %117, %102
br label %119
119: ; preds = %118, %97
br label %120
120: ; preds = %119, %92
br label %198
121: ; preds = %85
%122 = load i32, i32* %1
%123 = icmp slt i32 %122, 88
br i1 %123, label %124, label %126
124: ; preds = %121
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.21, i64 0, i64 0))
br label %197
126: ; preds = %121
%127 = load i32, i32* %1
%128 = icmp slt i32 %127, 90
br i1 %128, label %129, label %136
129: ; preds = %126
%130 = call i32 @d(i32 4)
%131 = call i32 @d(i32 4)
%132 = add nsw i32 %130, %131
%133 = call i32 @d(i32 4)
%134 = add nsw i32 %132, %133
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), i32 %134)
br label %196
136: ; preds = %126
%137 = load i32, i32* %1
%138 = icmp slt i32 %137, 92
br i1 %138, label %139, label %143
139: ; preds = %136
%140 = call i32 @d(i32 4)
%141 = add nsw i32 %140, 4
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.23, i64 0, i64 0), i32 %141)
br label %195
143: ; preds = %136
%144 = load i32, i32* %1
%145 = icmp slt i32 %144, 93
br i1 %145, label %146, label %148
146: ; preds = %143
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0))
br label %194
148: ; preds = %143
%149 = load i32, i32* %1
%150 = icmp slt i32 %149, 94
br i1 %150, label %151, label %153
151: ; preds = %148
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.25, i64 0, i64 0))
br label %193
153: ; preds = %148
%154 = load i32, i32* %1
%155 = icmp slt i32 %154, 95
br i1 %155, label %156, label %158
156: ; preds = %153
%157 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.26, i64 0, i64 0))
br label %192
158: ; preds = %153
%159 = load i32, i32* %1
%160 = icmp slt i32 %159, 96
br i1 %160, label %161, label %163
161: ; preds = %158
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.27, i64 0, i64 0))
br label %191
163: ; preds = %158
%164 = load i32, i32* %1
%165 = icmp slt i32 %164, 97
br i1 %165, label %166, label %168
166: ; preds = %163
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.28, i64 0, i64 0))
br label %190
168: ; preds = %163
%169 = load i32, i32* %1
%170 = icmp slt i32 %169, 98
br i1 %170, label %171, label %173
171: ; preds = %168
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.29, i64 0, i64 0))
br label %189
173: ; preds = %168
%174 = load i32, i32* %1
%175 = icmp slt i32 %174, 99
br i1 %175, label %176, label %180
176: ; preds = %173
%177 = call i32 @d(i32 6)
%178 = add nsw i32 %177, 3
%179 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.30, i64 0, i64 0), i32 %178)
br label %188
180: ; preds = %173
%181 = load i32, i32* %1
%182 = icmp slt i32 %181, 100
br i1 %182, label %183, label %185
183: ; preds = %180
%184 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.31, i64 0, i64 0))
br label %187
185: ; preds = %180
%186 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.32, i64 0, i64 0))
br label %187
187: ; preds = %185, %183
br label %188
188: ; preds = %187, %176
br label %189
189: ; preds = %188, %171
br label %190
190: ; preds = %189, %166
br label %191
191: ; preds = %190, %161
br label %192
192: ; preds = %191, %156
br label %193
193: ; preds = %192, %151
br label %194
194: ; preds = %193, %146
br label %195
195: ; preds = %194, %139
br label %196
196: ; preds = %195, %129
br label %197
197: ; preds = %196, %124
br label %198
198: ; preds = %197, %120
br label %199
199: ; preds = %198, %83
br label %200
200: ; preds = %199, %78
br label %201
201: ; preds = %200, %73
br label %202
202: ; preds = %201, %67
br label %203
203: ; preds = %202, %62
br label %204
204: ; preds = %203, %57
br label %205
205: ; preds = %204, %52
br label %206
206: ; preds = %205, %47
br label %207
207: ; preds = %206, %42
br label %208
208: ; preds = %207, %37
br label %209
209: ; preds = %208, %32
br label %210
210: ; preds = %209, %27
br label %211
211: ; preds = %210, %17
br label %212
212: ; preds = %211, %11
br label %213
213: ; preds = %212, %6
ret void
}

LLVM IR (-O2):
@.str.1 = [64 x i8] c"'%s' Spell scroll (4th level) (Save DC 15, +7 Attack) [DM 200]\0A\00"
@.str.2 = [14 x i8] c"%d +2 Arrows\0A\00"
@.str.11 = [64 x i8] c"'%s' Spell scroll (5th level) (Save DC 17, +9 Attack) [DM 200]\0A\00"
@.str.22 = [26 x i8] c"Bag of %d beans [DM 153]\0A\00"
@.str.23 = [70 x i8] c"%d Beads of force (60' range, 10' rad 5d4 force dam & trap) [DM 154]\0A\00"
@.str.30 = [45 x i8] c"Necklace of %d fireballs (3rd lvl) [DM 182]\0A\00"
@str = [32 x i8] c"Sending stones (1/day) [DM 199]\00"
@str.33 = [46 x i8] c"Periapt of health (disease immunity) [DM 184]\00"
@str.34 = [29 x i8] c"Horseshoes of speed [DM 175]\00"
@str.35 = [34 x i8] c"Heward's handy haversack [DM 174]\00"
@str.36 = [22 x i8] c"Folding boat [DM 170]\00"
@str.37 = [31 x i8] c"Eyes of minute seeing [DM 168]\00"
@str.38 = [35 x i8] c"Decanter of endless water [DM 161]\00"
@str.39 = [36 x i8] c"Chime of opening (10 uses) [DM 158]\00"
@str.40 = [21 x i8] c"Scroll of protection\00"
@str.41 = [62 x i8] c"Quaal's whip feather token (+9 1d6+5 attack, 1 hour) [DM 188]\00"
@str.42 = [78 x i8] c"Quaal's tree feather token (60' tall, 5' trunk, 20' spread oak tree) [DM 188]\00"
@str.43 = [68 x i8] c"Quaal's swan boat feather token (50'x20' 6 MPH boat 1 day) [DM 188]\00"
@str.44 = [61 x i8] c"Quaal's fan feather token (5 MPH ship wind 8 hours) [DM 188]\00"
@str.45 = [63 x i8] c"Quaal's bird feather token (500# capacity bird 1 day) [DM 188]\00"
@str.46 = [57 x i8] c"Quaal's anchor feather token (holds ship 1 day) [DM 188]\00"
@str.47 = [61 x i8] c"Potion of fire giant strength (1 hour, STR 25 (+7)) [DM 187]\00"
@str.48 = [56 x i8] c"Oil of etherrealness (10 min to apply, 1 hour) [DM 184]\00"
@str.49 = [69 x i8] c"Elixir of health (cures diseases, poisons, and afflictions) [DM 168]\00"
@str.50 = [50 x i8] c"Potion of mind reading (detect thoughts) [DM 188]\00"
@str.51 = [65 x i8] c"Potion of invulnerability (1 minute, resist all damage) [DM 188]\00"
@str.52 = [56 x i8] c"Potion of heroism (1 hour, +10 HP and blessed) [DM 188]\00"
@str.53 = [62 x i8] c"Potion of stone giant strength (1 hour, STR 23 (+6)) [DM 187]\00"
@str.54 = [62 x i8] c"Potion of frost giant strength (1 hour, STR 23 (+6)) [DM 187]\00"
@str.55 = [41 x i8] c"Potion of gaseous form (1 hour) [DM 187]\00"
@str.56 = [42 x i8] c"Potion of diminution (1d4 hours) [DM 187]\00"
@str.57 = [32 x i8] c"Potion of clairvoyance [DM 187]\00"
@str.58 = [44 x i8] c"Potion of superior healing (8d4+8) [DM 188]\00"
define void @magictablec() {
%1 = tail call i32 @d(i32 100)
%2 = icmp slt i32 %1, 16
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.58, i64 0, i64 0))
br label %148
5: ; preds = %0
%6 = icmp ult i32 %1, 23
br i1 %6, label %7, label %10
7: ; preds = %5
%8 = tail call i8* (...) @rand4lvl()
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.1, i64 0, i64 0), i8* %8)
br label %148
10: ; preds = %5
%11 = icmp ult i32 %1, 28
br i1 %11, label %12, label %19
12: ; preds = %10
%13 = tail call i32 @d(i32 6)
%14 = tail call i32 @d(i32 6)
%15 = add nsw i32 %14, %13
%16 = tail call i32 @d(i32 6)
%17 = add nsw i32 %15, %16
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i32 %17)
br label %148
19: ; preds = %10
%20 = icmp ult i32 %1, 33
br i1 %20, label %21, label %23
21: ; preds = %19
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.57, i64 0, i64 0))
br label %148
23: ; preds = %19
%24 = icmp ult i32 %1, 38
br i1 %24, label %25, label %27
25: ; preds = %23
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.56, i64 0, i64 0))
br label %148
27: ; preds = %23
%28 = icmp ult i32 %1, 43
br i1 %28, label %29, label %31
29: ; preds = %27
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.55, i64 0, i64 0))
br label %148
31: ; preds = %27
%32 = icmp ult i32 %1, 48
br i1 %32, label %33, label %35
33: ; preds = %31
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.54, i64 0, i64 0))
br label %148
35: ; preds = %31
%36 = icmp ult i32 %1, 53
br i1 %36, label %37, label %39
37: ; preds = %35
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.53, i64 0, i64 0))
br label %148
39: ; preds = %35
%40 = icmp ult i32 %1, 58
br i1 %40, label %41, label %43
41: ; preds = %39
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.52, i64 0, i64 0))
br label %148
43: ; preds = %39
%44 = icmp ult i32 %1, 63
br i1 %44, label %45, label %47
45: ; preds = %43
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.51, i64 0, i64 0))
br label %148
47: ; preds = %43
%48 = icmp ult i32 %1, 68
br i1 %48, label %49, label %51
49: ; preds = %47
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.50, i64 0, i64 0))
br label %148
51: ; preds = %47
%52 = icmp ult i32 %1, 73
br i1 %52, label %53, label %56
53: ; preds = %51
%54 = tail call i8* (...) @rand5lvl()
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.11, i64 0, i64 0), i8* %54)
br label %148
56: ; preds = %51
%57 = icmp ult i32 %1, 76
br i1 %57, label %58, label %60
58: ; preds = %56
%59 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.49, i64 0, i64 0))
br label %148
60: ; preds = %56
%61 = icmp ult i32 %1, 79
br i1 %61, label %62, label %64
62: ; preds = %60
%63 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.48, i64 0, i64 0))
br label %148
64: ; preds = %60
%65 = icmp ult i32 %1, 82
br i1 %65, label %66, label %68
66: ; preds = %64
%67 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.47, i64 0, i64 0))
br label %148
68: ; preds = %64
%69 = icmp ult i32 %1, 85
br i1 %69, label %70, label %93
70: ; preds = %68
%71 = tail call i32 @d(i32 100)
%72 = icmp slt i32 %71, 21
br i1 %72, label %73, label %75
73: ; preds = %70
%74 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.46, i64 0, i64 0))
br label %148
75: ; preds = %70
%76 = icmp ult i32 %71, 36
br i1 %76, label %77, label %79
77: ; preds = %75
%78 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.45, i64 0, i64 0))
br label %148
79: ; preds = %75
%80 = icmp ult i32 %71, 51
br i1 %80, label %81, label %83
81: ; preds = %79
%82 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.44, i64 0, i64 0))
br label %148
83: ; preds = %79
%84 = icmp ult i32 %71, 66
br i1 %84, label %85, label %87
85: ; preds = %83
%86 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.43, i64 0, i64 0))
br label %148
87: ; preds = %83
%88 = icmp ult i32 %71, 91
br i1 %88, label %89, label %91
89: ; preds = %87
%90 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.42, i64 0, i64 0))
br label %148
91: ; preds = %87
%92 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.41, i64 0, i64 0))
br label %148
93: ; preds = %68
%94 = icmp ult i32 %1, 88
br i1 %94, label %95, label %97
95: ; preds = %93
%96 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.40, i64 0, i64 0))
br label %148
97: ; preds = %93
%98 = icmp ult i32 %1, 90
br i1 %98, label %99, label %106
99: ; preds = %97
%100 = tail call i32 @d(i32 4)
%101 = tail call i32 @d(i32 4)
%102 = add nsw i32 %101, %100
%103 = tail call i32 @d(i32 4)
%104 = add nsw i32 %102, %103
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.22, i64 0, i64 0), i32 %104)
br label %148
106: ; preds = %97
%107 = icmp ult i32 %1, 92
br i1 %107, label %108, label %112
108: ; preds = %106
%109 = tail call i32 @d(i32 4)
%110 = add nsw i32 %109, 4
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.23, i64 0, i64 0), i32 %110)
br label %148
112: ; preds = %106
%113 = icmp eq i32 %1, 92
br i1 %113, label %114, label %116
114: ; preds = %112
%115 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.39, i64 0, i64 0))
br label %148
116: ; preds = %112
%117 = icmp ult i32 %1, 94
br i1 %117, label %118, label %120
118: ; preds = %116
%119 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.38, i64 0, i64 0))
br label %148
120: ; preds = %116
%121 = icmp eq i32 %1, 94
br i1 %121, label %122, label %124
122: ; preds = %120
%123 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.37, i64 0, i64 0))
br label %148
124: ; preds = %120
%125 = icmp ult i32 %1, 96
br i1 %125, label %126, label %128
126: ; preds = %124
%127 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.36, i64 0, i64 0))
br label %148
128: ; preds = %124
%129 = icmp eq i32 %1, 96
br i1 %129, label %130, label %132
130: ; preds = %128
%131 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.35, i64 0, i64 0))
br label %148
132: ; preds = %128
%133 = icmp ult i32 %1, 98
br i1 %133, label %134, label %136
134: ; preds = %132
%135 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.34, i64 0, i64 0))
br label %148
136: ; preds = %132
%137 = icmp eq i32 %1, 98
br i1 %137, label %138, label %142
138: ; preds = %136
%139 = tail call i32 @d(i32 6)
%140 = add nsw i32 %139, 3
%141 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.30, i64 0, i64 0), i32 %140)
br label %148
142: ; preds = %136
%143 = icmp ult i32 %1, 100
br i1 %143, label %144, label %146
144: ; preds = %142
%145 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.33, i64 0, i64 0))
br label %148
146: ; preds = %142
%147 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
br label %148
148: ; preds = %7, %21, %29, %37, %45, %53, %62, %77, %85, %91, %89, %81, %73, %99, %114, %122, %130, %138, %146, %144, %134, %126, %118, %108, %95, %66, %58, %49, %41, %33, %25, %12, %3
ret void
}