#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*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
void CreateInitFile(const char *libName, int numConcrete, char **concrete,
                    FILE *fout) {
  int i;
  const char *prefix = "lib";
  const char *dllexp = "";
  fprintf(fout, "// Generated by vtkWrapPythonInit in VTK/Wrapping\n");
  fprintf(fout, "#include \"vtkPython.h\"\n\n");
  fprintf(fout, "#include \"vtkSystemIncludes.h\"\n");
  fprintf(fout, "#include <string.h>\n");
  fprintf(fout,
          "// Handle compiler warning messages, etc.\n"
          "#if defined( _MSC_VER ) && !defined(VTK_DISPLAY_WIN32_WARNINGS)\n"
          "#pragma warning ( disable : 4706 )\n"
          "#endif // Windows Warnings \n\n");
  for (i = 0; i < numConcrete; i++) {
    fprintf(fout, "extern  \"C\" {%sPyObject *PyVTKClass_%sNew(char *); }\n",
            dllexp, concrete[i]);
  }
  fprintf(fout, "\nstatic PyMethodDef Py%s_ClassMethods[] = {\n", libName);
  fprintf(fout, "{NULL, NULL, 0, NULL}};\n\n");
  fprintf(fout, "extern  \"C\" {%svoid init%s%s();}\n\n", dllexp, prefix,
          libName);
  fprintf(fout, "void init%s%s()\n{\n", prefix, libName);
  fprintf(fout, "  PyObject *m, *d, *c;\n\n");
  fprintf(fout, "  static const char modulename[] = \"%s%s\";\n", prefix,
          libName);
  fprintf(fout, "  m = Py_InitModule((char*)modulename, Py%s_ClassMethods);\n",
          libName);
  fprintf(fout, "  d = PyModule_GetDict(m);\n");
  fprintf(fout,
          "  if (!d) Py_FatalError((char*)\"can't get dictionary for module "
          "%s!\");\n\n",
          libName);
  for (i = 0; i < numConcrete; i++) {
    fprintf(fout, "  if ((c = PyVTKClass_%sNew((char*)modulename)))\n",
            concrete[i]);
    fprintf(fout, "    if (-1 == PyDict_SetItemString(d, (char*)\"%s\", c))\n",
            concrete[i]);
    fprintf(fout,
            "      Py_FatalError((char*)\"can't add class %s to "
            "dictionary!\");\n\n",
            concrete[i]);
  }
  fprintf(fout, "}\n\n");
}


