#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*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, char *, char *,
                           char *, char *, char *, char *, char *, char *,
                           char *);
int /*<<< orphan*/ get_sysdata(char *, char **, char *);
int /*<<< orphan*/ print_system_configuration();
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ update_sysdata();
void print_default_output(int interval, int count) {
  char *fmt = "%5s %5s %5s %8s %8s %5s %5s %5s %5s %5s\n";
  char *descr;
  char user[32], sys[32], wait[32], idle[32], physc[32], entc[32];
  char lbusy[32], app[32], vcsw[32], phint[32];
  print_system_configuration();
  fprintf(stdout, fmt, "\%user", "\%sys", "\%wait", "\%idle", "physc", "\%entc",
          "lbusy", "app", "vcsw", "phint");
  fprintf(stdout, fmt, "-----", "-----", "-----", "-----", "-----", "-----",
          "-----", "-----", "-----", "-----");
  do {
    if (interval) {
      sleep(interval);
      update_sysdata();
    }
    get_sysdata("cpu_user", &descr, user);
    get_sysdata("cpu_sys", &descr, sys);
    get_sysdata("cpu_iowait", &descr, wait);
    get_sysdata("cpu_idle", &descr, idle);
    get_sysdata("cpu_lbusy", &descr, lbusy);
    get_sysdata("dispatches", &descr, vcsw);
    get_sysdata("physc", &descr, physc);
    get_sysdata("per_entc", &descr, entc);
    get_sysdata("phint", &descr, phint);
    get_sysdata("app", &descr, app);
    fprintf(stdout, fmt, user, sys, wait, idle, physc, entc, lbusy, app, vcsw,
            phint);
    fflush(stdout);
  } while (--count > 0);
}


