#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 */
struct timespec {
  scalar_t__ tv_nsec;
  scalar_t__ tv_sec;
};

/* Variables and functions */
int /*<<< orphan*/ CLOCK_MONOTONIC;
int /*<<< orphan*/ CLOCK_MONOTONIC_RAW;
int /*<<< orphan*/ CLOCK_PROCESS_CPUTIME_ID;
int /*<<< orphan*/ CLOCK_REALTIME;
scalar_t__ clock_getres(int /*<<< orphan*/, struct timespec *);
int /*<<< orphan*/ clock_gettime(int /*<<< orphan*/, struct timespec *);
int /*<<< orphan*/ getpid();
int /*<<< orphan*/ getuid();
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, scalar_t__, scalar_t__);
void get_resolution_of_clock_gettime(void) {
  struct timespec res;
  struct timespec start;
  struct timespec end;
  if (clock_getres(CLOCK_MONOTONIC, &res) == 0) {
    printf("clock_getres: tv_sec=%ld, tv_nsec=%ld\n", res.tv_sec, res.tv_nsec);
  } else {
    perror("clock_getres != 0");
  }
  clock_gettime(CLOCK_REALTIME, &start);
  clock_gettime(CLOCK_REALTIME, &end);
  printf("CLOCK_REALTIME resolution: tv_sec=%ld, tv_nsec=%ld\n",
         end.tv_sec - start.tv_sec, end.tv_nsec - start.tv_nsec);
  clock_gettime(CLOCK_MONOTONIC, &start);
  clock_gettime(CLOCK_MONOTONIC, &end);
  printf("CLOCK_MONOTONIC resolution: tv_sec=%ld, tv_nsec=%ld\n",
         end.tv_sec - start.tv_sec, end.tv_nsec - start.tv_nsec);
  clock_gettime(CLOCK_MONOTONIC_RAW, &start);
  clock_gettime(CLOCK_MONOTONIC_RAW, &end);
  printf("CLOCK_MONOTONIC_RAW resolution: tv_sec=%ld, tv_nsec=%ld\n",
         end.tv_sec - start.tv_sec, end.tv_nsec - start.tv_nsec);
  clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &start);
  clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &end);
  printf("CLOCK_PROCESS_CPUTIME_ID resolution: tv_sec=%ld, tv_nsec=%ld\n",
         end.tv_sec - start.tv_sec, end.tv_nsec - start.tv_nsec);
  clock_gettime(CLOCK_MONOTONIC, &start);
  getpid();
  clock_gettime(CLOCK_MONOTONIC, &end);
  printf("CLOCK_MONOTONIC getpid(): tv_sec=%ld, tv_nsec=%ld\n",
         end.tv_sec - start.tv_sec, end.tv_nsec - start.tv_nsec);
  clock_gettime(CLOCK_MONOTONIC, &start);
  getuid();
  clock_gettime(CLOCK_MONOTONIC, &end);
  printf("CLOCK_MONOTONIC getuid(): tv_sec=%ld, tv_nsec=%ld\n",
         end.tv_sec - start.tv_sec, end.tv_nsec - start.tv_nsec);
}


