#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 */
typedef struct TYPE_4__ TYPE_2__;
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_4__ {
  int /*<<< orphan*/ tv_usec;
  int /*<<< orphan*/ tv_sec;
};
struct TYPE_3__ {
  int /*<<< orphan*/ tv_usec;
  int /*<<< orphan*/ tv_sec;
};
struct rusage {
  int /*<<< orphan*/ ru_nivcsw;
  int /*<<< orphan*/ ru_nvcsw;
  int /*<<< orphan*/ ru_nsignals;
  int /*<<< orphan*/ ru_msgrcv;
  int /*<<< orphan*/ ru_msgsnd;
  int /*<<< orphan*/ ru_oublock;
  int /*<<< orphan*/ ru_inblock;
  int /*<<< orphan*/ ru_nswap;
  int /*<<< orphan*/ ru_majflt;
  int /*<<< orphan*/ ru_minflt;
  int /*<<< orphan*/ ru_isrss;
  int /*<<< orphan*/ ru_idrss;
  int /*<<< orphan*/ ru_ixrss;
  int /*<<< orphan*/ ru_maxrss;
  TYPE_2__ ru_stime;
  TYPE_1__ ru_utime;
};

/* Variables and functions */
int /*<<< orphan*/ RUSAGE_CHILDREN;
int /*<<< orphan*/ RUSAGE_SELF;
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ getrusage(int /*<<< orphan*/, struct rusage *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, int /*<<< orphan*/, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ system(char *);
int main(int argc, char **argv) {
  struct rusage buf;
  if (argc > 1) {
    system(argv[1]);
    if (getrusage(RUSAGE_CHILDREN, &buf)) {
      perror("getrusage");
      return 1;
    }
  } else {
    if (getrusage(RUSAGE_SELF, &buf)) {
      perror("getrusage");
      return 1;
    }
  }
  printf("ru_utime   = %ld.%06ld\n", buf.ru_utime.tv_sec, buf.ru_utime.tv_usec);
  printf("ru_stime   = %ld.%06ld\n", buf.ru_stime.tv_sec, buf.ru_stime.tv_usec);
  printf("ru_maxrss  = %ld\n", buf.ru_maxrss);
  printf("ru_ixrss   = %ld\n", buf.ru_ixrss);
  printf("ru_idrss   = %ld\n", buf.ru_idrss);
  printf("ru_isrss   = %ld\n", buf.ru_isrss);
  printf("ru_minflt  = %ld\n", buf.ru_minflt);
  printf("ru_majflt  = %ld\n", buf.ru_majflt);
  printf("ru_nswap   = %ld\n", buf.ru_nswap);
  printf("ru_inblock = %ld\n", buf.ru_inblock);
  printf("ru_oublock = %ld\n", buf.ru_oublock);
  printf("ru_msgsnd  = %ld\n", buf.ru_msgsnd);
  printf("ru_msgrcv  = %ld\n", buf.ru_msgrcv);
  printf("ru_nsignals= %ld\n", buf.ru_nsignals);
  printf("ru_nvcsw   = %ld\n", buf.ru_nvcsw);
  printf("ru_nivcsw  = %ld\n", buf.ru_nivcsw);
  fprintf(stderr, "ru_utime   ru_stime   ru_minflt  ru_nccsw  ru_nivcsw\n");
  fprintf(stderr, "%ld.%06ld  %ld.%06ld  %5ld       %5ld      %5ld\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    11b6 <main+0x66>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1030 <system@plt>
mov    0x2e54(%rip),%rax
mov    (%rax),%edi
lea    -0x58(%rbp),%rsi
call   1060 <getrusage@plt>
cmp    $0x0,%rax
je     11b1 <main+0x61>
lea    0xe60(%rip),%rdi
call   1070 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1336 <main+0x1e6>
jmp    11ef <main+0x9f>
mov    0x2e13(%rip),%rax
mov    (%rax),%edi
lea    -0x58(%rbp),%rsi
call   1060 <getrusage@plt>
cmp    $0x0,%rax
je     11ea <main+0x9a>
lea    0xe27(%rip),%rdi
call   1070 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1336 <main+0x1e6>
jmp    11ef <main+0x9f>
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x24(%rbp),%esi
lea    0xe19(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%esi
lea    0xe1a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x2c(%rbp),%esi
lea    0xe1b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x30(%rbp),%esi
lea    0xe1c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x34(%rbp),%esi
lea    0xe1d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x38(%rbp),%esi
lea    0xe1e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x3c(%rbp),%esi
lea    0xe1f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x40(%rbp),%esi
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x44(%rbp),%esi
lea    0xe21(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x48(%rbp),%esi
lea    0xe22(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x4c(%rbp),%esi
lea    0xe23(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x50(%rbp),%esi
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x54(%rbp),%esi
lea    0xe25(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x58(%rbp),%esi
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2cd4(%rip),%rax
mov    (%rax),%edi
lea    0xe21(%rip),%rsi
call   1050 <fprintf@plt>
mov    0x2cbf(%rip),%rax
mov    (%rax),%edi
lea    0xe42(%rip),%rsi
call   1050 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
sub    $0x48,%rsp
cmp    $0x2,%edi
jl     116d <main+0x1d>
mov    0x8(%rsi),%rdi
call   1030 <system@plt>
mov    0x2e6d(%rip),%rax
jmp    1174 <main+0x24>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edi
mov    %rsp,%rsi
call   1060 <getrusage@plt>
test   %rax,%rax
jne    12dc <main+0x18c>
mov    0x40(%rsp),%edx
mov    0x44(%rsp),%esi
lea    0xe74(%rip),%rdi
xor    %ebp,%ebp
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%edx
mov    0x3c(%rsp),%esi
lea    0xe74(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x34(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2c(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rsp),%esi
lea    0xe7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%esi
lea    0xe7b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2d29(%rip),%rbx
mov    (%rbx),%edi
lea    0xe76(%rip),%rsi
call   1050 <fprintf@plt>
mov    (%rbx),%edi
lea    0xe9e(%rip),%rsi
call   1050 <fprintf@plt>
mov    %ebp,%eax
add    $0x48,%rsp
pop    %rbx
pop    %rbp
ret
lea    0xd1d(%rip),%rdi
call   1070 <perror@plt>
mov    $0x1,%ebp
jmp    12d3 <main+0x183>

LLVM IR (-O0):
%struct.rusage = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@RUSAGE_CHILDREN = global i32 0
@.str = [10 x i8] c"getrusage\00"
@RUSAGE_SELF = global i32 0
@.str.1 = [24 x i8] c"ru_utime = %ld.%06ld\0A\00"
@.str.2 = [24 x i8] c"ru_stime = %ld.%06ld\0A\00"
@.str.3 = [18 x i8] c"ru_maxrss = %ld\0A\00"
@.str.4 = [18 x i8] c"ru_ixrss = %ld\0A\00"
@.str.5 = [18 x i8] c"ru_idrss = %ld\0A\00"
@.str.6 = [18 x i8] c"ru_isrss = %ld\0A\00"
@.str.7 = [18 x i8] c"ru_minflt = %ld\0A\00"
@.str.8 = [18 x i8] c"ru_majflt = %ld\0A\00"
@.str.9 = [18 x i8] c"ru_nswap = %ld\0A\00"
@.str.10 = [18 x i8] c"ru_inblock = %ld\0A\00"
@.str.11 = [18 x i8] c"ru_oublock = %ld\0A\00"
@.str.12 = [18 x i8] c"ru_msgsnd = %ld\0A\00"
@.str.13 = [18 x i8] c"ru_msgrcv = %ld\0A\00"
@.str.14 = [18 x i8] c"ru_nsignals= %ld\0A\00"
@.str.15 = [18 x i8] c"ru_nvcsw = %ld\0A\00"
@.str.16 = [18 x i8] c"ru_nivcsw = %ld\0A\00"
@stderr = global i32 0
@.str.17 = [54 x i8] c"ru_utime ru_stime ru_minflt ru_nccsw ru_nivcsw\0A\00"
@.str.18 = [49 x i8] c"%ld.%06ld %ld.%06ld %5ld %5ld %5ld\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca %struct.rusage
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = load i32, i32* %4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %20
9: ; preds = %2
%10 = load i8**, i8*** %5
%11 = getelementptr inbounds i8*, i8** %10, i64 1
%12 = load i8*, i8** %11
%13 = call i32 @system(i8* %12)
%14 = load i32, i32* @RUSAGE_CHILDREN
%15 = call i64 @getrusage(i32 %14, %struct.rusage* %6)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %3
br label %88
19: ; preds = %9
br label %27
20: ; preds = %2
%21 = load i32, i32* @RUSAGE_SELF
%22 = call i64 @getrusage(i32 %21, %struct.rusage* %6)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %3
br label %88
26: ; preds = %20
br label %27
27: ; preds = %26, %19
%28 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 15
%29 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %28, i32 0, i32 1
%30 = load i32, i32* %29
%31 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 15
%32 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %31, i32 0, i32 0
%33 = load i32, i32* %32
%34 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), i32 %30, i32 %33)
%35 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 14
%36 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %35, i32 0, i32 1
%37 = load i32, i32* %36
%38 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 14
%39 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %38, i32 0, i32 0
%40 = load i32, i32* %39
%41 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %37, i32 %40)
%42 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 13
%43 = load i32, i32* %42
%44 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %43)
%45 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 12
%46 = load i32, i32* %45
%47 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 %46)
%48 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 11
%49 = load i32, i32* %48
%50 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 10
%52 = load i32, i32* %51
%53 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 9
%55 = load i32, i32* %54
%56 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i32 %55)
%57 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 8
%58 = load i32, i32* %57
%59 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 7
%61 = load i32, i32* %60
%62 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %61)
%63 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 6
%64 = load i32, i32* %63
%65 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 5
%67 = load i32, i32* %66
%68 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i32 %67)
%69 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 4
%70 = load i32, i32* %69
%71 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %70)
%72 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 3
%73 = load i32, i32* %72
%74 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i32 %73)
%75 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 2
%76 = load i32, i32* %75
%77 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i32 %76)
%78 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 1
%79 = load i32, i32* %78
%80 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.15, i64 0, i64 0), i32 %79)
%81 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 0
%82 = load i32, i32* %81
%83 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0), i32 %82)
%84 = load i32, i32* @stderr
%85 = call i32 @fprintf(i32 %84, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
%86 = load i32, i32* @stderr
%87 = call i32 @fprintf(i32 %86, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.18, i64 0, i64 0))
store i32 0, i32* %3
br label %88
88: ; preds = %27, %24, %17
%89 = load i32, i32* %3
ret i32 %89
}