x86 assembly (clang, -O0):
<print_default_output>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x198,%rsp
mov    %edi,-0x1c(%rbp)
mov    %esi,-0x20(%rbp)
lea    0xe83(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    $0x0,%al
call   1070 <print_system_configuration@plt>
mov    0x2e51(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rsi
lea    0xe8d(%rip),%rdx
lea    0xe8c(%rip),%rcx
lea    0xe8a(%rip),%r8
lea    0xe89(%rip),%r9
lea    0xe88(%rip),%r15
lea    0xe87(%rip),%r14
lea    0xec4(%rip),%rbx
lea    0xe7f(%rip),%r11
lea    0xe7c(%rip),%r10
lea    0xe7a(%rip),%rax
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1040 <fprintf@plt>
mov    0x2ddc(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rsi
lea    0xe4a(%rip),%rax
mov    %rax,-0x178(%rbp)
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
mov    %rax,%r9
mov    %rax,(%rsp)
mov    %rax,0x8(%rsp)
mov    %rax,0x10(%rsp)
mov    %rax,0x18(%rsp)
mov    %rax,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1040 <fprintf@plt>
cmpl   $0x0,-0x1c(%rbp)
je     125f <print_default_output+0xff>
mov    -0x1c(%rbp),%edi
call   1080 <sleep@plt>
mov    $0x0,%al
call   1060 <update_sysdata@plt>
lea    -0x50(%rbp),%rdx
lea    0xdf7(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0x70(%rbp),%rdx
lea    0xdec(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0x90(%rbp),%rdx
lea    0xddd(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0xb0(%rbp),%rdx
lea    0xdd1(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0x110(%rbp),%rdx
lea    0xdc3(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0x150(%rbp),%rdx
lea    0xdb6(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0xd0(%rbp),%rdx
lea    0xd4f(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0xf0(%rbp),%rdx
lea    0xd93(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0x170(%rbp),%rdx
lea    0xd36(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
lea    -0x130(%rbp),%rdx
lea    0xd16(%rip),%rdi
lea    -0x30(%rbp),%rsi
call   1030 <get_sysdata@plt>
mov    0x2c9a(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rsi
lea    -0x50(%rbp),%rdx
lea    -0x70(%rbp),%rcx
lea    -0x90(%rbp),%r8
lea    -0xb0(%rbp),%r9
lea    -0xd0(%rbp),%r15
lea    -0xf0(%rbp),%r14
lea    -0x110(%rbp),%rbx
lea    -0x130(%rbp),%r11
lea    -0x150(%rbp),%r10
lea    -0x170(%rbp),%rax
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1040 <fprintf@plt>
mov    0x2c2b(%rip),%rax
mov    (%rax),%edi
call   1050 <fflush@plt>
mov    -0x20(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x20(%rbp)
cmp    $0x0,%eax
jg     1246 <print_default_output+0xe6>
add    $0x198,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_default_output>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x158,%rsp
mov    %esi,%ebx
mov    %edi,%ebp
xor    %eax,%eax
call   1070 <print_system_configuration@plt>
mov    0x2e5d(%rip),%r14
mov    (%r14),%edi
lea    0xec8(%rip),%rax
lea    0xebc(%rip),%r11
lea    0xeb1(%rip),%r12
lea    0xee8(%rip),%r10
lea    0xe97(%rip),%r13
lea    0xe50(%rip),%r15
lea    0xe72(%rip),%rdx
lea    0xe71(%rip),%rcx
lea    0xe6f(%rip),%r8
lea    0xe6e(%rip),%r9
mov    %r15,%rsi
push   %rax
push   %r11
push   %r12
push   %r10
lea    0xe69(%rip),%rax
push   %rax
push   %r13
call   1040 <fprintf@plt>
add    $0x30,%rsp
mov    (%r14),%edi
lea    0xe68(%rip),%rcx
mov    %r15,%rsi
mov    %rcx,%rdx
mov    %rcx,%r8
mov    %rcx,%r9
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
push   %rcx
call   1040 <fprintf@plt>
add    $0x30,%rsp
add    $0x1,%ebx
lea    0x8(%rsp),%r15
mov    %ebp,0x4(%rsp)
jmp    136b <print_default_output+0x20b>
nop
lea    0xe3a(%rip),%rdi
mov    %r15,%rsi
lea    0xd0(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xe2c(%rip),%rdi
mov    %r15,%rsi
lea    0xb0(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xe1d(%rip),%rdi
mov    %r15,%rsi
lea    0x130(%rsp),%rbp
mov    %rbp,%rdx
call   1030 <get_sysdata@plt>
lea    0xe0e(%rip),%rdi
mov    %r15,%rsi
lea    0x90(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xe00(%rip),%rdi
mov    %r15,%rsi
lea    0x30(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xdf6(%rip),%rdi
mov    %r15,%rsi
lea    0x10(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xd92(%rip),%rdi
mov    %r15,%rsi
lea    0x70(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xdd9(%rip),%rdi
mov    %r15,%rsi
lea    0x50(%rsp),%rdx
call   1030 <get_sysdata@plt>
lea    0xd7f(%rip),%rdi
mov    %r15,%rsi
lea    0xf0(%rsp),%r13
mov    %r13,%rdx
call   1030 <get_sysdata@plt>
lea    0xd5c(%rip),%rdi
mov    %r15,%rsi
lea    0x110(%rsp),%r12
mov    %r12,%rdx
call   1030 <get_sysdata@plt>
mov    0x2cd6(%rip),%r14
mov    (%r14),%edi
lea    0xcec(%rip),%rsi
lea    0xd0(%rsp),%rdx
lea    0xb0(%rsp),%rcx
mov    %rbp,%r8
mov    0x4(%rsp),%ebp
lea    0x90(%rsp),%r9
push   %r13
lea    0x18(%rsp),%rax
push   %rax
push   %r12
lea    0x48(%rsp),%rax
push   %rax
lea    0x70(%rsp),%rax
push   %rax
lea    0x98(%rsp),%rax
push   %rax
call   1040 <fprintf@plt>
add    $0x30,%rsp
mov    (%r14),%edi
call   1050 <fflush@plt>
add    $0xffffffff,%ebx
cmp    $0x1,%ebx
jle    1386 <print_default_output+0x226>
test   %ebp,%ebp
je     1220 <print_default_output+0xc0>
mov    %ebp,%edi
call   1080 <sleep@plt>
xor    %eax,%eax
call   1060 <update_sysdata@plt>
jmp    1220 <print_default_output+0xc0>
add    $0x158,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [41 x i8] c"%5s %5s %5s %8s %8s %5s %5s %5s %5s %5s\0A\00"
@stdout = global i32 0
@.str.1 = [6 x i8] c"%user\00"
@.str.2 = [5 x i8] c"%sys\00"
@.str.3 = [6 x i8] c"%wait\00"
@.str.4 = [6 x i8] c"%idle\00"
@.str.5 = [6 x i8] c"physc\00"
@.str.6 = [6 x i8] c"%entc\00"
@.str.7 = [6 x i8] c"lbusy\00"
@.str.8 = [4 x i8] c"app\00"
@.str.9 = [5 x i8] c"vcsw\00"
@.str.10 = [6 x i8] c"phint\00"
@.str.11 = [6 x i8] c"-----\00"
@.str.12 = [9 x i8] c"cpu_user\00"
@.str.13 = [8 x i8] c"cpu_sys\00"
@.str.14 = [11 x i8] c"cpu_iowait\00"
@.str.15 = [9 x i8] c"cpu_idle\00"
@.str.16 = [10 x i8] c"cpu_lbusy\00"
@.str.17 = [11 x i8] c"dispatches\00"
@.str.18 = [9 x i8] c"per_entc\00"
define void @print_default_output(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca [32 x i8]
%8 = alloca [32 x i8]
%9 = alloca [32 x i8]
%10 = alloca [32 x i8]
%11 = alloca [32 x i8]
%12 = alloca [32 x i8]
%13 = alloca [32 x i8]
%14 = alloca [32 x i8]
%15 = alloca [32 x i8]
%16 = alloca [32 x i8]
store i32 %0, i32* %3
store i32 %1, i32* %4
store i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i8** %5
%17 = call i32 (...) @print_system_configuration()
%18 = load i32, i32* @stdout
%19 = load i8*, i8** %5
%20 = call i32 @fprintf(i32 %18, i8* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = load i8*, i8** %5
%23 = call i32 @fprintf(i32 %21, i8* %22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
br label %24
24: ; preds = %67, %2
%25 = load i32, i32* %3
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, i32* %3
%29 = call i32 @sleep(i32 %28)
%30 = call i32 (...) @update_sysdata()
br label %31
31: ; preds = %27, %24
%32 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%33 = call i32 @get_sysdata(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8** %6, i8* %32)
%34 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%35 = call i32 @get_sysdata(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i8** %6, i8* %34)
%36 = getelementptr inbounds [32 x i8], [32 x i8]* %9, i64 0, i64 0
%37 = call i32 @get_sysdata(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i8** %6, i8* %36)
%38 = getelementptr inbounds [32 x i8], [32 x i8]* %10, i64 0, i64 0
%39 = call i32 @get_sysdata(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i8** %6, i8* %38)
%40 = getelementptr inbounds [32 x i8], [32 x i8]* %13, i64 0, i64 0
%41 = call i32 @get_sysdata(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i8** %6, i8* %40)
%42 = getelementptr inbounds [32 x i8], [32 x i8]* %15, i64 0, i64 0
%43 = call i32 @get_sysdata(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i8** %6, i8* %42)
%44 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%45 = call i32 @get_sysdata(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8** %6, i8* %44)
%46 = getelementptr inbounds [32 x i8], [32 x i8]* %12, i64 0, i64 0
%47 = call i32 @get_sysdata(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i8** %6, i8* %46)
%48 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 0
%49 = call i32 @get_sysdata(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8** %6, i8* %48)
%50 = getelementptr inbounds [32 x i8], [32 x i8]* %14, i64 0, i64 0
%51 = call i32 @get_sysdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8** %6, i8* %50)
%52 = load i32, i32* @stdout
%53 = load i8*, i8** %5
%54 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%55 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%56 = getelementptr inbounds [32 x i8], [32 x i8]* %9, i64 0, i64 0
%57 = getelementptr inbounds [32 x i8], [32 x i8]* %10, i64 0, i64 0
%58 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%59 = getelementptr inbounds [32 x i8], [32 x i8]* %12, i64 0, i64 0
%60 = getelementptr inbounds [32 x i8], [32 x i8]* %13, i64 0, i64 0
%61 = getelementptr inbounds [32 x i8], [32 x i8]* %14, i64 0, i64 0
%62 = getelementptr inbounds [32 x i8], [32 x i8]* %15, i64 0, i64 0
%63 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 0
%64 = call i32 @fprintf(i32 %52, i8* %53, i8* %54, i8* %55, i8* %56, i8* %57, i8* %58, i8* %59, i8* %60, i8* %61, i8* %62, i8* %63)
%65 = load i32, i32* @stdout
%66 = call i32 @fflush(i32 %65)
br label %67
67: ; preds = %31
%68 = load i32, i32* %4
%69 = add nsw i32 %68, -1
store i32 %69, i32* %4
%70 = icmp sgt i32 %69, 0
br i1 %70, label %24, label %71
71: ; preds = %67
ret void
}

LLVM IR (-O2):
@.str = [41 x i8] c"%5s %5s %5s %8s %8s %5s %5s %5s %5s %5s\0A\00"
@stdout = global i32 0
@.str.1 = [6 x i8] c"%user\00"
@.str.2 = [5 x i8] c"%sys\00"
@.str.3 = [6 x i8] c"%wait\00"
@.str.4 = [6 x i8] c"%idle\00"
@.str.5 = [6 x i8] c"physc\00"
@.str.6 = [6 x i8] c"%entc\00"
@.str.7 = [6 x i8] c"lbusy\00"
@.str.8 = [4 x i8] c"app\00"
@.str.9 = [5 x i8] c"vcsw\00"
@.str.10 = [6 x i8] c"phint\00"
@.str.11 = [6 x i8] c"-----\00"
@.str.12 = [9 x i8] c"cpu_user\00"
@.str.13 = [8 x i8] c"cpu_sys\00"
@.str.14 = [11 x i8] c"cpu_iowait\00"
@.str.15 = [9 x i8] c"cpu_idle\00"
@.str.16 = [10 x i8] c"cpu_lbusy\00"
@.str.17 = [11 x i8] c"dispatches\00"
@.str.18 = [9 x i8] c"per_entc\00"
define void @print_default_output(i32 %0, i32 %1) {
%3 = alloca i8*
%4 = alloca [32 x i8]
%5 = alloca [32 x i8]
%6 = alloca [32 x i8]
%7 = alloca [32 x i8]
%8 = alloca [32 x i8]
%9 = alloca [32 x i8]
%10 = alloca [32 x i8]
%11 = alloca [32 x i8]
%12 = alloca [32 x i8]
%13 = alloca [32 x i8]
%14 = bitcast i8** %3 to i8*
%15 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%16 = getelementptr inbounds [32 x i8], [32 x i8]* %5, i64 0, i64 0
%17 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%18 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%19 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%20 = getelementptr inbounds [32 x i8], [32 x i8]* %9, i64 0, i64 0
%21 = getelementptr inbounds [32 x i8], [32 x i8]* %10, i64 0, i64 0
%22 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%23 = getelementptr inbounds [32 x i8], [32 x i8]* %12, i64 0, i64 0
%24 = getelementptr inbounds [32 x i8], [32 x i8]* %13, i64 0, i64 0
%25 = tail call i32 (...) @print_system_configuration()
%26 = load i32, i32* @stdout
%27 = tail call i32 @fprintf(i32 %26, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%28 = load i32, i32* @stdout
%29 = tail call i32 @fprintf(i32 %28, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%30 = icmp eq i32 %0, 0
br label %31
31: ; preds = %36, %2
%32 = phi i32 [ %1, %2 ], [ %51, %36 ]
br i1 %30, label %36, label %33
33: ; preds = %31
%34 = call i32 @sleep(i32 %0)
%35 = call i32 (...) @update_sysdata()
br label %36
36: ; preds = %33, %31
%37 = call i32 @get_sysdata(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8** %3, i8* %15)
%38 = call i32 @get_sysdata(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i8** %3, i8* %16)
%39 = call i32 @get_sysdata(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i8** %3, i8* %17)
%40 = call i32 @get_sysdata(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i8** %3, i8* %18)
%41 = call i32 @get_sysdata(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i8** %3, i8* %21)
%42 = call i32 @get_sysdata(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i8** %3, i8* %23)
%43 = call i32 @get_sysdata(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8** %3, i8* %19)
%44 = call i32 @get_sysdata(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i8** %3, i8* %20)
%45 = call i32 @get_sysdata(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8** %3, i8* %24)
%46 = call i32 @get_sysdata(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8** %3, i8* %22)
%47 = load i32, i32* @stdout
%48 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i8* %15, i8* %16, i8* %17, i8* %18, i8* %19, i8* %20, i8* %21, i8* %22, i8* %23, i8* %24)
%49 = load i32, i32* @stdout
%50 = call i32 @fflush(i32 %49)
%51 = add nsw i32 %32, -1
%52 = icmp sgt i32 %32, 1
br i1 %52, label %31, label %53
53: ; preds = %36
ret void
}