#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__ {
  scalar_t__ tv_usec;
  scalar_t__ tv_sec;
};
struct TYPE_3__ {
  scalar_t__ tv_usec;
  scalar_t__ 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 RUSAGE_CHILDREN;
int RUSAGE_SELF;
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
scalar_t__ getrusage(int, struct rusage *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
void print_rusage(int who) {
  struct rusage usage;
  if (getrusage(who, &usage)) {
    perror("getrusage failed");
    exit(errno);
  };
  if (who == RUSAGE_SELF)
    printf("For RUSAGE_SELF\n");
  if (who == RUSAGE_CHILDREN)
    printf("\nFor RUSAGE_CHILDREN\n");
  printf("ru_utime.tv_sec, ru_utime.tv_usec = %4d  %4d (user time used)\n",
         (int)usage.ru_utime.tv_sec, (int)usage.ru_utime.tv_usec);
  printf("ru_stime.tv_sec, ru_stime.tv_usec = %4d  %4d (system time used)\n",
         (int)usage.ru_stime.tv_sec, (int)usage.ru_stime.tv_usec);
  printf("ru_maxrss =  %4ld (max resident set size)\n", usage.ru_maxrss);
  printf("ru_ixrss =   %4ld (integral shared memory size)\n", usage.ru_ixrss);
  printf("ru_idrss =   %4ld (integral unshared data size)\n", usage.ru_idrss);
  printf("ru_isrss =   %4ld (integral unshared stack size)\n", usage.ru_isrss);
  printf("ru_minflt =  %4ld (page reclaims)\n", usage.ru_minflt);
  printf("ru_majflt =  %4ld (page faults)\n", usage.ru_majflt);
  printf("ru_nswap =   %4ld (swaps)\n", usage.ru_nswap);
  printf("ru_inblock = %4ld (block input operations)\n", usage.ru_inblock);
  printf("ru_oublock = %4ld (block output operations)\n", usage.ru_oublock);
  printf("ru_msgsnd =  %4ld (messages sent)\n", usage.ru_msgsnd);
  printf("ru_msgrcv =  %4ld (messages received)\n", usage.ru_msgrcv);
  printf("ru_nsignals= %4ld (signals received)\n", usage.ru_nsignals);
  printf("ru_nvcsw=    %4ld (voluntary context switches)\n", usage.ru_nvcsw);
  printf("ru_nivcsw=   %4ld (involuntary context switches)\n", usage.ru_nivcsw);
}


x86 assembly (clang, -O0):
<print_rusage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%edi
lea    -0x60(%rbp),%rsi
call   1040 <getrusage@plt>
cmp    $0x0,%rax
je     117b <print_rusage+0x3b>
lea    0xe98(%rip),%rdi
call   1050 <perror@plt>
mov    0x2e64(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
mov    -0x4(%rbp),%eax
mov    0x2e4b(%rip),%rcx
cmp    (%rcx),%eax
jne    119b <print_rusage+0x5b>
lea    0xe7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
mov    0x2e3b(%rip),%rcx
cmp    (%rcx),%eax
jne    11bb <print_rusage+0x7b>
lea    0xe6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
mov    %eax,%esi
mov    -0x18(%rbp),%rax
mov    %eax,%edx
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    %eax,%esi
mov    -0x28(%rbp),%rax
mov    %eax,%edx
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x2c(%rbp),%esi
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%esi
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%esi
lea    0xef9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%esi
lea    0xf19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x3c(%rbp),%esi
lea    0xf3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%esi
lea    0xf4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x44(%rbp),%esi
lea    0xf5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x48(%rbp),%esi
lea    0xf66(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4c(%rbp),%esi
lea    0xf81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x50(%rbp),%esi
lea    0xf9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x54(%rbp),%esi
lea    0xfaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%esi
lea    0xfc5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x5c(%rbp),%esi
lea    0xfda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%esi
lea    0xff9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_rusage>:
push   %rbx
sub    $0x60,%rsp
mov    %edi,%ebx
lea    0x8(%rsp),%rsi
call   1050 <getrusage@plt>
test   %rax,%rax
jne    12c6 <print_rusage+0x176>
mov    0x2e5f(%rip),%rax
cmp    %ebx,(%rax)
jne    1181 <print_rusage+0x31>
lea    0x1173(%rip),%rdi
call   1030 <puts@plt>
mov    0x2e58(%rip),%rax
cmp    %ebx,(%rax)
jne    1198 <print_rusage+0x48>
lea    0x1147(%rip),%rdi
call   1030 <puts@plt>
mov    0x50(%rsp),%edx
mov    0x58(%rsp),%esi
lea    0xe6a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x40(%rsp),%edx
mov    0x48(%rsp),%esi
lea    0xe93(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x3c(%rsp),%esi
lea    0xec2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%esi
lea    0xedb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x34(%rsp),%esi
lea    0xefa(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rsp),%esi
lea    0xf19(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2c(%rsp),%esi
lea    0xf39(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rsp),%esi
lea    0xf4a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rsp),%esi
lea    0xf59(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
lea    0xf62(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
lea    0xf7c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%esi
lea    0xf97(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
lea    0xfa8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%esi
lea    0xfbd(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%esi
lea    0xfd1(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rsp),%esi
lea    0xfef(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x60,%rsp
pop    %rbx
ret
lea    0xd33(%rip),%rdi
call   1060 <perror@plt>
mov    0x2cff(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>

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 { i64, i64 }
%struct.TYPE_3__ = type { i64, i64 }
@.str = [17 x i8] c"getrusage failed\00"
@errno = global i32 0
@RUSAGE_SELF = global i32 0
@.str.1 = [17 x i8] c"For RUSAGE_SELF\0A\00"
@RUSAGE_CHILDREN = global i32 0
@.str.2 = [22 x i8] c"\0AFor RUSAGE_CHILDREN\0A\00"
@.str.3 = [63 x i8] c"ru_utime.tv_sec, ru_utime.tv_usec = %4d %4d (user time used)\0A\00"
@.str.4 = [65 x i8] c"ru_stime.tv_sec, ru_stime.tv_usec = %4d %4d (system time used)\0A\00"
@.str.5 = [43 x i8] c"ru_maxrss = %4ld (max resident set size)\0A\00"
@.str.6 = [49 x i8] c"ru_ixrss = %4ld (integral shared memory size)\0A\00"
@.str.7 = [49 x i8] c"ru_idrss = %4ld (integral unshared data size)\0A\00"
@.str.8 = [50 x i8] c"ru_isrss = %4ld (integral unshared stack size)\0A\00"
@.str.9 = [35 x i8] c"ru_minflt = %4ld (page reclaims)\0A\00"
@.str.10 = [33 x i8] c"ru_majflt = %4ld (page faults)\0A\00"
@.str.11 = [27 x i8] c"ru_nswap = %4ld (swaps)\0A\00"
@.str.12 = [44 x i8] c"ru_inblock = %4ld (block input operations)\0A\00"
@.str.13 = [45 x i8] c"ru_oublock = %4ld (block output operations)\0A\00"
@.str.14 = [35 x i8] c"ru_msgsnd = %4ld (messages sent)\0A\00"
@.str.15 = [39 x i8] c"ru_msgrcv = %4ld (messages received)\0A\00"
@.str.16 = [38 x i8] c"ru_nsignals= %4ld (signals received)\0A\00"
@.str.17 = [48 x i8] c"ru_nvcsw= %4ld (voluntary context switches)\0A\00"
@.str.18 = [50 x i8] c"ru_nivcsw= %4ld (involuntary context switches)\0A\00"
define void @print_rusage(i32 %0) {
%2 = alloca i32
%3 = alloca %struct.rusage
store i32 %0, i32* %2
%4 = load i32, i32* %2
%5 = call i64 @getrusage(i32 %4, %struct.rusage* %3)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = call i32 @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%9 = load i32, i32* @errno
%10 = call i32 @exit(i32 %9)
unreachable
11: ; preds = %1
%12 = load i32, i32* %2
%13 = load i32, i32* @RUSAGE_SELF
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
br label %17
17: ; preds = %15, %11
%18 = load i32, i32* %2
%19 = load i32, i32* @RUSAGE_CHILDREN
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0))
br label %23
23: ; preds = %21, %17
%24 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 15
%25 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %24, i32 0, i32 1
%26 = load i64, i64* %25
%27 = trunc i64 %26 to i32
%28 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 15
%29 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %28, i32 0, i32 0
%30 = load i64, i64* %29
%31 = trunc i64 %30 to i32
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0), i32 %27, i32 %31)
%33 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 14
%34 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %33, i32 0, i32 1
%35 = load i64, i64* %34
%36 = trunc i64 %35 to i32
%37 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 14
%38 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %37, i32 0, i32 0
%39 = load i64, i64* %38
%40 = trunc i64 %39 to i32
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0), i32 %36, i32 %40)
%42 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 13
%43 = load i32, i32* %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0), i32 %43)
%45 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 12
%46 = load i32, i32* %45
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0), i32 %46)
%48 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 11
%49 = load i32, i32* %48
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 10
%52 = load i32, i32* %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 9
%55 = load i32, i32* %54
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), i32 %55)
%57 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 8
%58 = load i32, i32* %57
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 7
%61 = load i32, i32* %60
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i32 %61)
%63 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 6
%64 = load i32, i32* %63
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.12, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 5
%67 = load i32, i32* %66
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0), i32 %67)
%69 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 4
%70 = load i32, i32* %69
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i32 %70)
%72 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 3
%73 = load i32, i32* %72
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0), i32 %73)
%75 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 2
%76 = load i32, i32* %75
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.16, i64 0, i64 0), i32 %76)
%78 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 1
%79 = load i32, i32* %78
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.17, i64 0, i64 0), i32 %79)
%81 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i32 0, i32 0
%82 = load i32, i32* %81
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0), i32 %82)
ret void
}

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 { i64, i64 }
%struct.TYPE_3__ = type { i64, i64 }
@.str = [17 x i8] c"getrusage failed\00"
@errno = global i32 0
@RUSAGE_SELF = global i32 0
@RUSAGE_CHILDREN = global i32 0
@.str.3 = [63 x i8] c"ru_utime.tv_sec, ru_utime.tv_usec = %4d %4d (user time used)\0A\00"
@.str.4 = [65 x i8] c"ru_stime.tv_sec, ru_stime.tv_usec = %4d %4d (system time used)\0A\00"
@.str.5 = [43 x i8] c"ru_maxrss = %4ld (max resident set size)\0A\00"
@.str.6 = [49 x i8] c"ru_ixrss = %4ld (integral shared memory size)\0A\00"
@.str.7 = [49 x i8] c"ru_idrss = %4ld (integral unshared data size)\0A\00"
@.str.8 = [50 x i8] c"ru_isrss = %4ld (integral unshared stack size)\0A\00"
@.str.9 = [35 x i8] c"ru_minflt = %4ld (page reclaims)\0A\00"
@.str.10 = [33 x i8] c"ru_majflt = %4ld (page faults)\0A\00"
@.str.11 = [27 x i8] c"ru_nswap = %4ld (swaps)\0A\00"
@.str.12 = [44 x i8] c"ru_inblock = %4ld (block input operations)\0A\00"
@.str.13 = [45 x i8] c"ru_oublock = %4ld (block output operations)\0A\00"
@.str.14 = [35 x i8] c"ru_msgsnd = %4ld (messages sent)\0A\00"
@.str.15 = [39 x i8] c"ru_msgrcv = %4ld (messages received)\0A\00"
@.str.16 = [38 x i8] c"ru_nsignals= %4ld (signals received)\0A\00"
@.str.17 = [48 x i8] c"ru_nvcsw= %4ld (voluntary context switches)\0A\00"
@.str.18 = [50 x i8] c"ru_nivcsw= %4ld (involuntary context switches)\0A\00"
@str = [21 x i8] c"\0AFor RUSAGE_CHILDREN\00"
@str.19 = [16 x i8] c"For RUSAGE_SELF\00"
define void @print_rusage(i32 %0) {
%2 = alloca %struct.rusage
%3 = bitcast %struct.rusage* %2 to i8*
%4 = call i64 @getrusage(i32 %0, %struct.rusage* %2)
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = call i32 @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* @errno
%9 = call i32 @exit(i32 %8)
unreachable
10: ; preds = %1
%11 = load i32, i32* @RUSAGE_SELF
%12 = icmp eq i32 %11, %0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.19, i64 0, i64 0))
br label %15
15: ; preds = %13, %10
%16 = load i32, i32* @RUSAGE_CHILDREN
%17 = icmp eq i32 %16, %0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str, i64 0, i64 0))
br label %20
20: ; preds = %18, %15
%21 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 15, i32 1
%22 = load i64, i64* %21
%23 = trunc i64 %22 to i32
%24 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 15, i32 0
%25 = load i64, i64* %24
%26 = trunc i64 %25 to i32
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.3, i64 0, i64 0), i32 %23, i32 %26)
%28 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 14, i32 1
%29 = load i64, i64* %28
%30 = trunc i64 %29 to i32
%31 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 14, i32 0
%32 = load i64, i64* %31
%33 = trunc i64 %32 to i32
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0), i32 %30, i32 %33)
%35 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 13
%36 = load i32, i32* %35
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0), i32 %36)
%38 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 12
%39 = load i32, i32* %38
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0), i32 %39)
%41 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 11
%42 = load i32, i32* %41
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0), i32 %42)
%44 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 10
%45 = load i32, i32* %44
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0), i32 %45)
%47 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 9
%48 = load i32, i32* %47
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0), i32 %48)
%50 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 8
%51 = load i32, i32* %50
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), i32 %51)
%53 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 7
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i32 %54)
%56 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 6
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.12, i64 0, i64 0), i32 %57)
%59 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 5
%60 = load i32, i32* %59
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0), i32 %60)
%62 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 4
%63 = load i32, i32* %62
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), i32 %63)
%65 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 3
%66 = load i32, i32* %65
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0), i32 %66)
%68 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 2
%69 = load i32, i32* %68
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.16, i64 0, i64 0), i32 %69)
%71 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 1
%72 = load i32, i32* %71
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.17, i64 0, i64 0), i32 %72)
%74 = getelementptr inbounds %struct.rusage, %struct.rusage* %2, i64 0, i32 0
%75 = load i32, i32* %74
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.18, i64 0, i64 0), i32 %75)
ret void
}