#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*/ clear();
int /*<<< orphan*/ delay(int);
int /*<<< orphan*/ line(int, int, int, int);
int /*<<< orphan*/ myputs(char *);
int /*<<< orphan*/ putch(char);
int rand();
int /*<<< orphan*/ set_leds(unsigned int);
main() {
  int round = 0;
  int x, y;
  int delaycount = 0;
  unsigned leds;
  putch('O');
  putch('k');
  putch('?');
  putch('\n');
  myputs("Here we go\n");
  for (;;) {
    int n;
    myputs("set_leds\n");
    set_leds(leds = 0);
    delaycount >>= 1;
    if (delaycount <= 1000) {
      delaycount = 500000;
    }
    set_leds(++leds);
    for (x = 0; x < 640; x += 10) {
      line(0, 0, x, 479);
    }
    myputs("See a line?\n");
    set_leds(++leds);
    for (x = 0; x < 640; x += 10) {
      line(639, 479, x, 0);
    }
    myputs("More lines\n");
    set_leds(++leds);
    for (y = 0; y < 480; y += 10) {
      line(639, 0, 0, y);
    }
    set_leds(++leds);
    delay(delaycount);
    set_leds(++leds);
    for (x = y = 0; x < 640; x += 16, y += 12) {
      line(0, y, x, 479);
    }
    set_leds(++leds);
    for (x = y = 0; x < 640; x += 16, y += 12) {
      line(x, 0, 639, y);
    }
    set_leds(++leds);
    for (x = y = 0; x < 640; x += 16, y += 12) {
      line(639, y, x, 0);
    }
    set_leds(++leds);
    for (x = y = 0; x < 640; x += 16, y += 12) {
      line(x, 479, 0, y);
    }
    delay(delaycount);
    clear();
    continue;
    for (n = 1000; --n;) {
      line((680 - 512) / 2 + (rand() & 511), (480 - 256) / 2 + (rand() & 255),
           (680 - 512) / 2 + (rand() & 511), (480 - 256) / 2 + (rand() & 255));
      rand();
    }
    delay(delaycount);
    clear();
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0x14(%rbp)
mov    $0x4f,%edi
call   1060 <putch@plt>
mov    $0x6b,%edi
call   1060 <putch@plt>
mov    $0x3f,%edi
call   1060 <putch@plt>
mov    $0xa,%edi
call   1060 <putch@plt>
lea    0xe54(%rip),%rdi
call   1030 <myputs@plt>
lea    0xe54(%rip),%rdi
call   1030 <myputs@plt>
movl   $0x0,-0x18(%rbp)
xor    %edi,%edi
call   1080 <set_leds@plt>
mov    -0x14(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x3e8,-0x14(%rbp)
jg     11e8 <main+0x88>
movl   $0x7a120,-0x14(%rbp)
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x280,-0xc(%rbp)
jge    1229 <main+0xc9>
mov    -0xc(%rbp),%edx
xor    %esi,%esi
mov    $0x1df,%ecx
mov    %esi,%edi
call   1050 <line@plt>
mov    -0xc(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0xc(%rbp)
jmp    11fd <main+0x9d>
lea    0xde6(%rip),%rdi
call   1030 <myputs@plt>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x280,-0xc(%rbp)
jge    1279 <main+0x119>
mov    -0xc(%rbp),%edx
mov    $0x27f,%edi
mov    $0x1df,%esi
xor    %ecx,%ecx
call   1050 <line@plt>
mov    -0xc(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0xc(%rbp)
jmp    124a <main+0xea>
lea    0xda3(%rip),%rdi
call   1030 <myputs@plt>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x1e0,-0x10(%rbp)
jge    12c6 <main+0x166>
mov    -0x10(%rbp),%ecx
mov    $0x27f,%edi
xor    %edx,%edx
mov    %edx,%esi
call   1050 <line@plt>
mov    -0x10(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x10(%rbp)
jmp    129a <main+0x13a>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
mov    -0x14(%rbp),%edi
call   1040 <delay@plt>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0x280,-0xc(%rbp)
jge    132e <main+0x1ce>
mov    -0x10(%rbp),%esi
mov    -0xc(%rbp),%edx
xor    %edi,%edi
mov    $0x1df,%ecx
call   1050 <line@plt>
mov    -0xc(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0x10(%rbp)
jmp    12f8 <main+0x198>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0x280,-0xc(%rbp)
jge    1380 <main+0x220>
mov    -0xc(%rbp),%edi
mov    -0x10(%rbp),%ecx
xor    %esi,%esi
mov    $0x27f,%edx
call   1050 <line@plt>
mov    -0xc(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0x10(%rbp)
jmp    134a <main+0x1ea>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0x280,-0xc(%rbp)
jge    13d2 <main+0x272>
mov    -0x10(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    $0x27f,%edi
xor    %ecx,%ecx
call   1050 <line@plt>
mov    -0xc(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0x10(%rbp)
jmp    139c <main+0x23c>
mov    -0x18(%rbp),%edi
add    $0x1,%edi
mov    %edi,-0x18(%rbp)
call   1080 <set_leds@plt>
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0x280,-0xc(%rbp)
jge    1424 <main+0x2c4>
mov    -0xc(%rbp),%edi
mov    -0x10(%rbp),%ecx
mov    $0x1df,%esi
xor    %edx,%edx
call   1050 <line@plt>
mov    -0xc(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0xc(%rbp)
mov    -0x10(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0x10(%rbp)
jmp    13ee <main+0x28e>
mov    -0x14(%rbp),%edi
call   1040 <delay@plt>
mov    $0x0,%al
call   1070 <clear@plt>
jmp    11b1 <main+0x51>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x4f,%edi
call   1060 <putch@plt>
mov    $0x6b,%edi
call   1060 <putch@plt>
mov    $0x3f,%edi
call   1060 <putch@plt>
mov    $0xa,%edi
call   1060 <putch@plt>
lea    0xe66(%rip),%rdi
call   1030 <myputs@plt>
lea    0xe70(%rip),%r15
lea    0xe76(%rip),%r12
mov    $0x7a120,%r14d
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
lea    0xe45(%rip),%rdi
call   1030 <myputs@plt>
xor    %edi,%edi
call   1080 <set_leds@plt>
mov    $0x1,%edi
call   1080 <set_leds@plt>
mov    $0xfffffff6,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0xa,%ebx
xor    %edi,%edi
xor    %esi,%esi
mov    %ebx,%edx
mov    $0x1df,%ecx
call   1050 <line@plt>
cmp    $0x276,%ebx
jb     11f0 <main+0x90>
mov    %ebp,%r13d
sar    %r13d
mov    %r15,%rdi
call   1030 <myputs@plt>
mov    $0x2,%edi
call   1080 <set_leds@plt>
mov    $0xfffffff6,%ebx
nopl   0x0(%rax,%rax,1)
add    $0xa,%ebx
mov    $0x27f,%edi
mov    $0x1df,%esi
mov    %ebx,%edx
xor    %ecx,%ecx
call   1050 <line@plt>
cmp    $0x276,%ebx
jb     1230 <main+0xd0>
mov    %r12,%rdi
call   1030 <myputs@plt>
mov    $0x3,%edi
call   1080 <set_leds@plt>
mov    $0xfffffff6,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0xa,%ebx
mov    $0x27f,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    %ebx,%ecx
call   1050 <line@plt>
cmp    $0x1d6,%ebx
jb     1270 <main+0x110>
cmp    $0x7d2,%ebp
cmovl  %r14d,%r13d
mov    $0x4,%edi
call   1080 <set_leds@plt>
mov    %r13d,%edi
call   1040 <delay@plt>
mov    $0x5,%edi
call   1080 <set_leds@plt>
xor    %ebx,%ebx
mov    $0xfffffff0,%ebp
nopl   0x0(%rax,%rax,1)
add    $0x10,%ebp
xor    %edi,%edi
mov    %ebx,%esi
mov    %ebp,%edx
mov    $0x1df,%ecx
call   1050 <line@plt>
add    $0xc,%ebx
cmp    $0x270,%ebp
jb     12c0 <main+0x160>
mov    $0x6,%edi
call   1080 <set_leds@plt>
xor    %ebx,%ebx
mov    $0xfffffff0,%ebp
nop
add    $0x10,%ebp
mov    %ebp,%edi
xor    %esi,%esi
mov    $0x27f,%edx
mov    %ebx,%ecx
call   1050 <line@plt>
add    $0xc,%ebx
cmp    $0x270,%ebp
jb     12f0 <main+0x190>
mov    $0x7,%edi
call   1080 <set_leds@plt>
xor    %ebx,%ebx
mov    $0xfffffff0,%ebp
nop
add    $0x10,%ebp
mov    $0x27f,%edi
mov    %ebx,%esi
mov    %ebp,%edx
xor    %ecx,%ecx
call   1050 <line@plt>
add    $0xc,%ebx
cmp    $0x270,%ebp
jb     1320 <main+0x1c0>
mov    $0x8,%edi
call   1080 <set_leds@plt>
xor    %ebx,%ebx
mov    $0xfffffff0,%ebp
nop
add    $0x10,%ebp
mov    %ebp,%edi
mov    $0x1df,%esi
xor    %edx,%edx
mov    %ebx,%ecx
call   1050 <line@plt>
add    $0xc,%ebx
cmp    $0x270,%ebp
jb     1350 <main+0x1f0>
mov    %r13d,%edi
call   1040 <delay@plt>
xor    %eax,%eax
call   1070 <clear@plt>
mov    %r13d,%ebp
jmp    11c0 <main+0x60>

LLVM IR (-O0):
@.str = [12 x i8] c"Here we go\0A\00"
@.str.1 = [10 x i8] c"set_leds\0A\00"
@.str.2 = [13 x i8] c"See a line?\0A\00"
@.str.3 = [12 x i8] c"More lines\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %5
%8 = call i32 @putch(i8 signext 79)
%9 = call i32 @putch(i8 signext 107)
%10 = call i32 @putch(i8 signext 63)
%11 = call i32 @putch(i8 signext 10)
%12 = call i32 @myputs(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %13
13: ; preds = %131, %0
%14 = call i32 @myputs(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %6
%15 = call i32 @set_leds(i32 0)
%16 = load i32, i32* %5
%17 = ashr i32 %16, 1
store i32 %17, i32* %5
%18 = load i32, i32* %5
%19 = icmp sle i32 %18, 1000
br i1 %19, label %20, label %21
20: ; preds = %13
store i32 500000, i32* %5
br label %21
21: ; preds = %20, %13
%22 = load i32, i32* %6
%23 = add i32 %22, 1
store i32 %23, i32* %6
%24 = call i32 @set_leds(i32 %23)
store i32 0, i32* %3
br label %25
25: ; preds = %31, %21
%26 = load i32, i32* %3
%27 = icmp slt i32 %26, 640
br i1 %27, label %28, label %34
28: ; preds = %25
%29 = load i32, i32* %3
%30 = call i32 @line(i32 0, i32 0, i32 %29, i32 479)
br label %31
31: ; preds = %28
%32 = load i32, i32* %3
%33 = add nsw i32 %32, 10
store i32 %33, i32* %3
br label %25
34: ; preds = %25
%35 = call i32 @myputs(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%36 = load i32, i32* %6
%37 = add i32 %36, 1
store i32 %37, i32* %6
%38 = call i32 @set_leds(i32 %37)
store i32 0, i32* %3
br label %39
39: ; preds = %45, %34
%40 = load i32, i32* %3
%41 = icmp slt i32 %40, 640
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = load i32, i32* %3
%44 = call i32 @line(i32 639, i32 479, i32 %43, i32 0)
br label %45
45: ; preds = %42
%46 = load i32, i32* %3
%47 = add nsw i32 %46, 10
store i32 %47, i32* %3
br label %39
48: ; preds = %39
%49 = call i32 @myputs(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%50 = load i32, i32* %6
%51 = add i32 %50, 1
store i32 %51, i32* %6
%52 = call i32 @set_leds(i32 %51)
store i32 0, i32* %4
br label %53
53: ; preds = %59, %48
%54 = load i32, i32* %4
%55 = icmp slt i32 %54, 480
br i1 %55, label %56, label %62
56: ; preds = %53
%57 = load i32, i32* %4
%58 = call i32 @line(i32 639, i32 0, i32 0, i32 %57)
br label %59
59: ; preds = %56
%60 = load i32, i32* %4
%61 = add nsw i32 %60, 10
store i32 %61, i32* %4
br label %53
62: ; preds = %53
%63 = load i32, i32* %6
%64 = add i32 %63, 1
store i32 %64, i32* %6
%65 = call i32 @set_leds(i32 %64)
%66 = load i32, i32* %5
%67 = call i32 @delay(i32 %66)
%68 = load i32, i32* %6
%69 = add i32 %68, 1
store i32 %69, i32* %6
%70 = call i32 @set_leds(i32 %69)
store i32 0, i32* %4
store i32 0, i32* %3
br label %71
71: ; preds = %78, %62
%72 = load i32, i32* %3
%73 = icmp slt i32 %72, 640
br i1 %73, label %74, label %83
74: ; preds = %71
%75 = load i32, i32* %4
%76 = load i32, i32* %3
%77 = call i32 @line(i32 0, i32 %75, i32 %76, i32 479)
br label %78
78: ; preds = %74
%79 = load i32, i32* %3
%80 = add nsw i32 %79, 16
store i32 %80, i32* %3
%81 = load i32, i32* %4
%82 = add nsw i32 %81, 12
store i32 %82, i32* %4
br label %71
83: ; preds = %71
%84 = load i32, i32* %6
%85 = add i32 %84, 1
store i32 %85, i32* %6
%86 = call i32 @set_leds(i32 %85)
store i32 0, i32* %4
store i32 0, i32* %3
br label %87
87: ; preds = %94, %83
%88 = load i32, i32* %3
%89 = icmp slt i32 %88, 640
br i1 %89, label %90, label %99
90: ; preds = %87
%91 = load i32, i32* %3
%92 = load i32, i32* %4
%93 = call i32 @line(i32 %91, i32 0, i32 639, i32 %92)
br label %94
94: ; preds = %90
%95 = load i32, i32* %3
%96 = add nsw i32 %95, 16
store i32 %96, i32* %3
%97 = load i32, i32* %4
%98 = add nsw i32 %97, 12
store i32 %98, i32* %4
br label %87
99: ; preds = %87
%100 = load i32, i32* %6
%101 = add i32 %100, 1
store i32 %101, i32* %6
%102 = call i32 @set_leds(i32 %101)
store i32 0, i32* %4
store i32 0, i32* %3
br label %103
103: ; preds = %110, %99
%104 = load i32, i32* %3
%105 = icmp slt i32 %104, 640
br i1 %105, label %106, label %115
106: ; preds = %103
%107 = load i32, i32* %4
%108 = load i32, i32* %3
%109 = call i32 @line(i32 639, i32 %107, i32 %108, i32 0)
br label %110
110: ; preds = %106
%111 = load i32, i32* %3
%112 = add nsw i32 %111, 16
store i32 %112, i32* %3
%113 = load i32, i32* %4
%114 = add nsw i32 %113, 12
store i32 %114, i32* %4
br label %103
115: ; preds = %103
%116 = load i32, i32* %6
%117 = add i32 %116, 1
store i32 %117, i32* %6
%118 = call i32 @set_leds(i32 %117)
store i32 0, i32* %4
store i32 0, i32* %3
br label %119
119: ; preds = %126, %115
%120 = load i32, i32* %3
%121 = icmp slt i32 %120, 640
br i1 %121, label %122, label %131
122: ; preds = %119
%123 = load i32, i32* %3
%124 = load i32, i32* %4
%125 = call i32 @line(i32 %123, i32 479, i32 0, i32 %124)
br label %126
126: ; preds = %122
%127 = load i32, i32* %3
%128 = add nsw i32 %127, 16
store i32 %128, i32* %3
%129 = load i32, i32* %4
%130 = add nsw i32 %129, 12
store i32 %130, i32* %4
br label %119
131: ; preds = %119
%132 = load i32, i32* %5
%133 = call i32 @delay(i32 %132)
%134 = call i32 (...) @clear()
br label %13
}

LLVM IR (-O2):
@.str = [12 x i8] c"Here we go\0A\00"
@.str.1 = [10 x i8] c"set_leds\0A\00"
@.str.2 = [13 x i8] c"See a line?\0A\00"
@.str.3 = [12 x i8] c"More lines\0A\00"
define i32 @main() {
%1 = tail call i32 @putch(i8 signext 79)
%2 = tail call i32 @putch(i8 signext 107)
%3 = tail call i32 @putch(i8 signext 63)
%4 = tail call i32 @putch(i8 signext 10)
%5 = tail call i32 @myputs(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %6
6: ; preds = %73, %0
%7 = phi i32 [ 0, %0 ], [ %35, %73 ]
%8 = tail call i32 @myputs(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call i32 @set_leds(i32 0)
%10 = icmp slt i32 %7, 2002
%11 = tail call i32 @set_leds(i32 1)
br label %12
12: ; preds = %6, %12
%13 = phi i32 [ 0, %6 ], [ %15, %12 ]
%14 = tail call i32 @line(i32 0, i32 0, i32 %13, i32 479)
%15 = add nuw nsw i32 %13, 10
%16 = icmp ult i32 %13, 630
br i1 %16, label %12, label %17
17: ; preds = %12
%18 = ashr i32 %7, 1
%19 = tail call i32 @myputs(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%20 = tail call i32 @set_leds(i32 2)
br label %21
21: ; preds = %17, %21
%22 = phi i32 [ 0, %17 ], [ %24, %21 ]
%23 = tail call i32 @line(i32 639, i32 479, i32 %22, i32 0)
%24 = add nuw nsw i32 %22, 10
%25 = icmp ult i32 %22, 630
br i1 %25, label %21, label %26
26: ; preds = %21
%27 = tail call i32 @myputs(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%28 = tail call i32 @set_leds(i32 3)
br label %29
29: ; preds = %26, %29
%30 = phi i32 [ 0, %26 ], [ %32, %29 ]
%31 = tail call i32 @line(i32 639, i32 0, i32 0, i32 %30)
%32 = add nuw nsw i32 %30, 10
%33 = icmp ult i32 %30, 470
br i1 %33, label %29, label %34
34: ; preds = %29
%35 = select i1 %10, i32 500000, i32 %18
%36 = tail call i32 @set_leds(i32 4)
%37 = tail call i32 @delay(i32 %35)
%38 = tail call i32 @set_leds(i32 5)
br label %39
39: ; preds = %34, %39
%40 = phi i32 [ 0, %34 ], [ %43, %39 ]
%41 = phi i32 [ 0, %34 ], [ %44, %39 ]
%42 = tail call i32 @line(i32 0, i32 %41, i32 %40, i32 479)
%43 = add nuw nsw i32 %40, 16
%44 = add nuw nsw i32 %41, 12
%45 = icmp ult i32 %40, 624
br i1 %45, label %39, label %46
46: ; preds = %39
%47 = tail call i32 @set_leds(i32 6)
br label %48
48: ; preds = %46, %48
%49 = phi i32 [ 0, %46 ], [ %52, %48 ]
%50 = phi i32 [ 0, %46 ], [ %53, %48 ]
%51 = tail call i32 @line(i32 %49, i32 0, i32 639, i32 %50)
%52 = add nuw nsw i32 %49, 16
%53 = add nuw nsw i32 %50, 12
%54 = icmp ult i32 %49, 624
br i1 %54, label %48, label %55
55: ; preds = %48
%56 = tail call i32 @set_leds(i32 7)
br label %57
57: ; preds = %55, %57
%58 = phi i32 [ 0, %55 ], [ %61, %57 ]
%59 = phi i32 [ 0, %55 ], [ %62, %57 ]
%60 = tail call i32 @line(i32 639, i32 %59, i32 %58, i32 0)
%61 = add nuw nsw i32 %58, 16
%62 = add nuw nsw i32 %59, 12
%63 = icmp ult i32 %58, 624
br i1 %63, label %57, label %64
64: ; preds = %57
%65 = tail call i32 @set_leds(i32 8)
br label %66
66: ; preds = %64, %66
%67 = phi i32 [ 0, %64 ], [ %70, %66 ]
%68 = phi i32 [ 0, %64 ], [ %71, %66 ]
%69 = tail call i32 @line(i32 %67, i32 479, i32 0, i32 %68)
%70 = add nuw nsw i32 %67, 16
%71 = add nuw nsw i32 %68, 12
%72 = icmp ult i32 %67, 624
br i1 %72, label %66, label %73
73: ; preds = %66
%74 = tail call i32 @delay(i32 %35)
%75 = tail call i32 (...) @clear()
br label %6
}