x86 assembly (clang, -O0):
<CreateInitFile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
lea    0xed2(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xff6(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xebc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xedd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xee4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xef2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xef5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11da <CreateInitFile+0xca>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rdx
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xf6b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    119e <CreateInitFile+0x8e>
mov    -0x20(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xf7d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xf98(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x8(%rbp),%r8
lea    0xf94(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rdx
mov    -0x8(%rbp),%rcx
lea    0xf9d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xf9e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rdx
mov    -0x8(%rbp),%rcx
lea    0xf9d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xfb3(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xfdd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xfe3(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    131f <CreateInitFile+0x20f>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
lea    0xffb(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
lea    0x100f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
lea    0x1029(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12ab <CreateInitFile+0x19b>
mov    -0x20(%rbp),%rdi
lea    0xea2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CreateInitFile>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rcx,%r15
mov    %rdx,%rbx
mov    %esi,%ebp
mov    %rdi,%r14
lea    0xec4(%rip),%rdi
mov    $0x32,%esi
mov    $0x1,%edx
call   1040 <fwrite@plt>
lea    0xee1(%rip),%rdi
mov    $0x18,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xee1(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xee8(%rip),%rdi
mov    $0x14,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xee4(%rip),%rdi
mov    $0xaa,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
test   %ebp,%ebp
jle    1345 <CreateInitFile+0x225>
mov    %r14,0x10(%rsp)
mov    %ebp,0xc(%rsp)
mov    %ebp,%r14d
lea    0xf62(%rip),%r13
lea    0xf5a(%rip),%rbp
xor    %r12d,%r12d
nopl   0x0(%rax,%rax,1)
mov    (%rbx,%r12,8),%rcx
mov    %r15,%rdi
mov    %r13,%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
add    $0x1,%r12
cmp    %r12,%r14
jne    11e0 <CreateInitFile+0xc0>
lea    0xf62(%rip),%rsi
mov    %r15,%rdi
mov    0x10(%rsp),%rbp
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf76(%rip),%rdi
mov    $0x19,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xf77(%rip),%rsi
lea    0xef2(%rip),%rdx
lea    0xdbc(%rip),%r12
mov    %r15,%rdi
mov    %r12,%rcx
mov    %rbp,%r8
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf75(%rip),%rsi
mov    %r15,%rdi
mov    %r12,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf71(%rip),%rdi
mov    $0x18,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xf71(%rip),%rsi
mov    %r15,%rdi
mov    %r12,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf86(%rip),%rsi
mov    %r15,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xfae(%rip),%rdi
mov    $0x1b,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xfb1(%rip),%rsi
mov    %r15,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
cmpl   $0x0,0xc(%rsp)
jle    141f <CreateInitFile+0x2ff>
lea    0x100d(%rip),%r12
lea    0x103e(%rip),%rbp
xor    %r13d,%r13d
nopl   0x0(%rax,%rax,1)
mov    (%rbx,%r13,8),%rdx
mov    %r15,%rdi
lea    0xfbb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx,%r13,8),%rdx
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx,%r13,8),%rdx
mov    %r15,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
add    $0x1,%r13
cmp    %r13,%r14
jne    1300 <CreateInitFile+0x1e0>
jmp    141f <CreateInitFile+0x2ff>
lea    0xe1a(%rip),%rsi
mov    %r15,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xe33(%rip),%rdi
mov    $0x19,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xe34(%rip),%rsi
lea    0xdaf(%rip),%rdx
lea    0xc79(%rip),%rbx
mov    %r15,%rdi
mov    %rbx,%rcx
mov    %r14,%r8
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xe32(%rip),%rsi
mov    %r15,%rdi
mov    %rbx,%rdx
mov    %r14,%rcx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xe2e(%rip),%rdi
mov    $0x18,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xe2e(%rip),%rsi
mov    %r15,%rdi
mov    %rbx,%rdx
mov    %r14,%rcx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xe43(%rip),%rsi
mov    %r15,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xe6b(%rip),%rdi
mov    $0x1b,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1040 <fwrite@plt>
lea    0xe6e(%rip),%rsi
mov    %r15,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xda6(%rip),%rdi
mov    $0x3,%esi
mov    $0x1,%edx
mov    %r15,%rcx
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <fwrite@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"lib\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [51 x i8] c"// Generated by vtkWrapPythonInit in VTK/Wrapping\0A\00"
@.str.3 = [25 x i8] c"#include \22vtkPython.h\22\0A\0A\00"
@.str.4 = [32 x i8] c"#include \22vtkSystemIncludes.h\22\0A\00"
@.str.5 = [21 x i8] c"#include <string.h>\0A\00"
@.str.6 = [171 x i8] c"// Handle compiler warning messages, etc.\0A#if defined( _MSC_VER ) && !defined(VTK_DISPLAY_WIN32_WARNINGS)\0A#pragma warning ( disable : 4706 )\0A#endif // Windows Warnings \0A\0A\00"
@.str.7 = [54 x i8] c"extern \22C\22 {%sPyObject *PyVTKClass_%sNew(char *); }\0A\00"
@.str.8 = [45 x i8] c"\0Astatic PyMethodDef Py%s_ClassMethods[] = {\0A\00"
@.str.9 = [26 x i8] c"{NULL, NULL, 0, NULL}};\0A\0A\00"
@.str.10 = [35 x i8] c"extern \22C\22 {%svoid init%s%s();}\0A\0A\00"
@.str.11 = [19 x i8] c"void init%s%s()\0A{\0A\00"
@.str.12 = [25 x i8] c" PyObject *m, *d, *c;\0A\0A\00"
@.str.13 = [44 x i8] c" static const char modulename[] = \22%s%s\22;\0A\00"
@.str.14 = [60 x i8] c" m = Py_InitModule((char*)modulename, Py%s_ClassMethods);\0A\00"
@.str.15 = [28 x i8] c" d = PyModule_GetDict(m);\0A\00"
@.str.16 = [73 x i8] c" if (!d) Py_FatalError((char*)\22can't get dictionary for module %s!\22);\0A\0A\00"
@.str.17 = [50 x i8] c" if ((c = PyVTKClass_%sNew((char*)modulename)))\0A\00"
@.str.18 = [56 x i8] c" if (-1 == PyDict_SetItemString(d, (char*)\22%s\22, c))\0A\00"
@.str.19 = [67 x i8] c" Py_FatalError((char*)\22can't add class %s to dictionary!\22);\0A\0A\00"
@.str.20 = [4 x i8] c"}\0A\0A\00"
define void @CreateInitFile(i8* %0, i32 %1, i8** %2, i32* %3) {
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i8**
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i8*
store i8* %0, i8** %5
store i32 %1, i32* %6
store i8** %2, i8*** %7
store i32* %3, i32** %8
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8** %10
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %11
%12 = load i32*, i32** %8
%13 = call i32 (i32*, i8*, ...) @fprintf(i32* %12, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%14 = load i32*, i32** %8
%15 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%16 = load i32*, i32** %8
%17 = call i32 (i32*, i8*, ...) @fprintf(i32* %16, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
%18 = load i32*, i32** %8
%19 = call i32 (i32*, i8*, ...) @fprintf(i32* %18, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%20 = load i32*, i32** %8
%21 = call i32 (i32*, i8*, ...) @fprintf(i32* %20, i8* getelementptr inbounds ([171 x i8], [171 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %9
br label %22
22: ; preds = %35, %4
%23 = load i32, i32* %9
%24 = load i32, i32* %6
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %38
26: ; preds = %22
%27 = load i32*, i32** %8
%28 = load i8*, i8** %11
%29 = load i8**, i8*** %7
%30 = load i32, i32* %9
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8*, i8** %29, i64 %31
%33 = load i8*, i8** %32
%34 = call i32 (i32*, i8*, ...) @fprintf(i32* %27, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0), i8* %28, i8* %33)
br label %35
35: ; preds = %26
%36 = load i32, i32* %9
%37 = add nsw i32 %36, 1
store i32 %37, i32* %9
br label %22
38: ; preds = %22
%39 = load i32*, i32** %8
%40 = load i8*, i8** %5
%41 = call i32 (i32*, i8*, ...) @fprintf(i32* %39, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i8* %40)
%42 = load i32*, i32** %8
%43 = call i32 (i32*, i8*, ...) @fprintf(i32* %42, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
%44 = load i32*, i32** %8
%45 = load i8*, i8** %11
%46 = load i8*, i8** %10
%47 = load i8*, i8** %5
%48 = call i32 (i32*, i8*, ...) @fprintf(i32* %44, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* %45, i8* %46, i8* %47)
%49 = load i32*, i32** %8
%50 = load i8*, i8** %10
%51 = load i8*, i8** %5
%52 = call i32 (i32*, i8*, ...) @fprintf(i32* %49, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i8* %50, i8* %51)
%53 = load i32*, i32** %8
%54 = call i32 (i32*, i8*, ...) @fprintf(i32* %53, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0))
%55 = load i32*, i32** %8
%56 = load i8*, i8** %10
%57 = load i8*, i8** %5
%58 = call i32 (i32*, i8*, ...) @fprintf(i32* %55, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i8* %56, i8* %57)
%59 = load i32*, i32** %8
%60 = load i8*, i8** %5
%61 = call i32 (i32*, i8*, ...) @fprintf(i32* %59, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.14, i64 0, i64 0), i8* %60)
%62 = load i32*, i32** %8
%63 = call i32 (i32*, i8*, ...) @fprintf(i32* %62, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0))
%64 = load i32*, i32** %8
%65 = load i8*, i8** %5
%66 = call i32 (i32*, i8*, ...) @fprintf(i32* %64, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.16, i64 0, i64 0), i8* %65)
store i32 0, i32* %9
br label %67
67: ; preds = %93, %38
%68 = load i32, i32* %9
%69 = load i32, i32* %6
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %96
71: ; preds = %67
%72 = load i32*, i32** %8
%73 = load i8**, i8*** %7
%74 = load i32, i32* %9
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8*, i8** %73, i64 %75
%77 = load i8*, i8** %76
%78 = call i32 (i32*, i8*, ...) @fprintf(i32* %72, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.17, i64 0, i64 0), i8* %77)
%79 = load i32*, i32** %8
%80 = load i8**, i8*** %7
%81 = load i32, i32* %9
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8*, i8** %80, i64 %82
%84 = load i8*, i8** %83
%85 = call i32 (i32*, i8*, ...) @fprintf(i32* %79, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.18, i64 0, i64 0), i8* %84)
%86 = load i32*, i32** %8
%87 = load i8**, i8*** %7
%88 = load i32, i32* %9
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8*, i8** %87, i64 %89
%91 = load i8*, i8** %90
%92 = call i32 (i32*, i8*, ...) @fprintf(i32* %86, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.19, i64 0, i64 0), i8* %91)
br label %93
93: ; preds = %71
%94 = load i32, i32* %9
%95 = add nsw i32 %94, 1
store i32 %95, i32* %9
br label %67
96: ; preds = %67
%97 = load i32*, i32** %8
%98 = call i32 (i32*, i8*, ...) @fprintf(i32* %97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"lib\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [51 x i8] c"// Generated by vtkWrapPythonInit in VTK/Wrapping\0A\00"
@.str.3 = [25 x i8] c"#include \22vtkPython.h\22\0A\0A\00"
@.str.4 = [32 x i8] c"#include \22vtkSystemIncludes.h\22\0A\00"
@.str.5 = [21 x i8] c"#include <string.h>\0A\00"
@.str.6 = [171 x i8] c"// Handle compiler warning messages, etc.\0A#if defined( _MSC_VER ) && !defined(VTK_DISPLAY_WIN32_WARNINGS)\0A#pragma warning ( disable : 4706 )\0A#endif // Windows Warnings \0A\0A\00"
@.str.7 = [54 x i8] c"extern \22C\22 {%sPyObject *PyVTKClass_%sNew(char *); }\0A\00"
@.str.8 = [45 x i8] c"\0Astatic PyMethodDef Py%s_ClassMethods[] = {\0A\00"
@.str.9 = [26 x i8] c"{NULL, NULL, 0, NULL}};\0A\0A\00"
@.str.10 = [35 x i8] c"extern \22C\22 {%svoid init%s%s();}\0A\0A\00"
@.str.11 = [19 x i8] c"void init%s%s()\0A{\0A\00"
@.str.12 = [25 x i8] c" PyObject *m, *d, *c;\0A\0A\00"
@.str.13 = [44 x i8] c" static const char modulename[] = \22%s%s\22;\0A\00"
@.str.14 = [60 x i8] c" m = Py_InitModule((char*)modulename, Py%s_ClassMethods);\0A\00"
@.str.15 = [28 x i8] c" d = PyModule_GetDict(m);\0A\00"
@.str.16 = [73 x i8] c" if (!d) Py_FatalError((char*)\22can't get dictionary for module %s!\22);\0A\0A\00"
@.str.17 = [50 x i8] c" if ((c = PyVTKClass_%sNew((char*)modulename)))\0A\00"
@.str.18 = [56 x i8] c" if (-1 == PyDict_SetItemString(d, (char*)\22%s\22, c))\0A\00"
@.str.19 = [67 x i8] c" Py_FatalError((char*)\22can't add class %s to dictionary!\22);\0A\0A\00"
@.str.20 = [4 x i8] c"}\0A\0A\00"
define void @CreateInitFile(i8* %0, i32 %1, i8** nocapture %2, i32* nocapture %3) {
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0), i64 50, i64 1, i32* %3)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i64 24, i64 1, i32* %3)
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i64 31, i64 1, i32* %3)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i64 20, i64 1, i32* %3)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([171 x i8], [171 x i8]* @.str.6, i64 0, i64 0), i64 170, i64 1, i32* %3)
%10 = icmp sgt i32 %1, 0
br i1 %10, label %11, label %43
11: ; preds = %4
%12 = zext i32 %1 to i64
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 0, %11 ], [ %18, %13 ]
%15 = getelementptr inbounds i8*, i8** %2, i64 %14
%16 = load i8*, i8** %15
%17 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* %16)
%18 = add nuw nsw i64 %14, 1
%19 = icmp eq i64 %18, %12
br i1 %19, label %20, label %13
20: ; preds = %13
%21 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i8* %0)
%22 = tail call i64 @fwrite(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0), i64 25, i64 1, i32* %3)
%23 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0)
%24 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0)
%25 = tail call i64 @fwrite(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0), i64 24, i64 1, i32* %3)
%26 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0)
%27 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.14, i64 0, i64 0), i8* %0)
%28 = tail call i64 @fwrite(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i64 27, i64 1, i32* %3)
%29 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.16, i64 0, i64 0), i8* %0)
br i1 %10, label %30, label %53
30: ; preds = %20
%31 = zext i32 %1 to i64
br label %32
32: ; preds = %30, %32
%33 = phi i64 [ 0, %30 ], [ %41, %32 ]
%34 = getelementptr inbounds i8*, i8** %2, i64 %33
%35 = load i8*, i8** %34
%36 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.17, i64 0, i64 0), i8* %35)
%37 = load i8*, i8** %34
%38 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.18, i64 0, i64 0), i8* %37)
%39 = load i8*, i8** %34
%40 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.19, i64 0, i64 0), i8* %39)
%41 = add nuw nsw i64 %33, 1
%42 = icmp eq i64 %41, %31
br i1 %42, label %53, label %32
43: ; preds = %4
%44 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), i8* %0)
%45 = tail call i64 @fwrite(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0), i64 25, i64 1, i32* %3)
%46 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0)
%47 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0)
%48 = tail call i64 @fwrite(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0), i64 24, i64 1, i32* %3)
%49 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %0)
%50 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.14, i64 0, i64 0), i8* %0)
%51 = tail call i64 @fwrite(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0), i64 27, i64 1, i32* %3)
%52 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.16, i64 0, i64 0), i8* %0)
br label %53
53: ; preds = %32, %43, %20
%54 = tail call i64 @fwrite(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i64 3, i64 1, i32* %3)
ret void
}