#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*/ abort();
int atoi(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char);
int getopt(int, char **, char *);
int /*<<< orphan*/ isprint(char);
char *optarg;
scalar_t__ opterr;
int optind;
char optopt;
int /*<<< orphan*/ printArray(int *, int);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ randomize(int *, int);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  char *nvalue = NULL;
  int index, c, nint = 0;
  opterr = 0;
  while ((c = getopt(argc, argv, "n:")) != -1)
    switch (c) {
    case 'n':
      nvalue = optarg;
      nint = atoi(nvalue);
      break;
    case '?':
      if (optopt == 'n')
        fprintf(stderr, "Option -%c requires an argument.\n", optopt);
      else if (isprint(optopt))
        fprintf(stderr, "Unknown option `-%c'.\n", optopt);
      else
        fprintf(stderr, "Unknown option character `\\x%x'.\n", optopt);
      return 1;
    default:
      abort();
    }
  for (index = optind; index < argc; index++)
    printf("Non-option argument %s\n", argv[index]);
  if (nint == 0)
    nint = 12;
  int arr[nint], count;
  for (count = 0; count < nint; count++)
    arr[count] = count + 1;
  randomize(arr, nint);
  printArray(arr, nint);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movl   $0x0,-0x24(%rbp)
mov    0x2e14(%rip),%rax
movq   $0x0,(%rax)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe3f(%rip),%rdx
call   1090 <getopt@plt>
mov    %eax,-0x20(%rbp)
cmp    $0xffffffff,%eax
je     12c5 <main+0x145>
mov    -0x20(%rbp),%eax
mov    %eax,-0x40(%rbp)
sub    $0x3f,%eax
je     1216 <main+0x96>
jmp    11e6 <main+0x66>
mov    -0x40(%rbp),%eax
sub    $0x6e,%eax
jne    12b9 <main+0x139>
jmp    11f7 <main+0x77>
mov    0x2dfa(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x24(%rbp)
jmp    12c0 <main+0x140>
mov    0x2dc3(%rip),%rax
movsbl (%rax),%eax
cmp    $0x6e,%eax
jne    124d <main+0xcd>
mov    0x2d98(%rip),%rax
mov    (%rax),%edi
lea    0xdca(%rip),%rsi
mov    0x2da0(%rip),%rax
movsbl (%rax),%edx
call   1050 <fprintf@plt>
jmp    12ad <main+0x12d>
mov    0x2d8c(%rip),%rax
movsbl (%rax),%edi
call   1060 <isprint@plt>
cmp    $0x0,%eax
je     1289 <main+0x109>
mov    0x2d5c(%rip),%rax
mov    (%rax),%edi
lea    0xdb0(%rip),%rsi
mov    0x2d64(%rip),%rax
movsbl (%rax),%edx
call   1050 <fprintf@plt>
jmp    12a8 <main+0x128>
mov    0x2d38(%rip),%rax
mov    (%rax),%edi
lea    0xda3(%rip),%rsi
mov    0x2d40(%rip),%rax
movsbl (%rax),%edx
call   1050 <fprintf@plt>
jmp    12ad <main+0x12d>
movl   $0x1,-0x4(%rbp)
jmp    1393 <main+0x213>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    11b3 <main+0x33>
mov    0x2d0c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1303 <main+0x183>
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xd6e(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12d1 <main+0x151>
cmpl   $0x0,-0x24(%rbp)
jne    1314 <main+0x194>
movl   $0xc,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x30(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    136d <main+0x1ed>
mov    -0x48(%rbp),%rax
mov    -0x3c(%rbp),%edx
add    $0x1,%edx
movslq -0x3c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1342 <main+0x1c2>
mov    -0x48(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1070 <randomize@plt>
mov    -0x48(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1080 <printArray@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %edi,%r13d
mov    0x2e25(%rip),%rax
movq   $0x0,(%rax)
xor    %r15d,%r15d
lea    0xec4(%rip),%r12
mov    0x2e45(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r13d,%edi
mov    %r14,%rsi
mov    %r12,%rdx
call   1090 <getopt@plt>
cmp    $0x6e,%eax
jne    11e0 <main+0x60>
mov    (%rbx),%rdi
call   10a0 <atoi@plt>
mov    %eax,%r15d
jmp    11c0 <main+0x40>
cmp    $0xffffffff,%eax
je     1219 <main+0x99>
cmp    $0x3f,%eax
jne    1400 <main+0x280>
mov    0x2deb(%rip),%rbx
mov    (%rbx),%al
cmp    $0x6e,%al
jne    1290 <main+0x110>
mov    0x2dc2(%rip),%rax
mov    (%rax),%edi
lea    0xe64(%rip),%rsi
mov    $0x6e,%edx
jmp    13d3 <main+0x253>
mov    0x2db8(%rip),%rax
movslq (%rax),%rax
cmp    %r13d,%eax
jge    1255 <main+0xd5>
lea    (%r14,%rax,8),%r12
sub    %eax,%r13d
xor    %ebx,%ebx
lea    0xe96(%rip),%r14
nopl   0x0(%rax,%rax,1)
mov    (%r12,%rbx,8),%rsi
mov    %r14,%rdi
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    %ebx,%r13d
jne    1240 <main+0xc0>
mov    %rsp,%r12
test   %r15d,%r15d
mov    $0xc,%r14d
cmovne %r15d,%r14d
lea    0xf(,%r14,4),%rax
and    $0xfffffffffffffff0,%rax
mov    %rsp,%rbx
sub    %rax,%rbx
mov    %rbx,%rsp
test   %r14d,%r14d
jle    13af <main+0x22f>
cmp    $0x8,%r14d
jae    12ba <main+0x13a>
xor    %eax,%eax
jmp    13a0 <main+0x220>
movsbl %al,%edi
call   1060 <isprint@plt>
mov    0x2d29(%rip),%rcx
mov    (%rcx),%edi
mov    (%rbx),%cl
movsbl %cl,%edx
test   %eax,%eax
je     13cc <main+0x24c>
lea    0xde0(%rip),%rsi
jmp    13d3 <main+0x253>
mov    %r14d,%eax
and    $0xfffffff8,%eax
lea    -0x8(%rax),%rdx
mov    %rdx,%rcx
shr    $0x3,%rcx
add    $0x1,%rcx
test   %rdx,%rdx
je     13ec <main+0x26c>
mov    %rcx,%rsi
and    $0xfffffffffffffffe,%rsi
movaps 0xd2a(%rip),%xmm1
movaps 0xd33(%rip),%xmm0
xor    %edx,%edx
pcmpeqd %xmm8,%xmm8
movdqa 0xd33(%rip),%xmm9
movdqa 0xd3b(%rip),%xmm4
movdqa 0xd43(%rip),%xmm5
movdqa 0xd4b(%rip),%xmm6
cs nopw 0x0(%rax,%rax,1)
nop
movaps %xmm0,%xmm7
shufps $0x88,%xmm1,%xmm7
movaps %xmm7,%xmm2
psubd  %xmm8,%xmm2
movaps %xmm7,%xmm3
paddd  %xmm9,%xmm3
movdqa %xmm2,(%rbx,%rdx,4)
movdqa %xmm3,0x10(%rbx,%rdx,4)
movaps %xmm7,%xmm2
paddd  %xmm4,%xmm2
paddd  %xmm5,%xmm7
movdqa %xmm2,0x20(%rbx,%rdx,4)
movdqa %xmm7,0x30(%rbx,%rdx,4)
add    $0x10,%rdx
paddq  %xmm6,%xmm0
paddq  %xmm6,%xmm1
add    $0xfffffffffffffffe,%rsi
jne    1320 <main+0x1a0>
shufps $0x88,%xmm1,%xmm0
test   $0x1,%cl
je     1392 <main+0x212>
pcmpeqd %xmm1,%xmm1
movaps %xmm0,%xmm2
psubd  %xmm1,%xmm2
paddd  0xca9(%rip),%xmm0
movdqa %xmm2,(%rbx,%rdx,4)
movdqa %xmm0,0x10(%rbx,%rdx,4)
cmp    %r14,%rax
je     13af <main+0x22f>
nopw   0x0(%rax,%rax,1)
lea    0x1(%rax),%rcx
mov    %ecx,(%rbx,%rax,4)
mov    %rcx,%rax
cmp    %rcx,%r14
jne    13a0 <main+0x220>
mov    %rbx,%rdi
mov    %r14d,%esi
call   1070 <randomize@plt>
mov    %rbx,%rdi
mov    %r14d,%esi
call   1080 <printArray@plt>
xor    %eax,%eax
mov    %r12,%rsp
jmp    13dd <main+0x25d>
lea    0xcd9(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0x1,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movaps 0xc0d(%rip),%xmm0
xor    %edx,%edx
test   $0x1,%cl
jne    1374 <main+0x1f4>
jmp    1392 <main+0x212>
xor    %eax,%eax
call   1030 <abort@plt>

LLVM IR (-O0):
@opterr = global i64 0
@.str = [3 x i8] c"n:\00"
@optarg = global i8* null
@optopt = global i8 0
@stderr = global i32 0
@.str.1 = [34 x i8] c"Option -%c requires an argument.\0A\00"
@.str.2 = [23 x i8] c"Unknown option `-%c'.\0A\00"
@.str.3 = [34 x i8] c"Unknown option character `\\x%x'.\0A\00"
@optind = global i32 0
@.str.4 = [24 x i8] c"Non-option argument %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i64
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* null, i8** %6
store i32 0, i32* %9
store i64 0, i64* @opterr
br label %13
13: ; preds = %48, %2
%14 = load i32, i32* %4
%15 = load i8**, i8*** %5
%16 = call i32 @getopt(i32 %14, i8** %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
store i32 %16, i32* %8
%17 = icmp ne i32 %16, -1
br i1 %17, label %18, label %49
18: ; preds = %13
%19 = load i32, i32* %8
switch i32 %19, label %46 [
i32 110, label %20
i32 63, label %24
]
20: ; preds = %18
%21 = load i8*, i8** @optarg
store i8* %21, i8** %6
%22 = load i8*, i8** %6
%23 = call i32 @atoi(i8* %22)
store i32 %23, i32* %9
br label %48
24: ; preds = %18
%25 = load i8, i8* @optopt
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 110
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load i32, i32* @stderr
%30 = load i8, i8* @optopt
%31 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8 signext %30)
br label %45
32: ; preds = %24
%33 = load i8, i8* @optopt
%34 = call i32 @isprint(i8 signext %33)
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %32
%37 = load i32, i32* @stderr
%38 = load i8, i8* @optopt
%39 = call i32 @fprintf(i32 %37, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i8 signext %38)
br label %44
40: ; preds = %32
%41 = load i32, i32* @stderr
%42 = load i8, i8* @optopt
%43 = call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i8 signext %42)
br label %44
44: ; preds = %40, %36
br label %45
45: ; preds = %44, %28
store i32 1, i32* %3
br label %93
46: ; preds = %18
%47 = call i32 (...) @abort()
unreachable
48: ; preds = %20
br label %13
49: ; preds = %13
%50 = load i32, i32* @optind
store i32 %50, i32* %7
br label %51
51: ; preds = %62, %49
%52 = load i32, i32* %7
%53 = load i32, i32* %4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %65
55: ; preds = %51
%56 = load i8**, i8*** %5
%57 = load i32, i32* %7
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8*, i8** %56, i64 %58
%60 = load i8*, i8** %59
%61 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), i8* %60)
br label %62
62: ; preds = %55
%63 = load i32, i32* %7
%64 = add nsw i32 %63, 1
store i32 %64, i32* %7
br label %51
65: ; preds = %51
%66 = load i32, i32* %9
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %65
store i32 12, i32* %9
br label %69
69: ; preds = %68, %65
%70 = load i32, i32* %9
%71 = zext i32 %70 to i64
%72 = call i8* @llvm.stacksave()
store i8* %72, i8** %10
%73 = alloca i32, i64 %71
store i64 %71, i64* %11
store i32 0, i32* %12
br label %74
74: ; preds = %84, %69
%75 = load i32, i32* %12
%76 = load i32, i32* %9
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %87
78: ; preds = %74
%79 = load i32, i32* %12
%80 = add nsw i32 %79, 1
%81 = load i32, i32* %12
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, i32* %73, i64 %82
store i32 %80, i32* %83
br label %84
84: ; preds = %78
%85 = load i32, i32* %12
%86 = add nsw i32 %85, 1
store i32 %86, i32* %12
br label %74
87: ; preds = %74
%88 = load i32, i32* %9
%89 = call i32 @randomize(i32* %73, i32 %88)
%90 = load i32, i32* %9
%91 = call i32 @printArray(i32* %73, i32 %90)
store i32 0, i32* %3
%92 = load i8*, i8** %10
br label %93
93: ; preds = %87, %45
%94 = load i32, i32* %3
ret i32 %94
}

LLVM IR (-O2):
@opterr = global i64 0
@.str = [3 x i8] c"n:\00"
@optarg = global i8* null
@optopt = global i8 0
@stderr = global i32 0
@.str.1 = [34 x i8] c"Option -%c requires an argument.\0A\00"
@.str.2 = [23 x i8] c"Unknown option `-%c'.\0A\00"
@.str.3 = [34 x i8] c"Unknown option character `\\x%x'.\0A\00"
@optind = global i32 0
@.str.4 = [24 x i8] c"Non-option argument %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
store i64 0, i64* @opterr
br label %3
3: ; preds = %6, %2
%4 = phi i32 [ 0, %2 ], [ %8, %6 ]
%5 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
switch i32 %5, label %24 [
i32 -1, label %26
i32 110, label %6
i32 63, label %9
]
6: ; preds = %3
%7 = load i8*, i8** @optarg
%8 = tail call i32 @atoi(i8* %7)
br label %3
9: ; preds = %3
%10 = load i8, i8* @optopt
%11 = icmp eq i8 %10, 110
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, i32* @stderr
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8 signext 110)
br label %109
15: ; preds = %9
%16 = tail call i32 @isprint(i8 signext %10)
%17 = icmp eq i32 %16, 0
%18 = load i32, i32* @stderr
%19 = load i8, i8* @optopt
br i1 %17, label %22, label %20
20: ; preds = %15
%21 = tail call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i8 signext %19)
br label %109
22: ; preds = %15
%23 = tail call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i8 signext %19)
br label %109
24: ; preds = %3
%25 = tail call i32 (...) @abort()
unreachable
26: ; preds = %3
%27 = load i32, i32* @optind
%28 = icmp slt i32 %27, %0
br i1 %28, label %29, label %39
29: ; preds = %26
%30 = sext i32 %27 to i64
br label %31
31: ; preds = %29, %31
%32 = phi i64 [ %30, %29 ], [ %36, %31 ]
%33 = getelementptr inbounds i8*, i8** %1, i64 %32
%34 = load i8*, i8** %33
%35 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0), i8* %34)
%36 = add nsw i64 %32, 1
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, %0
br i1 %38, label %39, label %31
39: ; preds = %31, %26
%40 = icmp eq i32 %4, 0
%41 = select i1 %40, i32 12, i32 %4
%42 = zext i32 %41 to i64
%43 = tail call i8* @llvm.stacksave()
%44 = alloca i32, i64 %42
%45 = icmp sgt i32 %41, 0
br i1 %45, label %46, label %106
46: ; preds = %39
%47 = icmp ult i32 %41, 8
br i1 %47, label %98, label %48
48: ; preds = %46
%49 = and i64 %42, 4294967288
%50 = add nsw i64 %49, -8
%51 = lshr exact i64 %50, 3
%52 = add nuw nsw i64 %51, 1
%53 = and i64 %52, 1
%54 = icmp eq i64 %50, 0
br i1 %54, label %85, label %55
55: ; preds = %48
%56 = and i64 %52, 4611686018427387902
br label %57
57: ; preds = %57, %55
%58 = phi i64 [ 0, %55 ], [ %79, %57 ]
%59 = phi <4 x i64> [ <i64 0, i64 1, i64 2, i64 3>, %55 ], [ %80, %57 ]
%60 = phi i64 [ 0, %55 ], [ %81, %57 ]
%61 = getelementptr inbounds i32, i32* %44, i64 %58
%62 = trunc <4 x i64> %59 to <4 x i32>
%63 = add <4 x i32> %62, <i32 1, i32 1, i32 1, i32 1>
%64 = trunc <4 x i64> %59 to <4 x i32>
%65 = add <4 x i32> %64, <i32 5, i32 5, i32 5, i32 5>
%66 = bitcast i32* %61 to <4 x i32>*
store <4 x i32> %63, <4 x i32>* %66
%67 = getelementptr inbounds i32, i32* %61, i64 4
%68 = bitcast i32* %67 to <4 x i32>*
store <4 x i32> %65, <4 x i32>* %68
%69 = or i64 %58, 8
%70 = add <4 x i64> %59, <i64 8, i64 8, i64 8, i64 8>
%71 = getelementptr inbounds i32, i32* %44, i64 %69
%72 = trunc <4 x i64> %70 to <4 x i32>
%73 = add <4 x i32> %72, <i32 1, i32 1, i32 1, i32 1>
%74 = trunc <4 x i64> %70 to <4 x i32>
%75 = add <4 x i32> %74, <i32 5, i32 5, i32 5, i32 5>
%76 = bitcast i32* %71 to <4 x i32>*
store <4 x i32> %73, <4 x i32>* %76
%77 = getelementptr inbounds i32, i32* %71, i64 4
%78 = bitcast i32* %77 to <4 x i32>*
store <4 x i32> %75, <4 x i32>* %78
%79 = add nuw i64 %58, 16
%80 = add <4 x i64> %59, <i64 16, i64 16, i64 16, i64 16>
%81 = add i64 %60, 2
%82 = icmp eq i64 %81, %56
br i1 %82, label %83, label %57
83: ; preds = %57
%84 = trunc <4 x i64> %80 to <4 x i32>
br label %85
85: ; preds = %83, %48
%86 = phi i64 [ 0, %48 ], [ %79, %83 ]
%87 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %48 ], [ %84, %83 ]
%88 = icmp eq i64 %53, 0
br i1 %88, label %96, label %89
89: ; preds = %85
%90 = getelementptr inbounds i32, i32* %44, i64 %86
%91 = add <4 x i32> %87, <i32 1, i32 1, i32 1, i32 1>
%92 = add <4 x i32> %87, <i32 5, i32 5, i32 5, i32 5>
%93 = bitcast i32* %90 to <4 x i32>*
store <4 x i32> %91, <4 x i32>* %93
%94 = getelementptr inbounds i32, i32* %90, i64 4
%95 = bitcast i32* %94 to <4 x i32>*
store <4 x i32> %92, <4 x i32>* %95
br label %96
96: ; preds = %85, %89
%97 = icmp eq i64 %49, %42
br i1 %97, label %106, label %98
98: ; preds = %46, %96
%99 = phi i64 [ 0, %46 ], [ %49, %96 ]
br label %100
100: ; preds = %98, %100
%101 = phi i64 [ %102, %100 ], [ %99, %98 ]
%102 = add nuw nsw i64 %101, 1
%103 = getelementptr inbounds i32, i32* %44, i64 %101
%104 = trunc i64 %102 to i32
store i32 %104, i32* %103
%105 = icmp eq i64 %102, %42
br i1 %105, label %106, label %100
106: ; preds = %100, %96, %39
%107 = call i32 @randomize(i32* %44, i32 %41)
%108 = call i32 @printArray(i32* %44, i32 %41)
br label %109
109: ; preds = %12, %22, %20, %106
%110 = phi i32 [ 0, %106 ], [ 1, %20 ], [ 1, %22 ], [ 1, %12 ]
ret i32 %110
}