#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 atoi(char *);
int /*<<< orphan*/ die(char *);
scalar_t__ duplicate(int *, int, int);
int /*<<< orphan*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int rand();
int /*<<< orphan*/ srand(unsigned int);
scalar_t__ strcmp(char *, char *);
scalar_t__ time(int /*<<< orphan*/ *);
int main(int argc, char *argv[]) {
  unsigned int iseed = (unsigned int)time(NULL);
  srand(iseed);
  if (argc < 4)
    die("Useage: lotto.bin/powerball.bin <lowest possible number> <highest "
        "possible number> <number of picks> {optional:number of games, "
        "default: 1}");
  char *game_name = argv[0];
  int min = atoi(argv[1]);
  if (!min)
    die("Min number not set");
  int max = atoi(argv[2]);
  if (!max)
    die("Max number not set");
  int picks = atoi(argv[3]);
  if (!picks)
    die("number of picks not set");
  int selected[picks];
  memset(selected, 0, picks * sizeof(int));
  int repeat = 1;
  if (argv[4]) {
    repeat = atoi(argv[4]);
    if (!repeat)
      die("repeat could not be set");
  }
  int i = 0;
  int j = 0;
  for (j = 0; j < repeat; j++) {
    printf("Game %*d: ", 4, j + 1);
    for (i = 0; i < picks; i++) {
      int selection = rand() % max + min;
      if (duplicate(selected, picks, selection) == 0) {
        selected[i] = selection;
        printf("%*d", 4, selected[i]);
      } else {
        i--;
      }
    }
    if (strcmp("./powerball.bin", game_name) == 0) {
      int selection = rand() % max + min;
      printf("    powerball%*d", 4, selection);
    }
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1070 <time@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
call   1050 <srand@plt>
cmpl   $0x4,-0x8(%rbp)
jge    11d0 <main+0x40>
lea    0xe35(%rip),%rdi
call   1080 <die@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jne    1201 <main+0x71>
lea    0xe90(%rip),%rdi
call   1080 <die@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
jne    1227 <main+0x97>
lea    0xe7d(%rip),%rdi
call   1080 <die@plt>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jne    124d <main+0xbd>
lea    0xe6a(%rip),%rdi
call   1080 <die@plt>
mov    -0x2c(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x38(%rbp)
lea    0xf(,%rax,4),%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rdi
sub    %rcx,%rdi
mov    %rdi,-0x60(%rbp)
mov    %rdi,%rsp
mov    %rax,-0x40(%rbp)
movslq -0x2c(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edx
xor    %esi,%esi
call   1040 <memset@plt>
movl   $0x1,-0x44(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x20(%rax)
je     12c6 <main+0x136>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x44(%rbp)
cmpl   $0x0,-0x44(%rbp)
jne    12c1 <main+0x131>
lea    0xe0e(%rip),%rdi
call   1080 <die@plt>
jmp    12c6 <main+0x136>
movl   $0x0,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    13e3 <main+0x253>
mov    -0x4c(%rbp),%edx
add    $0x1,%edx
lea    0xdee(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1386 <main+0x1f6>
mov    $0x0,%al
call   10b0 <rand@plt>
mov    -0x60(%rbp),%rdi
cltd
idivl  -0x28(%rbp)
add    -0x24(%rbp),%edx
mov    %edx,-0x50(%rbp)
mov    -0x2c(%rbp),%esi
mov    -0x50(%rbp),%edx
call   1090 <duplicate@plt>
cmp    $0x0,%rax
jne    136a <main+0x1da>
mov    -0x60(%rbp),%rax
mov    -0x50(%rbp),%edx
movslq -0x48(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xdb1(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <main+0x1e3>
mov    -0x48(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x48(%rbp)
jmp    1378 <main+0x1e8>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1307 <main+0x177>
mov    -0x20(%rbp),%rsi
lea    0xd5c(%rip),%rdi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    13c7 <main+0x237>
mov    $0x0,%al
call   10b0 <rand@plt>
cltd
idivl  -0x28(%rbp)
add    -0x24(%rbp),%edx
mov    %edx,-0x54(%rbp)
mov    -0x54(%rbp),%edx
lea    0xd42(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12db <main+0x14b>
movl   $0x0,-0x4(%rbp)
mov    -0x38(%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
sub    $0x18,%rsp
mov    %rsi,%r14
mov    %edi,%ebx
xor    %edi,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
cmp    $0x3,%ebx
jg     11d5 <main+0x35>
lea    0xe30(%rip),%rdi
call   1090 <die@plt>
mov    (%r14),%rax
mov    %rax,-0x40(%rbp)
mov    0x8(%r14),%rdi
call   10b0 <atoi@plt>
mov    %eax,-0x30(%rbp)
test   %eax,%eax
jne    11f8 <main+0x58>
lea    0xe99(%rip),%rdi
call   1090 <die@plt>
mov    0x10(%r14),%rdi
call   10b0 <atoi@plt>
mov    %eax,%r12d
test   %eax,%eax
jne    1214 <main+0x74>
lea    0xe90(%rip),%rdi
call   1090 <die@plt>
mov    0x18(%r14),%rdi
call   10b0 <atoi@plt>
mov    %eax,%ebx
test   %eax,%eax
jne    122f <main+0x8f>
lea    0xe88(%rip),%rdi
call   1090 <die@plt>
mov    %ebx,%eax
mov    %rsp,%r13
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r13
mov    %r13,%rsp
lea    0x0(,%rbx,4),%edx
mov    %r13,%rdi
xor    %esi,%esi
call   1050 <memset@plt>
mov    0x20(%r14),%rdi
test   %rdi,%rdi
je     1277 <main+0xd7>
call   10b0 <atoi@plt>
mov    %eax,-0x2c(%rbp)
test   %eax,%eax
je     1376 <main+0x1d6>
jg     127e <main+0xde>
jmp    1382 <main+0x1e2>
movl   $0x1,-0x2c(%rbp)
xor    %edx,%edx
jmp    12bf <main+0x11f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0xe56(%rip),%rdi
mov    -0x40(%rbp),%rsi
call   1070 <strcmp@plt>
test   %rax,%rax
je     1350 <main+0x1b0>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x34(%rbp),%edx
cmp    -0x2c(%rbp),%edx
je     1382 <main+0x1e2>
add    $0x1,%edx
lea    0xe19(%rip),%rdi
mov    $0x4,%esi
mov    %edx,-0x34(%rbp)
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebx,%ebx
jle    1290 <main+0xf0>
xor    %r15d,%r15d
jmp    12fd <main+0x15d>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0xffffffff,%r15d
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    1290 <main+0xf0>
xor    %eax,%eax
call   10c0 <rand@plt>
cltd
idiv   %r12d
mov    %edx,%r14d
add    -0x30(%rbp),%r14d
mov    %r13,%rdi
mov    %ebx,%esi
mov    %r14d,%edx
call   10a0 <duplicate@plt>
test   %rax,%rax
jne    12f0 <main+0x150>
movslq %r15d,%rax
mov    %r14d,0x0(%r13,%rax,4)
lea    0xdda(%rip),%rdi
mov    $0x4,%esi
mov    %r14d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12f4 <main+0x154>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   10c0 <rand@plt>
cltd
idiv   %r12d
add    -0x30(%rbp),%edx
lea    0xd98(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12a9 <main+0x109>
lea    0xd4d(%rip),%rdi
call   1090 <die@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [140 x i8] c"Useage: lotto.bin/powerball.bin <lowest possible number> <highest possible number> <number of picks> {optional:number of games, default: 1}\00"
@.str.1 = [19 x i8] c"Min number not set\00"
@.str.2 = [19 x i8] c"Max number not set\00"
@.str.3 = [24 x i8] c"number of picks not set\00"
@.str.4 = [24 x i8] c"repeat could not be set\00"
@.str.5 = [11 x i8] c"Game %*d: \00"
@.str.6 = [4 x i8] c"%*d\00"
@.str.7 = [16 x i8] c"./powerball.bin\00"
@.str.8 = [17 x i8] c" powerball%*d\00"
@.str.9 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i8*
%12 = alloca i64
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%18 = call i64 @time(i32* null)
%19 = trunc i64 %18 to i32
store i32 %19, i32* %6
%20 = load i32, i32* %6
%21 = call i32 @srand(i32 %20)
%22 = load i32, i32* %4
%23 = icmp slt i32 %22, 4
br i1 %23, label %24, label %26
24: ; preds = %2
%25 = call i32 @die(i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str, i64 0, i64 0))
br label %26
26: ; preds = %24, %2
%27 = load i8**, i8*** %5
%28 = getelementptr inbounds i8*, i8** %27, i64 0
%29 = load i8*, i8** %28
store i8* %29, i8** %7
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 1
%32 = load i8*, i8** %31
%33 = call i32 @atoi(i8* %32)
store i32 %33, i32* %8
%34 = load i32, i32* %8
%35 = icmp ne i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %26
%37 = call i32 @die(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0))
br label %38
38: ; preds = %36, %26
%39 = load i8**, i8*** %5
%40 = getelementptr inbounds i8*, i8** %39, i64 2
%41 = load i8*, i8** %40
%42 = call i32 @atoi(i8* %41)
store i32 %42, i32* %9
%43 = load i32, i32* %9
%44 = icmp ne i32 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %38
%46 = call i32 @die(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %47
47: ; preds = %45, %38
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 3
%50 = load i8*, i8** %49
%51 = call i32 @atoi(i8* %50)
store i32 %51, i32* %10
%52 = load i32, i32* %10
%53 = icmp ne i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %47
%55 = call i32 @die(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
br label %56
56: ; preds = %54, %47
%57 = load i32, i32* %10
%58 = zext i32 %57 to i64
%59 = call i8* @llvm.stacksave()
store i8* %59, i8** %11
%60 = alloca i32, i64 %58
store i64 %58, i64* %12
%61 = load i32, i32* %10
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 4
%64 = trunc i64 %63 to i32
%65 = call i32 @memset(i32* %60, i32 0, i32 %64)
store i32 1, i32* %13
%66 = load i8**, i8*** %5
%67 = getelementptr inbounds i8*, i8** %66, i64 4
%68 = load i8*, i8** %67
%69 = icmp ne i8* %68, null
br i1 %69, label %70, label %80
70: ; preds = %56
%71 = load i8**, i8*** %5
%72 = getelementptr inbounds i8*, i8** %71, i64 4
%73 = load i8*, i8** %72
%74 = call i32 @atoi(i8* %73)
store i32 %74, i32* %13
%75 = load i32, i32* %13
%76 = icmp ne i32 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %70
%78 = call i32 @die(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %79
79: ; preds = %77, %70
br label %80
80: ; preds = %79, %56
store i32 0, i32* %14
store i32 0, i32* %15
store i32 0, i32* %15
br label %81
81: ; preds = %134, %80
%82 = load i32, i32* %15
%83 = load i32, i32* %13
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %137
85: ; preds = %81
%86 = load i32, i32* %15
%87 = add nsw i32 %86, 1
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 %87)
store i32 0, i32* %14
br label %89
89: ; preds = %117, %85
%90 = load i32, i32* %14
%91 = load i32, i32* %10
%92 = icmp slt i32 %90, %91
br i1 %92, label %93, label %120
93: ; preds = %89
%94 = call i32 (...) @rand()
%95 = load i32, i32* %9
%96 = srem i32 %94, %95
%97 = load i32, i32* %8
%98 = add nsw i32 %96, %97
store i32 %98, i32* %16
%99 = load i32, i32* %10
%100 = load i32, i32* %16
%101 = call i64 @duplicate(i32* %60, i32 %99, i32 %100)
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %113
103: ; preds = %93
%104 = load i32, i32* %16
%105 = load i32, i32* %14
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, i32* %60, i64 %106
store i32 %104, i32* %107
%108 = load i32, i32* %14
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, i32* %60, i64 %109
%111 = load i32, i32* %110
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 4, i32 %111)
br label %116
113: ; preds = %93
%114 = load i32, i32* %14
%115 = add nsw i32 %114, -1
store i32 %115, i32* %14
br label %116
116: ; preds = %113, %103
br label %117
117: ; preds = %116
%118 = load i32, i32* %14
%119 = add nsw i32 %118, 1
store i32 %119, i32* %14
br label %89
120: ; preds = %89
%121 = load i8*, i8** %7
%122 = call i64 @strcmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i8* %121)
%123 = icmp eq i64 %122, 0
br i1 %123, label %124, label %132
124: ; preds = %120
%125 = call i32 (...) @rand()
%126 = load i32, i32* %9
%127 = srem i32 %125, %126
%128 = load i32, i32* %8
%129 = add nsw i32 %127, %128
store i32 %129, i32* %17
%130 = load i32, i32* %17
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i32 4, i32 %130)
br label %132
132: ; preds = %124, %120
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %134
134: ; preds = %132
%135 = load i32, i32* %15
%136 = add nsw i32 %135, 1
store i32 %136, i32* %15
br label %81
137: ; preds = %81
store i32 0, i32* %3
%138 = load i8*, i8** %11
%139 = load i32, i32* %3
ret i32 %139
}

LLVM IR (-O2):
@.str = [140 x i8] c"Useage: lotto.bin/powerball.bin <lowest possible number> <highest possible number> <number of picks> {optional:number of games, default: 1}\00"
@.str.1 = [19 x i8] c"Min number not set\00"
@.str.2 = [19 x i8] c"Max number not set\00"
@.str.3 = [24 x i8] c"number of picks not set\00"
@.str.4 = [24 x i8] c"repeat could not be set\00"
@.str.5 = [11 x i8] c"Game %*d: \00"
@.str.6 = [4 x i8] c"%*d\00"
@.str.7 = [16 x i8] c"./powerball.bin\00"
@.str.8 = [17 x i8] c" powerball%*d\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = tail call i64 @time(i32* null)
%4 = trunc i64 %3 to i32
%5 = tail call i32 @srand(i32 %4)
%6 = icmp slt i32 %0, 4
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 @die(i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str, i64 0, i64 0))
br label %9
9: ; preds = %7, %2
%10 = load i8*, i8** %1
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = tail call i32 @atoi(i8* %12)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = tail call i32 @die(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0))
br label %17
17: ; preds = %15, %9
%18 = getelementptr inbounds i8*, i8** %1, i64 2
%19 = load i8*, i8** %18
%20 = tail call i32 @atoi(i8* %19)
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = tail call i32 @die(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %24
24: ; preds = %22, %17
%25 = getelementptr inbounds i8*, i8** %1, i64 3
%26 = load i8*, i8** %25
%27 = tail call i32 @atoi(i8* %26)
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = tail call i32 @die(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
br label %31
31: ; preds = %29, %24
%32 = zext i32 %27 to i64
%33 = alloca i32, i64 %32
%34 = shl i32 %27, 2
%35 = call i32 @memset(i32* %33, i32 0, i32 %34)
%36 = getelementptr inbounds i8*, i8** %1, i64 4
%37 = load i8*, i8** %36
%38 = icmp eq i8* %37, null
br i1 %38, label %46, label %39
39: ; preds = %31
%40 = call i32 @atoi(i8* %37)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 @die(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %81
44: ; preds = %39
%45 = icmp sgt i32 %40, 0
br i1 %45, label %46, label %81
46: ; preds = %31, %44
%47 = phi i32 [ %40, %44 ], [ 1, %31 ]
%48 = icmp sgt i32 %27, 0
br label %49
49: ; preds = %46, %78
%50 = phi i32 [ 0, %46 ], [ %51, %78 ]
%51 = add nuw nsw i32 %50, 1
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 %51)
br i1 %48, label %53, label %70
53: ; preds = %49, %66
%54 = phi i32 [ %68, %66 ], [ 0, %49 ]
%55 = call i32 (...) @rand()
%56 = srem i32 %55, %20
%57 = add nsw i32 %56, %13
%58 = call i64 @duplicate(i32* %33, i32 %27, i32 %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %64
60: ; preds = %53
%61 = sext i32 %54 to i64
%62 = getelementptr inbounds i32, i32* %33, i64 %61
store i32 %57, i32* %62
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 4, i32 %57)
br label %66
64: ; preds = %53
%65 = add nsw i32 %54, -1
br label %66
66: ; preds = %64, %60
%67 = phi i32 [ %54, %60 ], [ %65, %64 ]
%68 = add nsw i32 %67, 1
%69 = icmp slt i32 %68, %27
br i1 %69, label %53, label %70
70: ; preds = %66, %49
%71 = call i64 @strcmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i8* %10)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = call i32 (...) @rand()
%75 = srem i32 %74, %20
%76 = add nsw i32 %75, %13
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i32 4, i32 %76)
br label %78
78: ; preds = %73, %70
%79 = call i32 @putchar(i32 10)
%80 = icmp eq i32 %51, %47
br i1 %80, label %81, label %49
81: ; preds = %78, %42, %44
ret i32 0
}