#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*/ box_walls(int /*<<< orphan*/, int, int /*<<< orphan*/, int,
                             int, int);
int /*<<< orphan*/ box_wireframe(int, int, int, int, int, int);
int /*<<< orphan*/ delay_ms(int);
int /*<<< orphan*/ fill(int);
void zoom_pyramid() {
  int i, j, k, time;
  fill(0x00);
  box_walls(0, 0, 0, 7, 0, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 0, 1);
  box_walls(0, 1, 0, 7, 1, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 1, 1);
  box_wireframe(1, 1, 2, 6, 1, 3);
  box_walls(0, 2, 0, 7, 2, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 2, 1);
  box_wireframe(1, 1, 2, 6, 2, 3);
  box_wireframe(2, 2, 4, 5, 2, 5);
  box_walls(0, 3, 0, 7, 3, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 3, 1);
  box_wireframe(1, 1, 2, 6, 3, 3);
  box_wireframe(2, 2, 4, 5, 3, 5);
  box_wireframe(3, 3, 6, 4, 3, 7);
  box_walls(0, 4, 0, 7, 4, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 4, 1);
  box_wireframe(1, 1, 2, 6, 4, 3);
  box_wireframe(2, 2, 4, 5, 4, 5);
  box_wireframe(3, 3, 6, 4, 4, 7);
  box_walls(0, 5, 0, 7, 5, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 5, 1);
  box_wireframe(1, 1, 2, 6, 5, 3);
  box_wireframe(2, 2, 4, 5, 5, 5);
  box_wireframe(3, 3, 6, 4, 4, 7);
  box_walls(0, 6, 0, 7, 6, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 6, 1);
  box_wireframe(1, 1, 2, 6, 6, 3);
  box_wireframe(2, 2, 4, 5, 5, 5);
  box_wireframe(3, 3, 6, 4, 4, 7);
  box_walls(0, 7, 0, 7, 7, 7);
  delay_ms(250);
  fill(0x00);
  box_wireframe(0, 0, 0, 7, 7, 1);
  box_wireframe(1, 1, 2, 6, 6, 3);
  box_wireframe(2, 2, 4, 5, 5, 5);
  box_wireframe(3, 3, 6, 4, 4, 7);
  delay_ms(5000);
}


