#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 EXIT_SUCCESS;
int /*<<< orphan*/ lcg_get_params(unsigned int *, unsigned int *,
                                  unsigned long *);
int /*<<< orphan*/ lcg_initialize();
unsigned int lcg_rand();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int main(int argc, char **argv) {
  printf("Starting the Better LCG without TestU01\n");
  unsigned int C[33], seed;
  unsigned long M;
  unsigned long long i;
  lcg_initialize();
  lcg_get_params(&seed, C, &M);
  unsigned long long numbers_count = 40;
  printf("M (period) = %lu seed = %u numbers: %llu\n\n", M, seed,
         numbers_count);
  puts("C values:");
  for (i = 0; i < 33; i++)
    printf("%u ", C[i]);
  puts("\n");
  printf("My lcg_rand()\n");
  unsigned int r;
  for (i = 1; i <= numbers_count; i++) {
    r = lcg_rand();
    printf("%u ", r);
  }
  printf("\n\nsaiu do laço sem encontrar o período: %llu\n\n", i);
  printf("\n\n");
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1070 <lcg_initialize@plt>
lea    -0xa0(%rbp),%rsi
lea    -0xa4(%rbp),%rdi
lea    -0xb0(%rbp),%rdx
call   1060 <lcg_get_params@plt>
movq   $0x28,-0xc0(%rbp)
mov    -0xb0(%rbp),%rsi
mov    -0xa4(%rbp),%edx
mov    -0xc0(%rbp),%rcx
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe88(%rip),%rdi
call   1030 <puts@plt>
movq   $0x0,-0xb8(%rbp)
cmpq   $0x21,-0xb8(%rbp)
21
jae    121d <main+0xcd>
mov    -0xb8(%rbp),%rax
mov    -0xa0(%rbp,%rax,4),%esi
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xb8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb8(%rbp)
jmp    11dc <main+0x8c>
lea    0xe7c(%rip),%rdi
call   1030 <puts@plt>
lea    0xe32(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movq   $0x1,-0xb8(%rbp)
mov    -0xb8(%rbp),%rax
cmp    -0xc0(%rbp),%rax
ja     128e <main+0x13e>
mov    $0x0,%al
call   1050 <lcg_rand@plt>
mov    %eax,-0xc4(%rbp)
mov    -0xc4(%rbp),%esi
lea    0xdee(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xb8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb8(%rbp)
jmp    1242 <main+0xf2>
mov    -0xb8(%rbp),%rsi
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdf5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2d28(%rip),%rax
mov    (%rax),%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0xa8,%rsp
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1070 <lcg_initialize@plt>
lea    0xc(%rsp),%rdi
lea    0x10(%rsp),%rsi
lea    0xa0(%rsp),%rdx
call   1060 <lcg_get_params@plt>
mov    0xa0(%rsp),%rsi
mov    0xc(%rsp),%edx
lea    0xe69(%rip),%rdi
mov    $0x28,%ebx
mov    $0x28,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe7c(%rip),%rdi
call   1030 <puts@plt>
mov    0x10(%rsp),%esi
lea    0xe76(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x34(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x3c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x40(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x44(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x48(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x50(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x54(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x58(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x5c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x60(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x64(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x68(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x6c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x70(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x74(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x78(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x7c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x80(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x84(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x88(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x90(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xcc9(%rip),%rdi
call   1030 <puts@plt>
lea    0xce7(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1050 <lcg_rand@plt>
mov    %r14,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0xffffffffffffffff,%rbx
jne    13b0 <main+0x260>
lea    0xc69(%rip),%rdi
mov    $0x29,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc85(%rip),%rdi
call   1030 <puts@plt>
mov    0x2bf1(%rip),%rax
mov    (%rax),%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [41 x i8] c"Starting the Better LCG without TestU01\0A\00"
@.str.1 = [43 x i8] c"M (period) = %lu seed = %u numbers: %llu\0A\0A\00"
@.str.2 = [10 x i8] c"C values:\00"
@.str.3 = [4 x i8] c"%u \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [15 x i8] c"My lcg_rand()\0A\00"
@.str.6 = [49 x i8] c"\0A\0Asaiu do la\C3\A7o sem encontrar o per\C3\ADodo: %llu\0A\0A\00"
@.str.7 = [3 x i8] c"\0A\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [33 x i32]
%7 = alloca i32
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%13 = call i32 (...) @lcg_initialize()
%14 = getelementptr inbounds [33 x i32], [33 x i32]* %6, i64 0, i64 0
%15 = call i32 @lcg_get_params(i32* %7, i32* %14, i64* %8)
store i64 40, i64* %10
%16 = load i64, i64* %8
%17 = load i32, i32* %7
%18 = load i64, i64* %10
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), i64 %16, i32 %17, i64 %18)
%20 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
store i64 0, i64* %9
br label %21
21: ; preds = %29, %2
%22 = load i64, i64* %9
%23 = icmp ult i64 %22, 33
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load i64, i64* %9
%26 = getelementptr inbounds [33 x i32], [33 x i32]* %6, i64 0, i64 %25
%27 = load i32, i32* %26
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %27)
br label %29
29: ; preds = %24
%30 = load i64, i64* %9
%31 = add i64 %30, 1
store i64 %31, i64* %9
br label %21
32: ; preds = %21
%33 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
store i64 1, i64* %9
br label %35
35: ; preds = %43, %32
%36 = load i64, i64* %9
%37 = load i64, i64* %10
%38 = icmp ule i64 %36, %37
br i1 %38, label %39, label %46
39: ; preds = %35
%40 = call i32 (...) @lcg_rand()
store i32 %40, i32* %11
%41 = load i32, i32* %11
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %41)
br label %43
43: ; preds = %39
%44 = load i64, i64* %9
%45 = add i64 %44, 1
store i64 %45, i64* %9
br label %35
46: ; preds = %35
%47 = load i64, i64* %9
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0), i64 %47)
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%50 = load i32, i32* @EXIT_SUCCESS
ret i32 %50
}

LLVM IR (-O2):
@.str.1 = [43 x i8] c"M (period) = %lu seed = %u numbers: %llu\0A\0A\00"
@.str.2 = [10 x i8] c"C values:\00"
@.str.3 = [4 x i8] c"%u \00"
@.str.6 = [49 x i8] c"\0A\0Asaiu do la\C3\A7o sem encontrar o per\C3\ADodo: %llu\0A\0A\00"
@EXIT_SUCCESS = global i32 0
@str = [40 x i8] c"Starting the Better LCG without TestU01\00"
@str.8 = [14 x i8] c"My lcg_rand()\00"
@str.9 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [33 x i32]
%4 = alloca i32
%5 = alloca i64
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str, i64 0, i64 0))
%7 = bitcast [33 x i32]* %3 to i8*
%8 = bitcast i32* %4 to i8*
%9 = bitcast i64* %5 to i8*
%10 = tail call i32 (...) @lcg_initialize()
%11 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 0
%12 = call i32 @lcg_get_params(i32* %4, i32* %11, i64* %5)
%13 = load i64, i64* %5
%14 = load i32, i32* %4
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), i64 %13, i32 %14, i64 40)
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%17 = load i32, i32* %11
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %17)
%19 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 1
%20 = load i32, i32* %19
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %20)
%22 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 2
%23 = load i32, i32* %22
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %23)
%25 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 3
%26 = load i32, i32* %25
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %26)
%28 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 4
%29 = load i32, i32* %28
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %29)
%31 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 5
%32 = load i32, i32* %31
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %32)
%34 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 6
%35 = load i32, i32* %34
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %35)
%37 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 7
%38 = load i32, i32* %37
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %38)
%40 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 8
%41 = load i32, i32* %40
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %41)
%43 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 9
%44 = load i32, i32* %43
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %44)
%46 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 10
%47 = load i32, i32* %46
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %47)
%49 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 11
%50 = load i32, i32* %49
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %50)
%52 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 12
%53 = load i32, i32* %52
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %53)
%55 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 13
%56 = load i32, i32* %55
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %56)
%58 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 14
%59 = load i32, i32* %58
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %59)
%61 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 15
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %62)
%64 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 16
%65 = load i32, i32* %64
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %65)
%67 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 17
%68 = load i32, i32* %67
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %68)
%70 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 18
%71 = load i32, i32* %70
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %71)
%73 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 19
%74 = load i32, i32* %73
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %74)
%76 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 20
%77 = load i32, i32* %76
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %77)
%79 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 21
%80 = load i32, i32* %79
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %80)
%82 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 22
%83 = load i32, i32* %82
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %83)
%85 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 23
%86 = load i32, i32* %85
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %86)
%88 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 24
%89 = load i32, i32* %88
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %89)
%91 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 25
%92 = load i32, i32* %91
%93 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %92)
%94 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 26
%95 = load i32, i32* %94
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %95)
%97 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 27
%98 = load i32, i32* %97
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %98)
%100 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 28
%101 = load i32, i32* %100
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %101)
%103 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 29
%104 = load i32, i32* %103
%105 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %104)
%106 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 30
%107 = load i32, i32* %106
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %107)
%109 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 31
%110 = load i32, i32* %109
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %110)
%112 = getelementptr inbounds [33 x i32], [33 x i32]* %3, i64 0, i64 32
%113 = load i32, i32* %112
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %113)
%115 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.9, i64 0, i64 0))
%116 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.8, i64 0, i64 0))
br label %117
117: ; preds = %2, %117
%118 = phi i64 [ 1, %2 ], [ %121, %117 ]
%119 = call i32 (...) @lcg_rand()
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %119)
%121 = add nuw nsw i64 %118, 1
%122 = icmp eq i64 %121, 41
br i1 %122, label %123, label %117
123: ; preds = %117
%124 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0), i64 41)
%125 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.9, i64 0, i64 0))
%126 = load i32, i32* @EXIT_SUCCESS
ret i32 %126
}