#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 */
typedef void *pid_t;

/* Variables and functions */
void *atol(char *);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int fork();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
void *getppid();
scalar_t__ kill(void *, int /*<<< orphan*/);
scalar_t__ malloc(int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ stdout;
int strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
int /*<<< orphan*/ usleep(int);
int main(int argc, char *argv[]) {
  char *buff;
  int i, c, l, p, d;
  pid_t pp;
  if (argc < 2)
    return (0);
  if (argc > 2) {
    d = atol(argv[2]);
  } else {
    d = 0;
  };
  if (argc > 3) {
    pp = atol(argv[3]);
  } else {
    pp = getppid();
  };
  p = fork();
  switch (p) {
  case -1:
    perror("fork(): ");
    return (1);
  case 0:
    break;
  default:
    printf("running as %i\n", p);
    return (0);
  };
  l = strlen(argv[1]);
  buff = (char *)malloc(l + 10);
  strncpy(buff, argv[1], l);
  for (i = l; i < (l + 10); i++)
    buff[i] = ' ';
  l += 10;
  c = 0;
  while (kill(pp, 0) == 0) {
    for (c = 0; c < l + 1; c++) {
      for (i = 0; i < l; i++) {
        if (i == c) {
          fprintf(stdout, "\a");
          fflush(stdout);
          if (c == 0)
            sleep(d);
          fprintf(stdout, "]2;");
        };
        fprintf(stdout, "%c", buff[i]);
      };
      usleep(80000);
    };
  };
  printf("\a]2; \a");
  fflush(stdout);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11fc <main+0x2c>
movl   $0x0,-0x4(%rbp)
jmp    1434 <main+0x264>
cmpl   $0x2,-0x8(%rbp)
jle    121b <main+0x4b>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10a0 <atol@plt>
mov    %eax,-0x2c(%rbp)
jmp    1222 <main+0x52>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x3,-0x8(%rbp)
jle    1242 <main+0x72>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   10a0 <atol@plt>
mov    %rax,-0x38(%rbp)
jmp    124d <main+0x7d>
mov    $0x0,%al
call   10c0 <getppid@plt>
mov    %rax,-0x38(%rbp)
xor    %eax,%eax
call   10e0 <fork@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x3c(%rbp)
sub    $0xffffffff,%eax
je     127b <main+0xab>
jmp    126b <main+0x9b>
mov    -0x3c(%rbp),%eax
test   %eax,%eax
je     1293 <main+0xc3>
jmp    1298 <main+0xc8>
lea    0xd7e(%rip),%rdi
call   10b0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1434 <main+0x264>
jmp    12b5 <main+0xe5>
mov    -0x28(%rbp),%esi
lea    0xd67(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1434 <main+0x264>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%edi
add    $0xa,%edi
call   1080 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
mov    -0x24(%rbp),%edx
call   1030 <strncpy@plt>
mov    -0x24(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x24(%rbp),%ecx
add    $0xa,%ecx
cmp    %ecx,%eax
jge    1319 <main+0x149>
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movb   $0x20,(%rax,%rcx,1)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12ee <main+0x11e>
mov    -0x24(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x38(%rbp),%rdi
xor    %esi,%esi
call   1070 <kill@plt>
cmp    $0x0,%rax
jne    1411 <main+0x241>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    140c <main+0x23c>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    13f4 <main+0x224>
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jne    13c3 <main+0x1f3>
mov    0x2c64(%rip),%rax
mov    (%rax),%edi
lea    0xca1(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2c4d(%rip),%rax
mov    (%rax),%edi
call   1090 <fflush@plt>
cmpl   $0x0,-0x20(%rbp)
jne    13ac <main+0x1dc>
mov    -0x2c(%rbp),%edi
call   10d0 <sleep@plt>
mov    0x2c2d(%rip),%rax
mov    (%rax),%edi
lea    0xc5c(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2c16(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsbl (%rax,%rcx,1),%edx
lea    0xc3e(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    135d <main+0x18d>
mov    $0x13880,%edi
call   10f0 <usleep@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1345 <main+0x175>
jmp    1329 <main+0x159>
lea    0xc08(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    0x2bba(%rip),%rax
mov    (%rax),%edi
call   1090 <fflush@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
xor    %ebx,%ebx
cmp    $0x2,%edi
jl     12e1 <main+0x101>
mov    %rsi,%r14
mov    %edi,%ebp
xor    %eax,%eax
mov    %rax,0x18(%rsp)
cmp    $0x2,%edi
je     1228 <main+0x48>
mov    0x10(%r14),%rdi
call   10b0 <atol@plt>
mov    %rax,0x18(%rsp)
cmp    $0x4,%ebp
jb     1228 <main+0x48>
mov    0x18(%r14),%rdi
call   10b0 <atol@plt>
jmp    122f <main+0x4f>
xor    %eax,%eax
call   10d0 <getppid@plt>
mov    %rax,0x8(%rsp)
xor    %eax,%eax
call   10f0 <fork@plt>
test   %eax,%eax
je     125f <main+0x7f>
cmp    $0xffffffff,%eax
je     13c8 <main+0x1e8>
lea    0xdba(%rip),%rdi
xor    %ebx,%ebx
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    12e1 <main+0x101>
mov    0x8(%r14),%rdi
call   1040 <strlen@plt>
mov    %eax,%ebx
lea    0xa(%rbx),%r15d
mov    %r15d,%edi
call   1090 <malloc@plt>
mov    %rax,%rbp
mov    0x8(%r14),%rsi
mov    %rax,%rdi
mov    %ebx,%edx
call   1030 <strncpy@plt>
mov    %rbx,0x10(%rsp)
movslq %ebx,%rdx
lea    0x1(%rdx),%eax
cmp    %eax,%r15d
mov    %r15,%rbx
cmovg  %r15d,%eax
lea    (%rdx,%rbp,1),%rdi
not    %edx
add    %eax,%edx
add    $0x1,%rdx
mov    $0x20,%esi
call   1060 <memset@plt>
mov    0x8(%rsp),%rdi
xor    %esi,%esi
call   1080 <kill@plt>
test   %rax,%rax
je     12f2 <main+0x112>
lea    0xd56(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d08(%rip),%rax
mov    (%rax),%edi
call   10a0 <fflush@plt>
xor    %ebx,%ebx
mov    %ebx,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
cmp    $0x2,%ebx
mov    $0x1,%r15d
cmovge %ebx,%r15d
xor    %eax,%eax
test   %ebx,%ebx
cmovle %eax,%ebx
add    $0x1,%ebx
mov    %rbx,0x20(%rsp)
mov    0x2ccb(%rip),%rbx
lea    0xd01(%rip),%r12
jmp    1331 <main+0x151>
xchg   %ax,%ax
mov    0x8(%rsp),%rdi
xor    %esi,%esi
call   1080 <kill@plt>
test   %rax,%rax
jne    12c3 <main+0xe3>
cmpl   $0xfffffff6,0x10(%rsp)
jl     1320 <main+0x140>
xor    %r13d,%r13d
jmp    1355 <main+0x175>
nopl   (%rax)
mov    $0x13880,%edi
call   1100 <usleep@plt>
add    $0x1,%r13
cmp    0x20(%rsp),%r13
je     1320 <main+0x140>
cmpl   $0xfffffff7,0x10(%rsp)
jl     1340 <main+0x160>
xor    %r14d,%r14d
jmp    139b <main+0x1bb>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%rbx),%edi
lea    0xc9f(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    (%rbx),%edi
movsbl 0x0(%rbp,%r14,1),%edx
mov    %r12,%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
add    $0x1,%r14
cmp    %r14,%r15
je     1340 <main+0x160>
cmp    %r14,%r13
jne    1380 <main+0x1a0>
mov    (%rbx),%edi
lea    0xc7d(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    (%rbx),%edi
call   10a0 <fflush@plt>
test   %r13,%r13
jne    1370 <main+0x190>
mov    0x18(%rsp),%rdi
call   10e0 <sleep@plt>
jmp    1370 <main+0x190>
lea    0xc31(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%ebx
jmp    12e1 <main+0x101>

LLVM IR (-O0):
@.str = [9 x i8] c"fork(): \00"
@.str.1 = [15 x i8] c"running as %i\0A\00"
@stdout = global i32 0
@.str.2 = [2 x i8] c"\07\00"
@.str.3 = [5 x i8] c"\1B]2;\00"
@.str.4 = [3 x i8] c"%c\00"
@.str.5 = [8 x i8] c"\07\1B]2; \07\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i32, i32* %4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 0, i32* %3
br label %131
16: ; preds = %2
%17 = load i32, i32* %4
%18 = icmp sgt i32 %17, 2
br i1 %18, label %19, label %25
19: ; preds = %16
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 2
%22 = load i8*, i8** %21
%23 = call i8* @atol(i8* %22)
%24 = ptrtoint i8* %23 to i32
store i32 %24, i32* %11
br label %26
25: ; preds = %16
store i32 0, i32* %11
br label %26
26: ; preds = %25, %19
%27 = load i32, i32* %4
%28 = icmp sgt i32 %27, 3
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 3
%32 = load i8*, i8** %31
%33 = call i8* @atol(i8* %32)
store i8* %33, i8** %12
br label %36
34: ; preds = %26
%35 = call i8* (...) @getppid()
store i8* %35, i8** %12
br label %36
36: ; preds = %34, %29
%37 = call i32 (...) @fork()
store i32 %37, i32* %10
%38 = load i32, i32* %10
switch i32 %38, label %42 [
i32 -1, label %39
i32 0, label %41
]
39: ; preds = %36
%40 = call i32 @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %3
br label %131
41: ; preds = %36
br label %45
42: ; preds = %36
%43 = load i32, i32* %10
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %43)
store i32 0, i32* %3
br label %131
45: ; preds = %41
%46 = load i8**, i8*** %5
%47 = getelementptr inbounds i8*, i8** %46, i64 1
%48 = load i8*, i8** %47
%49 = call i32 @strlen(i8* %48)
store i32 %49, i32* %9
%50 = load i32, i32* %9
%51 = add nsw i32 %50, 10
%52 = call i64 @malloc(i32 %51)
%53 = inttoptr i64 %52 to i8*
store i8* %53, i8** %6
%54 = load i8*, i8** %6
%55 = load i8**, i8*** %5
%56 = getelementptr inbounds i8*, i8** %55, i64 1
%57 = load i8*, i8** %56
%58 = load i32, i32* %9
%59 = call i32 @strncpy(i8* %54, i8* %57, i32 %58)
%60 = load i32, i32* %9
store i32 %60, i32* %7
br label %61
61: ; preds = %71, %45
%62 = load i32, i32* %7
%63 = load i32, i32* %9
%64 = add nsw i32 %63, 10
%65 = icmp slt i32 %62, %64
br i1 %65, label %66, label %74
66: ; preds = %61
%67 = load i8*, i8** %6
%68 = load i32, i32* %7
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, i8* %67, i64 %69
store i8 32, i8* %70
br label %71
71: ; preds = %66
%72 = load i32, i32* %7
%73 = add nsw i32 %72, 1
store i32 %73, i32* %7
br label %61
74: ; preds = %61
%75 = load i32, i32* %9
%76 = add nsw i32 %75, 10
store i32 %76, i32* %9
store i32 0, i32* %8
br label %77
77: ; preds = %126, %74
%78 = load i8*, i8** %12
%79 = call i64 @kill(i8* %78, i32 0)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %127
81: ; preds = %77
store i32 0, i32* %8
br label %82
82: ; preds = %123, %81
%83 = load i32, i32* %8
%84 = load i32, i32* %9
%85 = add nsw i32 %84, 1
%86 = icmp slt i32 %83, %85
br i1 %86, label %87, label %126
87: ; preds = %82
store i32 0, i32* %7
br label %88
88: ; preds = %118, %87
%89 = load i32, i32* %7
%90 = load i32, i32* %9
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %121
92: ; preds = %88
%93 = load i32, i32* %7
%94 = load i32, i32* %8
%95 = icmp eq i32 %93, %94
br i1 %95, label %96, label %109
96: ; preds = %92
%97 = load i32, i32* @stdout
%98 = call i32 (i32, i8*, ...) @fprintf(i32 %97, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%99 = load i32, i32* @stdout
%100 = call i32 @fflush(i32 %99)
%101 = load i32, i32* %8
%102 = icmp eq i32 %101, 0
br i1 %102, label %103, label %106
103: ; preds = %96
%104 = load i32, i32* %11
%105 = call i32 @sleep(i32 %104)
br label %106
106: ; preds = %103, %96
%107 = load i32, i32* @stdout
%108 = call i32 (i32, i8*, ...) @fprintf(i32 %107, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
br label %109
109: ; preds = %106, %92
%110 = load i32, i32* @stdout
%111 = load i8*, i8** %6
%112 = load i32, i32* %7
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, i8* %111, i64 %113
%115 = load i8, i8* %114
%116 = sext i8 %115 to i32
%117 = call i32 (i32, i8*, ...) @fprintf(i32 %110, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %116)
br label %118
118: ; preds = %109
%119 = load i32, i32* %7
%120 = add nsw i32 %119, 1
store i32 %120, i32* %7
br label %88
121: ; preds = %88
%122 = call i32 @usleep(i32 80000)
br label %123
123: ; preds = %121
%124 = load i32, i32* %8
%125 = add nsw i32 %124, 1
store i32 %125, i32* %8
br label %82
126: ; preds = %82
br label %77
127: ; preds = %77
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%129 = load i32, i32* @stdout
%130 = call i32 @fflush(i32 %129)
store i32 0, i32* %3
br label %131
131: ; preds = %127, %42, %39, %15
%132 = load i32, i32* %3
ret i32 %132
}

LLVM IR (-O2):
@.str = [9 x i8] c"fork(): \00"
@.str.1 = [15 x i8] c"running as %i\0A\00"
@stdout = global i32 0
@.str.2 = [2 x i8] c"\07\00"
@.str.3 = [5 x i8] c"\1B]2;\00"
@.str.4 = [3 x i8] c"%c\00"
@.str.5 = [8 x i8] c"\07\1B]2; \07\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 2
br i1 %3, label %92, label %4
4: ; preds = %2
%5 = icmp eq i32 %0, 2
br i1 %5, label %17, label %6
6: ; preds = %4
%7 = getelementptr inbounds i8*, i8** %1, i64 2
%8 = load i8*, i8** %7
%9 = tail call i8* @atol(i8* %8)
%10 = ptrtoint i8* %9 to i64
%11 = trunc i64 %10 to i32
%12 = icmp ugt i32 %0, 3
br i1 %12, label %13, label %17
13: ; preds = %6
%14 = getelementptr inbounds i8*, i8** %1, i64 3
%15 = load i8*, i8** %14
%16 = tail call i8* @atol(i8* %15)
br label %20
17: ; preds = %4, %6
%18 = phi i32 [ %11, %6 ], [ 0, %4 ]
%19 = tail call i8* (...) @getppid()
br label %20
20: ; preds = %17, %13
%21 = phi i32 [ %11, %13 ], [ %18, %17 ]
%22 = phi i8* [ %16, %13 ], [ %19, %17 ]
%23 = tail call i32 (...) @fork()
switch i32 %23, label %26 [
i32 -1, label %24
i32 0, label %28
]
24: ; preds = %20
%25 = tail call i32 @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
br label %92
26: ; preds = %20
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %23)
br label %92
28: ; preds = %20
%29 = getelementptr inbounds i8*, i8** %1, i64 1
%30 = load i8*, i8** %29
%31 = tail call i32 @strlen(i8* %30)
%32 = add nsw i32 %31, 10
%33 = tail call i64 @malloc(i32 %32)
%34 = inttoptr i64 %33 to i8*
%35 = load i8*, i8** %29
%36 = tail call i32 @strncpy(i8* %34, i8* %35, i32 %31)
%37 = sext i32 %31 to i64
%38 = getelementptr i8, i8* %34, i64 %37
%39 = add i32 %31, 1
%40 = call i32 @llvm.smax.i32(i32 %32, i32 %39)
%41 = xor i32 %31, -1
%42 = add i32 %40, %41
%43 = zext i32 %42 to i64
%44 = add nuw nsw i64 %43, 1
%45 = tail call i64 @kill(i8* %22, i32 0)
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %88
47: ; preds = %28
%48 = icmp sgt i32 %31, -11
%49 = icmp sgt i32 %31, -10
%50 = call i32 @llvm.smax.i32(i32 %32, i32 1)
%51 = call i32 @llvm.smax.i32(i32 %32, i32 0)
%52 = add nuw i32 %51, 1
%53 = zext i32 %52 to i64
%54 = zext i32 %50 to i64
br label %58
55: ; preds = %84, %58
%56 = tail call i64 @kill(i8* %22, i32 0)
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %88
58: ; preds = %47, %55
br i1 %48, label %59, label %55
59: ; preds = %58, %84
%60 = phi i64 [ %86, %84 ], [ 0, %58 ]
br i1 %49, label %61, label %84
61: ; preds = %59
%62 = icmp eq i64 %60, 0
br label %63
63: ; preds = %61, %76
%64 = phi i64 [ 0, %61 ], [ %82, %76 ]
%65 = icmp eq i64 %64, %60
br i1 %65, label %66, label %76
66: ; preds = %63
%67 = load i32, i32* @stdout
%68 = tail call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%69 = load i32, i32* @stdout
%70 = tail call i32 @fflush(i32 %69)
br i1 %62, label %71, label %73
71: ; preds = %66
%72 = tail call i32 @sleep(i32 %21)
br label %73
73: ; preds = %71, %66
%74 = load i32, i32* @stdout
%75 = tail call i32 (i32, i8*, ...) @fprintf(i32 %74, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
br label %76
76: ; preds = %73, %63
%77 = load i32, i32* @stdout
%78 = getelementptr inbounds i8, i8* %34, i64 %64
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = tail call i32 (i32, i8*, ...) @fprintf(i32 %77, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %80)
%82 = add nuw nsw i64 %64, 1
%83 = icmp eq i64 %82, %54
br i1 %83, label %84, label %63
84: ; preds = %76, %59
%85 = tail call i32 @usleep(i32 80000)
%86 = add nuw nsw i64 %60, 1
%87 = icmp eq i64 %86, %53
br i1 %87, label %55, label %59
88: ; preds = %55, %28
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%90 = load i32, i32* @stdout
%91 = tail call i32 @fflush(i32 %90)
br label %92
92: ; preds = %2, %88, %26, %24
%93 = phi i32 [ 0, %26 ], [ 0, %88 ], [ 1, %24 ], [ 0, %2 ]
ret i32 %93
}