x86 assembly (clang, -O0):
<zoom_pyramid>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %edi,%edi
call   1040 <fill@plt>
xor    %r8d,%r8d
mov    $0x7,%r9d
mov    %r8d,%edi
mov    %r8d,%esi
mov    %r8d,%edx
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %r8d,%r8d
mov    $0x7,%ecx
mov    $0x1,%r9d
mov    %r8d,%edi
mov    %r8d,%esi
mov    %r8d,%edx
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x1,%r8d
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
mov    %r9d,%r8d
call   1030 <box_wireframe@plt>
mov    $0x1,%r8d
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x3,%r9d
mov    %r8d,%edi
mov    %r8d,%esi
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x2,%r8d
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x2,%r8d
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
call   1030 <box_wireframe@plt>
mov    $0x1,%esi
mov    $0x2,%r8d
mov    $0x6,%ecx
mov    $0x3,%r9d
mov    %esi,%edi
mov    %r8d,%edx
call   1030 <box_wireframe@plt>
mov    $0x2,%r8d
mov    $0x4,%edx
mov    $0x5,%r9d
mov    %r8d,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x3,%r8d
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x3,%r8d
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
call   1030 <box_wireframe@plt>
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x3,%r9d
mov    %esi,%edi
mov    %r9d,%r8d
call   1030 <box_wireframe@plt>
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%r9d
mov    $0x3,%r8d
mov    %esi,%edi
mov    %r9d,%ecx
call   1030 <box_wireframe@plt>
mov    $0x3,%r8d
mov    $0x6,%edx
mov    $0x4,%ecx
mov    $0x7,%r9d
mov    %r8d,%edi
mov    %r8d,%esi
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x4,%r8d
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x4,%r8d
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
call   1030 <box_wireframe@plt>
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x4,%r8d
mov    $0x3,%r9d
mov    %esi,%edi
call   1030 <box_wireframe@plt>
mov    $0x2,%esi
mov    $0x4,%r8d
mov    $0x5,%r9d
mov    %esi,%edi
mov    %r8d,%edx
mov    %r9d,%ecx
call   1030 <box_wireframe@plt>
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%r8d
mov    $0x7,%r9d
mov    %esi,%edi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x5,%r8d
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x5,%r8d
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
call   1030 <box_wireframe@plt>
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x5,%r8d
mov    $0x3,%r9d
mov    %esi,%edi
call   1030 <box_wireframe@plt>
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%r9d
mov    %esi,%edi
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1030 <box_wireframe@plt>
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%r8d
mov    $0x7,%r9d
mov    %esi,%edi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x6,%r8d
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r8d,%esi
mov    %r9d,%ecx
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x6,%r8d
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
call   1030 <box_wireframe@plt>
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%r8d
mov    $0x3,%r9d
mov    %esi,%edi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%r9d
mov    %esi,%edi
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1030 <box_wireframe@plt>
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%r8d
mov    $0x7,%r9d
mov    %esi,%edi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
xor    %edx,%edx
mov    $0x7,%r9d
mov    %edx,%edi
mov    %r9d,%esi
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edx,%edx
mov    $0x7,%r8d
mov    $0x1,%r9d
mov    %edx,%edi
mov    %edx,%esi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%r8d
mov    $0x3,%r9d
mov    %esi,%edi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%r9d
mov    %esi,%edi
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1030 <box_wireframe@plt>
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%r8d
mov    $0x7,%r9d
mov    %esi,%edi
mov    %r8d,%ecx
call   1030 <box_wireframe@plt>
mov    $0x1388,%edi
call   1050 <delay_ms@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<zoom_pyramid>:
push   %rax
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
xor    %r8d,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
xor    %r8d,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x1,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x1,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x1,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x1,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x2,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x2,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x2,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x2,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    $0x2,%r8d
mov    $0x5,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x3,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x3,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x3,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x3,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    $0x3,%r8d
mov    $0x5,%r9d
call   1030 <box_wireframe@plt>
mov    $0x3,%edi
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%ecx
mov    $0x3,%r8d
mov    $0x7,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x4,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x4,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x4,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x4,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    $0x4,%r8d
mov    $0x5,%r9d
call   1030 <box_wireframe@plt>
mov    $0x3,%edi
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%ecx
mov    $0x4,%r8d
mov    $0x7,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x5,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x5,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x5,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x5,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    $0x5,%r8d
mov    $0x5,%r9d
call   1030 <box_wireframe@plt>
mov    $0x3,%edi
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%ecx
mov    $0x4,%r8d
mov    $0x7,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x6,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x6,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x6,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x6,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    $0x5,%r8d
mov    $0x5,%r9d
call   1030 <box_wireframe@plt>
mov    $0x3,%edi
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%ecx
mov    $0x4,%r8d
mov    $0x7,%r9d
call   1030 <box_wireframe@plt>
xor    %edi,%edi
mov    $0x7,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x7,%r8d
mov    $0x7,%r9d
call   1060 <box_walls@plt>
mov    $0xfa,%edi
call   1050 <delay_ms@plt>
xor    %edi,%edi
call   1040 <fill@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x7,%ecx
mov    $0x7,%r8d
mov    $0x1,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x6,%ecx
mov    $0x6,%r8d
mov    $0x3,%r9d
call   1030 <box_wireframe@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    $0x5,%r8d
mov    $0x5,%r9d
call   1030 <box_wireframe@plt>
mov    $0x3,%edi
mov    $0x3,%esi
mov    $0x6,%edx
mov    $0x4,%ecx
mov    $0x4,%r8d
mov    $0x7,%r9d
call   1030 <box_wireframe@plt>
mov    $0x1388,%edi
pop    %rax
jmp    1050 <delay_ms@plt>

