#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*/ printf(char *, char *);
int /*<<< orphan*/ putchar(char);
void print_rusage_header(void) {
  printf("%9s", "label");
  printf(" %7s", "utime");
  printf(" %7s", "stime");
  printf(" %7s", "maxrss");
  printf(" %7s", "minflt");
  printf(" %7s", "majflt");
  printf(" %7s", "nswap");
  printf(" %7s", "nvcsw");
  printf(" %7s", "nivcsw");
  putchar('\n');
}


x86 assembly (clang, -O0):
<print_rusage_header>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xed2(%rip),%rsi
call   1040 <printf@plt>
lea    0xecc(%rip),%rdi
lea    0xeca(%rip),%rsi
call   1040 <printf@plt>
lea    0xeb9(%rip),%rdi
lea    0xebd(%rip),%rsi
call   1040 <printf@plt>
lea    0xea6(%rip),%rdi
lea    0xeb0(%rip),%rsi
call   1040 <printf@plt>
lea    0xe93(%rip),%rdi
lea    0xea4(%rip),%rsi
call   1040 <printf@plt>
lea    0xe80(%rip),%rdi
lea    0xe98(%rip),%rsi
call   1040 <printf@plt>
lea    0xe6d(%rip),%rdi
lea    0xe8c(%rip),%rsi
call   1040 <printf@plt>
lea    0xe5a(%rip),%rdi
lea    0xe7f(%rip),%rsi
call   1040 <printf@plt>
lea    0xe47(%rip),%rdi
lea    0xe72(%rip),%rsi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_rusage_header>:
push   %rbx
lea    0xed8(%rip),%rdi
lea    0xed5(%rip),%rsi
call   1040 <printf@plt>
lea    0xecf(%rip),%rbx
lea    0xecd(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xec4(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xebb(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xeb3(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xeab(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xea3(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xe9a(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xe91(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"%9s\00"
@.str.1 = [6 x i8] c"label\00"
@.str.2 = [5 x i8] c" %7s\00"
@.str.3 = [6 x i8] c"utime\00"
@.str.4 = [6 x i8] c"stime\00"
@.str.5 = [7 x i8] c"maxrss\00"
@.str.6 = [7 x i8] c"minflt\00"
@.str.7 = [7 x i8] c"majflt\00"
@.str.8 = [6 x i8] c"nswap\00"
@.str.9 = [6 x i8] c"nvcsw\00"
@.str.10 = [7 x i8] c"nivcsw\00"
define void @print_rusage_header() {
%1 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(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))
%3 = call i32 @printf(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.4, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%7 = call i32 @printf(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.8, i64 0, i64 0))
%8 = call i32 @printf(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.9, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%10 = call i32 @putchar(i8 signext 10)
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"%9s\00"
@.str.1 = [6 x i8] c"label\00"
@.str.2 = [5 x i8] c" %7s\00"
@.str.3 = [6 x i8] c"utime\00"
@.str.4 = [6 x i8] c"stime\00"
@.str.5 = [7 x i8] c"maxrss\00"
@.str.6 = [7 x i8] c"minflt\00"
@.str.7 = [7 x i8] c"majflt\00"
@.str.8 = [6 x i8] c"nswap\00"
@.str.9 = [6 x i8] c"nvcsw\00"
@.str.10 = [7 x i8] c"nivcsw\00"
define void @print_rusage_header() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(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))
%3 = tail call i32 @printf(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.4, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%7 = tail call i32 @printf(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.8, i64 0, i64 0))
%8 = tail call i32 @printf(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.9, i64 0, i64 0))
%9 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%10 = tail call i32 @putchar(i8 signext 10)
ret void
}