#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*/ 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();
void explode(int row, int col) {
  erase();
  mvprintw(row, col, "-");
  showit();
  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();
  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();
  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();
  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();
  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();
}


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   1040 <erase@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xe86(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0x0,%al
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2e3a(%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    0xe22(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x1,%esi
lea    0xe11(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x1,%esi
lea    0xdf5(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0x0,%al
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2dc1(%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    0xdb1(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd9f(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd90(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd72(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd54(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0x0,%al
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2d18(%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    0xd1a(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xd08(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xcf9(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xcdb(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xcbd(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0x0,%al
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2c6f(%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    0xc83(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc71(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc62(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc44(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xc26(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0x0,%al
call   1070 <showit@plt>
mov    $0x0,%al
call   1080 <get_colour@plt>
mov    %eax,%esi
mov    0x2bc6(%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    0xbec(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
sub    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xbce(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xbc5(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xba1(%rip),%rdx
call   1090 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
sub    $0x2,%esi
lea    0xb8f(%rip),%rdx
call   1090 <mvprintw@plt>
mov    $0x0,%al
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   1040 <erase@plt>
lea    0xe87(%rip),%rdx
mov    %r14d,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
xor    %eax,%eax
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2e38(%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    0xe23(%rip),%r15
mov    %r12d,%edi
mov    %r12d,0x8(%rsp)
mov    %ebp,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
lea    0xe0e(%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>
xor    %eax,%eax
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2dc2(%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    0xdb1(%rip),%r15
mov    %ebx,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
lea    0xda6(%rip),%rbp
mov    %r12d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0xd98(%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>
xor    %eax,%eax
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2d29(%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    0xd35(%rip),%rdx
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
lea    0xd27(%rip),%r12
mov    0x8(%rsp),%r15d
mov    %r15d,%edi
mov    %ebx,%esi
mov    %r12,%rdx
call   1090 <mvprintw@plt>
lea    0xd14(%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    0xce0(%rip),%rdx
call   1090 <mvprintw@plt>
xor    %eax,%eax
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2c94(%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    0xcb2(%rip),%rdx
mov    %ebp,%edi
mov    %ebx,%esi
call   1090 <mvprintw@plt>
lea    0xca8(%rip),%rbp
mov    %r15d,%edi
mov    %ebx,%esi
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0xc9a(%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    0xc66(%rip),%rdx
call   1090 <mvprintw@plt>
xor    %eax,%eax
call   1070 <showit@plt>
xor    %eax,%eax
call   1080 <get_colour@plt>
mov    0x2c08(%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    0xc38(%rip),%r15
mov    0xc(%rsp),%edi
mov    %ebx,%esi
mov    %r15,%rdx
call   1090 <mvprintw@plt>
mov    0x8(%rsp),%edi
mov    %ebx,%esi
lea    0xc17(%rip),%rbp
mov    %rbp,%rdx
call   1090 <mvprintw@plt>
lea    0xc14(%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>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <showit@plt>

LLVM IR (-O0):
@.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 (...) @erase()
%6 = load i32, i32* %3
%7 = load i32, i32* %4
%8 = call i32 @mvprintw(i32 %6, i32 %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (...) @showit()
%10 = call i32 (...) @get_colour()
%11 = load i32, i32* @COLOR_BLACK
%12 = call i32 @init_pair(i32 1, i32 %10, i32 %11)
%13 = call i32 @COLOR_PAIR(i32 1)
%14 = call i32 @attrset(i32 %13)
%15 = load i32, i32* %3
%16 = sub nsw i32 %15, 1
%17 = load i32, i32* %4
%18 = sub nsw i32 %17, 1
%19 = call i32 @mvprintw(i32 %16, i32 %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%20 = load i32, i32* %3
%21 = load i32, i32* %4
%22 = sub nsw i32 %21, 1
%23 = call i32 @mvprintw(i32 %20, i32 %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%24 = load i32, i32* %3
%25 = add nsw i32 %24, 1
%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.1, i64 0, i64 0))
%29 = call i32 (...) @showit()
%30 = call i32 (...) @get_colour()
%31 = load i32, i32* @COLOR_BLACK
%32 = call i32 @init_pair(i32 1, i32 %30, i32 %31)
%33 = call i32 @COLOR_PAIR(i32 1)
%34 = call i32 @attrset(i32 %33)
%35 = load i32, i32* %3
%36 = sub nsw i32 %35, 2
%37 = load i32, i32* %4
%38 = sub nsw i32 %37, 2
%39 = call i32 @mvprintw(i32 %36, i32 %38, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%40 = load i32, i32* %3
%41 = sub nsw i32 %40, 1
%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.4, i64 0, i64 0))
%45 = load i32, i32* %3
%46 = load i32, i32* %4
%47 = sub nsw i32 %46, 2
%48 = call i32 @mvprintw(i32 %45, i32 %47, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%49 = load i32, i32* %3
%50 = add nsw i32 %49, 1
%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.4, i64 0, i64 0))
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 2
%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.3, i64 0, i64 0))
%59 = call i32 (...) @showit()
%60 = call i32 (...) @get_colour()
%61 = load i32, i32* @COLOR_BLACK
%62 = call i32 @init_pair(i32 1, i32 %60, i32 %61)
%63 = call i32 @COLOR_PAIR(i32 1)
%64 = call i32 @attrset(i32 %63)
%65 = load i32, i32* %3
%66 = sub nsw i32 %65, 2
%67 = load i32, i32* %4
%68 = sub nsw i32 %67, 2
%69 = call i32 @mvprintw(i32 %66, i32 %68, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%70 = load i32, i32* %3
%71 = sub nsw i32 %70, 1
%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.7, i64 0, i64 0))
%75 = load i32, i32* %3
%76 = load i32, i32* %4
%77 = sub nsw i32 %76, 2
%78 = call i32 @mvprintw(i32 %75, i32 %77, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%79 = load i32, i32* %3
%80 = add nsw i32 %79, 1
%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.7, i64 0, i64 0))
%84 = load i32, i32* %3
%85 = add nsw i32 %84, 2
%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.6, i64 0, i64 0))
%89 = call i32 (...) @showit()
%90 = call i32 (...) @get_colour()
%91 = load i32, i32* @COLOR_BLACK
%92 = call i32 @init_pair(i32 1, i32 %90, i32 %91)
%93 = call i32 @COLOR_PAIR(i32 1)
%94 = call i32 @attrset(i32 %93)
%95 = load i32, i32* %3
%96 = sub nsw i32 %95, 2
%97 = load i32, i32* %4
%98 = sub nsw i32 %97, 2
%99 = call i32 @mvprintw(i32 %96, i32 %98, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%100 = load i32, i32* %3
%101 = sub nsw i32 %100, 1
%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.10, i64 0, i64 0))
%105 = load i32, i32* %3
%106 = load i32, i32* %4
%107 = sub nsw i32 %106, 2
%108 = call i32 @mvprintw(i32 %105, i32 %107, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%109 = load i32, i32* %3
%110 = add nsw i32 %109, 1
%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.10, i64 0, i64 0))
%114 = load i32, i32* %3
%115 = add nsw i32 %114, 2
%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.9, i64 0, i64 0))
%119 = call i32 (...) @showit()
%120 = call i32 (...) @get_colour()
%121 = load i32, i32* @COLOR_BLACK
%122 = call i32 @init_pair(i32 1, i32 %120, i32 %121)
%123 = call i32 @COLOR_PAIR(i32 1)
%124 = call i32 @attrset(i32 %123)
%125 = load i32, i32* %3
%126 = sub nsw i32 %125, 2
%127 = load i32, i32* %4
%128 = sub nsw i32 %127, 2
%129 = call i32 @mvprintw(i32 %126, i32 %128, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%130 = load i32, i32* %3
%131 = sub nsw i32 %130, 1
%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.11, i64 0, i64 0))
%135 = load i32, i32* %3
%136 = load i32, i32* %4
%137 = sub nsw i32 %136, 2
%138 = call i32 @mvprintw(i32 %135, i32 %137, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0))
%139 = load i32, i32* %3
%140 = add nsw i32 %139, 1
%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.11, i64 0, i64 0))
%144 = load i32, i32* %3
%145 = add nsw i32 %144, 2
%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.12, i64 0, i64 0))
%149 = call i32 (...) @showit()
ret void
}

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