LLVM IR (-O0):
define void @zoom_pyramid() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = call i32 @fill(i32 0)
%6 = call i32 @box_walls(i32 0, i32 0, i32 0, i32 7, i32 0, i32 7)
%7 = call i32 @delay_ms(i32 250)
%8 = call i32 @fill(i32 0)
%9 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 0, i32 1)
%10 = call i32 @box_walls(i32 0, i32 1, i32 0, i32 7, i32 1, i32 7)
%11 = call i32 @delay_ms(i32 250)
%12 = call i32 @fill(i32 0)
%13 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 1, i32 1)
%14 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 1, i32 3)
%15 = call i32 @box_walls(i32 0, i32 2, i32 0, i32 7, i32 2, i32 7)
%16 = call i32 @delay_ms(i32 250)
%17 = call i32 @fill(i32 0)
%18 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 2, i32 1)
%19 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 2, i32 3)
%20 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 2, i32 5)
%21 = call i32 @box_walls(i32 0, i32 3, i32 0, i32 7, i32 3, i32 7)
%22 = call i32 @delay_ms(i32 250)
%23 = call i32 @fill(i32 0)
%24 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 3, i32 1)
%25 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 3, i32 3)
%26 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 3, i32 5)
%27 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 3, i32 7)
%28 = call i32 @box_walls(i32 0, i32 4, i32 0, i32 7, i32 4, i32 7)
%29 = call i32 @delay_ms(i32 250)
%30 = call i32 @fill(i32 0)
%31 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 4, i32 1)
%32 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 4, i32 3)
%33 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 4, i32 5)
%34 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%35 = call i32 @box_walls(i32 0, i32 5, i32 0, i32 7, i32 5, i32 7)
%36 = call i32 @delay_ms(i32 250)
%37 = call i32 @fill(i32 0)
%38 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 5, i32 1)
%39 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 5, i32 3)
%40 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%41 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%42 = call i32 @box_walls(i32 0, i32 6, i32 0, i32 7, i32 6, i32 7)
%43 = call i32 @delay_ms(i32 250)
%44 = call i32 @fill(i32 0)
%45 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 6, i32 1)
%46 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 6, i32 3)
%47 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%48 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%49 = call i32 @box_walls(i32 0, i32 7, i32 0, i32 7, i32 7, i32 7)
%50 = call i32 @delay_ms(i32 250)
%51 = call i32 @fill(i32 0)
%52 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 7, i32 1)
%53 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 6, i32 3)
%54 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%55 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%56 = call i32 @delay_ms(i32 5000)
ret void
}

LLVM IR (-O2):
define void @zoom_pyramid() {
%1 = tail call i32 @fill(i32 0)
%2 = tail call i32 @box_walls(i32 0, i32 0, i32 0, i32 7, i32 0, i32 7)
%3 = tail call i32 @delay_ms(i32 250)
%4 = tail call i32 @fill(i32 0)
%5 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 0, i32 1)
%6 = tail call i32 @box_walls(i32 0, i32 1, i32 0, i32 7, i32 1, i32 7)
%7 = tail call i32 @delay_ms(i32 250)
%8 = tail call i32 @fill(i32 0)
%9 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 1, i32 1)
%10 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 1, i32 3)
%11 = tail call i32 @box_walls(i32 0, i32 2, i32 0, i32 7, i32 2, i32 7)
%12 = tail call i32 @delay_ms(i32 250)
%13 = tail call i32 @fill(i32 0)
%14 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 2, i32 1)
%15 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 2, i32 3)
%16 = tail call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 2, i32 5)
%17 = tail call i32 @box_walls(i32 0, i32 3, i32 0, i32 7, i32 3, i32 7)
%18 = tail call i32 @delay_ms(i32 250)
%19 = tail call i32 @fill(i32 0)
%20 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 3, i32 1)
%21 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 3, i32 3)
%22 = tail call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 3, i32 5)
%23 = tail call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 3, i32 7)
%24 = tail call i32 @box_walls(i32 0, i32 4, i32 0, i32 7, i32 4, i32 7)
%25 = tail call i32 @delay_ms(i32 250)
%26 = tail call i32 @fill(i32 0)
%27 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 4, i32 1)
%28 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 4, i32 3)
%29 = tail call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 4, i32 5)
%30 = tail call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%31 = tail call i32 @box_walls(i32 0, i32 5, i32 0, i32 7, i32 5, i32 7)
%32 = tail call i32 @delay_ms(i32 250)
%33 = tail call i32 @fill(i32 0)
%34 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 5, i32 1)
%35 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 5, i32 3)
%36 = tail call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%37 = tail call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%38 = tail call i32 @box_walls(i32 0, i32 6, i32 0, i32 7, i32 6, i32 7)
%39 = tail call i32 @delay_ms(i32 250)
%40 = tail call i32 @fill(i32 0)
%41 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 6, i32 1)
%42 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 6, i32 3)
%43 = tail call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%44 = tail call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%45 = tail call i32 @box_walls(i32 0, i32 7, i32 0, i32 7, i32 7, i32 7)
%46 = tail call i32 @delay_ms(i32 250)
%47 = tail call i32 @fill(i32 0)
%48 = tail call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 7, i32 1)
%49 = tail call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 6, i32 3)
%50 = tail call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%51 = tail call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%52 = tail call i32 @delay_ms(i32 5000)
ret void
}