#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 /*<<< orphan*/);
void zoom_pyramid(int delay) {
  fill(0);
  box_walls(0, 0, 0, 7, 0, 7);
  delay_ms(delay);
  fill(0);
  box_wireframe(0, 0, 0, 7, 0, 1);
  box_walls(0, 1, 0, 7, 1, 7);
  delay_ms(delay);
  fill(0);
  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(delay);
  fill(0);
  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(delay);
  fill(0);
  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(delay);
  fill(0);
  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(delay);
  fill(0);
  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(delay);
  fill(0);
  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(delay);
  fill(0);
  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);
}


x86 assembly (clang, -O0):
<zoom_pyramid>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
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    -0x4(%rbp),%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    -0x4(%rbp),%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    -0x4(%rbp),%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    -0x4(%rbp),%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    -0x4(%rbp),%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    -0x4(%rbp),%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    -0x4(%rbp),%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    -0x4(%rbp),%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>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<zoom_pyramid>:
push   %rbx
mov    %edi,%ebx
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    %ebx,%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    %ebx,%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    %ebx,%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    %ebx,%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    %ebx,%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    %ebx,%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    %ebx,%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    %ebx,%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
pop    %rbx
jmp    1030 <box_wireframe@plt>

LLVM IR (-O0):
define void @zoom_pyramid(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = call i32 @fill(i32 0)
%4 = call i32 @box_walls(i32 0, i32 0, i32 0, i32 7, i32 0, i32 7)
%5 = load i32, i32* %2
%6 = call i32 @delay_ms(i32 %5)
%7 = call i32 @fill(i32 0)
%8 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 0, i32 1)
%9 = call i32 @box_walls(i32 0, i32 1, i32 0, i32 7, i32 1, i32 7)
%10 = load i32, i32* %2
%11 = call i32 @delay_ms(i32 %10)
%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 = load i32, i32* %2
%17 = call i32 @delay_ms(i32 %16)
%18 = call i32 @fill(i32 0)
%19 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 2, i32 1)
%20 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 2, i32 3)
%21 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 2, i32 5)
%22 = call i32 @box_walls(i32 0, i32 3, i32 0, i32 7, i32 3, i32 7)
%23 = load i32, i32* %2
%24 = call i32 @delay_ms(i32 %23)
%25 = call i32 @fill(i32 0)
%26 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 3, i32 1)
%27 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 3, i32 3)
%28 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 3, i32 5)
%29 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 3, i32 7)
%30 = call i32 @box_walls(i32 0, i32 4, i32 0, i32 7, i32 4, i32 7)
%31 = load i32, i32* %2
%32 = call i32 @delay_ms(i32 %31)
%33 = call i32 @fill(i32 0)
%34 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 4, i32 1)
%35 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 4, i32 3)
%36 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 4, i32 5)
%37 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%38 = call i32 @box_walls(i32 0, i32 5, i32 0, i32 7, i32 5, i32 7)
%39 = load i32, i32* %2
%40 = call i32 @delay_ms(i32 %39)
%41 = call i32 @fill(i32 0)
%42 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 5, i32 1)
%43 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 5, i32 3)
%44 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%45 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%46 = call i32 @box_walls(i32 0, i32 6, i32 0, i32 7, i32 6, i32 7)
%47 = load i32, i32* %2
%48 = call i32 @delay_ms(i32 %47)
%49 = call i32 @fill(i32 0)
%50 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 6, i32 1)
%51 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 6, i32 3)
%52 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%53 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
%54 = call i32 @box_walls(i32 0, i32 7, i32 0, i32 7, i32 7, i32 7)
%55 = load i32, i32* %2
%56 = call i32 @delay_ms(i32 %55)
%57 = call i32 @fill(i32 0)
%58 = call i32 @box_wireframe(i32 0, i32 0, i32 0, i32 7, i32 7, i32 1)
%59 = call i32 @box_wireframe(i32 1, i32 1, i32 2, i32 6, i32 6, i32 3)
%60 = call i32 @box_wireframe(i32 2, i32 2, i32 4, i32 5, i32 5, i32 5)
%61 = call i32 @box_wireframe(i32 3, i32 3, i32 6, i32 4, i32 4, i32 7)
ret void
}

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