#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 */
typedef int /*<<< orphan*/ buf;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char const *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char const *);
int fread(unsigned char *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int main(int argv, char **argc) {
  char const *file_name = "/dev/random";
  if (argv >= 2) {
    if (argv > 2 || strcmp(argc[1], "-h") == 0 ||
        strcmp(argc[1], "--help") == 0) {
      printf("Usage: cppcms_make_key [ random-device ] [>>config.txt] \n"
             "       default random device is /dev/random\n"
             "       you may specify other, for example:\n"
             "\n"
             "       cppcms_make_key /dev/urandom >>config.txt\n"
             "\n");
      return 1;
    }
    file_name = argc[1];
  }
  FILE *f = fopen(file_name, "r");
  if (!f) {
    perror("fopen");
    return 1;
  }
  unsigned char buf[16];
  if (fread(buf, 1, 16, f) != 16) {
    fprintf(stderr, "Failed to read 16 bytes from file %s\n", file_name);
    fclose(f);
    return 1;
  }
  fclose(f);
  int i;
  printf("\n"
         "# This is your PRIVATE KEY --- keep it in secret!\n"
         "# Put this line into your configuration file\n"
         "\n"
         "session.cookies_key = \"");
  for (i = 0; i < sizeof(buf); i++) {
    printf("%02x", buf[i]);
  }
  printf("\"\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe73(%rip),%rax
mov    %rax,-0x18(%rbp)
cmpl   $0x2,-0x8(%rbp)
jl     1207 <main+0x97>
cmpl   $0x2,-0x8(%rbp)
jg     11e1 <main+0x71>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe58(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     11e1 <main+0x71>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe3d(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    11fb <main+0x8b>
lea    0xe2e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    12f2 <main+0x182>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xec8(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    123e <main+0xce>
lea    0xeaf(%rip),%rdi
call   1090 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    12f2 <main+0x182>
lea    -0x30(%rbp),%rdi
mov    -0x20(%rbp),%rcx
mov    $0x1,%esi
mov    $0x10,%edx
call   1030 <fread@plt>
cmp    $0x10,%eax
je     128c <main+0x11c>
mov    0x2d7b(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rdx
lea    0xe70(%rip),%rsi
call   1070 <fprintf@plt>
mov    -0x20(%rbp),%rdi
call   1040 <fclose@plt>
movl   $0x1,-0x4(%rbp)
jmp    12f2 <main+0x182>
mov    -0x20(%rbp),%rdi
call   1040 <fclose@plt>
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x34(%rbp)
movslq -0x34(%rbp),%rax
cmp    $0x10,%rax
jae    12dd <main+0x16d>
movslq -0x34(%rbp),%rax
movzbl -0x30(%rbp,%rax,1),%esi
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12aa <main+0x13a>
lea    0xea2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
cmp    $0x2,%edi
jl     11ce <main+0x4e>
jne    1331 <main+0x1b1>
mov    %rsi,%rbx
mov    0x8(%rsi),%rdi
lea    0xe6b(%rip),%rsi
call   1070 <strcmp@plt>
test   %rax,%rax
je     1331 <main+0x1b1>
mov    0x8(%rbx),%rdi
lea    0xe55(%rip),%rsi
call   1070 <strcmp@plt>
test   %rax,%rax
je     1331 <main+0x1b1>
mov    0x8(%rbx),%rbx
jmp    11d5 <main+0x55>
lea    0xe2b(%rip),%rbx
lea    0xe3a(%rip),%rsi
mov    %rbx,%rdi
call   1090 <fopen@plt>
test   %rax,%rax
je     1371 <main+0x1f1>
mov    %rax,%rbp
mov    %rsp,%rdi
mov    $0x1,%r14d
mov    $0x1,%esi
mov    $0x10,%edx
mov    %rax,%rcx
call   1040 <fread@plt>
cmp    $0x10,%eax
jne    1345 <main+0x1c5>
mov    %rbp,%rdi
call   1050 <fclose@plt>
lea    0xe21(%rip),%rdi
xor    %r14d,%r14d
xor    %eax,%eax
call   1060 <printf@plt>
movzbl (%rsp),%esi
lea    0xe85(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x2(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x3(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x5(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x6(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x7(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x9(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xa(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xb(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xd(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xe(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xf(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd98(%rip),%rdi
call   1030 <puts@plt>
jmp    1365 <main+0x1e5>
lea    0xd8d(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%r14d
jmp    1365 <main+0x1e5>
mov    0x2c94(%rip),%rax
mov    (%rax),%edi
lea    0xcc9(%rip),%rsi
mov    %rbx,%rdx
call   1080 <fprintf@plt>
mov    %rbp,%rdi
call   1050 <fclose@plt>
mov    %r14d,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret
lea    0xca0(%rip),%rdi
call   10a0 <perror@plt>
mov    $0x1,%r14d
jmp    1365 <main+0x1e5>

LLVM IR (-O0):
@.str = [12 x i8] c"/dev/random\00"
@.str.1 = [3 x i8] c"-h\00"
@.str.2 = [7 x i8] c"--help\00"
@.str.3 = [196 x i8] c"Usage: cppcms_make_key [ random-device ] [>>config.txt] \0A default random device is /dev/random\0A you may specify other, for example:\0A\0A cppcms_make_key /dev/urandom >>config.txt\0A\0A\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [6 x i8] c"fopen\00"
@stderr = global i32 0
@.str.6 = [38 x i8] c"Failed to read 16 bytes from file %s\0A\00"
@.str.7 = [121 x i8] c"\0A# This is your PRIVATE KEY --- keep it in secret!\0A# Put this line into your configuration file\0A\0Asession.cookies_key = \22\00"
@.str.8 = [5 x i8] c"%02x\00"
@.str.9 = [4 x i8] c"\22\0A\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 [16 x i8]
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8** %6
%10 = load i32, i32* %4
%11 = icmp sge i32 %10, 2
br i1 %11, label %12, label %33
12: ; preds = %2
%13 = load i32, i32* %4
%14 = icmp sgt i32 %13, 2
br i1 %14, label %27, label %15
15: ; preds = %12
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 1
%18 = load i8*, i8** %17
%19 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %15
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
%25 = call i64 @strcmp(i8* %24, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %21, %15, %12
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([196 x i8], [196 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %3
br label %71
29: ; preds = %21
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 1
%32 = load i8*, i8** %31
store i8* %32, i8** %6
br label %33
33: ; preds = %29, %2
%34 = load i8*, i8** %6
%35 = call i32* @fopen(i8* %34, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %35, i32** %7
%36 = load i32*, i32** %7
%37 = icmp ne i32* %36, null
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
store i32 1, i32* %3
br label %71
40: ; preds = %33
%41 = getelementptr inbounds [16 x i8], [16 x i8]* %8, i64 0, i64 0
%42 = load i32*, i32** %7
%43 = call i32 @fread(i8* %41, i32 1, i32 16, i32* %42)
%44 = icmp ne i32 %43, 16
br i1 %44, label %45, label %51
45: ; preds = %40
%46 = load i32, i32* @stderr
%47 = load i8*, i8** %6
%48 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0), i8* %47)
%49 = load i32*, i32** %7
%50 = call i32 @fclose(i32* %49)
store i32 1, i32* %3
br label %71
51: ; preds = %40
%52 = load i32*, i32** %7
%53 = call i32 @fclose(i32* %52)
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([121 x i8], [121 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %9
br label %55
55: ; preds = %66, %51
%56 = load i32, i32* %9
%57 = sext i32 %56 to i64
%58 = icmp ult i64 %57, 16
br i1 %58, label %59, label %69
59: ; preds = %55
%60 = load i32, i32* %9
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [16 x i8], [16 x i8]* %8, i64 0, i64 %61
%63 = load i8, i8* %62
%64 = zext i8 %63 to i32
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %64)
br label %66
66: ; preds = %59
%67 = load i32, i32* %9
%68 = add nsw i32 %67, 1
store i32 %68, i32* %9
br label %55
69: ; preds = %55
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %3
br label %71
71: ; preds = %69, %45, %38, %27
%72 = load i32, i32* %3
ret i32 %72
}

LLVM IR (-O2):
@.str = [12 x i8] c"/dev/random\00"
@.str.1 = [3 x i8] c"-h\00"
@.str.2 = [7 x i8] c"--help\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [6 x i8] c"fopen\00"
@stderr = global i32 0
@.str.6 = [38 x i8] c"Failed to read 16 bytes from file %s\0A\00"
@.str.7 = [121 x i8] c"\0A# This is your PRIVATE KEY --- keep it in secret!\0A# Put this line into your configuration file\0A\0Asession.cookies_key = \22\00"
@.str.8 = [5 x i8] c"%02x\00"
@str = [3 x i8] c"\22\0A\00"
@str.10 = [195 x i8] c"Usage: cppcms_make_key [ random-device ] [>>config.txt] \0A default random device is /dev/random\0A you may specify other, for example:\0A\0A cppcms_make_key /dev/urandom >>config.txt\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [16 x i8]
%4 = icmp sgt i32 %0, 1
br i1 %4, label %5, label %20
5: ; preds = %2
%6 = icmp eq i32 %0, 2
br i1 %6, label %7, label %16
7: ; preds = %5
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
%10 = tail call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %7
%13 = load i8*, i8** %8
%14 = tail call i64 @strcmp(i8* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12, %7, %5
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([195 x i8], [195 x i8]* @str.10, i64 0, i64 0))
br label %103
18: ; preds = %12
%19 = load i8*, i8** %8
br label %20
20: ; preds = %18, %2
%21 = phi i8* [ %19, %18 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), %2 ]
%22 = tail call i32* @fopen(i8* %21, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%23 = icmp eq i32* %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
br label %103
26: ; preds = %20
%27 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 0
%28 = call i32 @fread(i8* %27, i32 1, i32 16, i32* %22)
%29 = icmp eq i32 %28, 16
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load i32, i32* @stderr
%32 = tail call i32 @fprintf(i32 %31, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0), i8* %21)
%33 = tail call i32 @fclose(i32* %22)
br label %101
34: ; preds = %26
%35 = tail call i32 @fclose(i32* %22)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([121 x i8], [121 x i8]* @.str.7, i64 0, i64 0))
%37 = load i8, i8* %27
%38 = zext i8 %37 to i32
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %38)
%40 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 1
%41 = load i8, i8* %40
%42 = zext i8 %41 to i32
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %42)
%44 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 2
%45 = load i8, i8* %44
%46 = zext i8 %45 to i32
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %46)
%48 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 3
%49 = load i8, i8* %48
%50 = zext i8 %49 to i32
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %50)
%52 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 4
%53 = load i8, i8* %52
%54 = zext i8 %53 to i32
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %54)
%56 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 5
%57 = load i8, i8* %56
%58 = zext i8 %57 to i32
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 6
%61 = load i8, i8* %60
%62 = zext i8 %61 to i32
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %62)
%64 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 7
%65 = load i8, i8* %64
%66 = zext i8 %65 to i32
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %66)
%68 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 8
%69 = load i8, i8* %68
%70 = zext i8 %69 to i32
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %70)
%72 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 9
%73 = load i8, i8* %72
%74 = zext i8 %73 to i32
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %74)
%76 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 10
%77 = load i8, i8* %76
%78 = zext i8 %77 to i32
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %78)
%80 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 11
%81 = load i8, i8* %80
%82 = zext i8 %81 to i32
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %82)
%84 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 12
%85 = load i8, i8* %84
%86 = zext i8 %85 to i32
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %86)
%88 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 13
%89 = load i8, i8* %88
%90 = zext i8 %89 to i32
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %90)
%92 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 14
%93 = load i8, i8* %92
%94 = zext i8 %93 to i32
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %94)
%96 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 15
%97 = load i8, i8* %96
%98 = zext i8 %97 to i32
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %98)
%100 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
br label %101
101: ; preds = %34, %30
%102 = phi i32 [ 1, %30 ], [ 0, %34 ]
br label %103
103: ; preds = %24, %101, %16
%104 = phi i32 [ 1, %16 ], [ %102, %101 ], [ 1, %24 ]
ret i32 %104
}