#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stdout;
scalar_t__ strncmp(char const *, char *, int);
scalar_t__ strstr(char const *, char *);
int main(int argc, const char *argv[]) {
  int cpp = 0;
  const char *msc_ver = "1600";
  const char *msvc_lang = 0;
  const char *stdcpp_default_new_alignment = 0;
  int i;
  for (i = 1; i < argc; ++i) {
    if (strncmp(argv[i], "--cc-define=", 12) == 0) {
      fprintf(stdout, "\n#define %s 1", argv[i] + 12);
    } else if (strncmp(argv[i], "-msc=", 5) == 0) {
      msc_ver = argv[i] + 5;
    } else if (strncmp(argv[i], "-msvc_lang=", 11) == 0) {
      msvc_lang = argv[i] + 11;
    } else if (strncmp(argv[i], "-stdcpp_default_new_alignment=", 30) == 0) {
      stdcpp_default_new_alignment = argv[i] + 30;
    } else if (strstr(argv[i], ".cpp")) {
      cpp = 1;
    }
  }
  fprintf(stdout, "\n");
  if (cpp) {
    fprintf(stdout, "#define __cplusplus 199711L\n");
  }
  fprintf(stdout, "#define _MSC_VER %s\n", msc_ver);
  if (msvc_lang) {
    fprintf(stdout, "#define _MSVC_LANG %s\n", msvc_lang);
  }
  if (stdcpp_default_new_alignment) {
    fprintf(stdout, "#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ %s\n",
            stdcpp_default_new_alignment);
  }
  fprintf(stdout, "#define __has_include(x) x\n"
                  "#define __has_include_next(x) x\n"
                  "#define _WIN32 1\n"
                  "#define __has_last(x) x");
  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)
