#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 const *, char const *, char const *,
                          char const *);
size_t r4();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main(void) {
  srand(time(NULL));
  const char *starts[] = {"Experiential truth ", "The physical world ",
                          "Non-judgment ", "Quantum physics "};
  const char *middles[] = {"nurtures ", "projects onto ", "imparts reality to ",
                           "constructs with "};
  const char *qualifiers[] = {"abundance of ", "the barrier of ",
                              "self-righteous ", "potential "};
  const char *finishes[] = {"marvel.", "choices.", "creativity.", "actions."};
  printf("%s%s%s%s\n", starts[r4()], middles[r4()], qualifiers[r4()],
         finishes[r4()]);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
xor    %eax,%eax
mov    %eax,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1040 <srand@plt>
mov    0x2c3e(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0x2c3b(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0x2c38(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    0x2c35(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    0x2c32(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0x2c2f(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    0x2c2c(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0x2c29(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0x2c26(%rip),%rax
mov    %rax,-0x60(%rbp)
mov    0x2c23(%rip),%rax
mov    %rax,-0x58(%rbp)
mov    0x2c20(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0x2c1d(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0x2c1a(%rip),%rax
mov    %rax,-0x80(%rbp)
mov    0x2c17(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    0x2c14(%rip),%rax
mov    %rax,-0x70(%rbp)
mov    0x2c11(%rip),%rax
mov    %rax,-0x68(%rbp)
mov    $0x0,%al
call   1050 <r4@plt>
mov    -0x20(%rbp,%rax,8),%rax
mov    %rax,-0x98(%rbp)
mov    $0x0,%al
call   1050 <r4@plt>
mov    -0x40(%rbp,%rax,8),%rax
mov    %rax,-0x90(%rbp)
mov    $0x0,%al
call   1050 <r4@plt>
mov    -0x60(%rbp,%rax,8),%rax
mov    %rax,-0x88(%rbp)
mov    $0x0,%al
call   1050 <r4@plt>
mov    -0x98(%rbp),%rsi
mov    -0x90(%rbp),%rdx
mov    -0x88(%rbp),%rcx
mov    -0x80(%rbp,%rax,8),%r8
lea    0xe78(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1040 <srand@plt>
xor    %eax,%eax
call   1050 <r4@plt>
lea    0xf8f(%rip),%rcx
movslq (%rcx,%rax,4),%r14
add    %rcx,%r14
xor    %eax,%eax
call   1050 <r4@plt>
lea    0xf8a(%rip),%rcx
movslq (%rcx,%rax,4),%r15
add    %rcx,%r15
xor    %eax,%eax
call   1050 <r4@plt>
lea    0xf85(%rip),%rcx
movslq (%rcx,%rax,4),%rbx
add    %rcx,%rbx
xor    %eax,%eax
call   1050 <r4@plt>
lea    0xf80(%rip),%rcx
movslq (%rcx,%rax,4),%r8
add    %rcx,%r8
lea    0xf36(%rip),%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [20 x i8] c"Experiential truth \00"
@.str.1 = [20 x i8] c"The physical world \00"
@.str.2 = [14 x i8] c"Non-judgment \00"
@.str.3 = [17 x i8] c"Quantum physics \00"
@__const.main.starts = [4 x i8*] [i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i32 0, i32 0)]
@.str.4 = [10 x i8] c"nurtures \00"
@.str.5 = [15 x i8] c"projects onto \00"
@.str.6 = [20 x i8] c"imparts reality to \00"
@.str.7 = [17 x i8] c"constructs with \00"
@__const.main.middles = [4 x i8*] [i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i32 0, i32 0)]
@.str.8 = [14 x i8] c"abundance of \00"
@.str.9 = [16 x i8] c"the barrier of \00"
@.str.10 = [16 x i8] c"self-righteous \00"
@.str.11 = [11 x i8] c"potential \00"
@__const.main.qualifiers = [4 x i8*] [i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i32 0, i32 0)]
@.str.12 = [8 x i8] c"marvel.\00"
@.str.13 = [9 x i8] c"choices.\00"
@.str.14 = [12 x i8] c"creativity.\00"
@.str.15 = [9 x i8] c"actions.\00"
@__const.main.finishes = [4 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i32 0, i32 0)]
@.str.16 = [10 x i8] c"%s%s%s%s\0A\00"
define i32 @main() {
%1 = alloca [4 x i8*]
%2 = alloca [4 x i8*]
%3 = alloca [4 x i8*]
%4 = alloca [4 x i8*]
%5 = call i32 @time(i32* null)
%6 = call i32 @srand(i32 %5)
%7 = bitcast [4 x i8*]* %1 to i8*
%8 = bitcast [4 x i8*]* %2 to i8*
%9 = bitcast [4 x i8*]* %3 to i8*
%10 = bitcast [4 x i8*]* %4 to i8*
%11 = call i64 (...) @r4()
%12 = getelementptr inbounds [4 x i8*], [4 x i8*]* %1, i64 0, i64 %11
%13 = load i8*, i8** %12
%14 = call i64 (...) @r4()
%15 = getelementptr inbounds [4 x i8*], [4 x i8*]* %2, i64 0, i64 %14
%16 = load i8*, i8** %15
%17 = call i64 (...) @r4()
%18 = getelementptr inbounds [4 x i8*], [4 x i8*]* %3, i64 0, i64 %17
%19 = load i8*, i8** %18
%20 = call i64 (...) @r4()
%21 = getelementptr inbounds [4 x i8*], [4 x i8*]* %4, i64 0, i64 %20
%22 = load i8*, i8** %21
%23 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i8* %13, i8* %16, i8* %19, i8* %22)
ret i32 0
}

LLVM IR (-O2):
@.str = [20 x i8] c"Experiential truth \00"
@.str.1 = [20 x i8] c"The physical world \00"
@.str.2 = [14 x i8] c"Non-judgment \00"
@.str.3 = [17 x i8] c"Quantum physics \00"
@reltable.main = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.1 to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.2 to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.3 to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32)]
@.str.4 = [10 x i8] c"nurtures \00"
@.str.5 = [15 x i8] c"projects onto \00"
@.str.6 = [20 x i8] c"imparts reality to \00"
@.str.7 = [17 x i8] c"constructs with \00"
@reltable.main.17 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.4 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.17 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.5 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.17 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.6 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.17 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.7 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.17 to i64)) to i32)]
@.str.8 = [14 x i8] c"abundance of \00"
@.str.9 = [16 x i8] c"the barrier of \00"
@.str.10 = [16 x i8] c"self-righteous \00"
@.str.11 = [11 x i8] c"potential \00"
@reltable.main.18 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.8 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.18 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.9 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.18 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.10 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.18 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.11 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.18 to i64)) to i32)]
@.str.12 = [8 x i8] c"marvel.\00"
@.str.13 = [9 x i8] c"choices.\00"
@.str.14 = [12 x i8] c"creativity.\00"
@.str.15 = [9 x i8] c"actions.\00"
@reltable.main.19 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.12 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.19 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.13 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.19 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.14 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.19 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.15 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.19 to i64)) to i32)]
@.str.16 = [10 x i8] c"%s%s%s%s\0A\00"
define i32 @main() {
%1 = tail call i32 @time(i32* null)
%2 = tail call i32 @srand(i32 %1)
%3 = tail call i64 (...) @r4()
%4 = shl i64 %3, 2
%5 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.main to i8*), i64 %4)
%6 = tail call i64 (...) @r4()
%7 = shl i64 %6, 2
%8 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.main.17 to i8*), i64 %7)
%9 = tail call i64 (...) @r4()
%10 = shl i64 %9, 2
%11 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.main.18 to i8*), i64 %10)
%12 = tail call i64 (...) @r4()
%13 = shl i64 %12, 2
%14 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.main.19 to i8*), i64 %13)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i8* %5, i8* %8, i8* %11, i8* %14)
ret i32 0
}