#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*/ buffer_copyLED(int, int, int, int, int, int);
int /*<<< orphan*/ cube_buffer();
void cube_translate(int x, int y, int z) {
  int column, panel, layer;
  if (x) {
    cube_buffer();
    for (column = 0; column < 8; column++)
      for (panel = 0; panel < 8; panel++)
        for (layer = 0; layer < 8; layer++)
          buffer_copyLED(column - x, panel, layer, column, panel, layer);
  }
  if (y) {
    cube_buffer();
    for (column = 0; column < 8; column++)
      for (panel = 0; panel < 8; panel++)
        for (layer = 0; layer < 8; layer++)
          buffer_copyLED(column, panel - y, layer, column, panel, layer);
  }
  if (z) {
    cube_buffer();
    for (column = 0; column < 8; column++)
      for (panel = 0; panel < 8; panel++)
        for (layer = 0; layer < 8; layer++)
          buffer_copyLED(column, panel, layer - z, column, panel, layer);
  }
}


x86 assembly (clang, -O0):
<cube_translate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
cmpl   $0x0,-0x4(%rbp)
je     11ca <cube_translate+0xaa>
mov    $0x0,%al
call   1040 <cube_buffer@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x8,-0x10(%rbp)
jge    11c5 <cube_translate+0xa5>
movl   $0x0,-0x14(%rbp)
cmpl   $0x8,-0x14(%rbp)
jge    11b2 <cube_translate+0x92>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    119f <cube_translate+0x7f>
mov    -0x10(%rbp),%edi
sub    -0x4(%rbp),%edi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x14(%rbp),%r8d
mov    -0x18(%rbp),%r9d
call   1030 <buffer_copyLED@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    116b <cube_translate+0x4b>
jmp    11a4 <cube_translate+0x84>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    115a <cube_translate+0x3a>
jmp    11b7 <cube_translate+0x97>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1149 <cube_translate+0x29>
jmp    11ca <cube_translate+0xaa>
cmpl   $0x0,-0x8(%rbp)
je     1263 <cube_translate+0x143>
mov    $0x0,%al
call   1040 <cube_buffer@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x8,-0x10(%rbp)
jge    125e <cube_translate+0x13e>
movl   $0x0,-0x14(%rbp)
cmpl   $0x8,-0x14(%rbp)
jge    124b <cube_translate+0x12b>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    1238 <cube_translate+0x118>
mov    -0x10(%rbp),%edi
mov    -0x14(%rbp),%esi
sub    -0x8(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x14(%rbp),%r8d
mov    -0x18(%rbp),%r9d
call   1030 <buffer_copyLED@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1204 <cube_translate+0xe4>
jmp    123d <cube_translate+0x11d>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11f3 <cube_translate+0xd3>
jmp    1250 <cube_translate+0x130>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11e2 <cube_translate+0xc2>
jmp    1263 <cube_translate+0x143>
cmpl   $0x0,-0xc(%rbp)
je     12fc <cube_translate+0x1dc>
mov    $0x0,%al
call   1040 <cube_buffer@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x8,-0x10(%rbp)
jge    12f7 <cube_translate+0x1d7>
movl   $0x0,-0x14(%rbp)
cmpl   $0x8,-0x14(%rbp)
jge    12e4 <cube_translate+0x1c4>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    12d1 <cube_translate+0x1b1>
mov    -0x10(%rbp),%edi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
sub    -0xc(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x14(%rbp),%r8d
mov    -0x18(%rbp),%r9d
call   1030 <buffer_copyLED@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    129d <cube_translate+0x17d>
jmp    12d6 <cube_translate+0x1b6>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    128c <cube_translate+0x16c>
jmp    12e9 <cube_translate+0x1c9>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    127b <cube_translate+0x15b>
jmp    12fc <cube_translate+0x1dc>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cube_translate>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %edx,%r13d
mov    %esi,%r14d
test   %edi,%edi
je     1244 <cube_translate+0x124>
mov    %edi,%r15d
xor    %r12d,%r12d
xor    %eax,%eax
call   1040 <cube_buffer@plt>
nopl   0x0(%rax)
mov    %r12d,%ebx
sub    %r15d,%ebx
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    %ebx,%edi
mov    %ebp,%esi
xor    %edx,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
xor    %r9d,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x1,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x1,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x2,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x2,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x3,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x3,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x4,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x4,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x5,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x5,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x6,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x6,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x7,%edx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    $0x7,%r9d
call   1030 <buffer_copyLED@plt>
add    $0x1,%ebp
cmp    $0x8,%ebp
jne    1160 <cube_translate+0x40>
add    $0x1,%r12d
cmp    $0x8,%r12d
jne    1150 <cube_translate+0x30>
test   %r14d,%r14d
je     1356 <cube_translate+0x236>
xor    %ebp,%ebp
xor    %eax,%eax
call   1040 <cube_buffer@plt>
neg    %r14d
nopl   0x0(%rax)
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    (%r14,%rbx,1),%r15d
mov    %ebp,%edi
mov    %r15d,%esi
xor    %edx,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
xor    %r9d,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x1,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x1,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x2,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x2,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x3,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x3,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x4,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x4,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x5,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x5,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x6,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x6,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x7,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    $0x7,%r9d
call   1030 <buffer_copyLED@plt>
add    $0x1,%ebx
cmp    $0x8,%ebx
jne    1270 <cube_translate+0x150>
add    $0x1,%ebp
cmp    $0x8,%ebp
jne    1260 <cube_translate+0x140>
test   %r13d,%r13d
je     14c1 <cube_translate+0x3a1>
xor    %ebx,%ebx
xor    %eax,%eax
call   1040 <cube_buffer@plt>
mov    %r13d,%r14d
neg    %r14d
mov    $0x1,%eax
sub    %r13d,%eax
mov    %eax,0x24(%rsp)
mov    $0x2,%eax
sub    %r13d,%eax
mov    %eax,0x20(%rsp)
mov    $0x3,%eax
sub    %r13d,%eax
mov    %eax,0x1c(%rsp)
mov    $0x4,%eax
sub    %r13d,%eax
mov    %eax,0x18(%rsp)
mov    $0x5,%eax
sub    %r13d,%eax
mov    %eax,0x14(%rsp)
mov    $0x6,%eax
sub    %r13d,%eax
mov    %eax,0x10(%rsp)
mov    $0x7,%ecx
sub    %r13d,%ecx
mov    %ecx,0xc(%rsp)
mov    0x14(%rsp),%r12d
mov    0x10(%rsp),%r13d
mov    0xc(%rsp),%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %ebx,%edi
mov    %ebp,%esi
mov    %r14d,%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
xor    %r9d,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    0x24(%rsp),%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x1,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    0x20(%rsp),%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x2,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    0x1c(%rsp),%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x3,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    0x18(%rsp),%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x4,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %r12d,%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x5,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %r13d,%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x6,%r9d
call   1030 <buffer_copyLED@plt>
mov    %ebx,%edi
mov    %ebp,%esi
mov    %r15d,%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    $0x7,%r9d
call   1030 <buffer_copyLED@plt>
add    $0x1,%ebp
cmp    $0x8,%ebp
jne    13f0 <cube_translate+0x2d0>
add    $0x1,%ebx
cmp    $0x8,%ebx
jne    13e0 <cube_translate+0x2c0>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @cube_translate(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%10 = load i32, i32* %4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %47
12: ; preds = %3
%13 = call i32 (...) @cube_buffer()
store i32 0, i32* %7
br label %14
14: ; preds = %43, %12
%15 = load i32, i32* %7
%16 = icmp slt i32 %15, 8
br i1 %16, label %17, label %46
17: ; preds = %14
store i32 0, i32* %8
br label %18
18: ; preds = %39, %17
%19 = load i32, i32* %8
%20 = icmp slt i32 %19, 8
br i1 %20, label %21, label %42
21: ; preds = %18
store i32 0, i32* %9
br label %22
22: ; preds = %35, %21
%23 = load i32, i32* %9
%24 = icmp slt i32 %23, 8
br i1 %24, label %25, label %38
25: ; preds = %22
%26 = load i32, i32* %7
%27 = load i32, i32* %4
%28 = sub nsw i32 %26, %27
%29 = load i32, i32* %8
%30 = load i32, i32* %9
%31 = load i32, i32* %7
%32 = load i32, i32* %8
%33 = load i32, i32* %9
%34 = call i32 @buffer_copyLED(i32 %28, i32 %29, i32 %30, i32 %31, i32 %32, i32 %33)
br label %35
35: ; preds = %25
%36 = load i32, i32* %9
%37 = add nsw i32 %36, 1
store i32 %37, i32* %9
br label %22
38: ; preds = %22
br label %39
39: ; preds = %38
%40 = load i32, i32* %8
%41 = add nsw i32 %40, 1
store i32 %41, i32* %8
br label %18
42: ; preds = %18
br label %43
43: ; preds = %42
%44 = load i32, i32* %7
%45 = add nsw i32 %44, 1
store i32 %45, i32* %7
br label %14
46: ; preds = %14
br label %47
47: ; preds = %46, %3
%48 = load i32, i32* %5
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %85
50: ; preds = %47
%51 = call i32 (...) @cube_buffer()
store i32 0, i32* %7
br label %52
52: ; preds = %81, %50
%53 = load i32, i32* %7
%54 = icmp slt i32 %53, 8
br i1 %54, label %55, label %84
55: ; preds = %52
store i32 0, i32* %8
br label %56
56: ; preds = %77, %55
%57 = load i32, i32* %8
%58 = icmp slt i32 %57, 8
br i1 %58, label %59, label %80
59: ; preds = %56
store i32 0, i32* %9
br label %60
60: ; preds = %73, %59
%61 = load i32, i32* %9
%62 = icmp slt i32 %61, 8
br i1 %62, label %63, label %76
63: ; preds = %60
%64 = load i32, i32* %7
%65 = load i32, i32* %8
%66 = load i32, i32* %5
%67 = sub nsw i32 %65, %66
%68 = load i32, i32* %9
%69 = load i32, i32* %7
%70 = load i32, i32* %8
%71 = load i32, i32* %9
%72 = call i32 @buffer_copyLED(i32 %64, i32 %67, i32 %68, i32 %69, i32 %70, i32 %71)
br label %73
73: ; preds = %63
%74 = load i32, i32* %9
%75 = add nsw i32 %74, 1
store i32 %75, i32* %9
br label %60
76: ; preds = %60
br label %77
77: ; preds = %76
%78 = load i32, i32* %8
%79 = add nsw i32 %78, 1
store i32 %79, i32* %8
br label %56
80: ; preds = %56
br label %81
81: ; preds = %80
%82 = load i32, i32* %7
%83 = add nsw i32 %82, 1
store i32 %83, i32* %7
br label %52
84: ; preds = %52
br label %85
85: ; preds = %84, %47
%86 = load i32, i32* %6
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %123
88: ; preds = %85
%89 = call i32 (...) @cube_buffer()
store i32 0, i32* %7
br label %90
90: ; preds = %119, %88
%91 = load i32, i32* %7
%92 = icmp slt i32 %91, 8
br i1 %92, label %93, label %122
93: ; preds = %90
store i32 0, i32* %8
br label %94
94: ; preds = %115, %93
%95 = load i32, i32* %8
%96 = icmp slt i32 %95, 8
br i1 %96, label %97, label %118
97: ; preds = %94
store i32 0, i32* %9
br label %98
98: ; preds = %111, %97
%99 = load i32, i32* %9
%100 = icmp slt i32 %99, 8
br i1 %100, label %101, label %114
101: ; preds = %98
%102 = load i32, i32* %7
%103 = load i32, i32* %8
%104 = load i32, i32* %9
%105 = load i32, i32* %6
%106 = sub nsw i32 %104, %105
%107 = load i32, i32* %7
%108 = load i32, i32* %8
%109 = load i32, i32* %9
%110 = call i32 @buffer_copyLED(i32 %102, i32 %103, i32 %106, i32 %107, i32 %108, i32 %109)
br label %111
111: ; preds = %101
%112 = load i32, i32* %9
%113 = add nsw i32 %112, 1
store i32 %113, i32* %9
br label %98
114: ; preds = %98
br label %115
115: ; preds = %114
%116 = load i32, i32* %8
%117 = add nsw i32 %116, 1
store i32 %117, i32* %8
br label %94
118: ; preds = %94
br label %119
119: ; preds = %118
%120 = load i32, i32* %7
%121 = add nsw i32 %120, 1
store i32 %121, i32* %7
br label %90
122: ; preds = %90
br label %123
123: ; preds = %122, %85
ret void
}

LLVM IR (-O2):
define void @cube_translate(i32 %0, i32 %1, i32 %2) {
%4 = icmp eq i32 %0, 0
br i1 %4, label %25, label %5
5: ; preds = %3
%6 = tail call i32 (...) @cube_buffer()
br label %7
7: ; preds = %5, %22
%8 = phi i32 [ 0, %5 ], [ %23, %22 ]
%9 = sub nsw i32 %8, %0
br label %10
10: ; preds = %7, %10
%11 = phi i32 [ 0, %7 ], [ %20, %10 ]
%12 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 0, i32 %8, i32 %11, i32 0)
%13 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 1, i32 %8, i32 %11, i32 1)
%14 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 2, i32 %8, i32 %11, i32 2)
%15 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 3, i32 %8, i32 %11, i32 3)
%16 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 4, i32 %8, i32 %11, i32 4)
%17 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 5, i32 %8, i32 %11, i32 5)
%18 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 6, i32 %8, i32 %11, i32 6)
%19 = tail call i32 @buffer_copyLED(i32 %9, i32 %11, i32 7, i32 %8, i32 %11, i32 7)
%20 = add nuw nsw i32 %11, 1
%21 = icmp eq i32 %20, 8
br i1 %21, label %22, label %10
22: ; preds = %10
%23 = add nuw nsw i32 %8, 1
%24 = icmp eq i32 %23, 8
br i1 %24, label %25, label %7
25: ; preds = %22, %3
%26 = icmp eq i32 %1, 0
br i1 %26, label %47, label %27
27: ; preds = %25
%28 = tail call i32 (...) @cube_buffer()
br label %29
29: ; preds = %27, %44
%30 = phi i32 [ 0, %27 ], [ %45, %44 ]
br label %31
31: ; preds = %29, %31
%32 = phi i32 [ 0, %29 ], [ %42, %31 ]
%33 = sub nsw i32 %32, %1
%34 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 0, i32 %30, i32 %32, i32 0)
%35 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 1, i32 %30, i32 %32, i32 1)
%36 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 2, i32 %30, i32 %32, i32 2)
%37 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 3, i32 %30, i32 %32, i32 3)
%38 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 4, i32 %30, i32 %32, i32 4)
%39 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 5, i32 %30, i32 %32, i32 5)
%40 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 6, i32 %30, i32 %32, i32 6)
%41 = tail call i32 @buffer_copyLED(i32 %30, i32 %33, i32 7, i32 %30, i32 %32, i32 7)
%42 = add nuw nsw i32 %32, 1
%43 = icmp eq i32 %42, 8
br i1 %43, label %44, label %31
44: ; preds = %31
%45 = add nuw nsw i32 %30, 1
%46 = icmp eq i32 %45, 8
br i1 %46, label %47, label %29
47: ; preds = %44, %25
%48 = icmp eq i32 %2, 0
br i1 %48, label %76, label %49
49: ; preds = %47
%50 = tail call i32 (...) @cube_buffer()
%51 = sub nsw i32 0, %2
%52 = sub nsw i32 1, %2
%53 = sub nsw i32 2, %2
%54 = sub nsw i32 3, %2
%55 = sub nsw i32 4, %2
%56 = sub nsw i32 5, %2
%57 = sub nsw i32 6, %2
%58 = sub nsw i32 7, %2
br label %59
59: ; preds = %49, %73
%60 = phi i32 [ 0, %49 ], [ %74, %73 ]
br label %61
61: ; preds = %59, %61
%62 = phi i32 [ 0, %59 ], [ %71, %61 ]
%63 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %51, i32 %60, i32 %62, i32 0)
%64 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %52, i32 %60, i32 %62, i32 1)
%65 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %53, i32 %60, i32 %62, i32 2)
%66 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %54, i32 %60, i32 %62, i32 3)
%67 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %55, i32 %60, i32 %62, i32 4)
%68 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %56, i32 %60, i32 %62, i32 5)
%69 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %57, i32 %60, i32 %62, i32 6)
%70 = tail call i32 @buffer_copyLED(i32 %60, i32 %62, i32 %58, i32 %60, i32 %62, i32 7)
%71 = add nuw nsw i32 %62, 1
%72 = icmp eq i32 %71, 8
br i1 %72, label %73, label %61
73: ; preds = %61
%74 = add nuw nsw i32 %60, 1
%75 = icmp eq i32 %74, 8
br i1 %75, label %76, label %59
76: ; preds = %73, %47
ret void
}