movl   $0x0,-0x14(%rbp)
lea    0xeac(%rip),%rax
mov    %rax,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12de <main+0x1ae>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe77(%rip),%rsi
mov    $0xc,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    11ce <main+0x9e>
mov    0x2e37(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
add    $0xc,%rdx
lea    0xe50(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    12cb <main+0x19b>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe3f(%rip),%rsi
mov    $0x5,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    120e <main+0xde>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
add    $0x5,%rax
mov    %rax,-0x20(%rbp)
jmp    12c6 <main+0x196>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe05(%rip),%rsi
mov    $0xb,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    124e <main+0x11e>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
add    $0xb,%rax
mov    %rax,-0x28(%rbp)
jmp    12c1 <main+0x191>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdd1(%rip),%rsi
mov    $0x1e,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    128e <main+0x15e>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
add    $0x1e,%rax
mov    %rax,-0x30(%rbp)
jmp    12bc <main+0x18c>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdb0(%rip),%rsi
call   1050 <strstr@plt>
cmp    $0x0,%rax
je     12b7 <main+0x187>
movl   $0x1,-0x14(%rbp)
jmp    12bc <main+0x18c>
jmp    12c1 <main+0x191>
jmp    12c6 <main+0x196>
jmp    12cb <main+0x19b>
jmp    12d0 <main+0x1a0>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    116f <main+0x3f>
mov    0x2cfb(%rip),%rax
mov    (%rax),%edi
lea    0xd83(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
cmpl   $0x0,-0x14(%rbp)
je     1316 <main+0x1e6>
mov    0x2cda(%rip),%rax
mov    (%rax),%edi
lea    0xd47(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2cc3(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%rdx
lea    0xd49(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
cmpq   $0x0,-0x28(%rbp)
je     1357 <main+0x227>
mov    0x2c9d(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rdx
lea    0xd38(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
cmpq   $0x0,-0x30(%rbp)
je     137d <main+0x24d>
mov    0x2c77(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0xd29(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2c5c(%rip),%rax
mov    (%rax),%edi
lea    0xd3f(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
cmp    $0x1,%edi
jle    1259 <main+0x129>
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0xead(%rip),%rax
mov    %rax,0x10(%rsp)
mov    $0x1,%r15d
lea    0xea0(%rip),%r13
lea    0xeb4(%rip),%r14
xor    %eax,%eax
mov    %rax,(%rsp)
xor    %eax,%eax
mov    %rax,0x8(%rsp)
xor    %r12d,%r12d
jmp    11ac <main+0x7c>
xchg   %ax,%ax
mov    0x2e59(%rip),%rax
mov    (%rax),%edi
mov    (%rbx,%r15,8),%rdx
add    $0xc,%rdx
lea    0xe7a(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%r15
cmp    %r15,%rbp
je     1282 <main+0x152>
mov    (%rbx,%r15,8),%rdi
mov    %r13,%rsi
mov    $0xc,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1180 <main+0x50>
mov    (%rbx,%r15,8),%rdi
mov    %r14,%rsi
mov    $0x5,%edx
call   1030 <strncmp@plt>
mov    (%rbx,%r15,8),%rdi
test   %rax,%rax
je     1230 <main+0x100>
lea    0xe43(%rip),%rsi
mov    $0xb,%edx
call   1030 <strncmp@plt>
mov    (%rbx,%r15,8),%rdi
test   %rax,%rax
je     123e <main+0x10e>
lea    0xe35(%rip),%rsi
mov    $0x1e,%edx
call   1030 <strncmp@plt>
mov    (%rbx,%r15,8),%rdi
test   %rax,%rax
je     124c <main+0x11c>
lea    0xe3a(%rip),%rsi
call   1050 <strstr@plt>
test   %rax,%rax
mov    $0x1,%eax
cmovne %eax,%r12d
jmp    119f <main+0x6f>
nopl   (%rax)
add    $0x5,%rdi
mov    %rdi,0x10(%rsp)
jmp    119f <main+0x6f>
add    $0xb,%rdi
mov    %rdi,0x8(%rsp)
jmp    119f <main+0x6f>
add    $0x1e,%rdi
mov    %rdi,(%rsp)
jmp    119f <main+0x6f>
mov    0x2d80(%rip),%rbx
mov    (%rbx),%edi
lea    0xe08(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xdfa(%rip),%rsi
lea    0xd80(%rip),%rdx
jmp    12ef <main+0x1bf>
mov    0x2d57(%rip),%rbx
mov    (%rbx),%edi
lea    0xddf(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
test   %r12d,%r12d
je     12ae <main+0x17e>
mov    (%rbx),%edi
lea    0xdaf(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rbx),%edi
lea    0xdbc(%rip),%rsi
mov    0x10(%rsp),%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x8(%rsp),%rdx
test   %rdx,%rdx
je     12dd <main+0x1ad>
mov    (%rbx),%edi
lea    0xdb2(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%rsp),%rdx
test   %rdx,%rdx
je     12f6 <main+0x1c6>
mov    (%rbx),%edi
lea    0xdb0(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x2ce3(%rip),%rax
mov    (%rax),%edi
lea    0xdc6(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"1600\00"
@.str.1 = [13 x i8] c"--cc-define=\00"
@stdout = global i32 0
@.str.2 = [14 x i8] c"\0A#define %s 1\00"
@.str.3 = [6 x i8] c"-msc=\00"
@.str.4 = [12 x i8] c"-msvc_lang=\00"
@.str.5 = [31 x i8] c"-stdcpp_default_new_alignment=\00"
@.str.6 = [5 x i8] c".cpp\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [29 x i8] c"#define __cplusplus 199711L\0A\00"
@.str.9 = [21 x i8] c"#define _MSC_VER %s\0A\00"
@.str.10 = [23 x i8] c"#define _MSVC_LANG %s\0A\00"
@.str.11 = [45 x i8] c"#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ %s\0A\00"
@.str.12 = [100 x i8] c"#define __has_include(x) x\0A#define __has_include_next(x) x\0A#define _WIN32 1\0A#define __has_last(x) x\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 i8*
%9 = alloca i8*
%10 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %7
store i8* null, i8** %8
store i8* null, i8** %9
store i32 1, i32* %10
br label %11
11: ; preds = %91, %2
%12 = load i32, i32* %10
%13 = load i32, i32* %4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %94
15: ; preds = %11
%16 = load i8**, i8*** %5
%17 = load i32, i32* %10
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8*, i8** %16, i64 %18
%20 = load i8*, i8** %19
%21 = call i64 @strncmp(i8* %20, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 12)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %32
23: ; preds = %15
%24 = load i32, i32* @stdout
%25 = load i8**, i8*** %5
%26 = load i32, i32* %10
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8*, i8** %25, i64 %27
%29 = load i8*, i8** %28
%30 = getelementptr inbounds i8, i8* %29, i64 12
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* %30)
br label %90
32: ; preds = %15
%33 = load i8**, i8*** %5
%34 = load i32, i32* %10
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8*, i8** %33, i64 %35
%37 = load i8*, i8** %36
%38 = call i64 @strncmp(i8* %37, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 5)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %47
40: ; preds = %32
%41 = load i8**, i8*** %5
%42 = load i32, i32* %10
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8*, i8** %41, i64 %43
%45 = load i8*, i8** %44
%46 = getelementptr inbounds i8, i8* %45, i64 5
store i8* %46, i8** %7
br label %89
47: ; preds = %32
%48 = load i8**, i8*** %5
%49 = load i32, i32* %10
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8*, i8** %48, i64 %50
%52 = load i8*, i8** %51
%53 = call i64 @strncmp(i8* %52, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 11)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %47
%56 = load i8**, i8*** %5
%57 = load i32, i32* %10
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8*, i8** %56, i64 %58
%60 = load i8*, i8** %59
%61 = getelementptr inbounds i8, i8* %60, i64 11
store i8* %61, i8** %8
br label %88
62: ; preds = %47
%63 = load i8**, i8*** %5
%64 = load i32, i32* %10
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8*, i8** %63, i64 %65
%67 = load i8*, i8** %66
%68 = call i64 @strncmp(i8* %67, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i32 30)
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %77
70: ; preds = %62
%71 = load i8**, i8*** %5
%72 = load i32, i32* %10
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8*, i8** %71, i64 %73
%75 = load i8*, i8** %74
%76 = getelementptr inbounds i8, i8* %75, i64 30
store i8* %76, i8** %9
br label %87
77: ; preds = %62
%78 = load i8**, i8*** %5
%79 = load i32, i32* %10
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8*, i8** %78, i64 %80
%82 = load i8*, i8** %81
%83 = call i64 @strstr(i8* %82, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %77
store i32 1, i32* %6
br label %86
86: ; preds = %85, %77
br label %87
87: ; preds = %86, %70
br label %88
88: ; preds = %87, %55
br label %89
89: ; preds = %88, %40
br label %90
90: ; preds = %89, %23
br label %91
91: ; preds = %90
%92 = load i32, i32* %10
%93 = add nsw i32 %92, 1
store i32 %93, i32* %10
br label %11
94: ; preds = %11
%95 = load i32, i32* @stdout
%96 = call i32 (i32, i8*, ...) @fprintf(i32 %95, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%97 = load i32, i32* %6
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %94
%100 = load i32, i32* @stdout
%101 = call i32 (i32, i8*, ...) @fprintf(i32 %100, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
br label %102
102: ; preds = %99, %94
%103 = load i32, i32* @stdout
%104 = load i8*, i8** %7
%105 = call i32 (i32, i8*, ...) @fprintf(i32 %103, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8* %104)
%106 = load i8*, i8** %8
%107 = icmp ne i8* %106, null
br i1 %107, label %108, label %112
108: ; preds = %102
%109 = load i32, i32* @stdout
%110 = load i8*, i8** %8
%111 = call i32 (i32, i8*, ...) @fprintf(i32 %109, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0), i8* %110)
br label %112
112: ; preds = %108, %102
%113 = load i8*, i8** %9
%114 = icmp ne i8* %113, null
br i1 %114, label %115, label %119
115: ; preds = %112
%116 = load i32, i32* @stdout
%117 = load i8*, i8** %9
%118 = call i32 (i32, i8*, ...) @fprintf(i32 %116, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0), i8* %117)
br label %119
119: ; preds = %115, %112
%120 = load i32, i32* @stdout
%121 = call i32 (i32, i8*, ...) @fprintf(i32 %120, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"1600\00"
@.str.1 = [13 x i8] c"--cc-define=\00"
@stdout = global i32 0
@.str.2 = [14 x i8] c"\0A#define %s 1\00"
@.str.3 = [6 x i8] c"-msc=\00"
@.str.4 = [12 x i8] c"-msvc_lang=\00"
@.str.5 = [31 x i8] c"-stdcpp_default_new_alignment=\00"
@.str.6 = [5 x i8] c".cpp\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [29 x i8] c"#define __cplusplus 199711L\0A\00"
@.str.9 = [21 x i8] c"#define _MSC_VER %s\0A\00"
@.str.10 = [23 x i8] c"#define _MSVC_LANG %s\0A\00"
@.str.11 = [45 x i8] c"#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ %s\0A\00"
@.str.12 = [100 x i8] c"#define __has_include(x) x\0A#define __has_include_next(x) x\0A#define _WIN32 1\0A#define __has_last(x) x\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp sgt i32 %0, 1
br i1 %3, label %9, label %4
4: ; preds = %2
%5 = load i32, i32* @stdout
%6 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %75
9: ; preds = %2
%10 = zext i32 %0 to i64
br label %11
11: ; preds = %9, %49
%12 = phi i64 [ 1, %9 ], [ %54, %49 ]
%13 = phi i8* [ null, %9 ], [ %53, %49 ]
%14 = phi i8* [ null, %9 ], [ %52, %49 ]
%15 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %9 ], [ %51, %49 ]
%16 = phi i32 [ 0, %9 ], [ %50, %49 ]
%17 = getelementptr inbounds i8*, i8** %1, i64 %12
%18 = load i8*, i8** %17
%19 = tail call i64 @strncmp(i8* %18, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 12)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %11
%22 = load i32, i32* @stdout
%23 = load i8*, i8** %17
%24 = getelementptr inbounds i8, i8* %23, i64 12
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* %24)
br label %49
26: ; preds = %11
%27 = load i8*, i8** %17
%28 = tail call i64 @strncmp(i8* %27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 5)
%29 = icmp eq i64 %28, 0
%30 = load i8*, i8** %17
br i1 %29, label %31, label %33
31: ; preds = %26
%32 = getelementptr inbounds i8, i8* %30, i64 5
br label %49
33: ; preds = %26
%34 = tail call i64 @strncmp(i8* %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 11)
%35 = icmp eq i64 %34, 0
%36 = load i8*, i8** %17
br i1 %35, label %37, label %39
37: ; preds = %33
%38 = getelementptr inbounds i8, i8* %36, i64 11
br label %49
39: ; preds = %33
%40 = tail call i64 @strncmp(i8* %36, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0), i32 30)
%41 = icmp eq i64 %40, 0
%42 = load i8*, i8** %17
br i1 %41, label %43, label %45
43: ; preds = %39
%44 = getelementptr inbounds i8, i8* %42, i64 30
br label %49
45: ; preds = %39
%46 = tail call i64 @strstr(i8* %42, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
%48 = select i1 %47, i32 %16, i32 1
br label %49
49: ; preds = %45, %21, %37, %43, %31
%50 = phi i32 [ %16, %21 ], [ %16, %31 ], [ %16, %37 ], [ %16, %43 ], [ %48, %45 ]
%51 = phi i8* [ %15, %21 ], [ %32, %31 ], [ %15, %37 ], [ %15, %43 ], [ %15, %45 ]
%52 = phi i8* [ %14, %21 ], [ %14, %31 ], [ %38, %37 ], [ %14, %43 ], [ %14, %45 ]
%53 = phi i8* [ %13, %21 ], [ %13, %31 ], [ %13, %37 ], [ %44, %43 ], [ %13, %45 ]
%54 = add nuw nsw i64 %12, 1
%55 = icmp eq i64 %54, %10
br i1 %55, label %56, label %11
56: ; preds = %49
%57 = load i32, i32* @stdout
%58 = tail call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%59 = icmp eq i32 %50, 0
br i1 %59, label %63, label %60
60: ; preds = %56
%61 = load i32, i32* @stdout
%62 = tail call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
br label %63
63: ; preds = %60, %56
%64 = load i32, i32* @stdout
%65 = tail call i32 (i32, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8* %51)
%66 = icmp eq i8* %52, null
br i1 %66, label %70, label %67
67: ; preds = %63
%68 = load i32, i32* @stdout
%69 = tail call i32 (i32, i8*, ...) @fprintf(i32 %68, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0), i8* %52)
br label %70
70: ; preds = %67, %63
%71 = icmp eq i8* %53, null
br i1 %71, label %75, label %72
72: ; preds = %70
%73 = load i32, i32* @stdout
%74 = tail call i32 (i32, i8*, ...) @fprintf(i32 %73, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0), i8* %53)
br label %75
75: ; preds = %4, %72, %70
%76 = load i32, i32* @stdout
%77 = tail call i32 (i32, i8*, ...) @fprintf(i32 %76, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}