x86 assembly (clang, -O0):
<get_resolution_of_clock_gettime>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x2e71(%rip),%rax
mov    (%rax),%edi
lea    -0x10(%rbp),%rsi
call   1070 <clock_getres@plt>
cmp    $0x0,%rax
jne    119d <get_resolution_of_clock_gettime+0x3d>
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    0xe6d(%rip),%rdi
call   1060 <printf@plt>
jmp    11a9 <get_resolution_of_clock_gettime+0x49>
lea    0xe83(%rip),%rdi
call   1080 <perror@plt>
mov    0x2e18(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    0x2e06(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x28(%rbp),%rsi
sub    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rdx
sub    -0x20(%rbp),%rdx
lea    0xe55(%rip),%rdi
call   1060 <printf@plt>
mov    0x2df0(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    0x2dde(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x28(%rbp),%rsi
sub    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rdx
sub    -0x20(%rbp),%rdx
lea    0xe49(%rip),%rdi
call   1060 <printf@plt>
mov    0x2da8(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    0x2d96(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x28(%rbp),%rsi
sub    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rdx
sub    -0x20(%rbp),%rdx
lea    0xe3e(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d78(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    0x2d66(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x28(%rbp),%rsi
sub    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rdx
sub    -0x20(%rbp),%rdx
lea    0xe37(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d30(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    $0x0,%al
call   1040 <getpid@plt>
mov    0x2d17(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x28(%rbp),%rsi
sub    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rdx
sub    -0x20(%rbp),%rdx
lea    0xe2e(%rip),%rdi
call   1060 <printf@plt>
mov    0x2ce9(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    $0x0,%al
call   1050 <getuid@plt>
mov    0x2cd0(%rip),%rax
mov    (%rax),%edi
lea    -0x30(%rbp),%rsi
call   1030 <clock_gettime@plt>
mov    -0x28(%rbp),%rsi
sub    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rdx
sub    -0x20(%rbp),%rdx
lea    0xe1a(%rip),%rdi
call   1060 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_resolution_of_clock_gettime>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    0x2e6e(%rip),%r15
mov    (%r15),%edi
lea    0x28(%rsp),%rsi
call   1070 <clock_getres@plt>
test   %rax,%rax
jne    1315 <get_resolution_of_clock_gettime+0x1b5>
mov    0x28(%rsp),%rdx
mov    0x30(%rsp),%rsi
lea    0xe67(%rip),%rdi
call   1060 <printf@plt>
mov    0x2e23(%rip),%rbx
mov    (%rbx),%edi
lea    0x18(%rsp),%r12
mov    %r12,%rsi
call   1030 <clock_gettime@plt>
mov    (%rbx),%edi
lea    0x8(%rsp),%r14
mov    %r14,%rsi
call   1030 <clock_gettime@plt>
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rsi
sub    0x20(%rsp),%rsi
sub    0x18(%rsp),%rdx
lea    0xe5b(%rip),%rdi
call   1060 <printf@plt>
mov    (%r15),%edi
mov    %r12,%rsi
call   1030 <clock_gettime@plt>
mov    (%r15),%edi
mov    %r14,%rsi
call   1030 <clock_gettime@plt>
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rsi
sub    0x20(%rsp),%rsi
sub    0x18(%rsp),%rdx
lea    0xe59(%rip),%rdi
call   1060 <printf@plt>
mov    0x2db8(%rip),%rbx
mov    (%rbx),%edi
mov    %r12,%rsi
call   1030 <clock_gettime@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
call   1030 <clock_gettime@plt>
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rsi
sub    0x20(%rsp),%rsi
sub    0x18(%rsp),%rdx
lea    0xe53(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d8d(%rip),%rbx
mov    (%rbx),%edi
mov    %r12,%rsi
call   1030 <clock_gettime@plt>
mov    (%rbx),%edi
mov    %r14,%rsi
call   1030 <clock_gettime@plt>
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rsi
sub    0x20(%rsp),%rsi
sub    0x18(%rsp),%rdx
lea    0xe51(%rip),%rdi
call   1060 <printf@plt>
mov    (%r15),%edi
mov    %r12,%rsi
call   1030 <clock_gettime@plt>
xor    %eax,%eax
call   1040 <getpid@plt>
mov    (%r15),%edi
mov    %r14,%rsi
call   1030 <clock_gettime@plt>
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rsi
sub    0x20(%rsp),%rsi
sub    0x18(%rsp),%rdx
lea    0xe52(%rip),%rdi
call   1060 <printf@plt>
mov    (%r15),%edi
mov    %r12,%rsi
call   1030 <clock_gettime@plt>
xor    %eax,%eax
call   1050 <getuid@plt>
mov    (%r15),%edi
mov    %r14,%rsi
call   1030 <clock_gettime@plt>
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rsi
sub    0x20(%rsp),%rsi
sub    0x18(%rsp),%rdx
lea    0xe48(%rip),%rdi
call   1060 <printf@plt>
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
lea    0xd0b(%rip),%rdi
call   1080 <perror@plt>
jmp    119e <get_resolution_of_clock_gettime+0x3e>

LLVM IR (-O0):
%struct.timespec = type { i64, i64 }
@CLOCK_MONOTONIC = global i32 0
@.str = [39 x i8] c"clock_getres: tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.1 = [18 x i8] c"clock_getres != 0\00"
@CLOCK_REALTIME = global i32 0
@.str.2 = [52 x i8] c"CLOCK_REALTIME resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.3 = [53 x i8] c"CLOCK_MONOTONIC resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@CLOCK_MONOTONIC_RAW = global i32 0
@.str.4 = [57 x i8] c"CLOCK_MONOTONIC_RAW resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@CLOCK_PROCESS_CPUTIME_ID = global i32 0
@.str.5 = [62 x i8] c"CLOCK_PROCESS_CPUTIME_ID resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.6 = [51 x i8] c"CLOCK_MONOTONIC getpid(): tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.7 = [51 x i8] c"CLOCK_MONOTONIC getuid(): tv_sec=%ld, tv_nsec=%ld\0A\00"
define void @get_resolution_of_clock_gettime() {
%1 = alloca %struct.timespec
%2 = alloca %struct.timespec
%3 = alloca %struct.timespec
%4 = load i32, i32* @CLOCK_MONOTONIC
%5 = call i64 @clock_getres(i32 %4, %struct.timespec* %1)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = getelementptr inbounds %struct.timespec, %struct.timespec* %1, i32 0, i32 1
%9 = load i64, i64* %8
%10 = getelementptr inbounds %struct.timespec, %struct.timespec* %1, i32 0, i32 0
%11 = load i64, i64* %10
%12 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i64 %9, i64 %11)
br label %15
13: ; preds = %0
%14 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
br label %15
15: ; preds = %13, %7
%16 = load i32, i32* @CLOCK_REALTIME
%17 = call i32 @clock_gettime(i32 %16, %struct.timespec* %2)
%18 = load i32, i32* @CLOCK_REALTIME
%19 = call i32 @clock_gettime(i32 %18, %struct.timespec* %3)
%20 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 1
%21 = load i64, i64* %20
%22 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 1
%23 = load i64, i64* %22
%24 = sub nsw i64 %21, %23
%25 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 0
%26 = load i64, i64* %25
%27 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 0
%28 = load i64, i64* %27
%29 = sub nsw i64 %26, %28
%30 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0), i64 %24, i64 %29)
%31 = load i32, i32* @CLOCK_MONOTONIC
%32 = call i32 @clock_gettime(i32 %31, %struct.timespec* %2)
%33 = load i32, i32* @CLOCK_MONOTONIC
%34 = call i32 @clock_gettime(i32 %33, %struct.timespec* %3)
%35 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 1
%36 = load i64, i64* %35
%37 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 1
%38 = load i64, i64* %37
%39 = sub nsw i64 %36, %38
%40 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 0
%41 = load i64, i64* %40
%42 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 0
%43 = load i64, i64* %42
%44 = sub nsw i64 %41, %43
%45 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0), i64 %39, i64 %44)
%46 = load i32, i32* @CLOCK_MONOTONIC_RAW
%47 = call i32 @clock_gettime(i32 %46, %struct.timespec* %2)
%48 = load i32, i32* @CLOCK_MONOTONIC_RAW
%49 = call i32 @clock_gettime(i32 %48, %struct.timespec* %3)
%50 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 1
%51 = load i64, i64* %50
%52 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 1
%53 = load i64, i64* %52
%54 = sub nsw i64 %51, %53
%55 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 0
%56 = load i64, i64* %55
%57 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 0
%58 = load i64, i64* %57
%59 = sub nsw i64 %56, %58
%60 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0), i64 %54, i64 %59)
%61 = load i32, i32* @CLOCK_PROCESS_CPUTIME_ID
%62 = call i32 @clock_gettime(i32 %61, %struct.timespec* %2)
%63 = load i32, i32* @CLOCK_PROCESS_CPUTIME_ID
%64 = call i32 @clock_gettime(i32 %63, %struct.timespec* %3)
%65 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 1
%66 = load i64, i64* %65
%67 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 1
%68 = load i64, i64* %67
%69 = sub nsw i64 %66, %68
%70 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 0
%71 = load i64, i64* %70
%72 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 0
%73 = load i64, i64* %72
%74 = sub nsw i64 %71, %73
%75 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0), i64 %69, i64 %74)
%76 = load i32, i32* @CLOCK_MONOTONIC
%77 = call i32 @clock_gettime(i32 %76, %struct.timespec* %2)
%78 = call i32 (...) @getpid()
%79 = load i32, i32* @CLOCK_MONOTONIC
%80 = call i32 @clock_gettime(i32 %79, %struct.timespec* %3)
%81 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 1
%82 = load i64, i64* %81
%83 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 1
%84 = load i64, i64* %83
%85 = sub nsw i64 %82, %84
%86 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 0
%87 = load i64, i64* %86
%88 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 0
%89 = load i64, i64* %88
%90 = sub nsw i64 %87, %89
%91 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0), i64 %85, i64 %90)
%92 = load i32, i32* @CLOCK_MONOTONIC
%93 = call i32 @clock_gettime(i32 %92, %struct.timespec* %2)
%94 = call i32 (...) @getuid()
%95 = load i32, i32* @CLOCK_MONOTONIC
%96 = call i32 @clock_gettime(i32 %95, %struct.timespec* %3)
%97 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 1
%98 = load i64, i64* %97
%99 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 1
%100 = load i64, i64* %99
%101 = sub nsw i64 %98, %100
%102 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i32 0, i32 0
%103 = load i64, i64* %102
%104 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i32 0, i32 0
%105 = load i64, i64* %104
%106 = sub nsw i64 %103, %105
%107 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0), i64 %101, i64 %106)
ret void
}

LLVM IR (-O2):
%struct.timespec = type { i64, i64 }
@CLOCK_MONOTONIC = global i32 0
@.str = [39 x i8] c"clock_getres: tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.1 = [18 x i8] c"clock_getres != 0\00"
@CLOCK_REALTIME = global i32 0
@.str.2 = [52 x i8] c"CLOCK_REALTIME resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.3 = [53 x i8] c"CLOCK_MONOTONIC resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@CLOCK_MONOTONIC_RAW = global i32 0
@.str.4 = [57 x i8] c"CLOCK_MONOTONIC_RAW resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@CLOCK_PROCESS_CPUTIME_ID = global i32 0
@.str.5 = [62 x i8] c"CLOCK_PROCESS_CPUTIME_ID resolution: tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.6 = [51 x i8] c"CLOCK_MONOTONIC getpid(): tv_sec=%ld, tv_nsec=%ld\0A\00"
@.str.7 = [51 x i8] c"CLOCK_MONOTONIC getuid(): tv_sec=%ld, tv_nsec=%ld\0A\00"
define void @get_resolution_of_clock_gettime() {
%1 = alloca %struct.timespec
%2 = alloca %struct.timespec
%3 = alloca %struct.timespec
%4 = bitcast %struct.timespec* %1 to i8*
%5 = bitcast %struct.timespec* %2 to i8*
%6 = bitcast %struct.timespec* %3 to i8*
%7 = load i32, i32* @CLOCK_MONOTONIC
%8 = call i64 @clock_getres(i32 %7, %struct.timespec* %1)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %0
%11 = getelementptr inbounds %struct.timespec, %struct.timespec* %1, i64 0, i32 1
%12 = load i64, i64* %11
%13 = getelementptr inbounds %struct.timespec, %struct.timespec* %1, i64 0, i32 0
%14 = load i64, i64* %13
%15 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i64 %12, i64 %14)
br label %18
16: ; preds = %0
%17 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
br label %18
18: ; preds = %16, %10
%19 = load i32, i32* @CLOCK_REALTIME
%20 = call i32 @clock_gettime(i32 %19, %struct.timespec* %2)
%21 = load i32, i32* @CLOCK_REALTIME
%22 = call i32 @clock_gettime(i32 %21, %struct.timespec* %3)
%23 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 1
%24 = load i64, i64* %23
%25 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i64 0, i32 1
%26 = load i64, i64* %25
%27 = sub nsw i64 %24, %26
%28 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%29 = load i64, i64* %28
%30 = getelementptr inbounds %struct.timespec, %struct.timespec* %2, i64 0, i32 0
%31 = load i64, i64* %30
%32 = sub nsw i64 %29, %31
%33 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0), i64 %27, i64 %32)
%34 = load i32, i32* @CLOCK_MONOTONIC
%35 = call i32 @clock_gettime(i32 %34, %struct.timespec* %2)
%36 = load i32, i32* @CLOCK_MONOTONIC
%37 = call i32 @clock_gettime(i32 %36, %struct.timespec* %3)
%38 = load i64, i64* %23
%39 = load i64, i64* %25
%40 = sub nsw i64 %38, %39
%41 = load i64, i64* %28
%42 = load i64, i64* %30
%43 = sub nsw i64 %41, %42
%44 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0), i64 %40, i64 %43)
%45 = load i32, i32* @CLOCK_MONOTONIC_RAW
%46 = call i32 @clock_gettime(i32 %45, %struct.timespec* %2)
%47 = load i32, i32* @CLOCK_MONOTONIC_RAW
%48 = call i32 @clock_gettime(i32 %47, %struct.timespec* %3)
%49 = load i64, i64* %23
%50 = load i64, i64* %25
%51 = sub nsw i64 %49, %50
%52 = load i64, i64* %28
%53 = load i64, i64* %30
%54 = sub nsw i64 %52, %53
%55 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0), i64 %51, i64 %54)
%56 = load i32, i32* @CLOCK_PROCESS_CPUTIME_ID
%57 = call i32 @clock_gettime(i32 %56, %struct.timespec* %2)
%58 = load i32, i32* @CLOCK_PROCESS_CPUTIME_ID
%59 = call i32 @clock_gettime(i32 %58, %struct.timespec* %3)
%60 = load i64, i64* %23
%61 = load i64, i64* %25
%62 = sub nsw i64 %60, %61
%63 = load i64, i64* %28
%64 = load i64, i64* %30
%65 = sub nsw i64 %63, %64
%66 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0), i64 %62, i64 %65)
%67 = load i32, i32* @CLOCK_MONOTONIC
%68 = call i32 @clock_gettime(i32 %67, %struct.timespec* %2)
%69 = call i32 (...) @getpid()
%70 = load i32, i32* @CLOCK_MONOTONIC
%71 = call i32 @clock_gettime(i32 %70, %struct.timespec* %3)
%72 = load i64, i64* %23
%73 = load i64, i64* %25
%74 = sub nsw i64 %72, %73
%75 = load i64, i64* %28
%76 = load i64, i64* %30
%77 = sub nsw i64 %75, %76
%78 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0), i64 %74, i64 %77)
%79 = load i32, i32* @CLOCK_MONOTONIC
%80 = call i32 @clock_gettime(i32 %79, %struct.timespec* %2)
%81 = call i32 (...) @getuid()
%82 = load i32, i32* @CLOCK_MONOTONIC
%83 = call i32 @clock_gettime(i32 %82, %struct.timespec* %3)
%84 = load i64, i64* %23
%85 = load i64, i64* %25
%86 = sub nsw i64 %84, %85
%87 = load i64, i64* %28
%88 = load i64, i64* %30
%89 = sub nsw i64 %87, %88
%90 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0), i64 %86, i64 %89)
ret void
}