#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*/ COLOR_BLACK;
int /*<<< orphan*/ COLOR_PAIR(int);
int /*<<< orphan*/ COLOR_WHITE;
int /*<<< orphan*/ attrset(int /*<<< orphan*/);
int /*<<< orphan*/ erase();
int /*<<< orphan*/ get_colour();
int /*<<< orphan*/ init_pair(int, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ mvprintw(int, int, char *);
int /*<<< orphan*/ showit(int);
void explode(int row, int col) {
  init_pair(1, get_colour(), COLOR_WHITE);
  attrset(COLOR_PAIR(1));
  erase();
  mvprintw(row, col, "-");
  showit(200);
  init_pair(1, get_colour(), COLOR_BLACK);
  attrset(COLOR_PAIR(1));
  mvprintw(row - 1, col - 1, " - ");
  mvprintw(row, col - 1, "-+-");
  mvprintw(row + 1, col - 1, " - ");
  showit(200);
  init_pair(1, get_colour(), COLOR_BLACK);
  attrset(COLOR_PAIR(1));
  mvprintw(row - 2, col - 2, " --- ");
  mvprintw(row - 1, col - 2, "-+++-");
  mvprintw(row, col - 2, "-+#+-");
  mvprintw(row + 1, col - 2, "-+++-");
  mvprintw(row + 2, col - 2, " --- ");
  showit(200);
  init_pair(1, get_colour(), COLOR_BLACK);
  attrset(COLOR_PAIR(1));
  mvprintw(row - 2, col - 2, " +++ ");
  mvprintw(row - 1, col - 2, "++#++");
  mvprintw(row, col - 2, "+# #+");
  mvprintw(row + 1, col - 2, "++#++");
  mvprintw(row + 2, col - 2, " +++ ");
  showit(200);
  init_pair(1, get_colour(), COLOR_BLACK);
  attrset(COLOR_PAIR(1));
  mvprintw(row - 2, col - 2, "  #  ");
  mvprintw(row - 1, col - 2, "## ##");
  mvprintw(row, col - 2, "#   #");
  mvprintw(row + 1, col - 2, "## ##");
  mvprintw(row + 2, col - 2, "  #  ");
  showit(200);
  init_pair(1, get_colour(), COLOR_BLACK);
  attrset(COLOR_PAIR(1));
  mvprintw(row - 2, col - 2, " # # ");
  mvprintw(row - 1, col - 2, "#   #");
  mvprintw(row, col - 2, "     ");
  mvprintw(row + 1, col - 2, "#   #");
  mvprintw(row + 2, col - 2, " # # ");
  showit(200);
}


x86 assembly (clang, -O0):
<explode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2e4a(%rip),%rax
mov    (%rax),%edx
mov    $0x1,%edi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
mov    $0x0,%al
call   1040 <erase@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xe59(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2e0a(%rip),%rax
mov    (%rax),%edx
mov    $0x1,%edi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x1,%esi
lea    0xdf2(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x1,%esi
lea    0xde1(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x1,%esi
lea    0xdc5(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2d8e(%rip),%rax
mov    (%rax),%edx
mov    $0x1,%edi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
mov    -0x4(%rbp),%edi
sub    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd7e(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd6c(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd5d(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd3f(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd21(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2ce2(%rip),%rax
mov    (%rax),%edx
mov    $0x1,%edi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
mov    -0x4(%rbp),%edi
sub    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xce4(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xcd2(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xcc3(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xca5(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc87(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2c36(%rip),%rax
mov    (%rax),%edx
mov    $0x1,%edi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
mov    -0x4(%rbp),%edi
sub    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc4a(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc38(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc29(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc0b(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xbed(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2b8a(%rip),%rax
mov    (%rax),%edx
mov    $0x1,%edi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
mov    -0x4(%rbp),%edi
sub    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xbb0(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xb92(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xb89(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xb65(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xb53(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<explode>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %esi,%ebx
mov    %edi,%r14d
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2e47(%rip),%rcx
mov    (%rcx),%edx
mov    $0x1,%edi
mov    %eax,%esi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
xor    %eax,%eax
call   1040 <erase@plt>
lea    0xe5a(%rip),%rdx
mov    %r14d,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2e08(%rip),%rcx
mov    (%rcx),%edx
mov    $0x1,%edi
mov    %eax,%esi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
lea    -0x1(%r14),%r12d
lea    -0x1(%rbx),%ebp
lea    0xdf3(%rip),%r15
mov    %r12d,%edi
mov    %r12d,0x8(%rsp)
mov    %ebp,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
lea    0xdde(%rip),%rdx
mov    %r14d,%edi
mov    %ebp,%esi
call   1090 <mvprintw@plt>
lea    0x1(%r14),%r13d
mov    %r13d,%edi
mov    %ebp,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2d8f(%rip),%rcx
mov    (%rcx),%edx
mov    $0x1,%edi
mov    %eax,%esi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
lea    -0x2(%r14),%edi
mov    %edi,0xc(%rsp)
add    $0xfffffffe,%ebx
lea    0xd7e(%rip),%r15
mov    %ebx,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
lea    0xd73(%rip),%rbp
mov    %r12d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0xd65(%rip),%rdx
mov    %r14d,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
mov    %r13d,0x10(%rsp)
mov    %r13d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0x2(%r14),%edi
mov    %edi,0x14(%rsp)
mov    %ebx,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2cf3(%rip),%rcx
mov    (%rcx),%edx
mov    $0x1,%edi
mov    %eax,%esi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
lea    0xcff(%rip),%rdx
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
lea    0xcf1(%rip),%r12
mov    0x8(%rsp),%r15d
mov    %r15d,%edi
mov    %ebx,%esi
mov    %r12,%rdx
call   1090 <mvprintw@plt>
lea    0xcde(%rip),%rdx
mov    %r14d,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
mov    %r13d,%edi
mov    %ebx,%esi
mov    %r12,%rdx
call   1090 <mvprintw@plt>
mov    0x14(%rsp),%r13d
mov    %r13d,%edi
mov    %ebx,%esi
lea    0xcaa(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2c5b(%rip),%rcx
mov    (%rcx),%edx
mov    $0x1,%edi
mov    %eax,%esi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
lea    0xc79(%rip),%rdx
mov    %ebp,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
lea    0xc6f(%rip),%rbp
mov    %r15d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0xc61(%rip),%rdx
mov    %r14d,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
mov    0x10(%rsp),%r12d
mov    %r12d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
mov    %r13d,%edi
mov    %ebx,%esi
lea    0xc2d(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2bcc(%rip),%rcx
mov    (%rcx),%edx
mov    $0x1,%edi
mov    %eax,%esi
call   1030 <init_pair@plt>
mov    $0x1,%edi
call   1050 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1060 <attrset@plt>
lea    0xbfc(%rip),%r15
mov    0xc(%rsp),%edi
mov    %ebx,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
mov    0x8(%rsp),%edi
mov    %ebx,%esi
lea    0xbdb(%rip),%rbp
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0xbd8(%rip),%rdx
mov    %r14d,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
mov    %r12d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
mov    %r13d,%edi
mov    %ebx,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
mov    $0xc8,%edi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <showit@plt>

LLVM IR (-O0):
@COLOR_WHITE = global i32 0
@.str = [2 x i8] c"-\00"
@COLOR_BLACK = global i32 0
@.str.1 = [4 x i8] c" - \00"
@.str.2 = [4 x i8] c"-+-\00"
@.str.3 = [6 x i8] c" --- \00"
@.str.4 = [6 x i8] c"-+++-\00"
@.str.5 = [6 x i8] c"-+#+-\00"
@.str.6 = [6 x i8] c" +++ \00"
@.str.7 = [6 x i8] c"++#++\00"
@.str.8 = [6 x i8] c"+# #+\00"
@.str.9 = [6 x i8] c" # \00"
@.str.10 = [6 x i8] c"## ##\00"
@.str.11 = [6 x i8] c"# #\00"
@.str.12 = [6 x i8] c" # # \00"
@.str.13 = [6 x i8] c" \00"
define void @explode(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%5 = call i32 (...) @get_colour()
%6 = load i32, i32* @COLOR_WHITE
%7 = call i32 @init_pair(i32 1, i32 %5, i32 %6)
%8 = call i32 @COLOR_PAIR(i32 1)
%9 = call i32 @attrset(i32 %8)
%10 = call i32 (...) @erase()
%11 = load i32, i32* %3
%12 = load i32, i32* %4
%13 = call i32 @mvprintw(i32 %11, i32 %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%14 = call i32 @showit(i32 200)
%15 = call i32 (...) @get_colour()
%16 = load i32, i32* @COLOR_BLACK
%17 = call i32 @init_pair(i32 1, i32 %15, i32 %16)
%18 = call i32 @COLOR_PAIR(i32 1)
%19 = call i32 @attrset(i32 %18)
%20 = load i32, i32* %3
%21 = sub nsw i32 %20, 1
%22 = load i32, i32* %4
%23 = sub nsw i32 %22, 1
%24 = call i32 @mvprintw(i32 %21, i32 %23, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%25 = load i32, i32* %3
%26 = load i32, i32* %4
%27 = sub nsw i32 %26, 1
%28 = call i32 @mvprintw(i32 %25, i32 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%29 = load i32, i32* %3
%30 = add nsw i32 %29, 1
%31 = load i32, i32* %4
%32 = sub nsw i32 %31, 1
%33 = call i32 @mvprintw(i32 %30, i32 %32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%34 = call i32 @showit(i32 200)
%35 = call i32 (...) @get_colour()
%36 = load i32, i32* @COLOR_BLACK
%37 = call i32 @init_pair(i32 1, i32 %35, i32 %36)
%38 = call i32 @COLOR_PAIR(i32 1)
%39 = call i32 @attrset(i32 %38)
%40 = load i32, i32* %3
%41 = sub nsw i32 %40, 2
%42 = load i32, i32* %4
%43 = sub nsw i32 %42, 2
%44 = call i32 @mvprintw(i32 %41, i32 %43, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%45 = load i32, i32* %3
%46 = sub nsw i32 %45, 1
%47 = load i32, i32* %4
%48 = sub nsw i32 %47, 2
%49 = call i32 @mvprintw(i32 %46, i32 %48, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%50 = load i32, i32* %3
%51 = load i32, i32* %4
%52 = sub nsw i32 %51, 2
%53 = call i32 @mvprintw(i32 %50, i32 %52, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 1
%56 = load i32, i32* %4
%57 = sub nsw i32 %56, 2
%58 = call i32 @mvprintw(i32 %55, i32 %57, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%59 = load i32, i32* %3
%60 = add nsw i32 %59, 2
%61 = load i32, i32* %4
%62 = sub nsw i32 %61, 2
%63 = call i32 @mvprintw(i32 %60, i32 %62, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%64 = call i32 @showit(i32 200)
%65 = call i32 (...) @get_colour()
%66 = load i32, i32* @COLOR_BLACK
%67 = call i32 @init_pair(i32 1, i32 %65, i32 %66)
%68 = call i32 @COLOR_PAIR(i32 1)
%69 = call i32 @attrset(i32 %68)
%70 = load i32, i32* %3
%71 = sub nsw i32 %70, 2
%72 = load i32, i32* %4
%73 = sub nsw i32 %72, 2
%74 = call i32 @mvprintw(i32 %71, i32 %73, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%75 = load i32, i32* %3
%76 = sub nsw i32 %75, 1
%77 = load i32, i32* %4
%78 = sub nsw i32 %77, 2
%79 = call i32 @mvprintw(i32 %76, i32 %78, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%80 = load i32, i32* %3
%81 = load i32, i32* %4
%82 = sub nsw i32 %81, 2
%83 = call i32 @mvprintw(i32 %80, i32 %82, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%84 = load i32, i32* %3
%85 = add nsw i32 %84, 1
%86 = load i32, i32* %4
%87 = sub nsw i32 %86, 2
%88 = call i32 @mvprintw(i32 %85, i32 %87, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%89 = load i32, i32* %3
%90 = add nsw i32 %89, 2
%91 = load i32, i32* %4
%92 = sub nsw i32 %91, 2
%93 = call i32 @mvprintw(i32 %90, i32 %92, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%94 = call i32 @showit(i32 200)
%95 = call i32 (...) @get_colour()
%96 = load i32, i32* @COLOR_BLACK
%97 = call i32 @init_pair(i32 1, i32 %95, i32 %96)
%98 = call i32 @COLOR_PAIR(i32 1)
%99 = call i32 @attrset(i32 %98)
%100 = load i32, i32* %3
%101 = sub nsw i32 %100, 2
%102 = load i32, i32* %4
%103 = sub nsw i32 %102, 2
%104 = call i32 @mvprintw(i32 %101, i32 %103, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%105 = load i32, i32* %3
%106 = sub nsw i32 %105, 1
%107 = load i32, i32* %4
%108 = sub nsw i32 %107, 2
%109 = call i32 @mvprintw(i32 %106, i32 %108, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%110 = load i32, i32* %3
%111 = load i32, i32* %4
%112 = sub nsw i32 %111, 2
%113 = call i32 @mvprintw(i32 %110, i32 %112, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%114 = load i32, i32* %3
%115 = add nsw i32 %114, 1
%116 = load i32, i32* %4
%117 = sub nsw i32 %116, 2
%118 = call i32 @mvprintw(i32 %115, i32 %117, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%119 = load i32, i32* %3
%120 = add nsw i32 %119, 2
%121 = load i32, i32* %4
%122 = sub nsw i32 %121, 2
%123 = call i32 @mvprintw(i32 %120, i32 %122, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%124 = call i32 @showit(i32 200)
%125 = call i32 (...) @get_colour()
%126 = load i32, i32* @COLOR_BLACK
%127 = call i32 @init_pair(i32 1, i32 %125, i32 %126)
%128 = call i32 @COLOR_PAIR(i32 1)
%129 = call i32 @attrset(i32 %128)
%130 = load i32, i32* %3
%131 = sub nsw i32 %130, 2
%132 = load i32, i32* %4
%133 = sub nsw i32 %132, 2
%134 = call i32 @mvprintw(i32 %131, i32 %133, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%135 = load i32, i32* %3
%136 = sub nsw i32 %135, 1
%137 = load i32, i32* %4
%138 = sub nsw i32 %137, 2
%139 = call i32 @mvprintw(i32 %136, i32 %138, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%140 = load i32, i32* %3
%141 = load i32, i32* %4
%142 = sub nsw i32 %141, 2
%143 = call i32 @mvprintw(i32 %140, i32 %142, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%144 = load i32, i32* %3
%145 = add nsw i32 %144, 1
%146 = load i32, i32* %4
%147 = sub nsw i32 %146, 2
%148 = call i32 @mvprintw(i32 %145, i32 %147, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%149 = load i32, i32* %3
%150 = add nsw i32 %149, 2
%151 = load i32, i32* %4
%152 = sub nsw i32 %151, 2
%153 = call i32 @mvprintw(i32 %150, i32 %152, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%154 = call i32 @showit(i32 200)
ret void
}

LLVM IR (-O2):
@COLOR_WHITE = global i32 0
@.str = [2 x i8] c"-\00"
@COLOR_BLACK = global i32 0
@.str.1 = [4 x i8] c" - \00"
@.str.2 = [4 x i8] c"-+-\00"
@.str.3 = [6 x i8] c" --- \00"
@.str.4 = [6 x i8] c"-+++-\00"
@.str.5 = [6 x i8] c"-+#+-\00"
@.str.6 = [6 x i8] c" +++ \00"
@.str.7 = [6 x i8] c"++#++\00"
@.str.8 = [6 x i8] c"+# #+\00"
@.str.9 = [6 x i8] c" # \00"
@.str.10 = [6 x i8] c"## ##\00"
@.str.11 = [6 x i8] c"# #\00"
@.str.12 = [6 x i8] c" # # \00"
@.str.13 = [6 x i8] c" \00"
define void @explode(i32 %0, i32 %1) {
%3 = tail call i32 (...) @get_colour()
%4 = load i32, i32* @COLOR_WHITE
%5 = tail call i32 @init_pair(i32 1, i32 %3, i32 %4)
%6 = tail call i32 @COLOR_PAIR(i32 1)
%7 = tail call i32 @attrset(i32 %6)
%8 = tail call i32 (...) @erase()
%9 = tail call i32 @mvprintw(i32 %0, i32 %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%10 = tail call i32 @showit(i32 200)
%11 = tail call i32 (...) @get_colour()
%12 = load i32, i32* @COLOR_BLACK
%13 = tail call i32 @init_pair(i32 1, i32 %11, i32 %12)
%14 = tail call i32 @COLOR_PAIR(i32 1)
%15 = tail call i32 @attrset(i32 %14)
%16 = add nsw i32 %0, -1
%17 = add nsw i32 %1, -1
%18 = tail call i32 @mvprintw(i32 %16, i32 %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%19 = tail call i32 @mvprintw(i32 %0, i32 %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%20 = add nsw i32 %0, 1
%21 = tail call i32 @mvprintw(i32 %20, i32 %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%22 = tail call i32 @showit(i32 200)
%23 = tail call i32 (...) @get_colour()
%24 = load i32, i32* @COLOR_BLACK
%25 = tail call i32 @init_pair(i32 1, i32 %23, i32 %24)
%26 = tail call i32 @COLOR_PAIR(i32 1)
%27 = tail call i32 @attrset(i32 %26)
%28 = add nsw i32 %0, -2
%29 = add nsw i32 %1, -2
%30 = tail call i32 @mvprintw(i32 %28, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%31 = tail call i32 @mvprintw(i32 %16, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%32 = tail call i32 @mvprintw(i32 %0, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%33 = tail call i32 @mvprintw(i32 %20, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%34 = add nsw i32 %0, 2
%35 = tail call i32 @mvprintw(i32 %34, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%36 = tail call i32 @showit(i32 200)
%37 = tail call i32 (...) @get_colour()
%38 = load i32, i32* @COLOR_BLACK
%39 = tail call i32 @init_pair(i32 1, i32 %37, i32 %38)
%40 = tail call i32 @COLOR_PAIR(i32 1)
%41 = tail call i32 @attrset(i32 %40)
%42 = tail call i32 @mvprintw(i32 %28, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%43 = tail call i32 @mvprintw(i32 %16, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%44 = tail call i32 @mvprintw(i32 %0, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%45 = tail call i32 @mvprintw(i32 %20, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%46 = tail call i32 @mvprintw(i32 %34, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%47 = tail call i32 @showit(i32 200)
%48 = tail call i32 (...) @get_colour()
%49 = load i32, i32* @COLOR_BLACK
%50 = tail call i32 @init_pair(i32 1, i32 %48, i32 %49)
%51 = tail call i32 @COLOR_PAIR(i32 1)
%52 = tail call i32 @attrset(i32 %51)
%53 = tail call i32 @mvprintw(i32 %28, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%54 = tail call i32 @mvprintw(i32 %16, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%55 = tail call i32 @mvprintw(i32 %0, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%56 = tail call i32 @mvprintw(i32 %20, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%57 = tail call i32 @mvprintw(i32 %34, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%58 = tail call i32 @showit(i32 200)
%59 = tail call i32 (...) @get_colour()
%60 = load i32, i32* @COLOR_BLACK
%61 = tail call i32 @init_pair(i32 1, i32 %59, i32 %60)
%62 = tail call i32 @COLOR_PAIR(i32 1)
%63 = tail call i32 @attrset(i32 %62)
%64 = tail call i32 @mvprintw(i32 %28, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%65 = tail call i32 @mvprintw(i32 %16, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%66 = tail call i32 @mvprintw(i32 %0, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%67 = tail call i32 @mvprintw(i32 %20, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%68 = tail call i32 @mvprintw(i32 %34, i32 %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%69 = tail call i32 @showit(i32 200)
ret void
}