LLVM IR (-O2):
%struct.rusage = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@RUSAGE_CHILDREN = global i32 0
@.str = [10 x i8] c"getrusage\00"
@RUSAGE_SELF = global i32 0
@.str.1 = [24 x i8] c"ru_utime = %ld.%06ld\0A\00"
@.str.2 = [24 x i8] c"ru_stime = %ld.%06ld\0A\00"
@.str.3 = [18 x i8] c"ru_maxrss = %ld\0A\00"
@.str.4 = [18 x i8] c"ru_ixrss = %ld\0A\00"
@.str.5 = [18 x i8] c"ru_idrss = %ld\0A\00"
@.str.6 = [18 x i8] c"ru_isrss = %ld\0A\00"
@.str.7 = [18 x i8] c"ru_minflt = %ld\0A\00"
@.str.8 = [18 x i8] c"ru_majflt = %ld\0A\00"
@.str.9 = [18 x i8] c"ru_nswap = %ld\0A\00"
@.str.10 = [18 x i8] c"ru_inblock = %ld\0A\00"
@.str.11 = [18 x i8] c"ru_oublock = %ld\0A\00"
@.str.12 = [18 x i8] c"ru_msgsnd = %ld\0A\00"
@.str.13 = [18 x i8] c"ru_msgrcv = %ld\0A\00"
@.str.14 = [18 x i8] c"ru_nsignals= %ld\0A\00"
@.str.15 = [18 x i8] c"ru_nvcsw = %ld\0A\00"
@.str.16 = [18 x i8] c"ru_nivcsw = %ld\0A\00"
@stderr = global i32 0
@.str.17 = [54 x i8] c"ru_utime ru_stime ru_minflt ru_nccsw ru_nivcsw\0A\00"
@.str.18 = [49 x i8] c"%ld.%06ld %ld.%06ld %5ld %5ld %5ld\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.rusage
%4 = bitcast %struct.rusage* %3 to i8*
%5 = icmp sgt i32 %0, 1
br i1 %5, label %6, label %15
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32 @system(i8* %8)
%10 = load i32, i32* @RUSAGE_CHILDREN
%11 = call i64 @getrusage(i32 %10, %struct.rusage* %3)
%12 = icmp eq i64 %11, 0
br i1 %12, label %21, label %13
13: ; preds = %6
%14 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
br label %78
15: ; preds = %2
%16 = load i32, i32* @RUSAGE_SELF
%17 = call i64 @getrusage(i32 %16, %struct.rusage* %3)
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call i32 @perror(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
br label %78
21: ; preds = %15, %6
%22 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 15, i32 1
%23 = load i32, i32* %22
%24 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 15, i32 0
%25 = load i32, i32* %24
%26 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), i32 %23, i32 %25)
%27 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 14, i32 1
%28 = load i32, i32* %27
%29 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 14, i32 0
%30 = load i32, i32* %29
%31 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %28, i32 %30)
%32 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 13
%33 = load i32, i32* %32
%34 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 %33)
%35 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 12
%36 = load i32, i32* %35
%37 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 %36)
%38 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 11
%39 = load i32, i32* %38
%40 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %39)
%41 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 10
%42 = load i32, i32* %41
%43 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i32 %42)
%44 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 9
%45 = load i32, i32* %44
%46 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i32 %45)
%47 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 8
%48 = load i32, i32* %47
%49 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %48)
%50 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 7
%51 = load i32, i32* %50
%52 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %51)
%53 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 6
%54 = load i32, i32* %53
%55 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i32 %54)
%56 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 5
%57 = load i32, i32* %56
%58 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i32 %57)
%59 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 4
%60 = load i32, i32* %59
%61 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i32 %60)
%62 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 3
%63 = load i32, i32* %62
%64 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i32 %63)
%65 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 2
%66 = load i32, i32* %65
%67 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i64 0, i64 0), i32 %66)
%68 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 1
%69 = load i32, i32* %68
%70 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.15, i64 0, i64 0), i32 %69)
%71 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 0
%72 = load i32, i32* %71
%73 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0), i32 %72)
%74 = load i32, i32* @stderr
%75 = call i32 @fprintf(i32 %74, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
%76 = load i32, i32* @stderr
%77 = call i32 @fprintf(i32 %76, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.18, i64 0, i64 0))
br label %78
78: ; preds = %21, %19, %13
%79 = phi i32 [ 1, %13 ], [ 0, %21 ], [ 1, %19 ]
ret i32 %79
}