#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 output_temp(FILE *fp, int i, unsigned int aType, const char *Id,
                 int aCount) {
  if (aType == 0x25) {
    fprintf(fp, "  vtkJavaVoidFuncArg *temp%i = new vtkJavaVoidFuncArg;\n", i);
    return;
  }
  if ((aType & 0x0000FFFF) == 0x02) {
    return;
  }
  if ((i == 20) && ((aType & 0x0000FF00) != 0) && ((aType & 0x00010000) != 0)) {
    fprintf(fp, "  const ");
  } else {
    fprintf(fp, "  ");
  }
  if ((aType & 0x00000010) != 0) {
    fprintf(fp, " unsigned ");
  }
  switch ((aType & 0x000000FF) & ~0x00000010) {
  case 0x01:
    fprintf(fp, "float  ");
    break;
  case 0x07:
    fprintf(fp, "double ");
    break;
  case 0x04:
    fprintf(fp, "int    ");
    break;
  case 0x05:
    fprintf(fp, "short  ");
    break;
  case 0x06:
    fprintf(fp, "long   ");
    break;
  case 0x02:
    fprintf(fp, "void   ");
    break;
  case 0x03:
    fprintf(fp, "char   ");
    break;
  case 0x0A:
    fprintf(fp, "vtkIdType ");
    break;
  case 0x0B:
    fprintf(fp, "long long ");
    break;
  case 0x0C:
    fprintf(fp, "__int64 ");
    break;
  case 0x0D:
    fprintf(fp, "signed char ");
    break;
  case 0x0E:
    fprintf(fp, "bool ");
    break;
  case 0x09:
    fprintf(fp, "%s ", Id);
    break;
  case 0x21:
    fprintf(fp, "%s ", Id);
    break;
  case 0x08:
    return;
  }
  switch (aType & 0x0000FF00) {
  case 0x0100:
    if (i == 20) {
      fprintf(fp, " *");
    }
    break;
  case 0x0200:
    if ((i == 20) || ((aType & 0x0000FFFF) == 0x209) ||
        ((aType & 0x0000FFFF) == 0x203)) {
      fprintf(fp, " *");
    }
    break;
  default:
    fprintf(fp, "  ");
    break;
  }
  fprintf(fp, "temp%i", i);
  if (((aType & 0x0000FF00) == 0x0200) && (i != 20) &&
      ((aType & 0x0000FFFF) != 0x209) && ((aType & 0x0000FFFF) != 0x203)) {
    fprintf(fp, "[%i]", aCount);
    fprintf(fp, ";\n  void *tempArray%i", i);
  }
  fprintf(fp, ";\n");
}


x86 assembly (clang, -O0):
<output_temp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
cmpl   $0x25,-0x10(%rbp)
jne    114e <output_temp+0x3e>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xf42(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1492 <output_temp+0x382>
mov    -0x10(%rbp),%eax
and    $0xffff,%eax
cmp    $0x2,%eax
jne    1164 <output_temp+0x54>
jmp    1492 <output_temp+0x382>
cmpl   $0x14,-0xc(%rbp)
jne    11a7 <output_temp+0x97>
mov    -0x10(%rbp),%eax
and    $0xff00,%eax
cmp    $0x0,%eax
je     11a7 <output_temp+0x97>
mov    -0x10(%rbp),%eax
and    $0x10000,%eax
cmp    $0x0,%eax
je     11a7 <output_temp+0x97>
mov    -0x8(%rbp),%rdi
lea    0xf21(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    11b9 <output_temp+0xa9>
mov    -0x8(%rbp),%rdi
lea    0xf33(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     11da <output_temp+0xca>
mov    -0x8(%rbp),%rdi
lea    0xef2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%eax
and    $0xef,%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x20,%eax
ja     1357 <output_temp+0x247>
mov    -0x28(%rbp),%rax
lea    0xe01(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x8(%rbp),%rdi
lea    0xebd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xeae(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe9f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe90(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe81(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe72(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe63(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe54(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe48(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe3c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe2e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
lea    0xe24(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xe0f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xdf4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1357 <output_temp+0x247>
jmp    1492 <output_temp+0x382>
movzbl -0xf(%rbp),%eax
shl    $0x8,%eax
mov    %eax,-0x2c(%rbp)
sub    $0x100,%eax
je     1384 <output_temp+0x274>
jmp    1371 <output_temp+0x261>
mov    -0x2c(%rbp),%eax
sub    $0x200,%eax
je     13a5 <output_temp+0x295>
jmp    13ec <output_temp+0x2dc>
cmpl   $0x14,-0xc(%rbp)
jne    13a0 <output_temp+0x290>
mov    -0x8(%rbp),%rdi
lea    0xda5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    13fe <output_temp+0x2ee>
cmpl   $0x14,-0xc(%rbp)
je     13d5 <output_temp+0x2c5>
mov    -0x10(%rbp),%eax
and    $0xffff,%eax
cmp    $0x209,%eax
je     13d5 <output_temp+0x2c5>
mov    -0x10(%rbp),%eax
and    $0xffff,%eax
cmp    $0x203,%eax
jne    13e7 <output_temp+0x2d7>
mov    -0x8(%rbp),%rdi
lea    0xd5e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    13fe <output_temp+0x2ee>
mov    -0x8(%rbp),%rdi
lea    0xcee(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xd35(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%eax
and    $0xff00,%eax
cmp    $0x200,%eax
jne    1480 <output_temp+0x370>
cmpl   $0x14,-0xc(%rbp)
je     1480 <output_temp+0x370>
mov    -0x10(%rbp),%eax
and    $0xffff,%eax
cmp    $0x209,%eax
je     1480 <output_temp+0x370>
mov    -0x10(%rbp),%eax
and    $0xffff,%eax
cmp    $0x203,%eax
je     1480 <output_temp+0x370>
mov    -0x8(%rbp),%rdi
mov    -0x1c(%rbp),%edx
lea    0xce4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xcd4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xc2e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<output_temp>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %esi,%r15d
mov    %rdi,%r12
cmp    $0x25,%edx
jne    1158 <output_temp+0x38>
lea    0xf47(%rip),%rsi
mov    %r12,%rdi
mov    %r15d,%edx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fprintf@plt>
mov    %edx,%ebp
cmp    $0x2,%bp
jne    116f <output_temp+0x4f>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r8d,%r14d
mov    %rcx,%rbx
mov    %ebp,%r13d
and    $0xff00,%r13d
test   $0x10000,%ebp
je     11a0 <output_temp+0x80>
test   %r13d,%r13d
je     11a0 <output_temp+0x80>
cmp    $0x14,%r15d
jne    11a0 <output_temp+0x80>
lea    0xf23(%rip),%rdi
mov    $0x8,%esi
jmp    11ac <output_temp+0x8c>
lea    0xf3e(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   1040 <fwrite@plt>
test   $0x10,%bpl
je     11d8 <output_temp+0xb8>
lea    0xeff(%rip),%rdi
mov    $0xa,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   1040 <fwrite@plt>
mov    %ebp,%eax
and    $0xef,%al
add    $0xff,%al
cmp    $0x20,%al
ja     125a <output_temp+0x13a>
movzbl %al,%eax
lea    0xe14(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf3e(%rip),%rsi
mov    %r12,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
jmp    125a <output_temp+0x13a>
lea    0xebe(%rip),%rdi
jmp    1248 <output_temp+0x128>
lea    0xedd(%rip),%rdi
jmp    1248 <output_temp+0x128>
lea    0xedc(%rip),%rdi
jmp    1248 <output_temp+0x128>
lea    0xeb3(%rip),%rdi
jmp    1248 <output_temp+0x128>
lea    0xeb2(%rip),%rdi
jmp    1248 <output_temp+0x128>
lea    0xeb1(%rip),%rdi
jmp    1248 <output_temp+0x128>
lea    0xe90(%rip),%rdi
mov    $0x7,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   1040 <fwrite@plt>
cmp    $0x200,%r13d
je     1299 <output_temp+0x179>
movzwl %r13w,%eax
cmp    $0x100,%eax
jne    12b9 <output_temp+0x199>
cmp    $0x14,%r15d
jne    12d2 <output_temp+0x1b2>
lea    0xec3(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   1040 <fwrite@plt>
lea    0xead(%rip),%rsi
jmp    1321 <output_temp+0x201>
lea    0xe9e(%rip),%rdi
cmp    $0x14,%r15d
je     12c0 <output_temp+0x1a0>
movzwl %bp,%eax
cmp    $0x209,%eax
je     12c0 <output_temp+0x1a0>
cmp    $0x203,%eax
je     12c0 <output_temp+0x1a0>
jmp    12d2 <output_temp+0x1b2>
lea    0xe25(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   1040 <fwrite@plt>
lea    0xe68(%rip),%rsi
mov    %r12,%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
cmp    $0x14,%r15d
je     132e <output_temp+0x20e>
cmp    $0x200,%r13d
jne    132e <output_temp+0x20e>
movzwl %bp,%eax
cmp    $0x203,%eax
je     132e <output_temp+0x20e>
cmp    $0x209,%eax
je     132e <output_temp+0x20e>
lea    0xe3b(%rip),%rsi
mov    %r12,%rdi
mov    %r14d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xe2c(%rip),%rsi
mov    %r12,%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xd84(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %r12,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <fwrite@plt>
lea    0xdac(%rip),%rdi
mov    $0xa,%esi
jmp    124d <output_temp+0x12d>
lea    0xda6(%rip),%rdi
mov    $0xa,%esi
jmp    124d <output_temp+0x12d>
lea    0xda0(%rip),%rdi
mov    $0x8,%esi
jmp    124d <output_temp+0x12d>
lea    0xd98(%rip),%rdi
mov    $0xc,%esi
jmp    124d <output_temp+0x12d>
lea    0xd94(%rip),%rdi
mov    $0x5,%esi
jmp    124d <output_temp+0x12d>

LLVM IR (-O0):
@.str = [56 x i8] c" vtkJavaVoidFuncArg *temp%i = new vtkJavaVoidFuncArg;\0A\00"
@.str.1 = [9 x i8] c" const \00"
@.str.2 = [3 x i8] c" \00"
@.str.3 = [11 x i8] c" unsigned \00"
@.str.4 = [8 x i8] c"float \00"
@.str.5 = [8 x i8] c"double \00"
@.str.6 = [8 x i8] c"int \00"
@.str.7 = [8 x i8] c"short \00"
@.str.8 = [8 x i8] c"long \00"
@.str.9 = [8 x i8] c"void \00"
@.str.10 = [8 x i8] c"char \00"
@.str.11 = [11 x i8] c"vtkIdType \00"
@.str.12 = [11 x i8] c"long long \00"
@.str.13 = [9 x i8] c"__int64 \00"
@.str.14 = [13 x i8] c"signed char \00"
@.str.15 = [6 x i8] c"bool \00"
@.str.16 = [4 x i8] c"%s \00"
@.str.17 = [3 x i8] c" *\00"
@.str.18 = [7 x i8] c"temp%i\00"
@.str.19 = [5 x i8] c"[%i]\00"
@.str.20 = [22 x i8] c";\0A void *tempArray%i\00"
@.str.21 = [3 x i8] c";\0A\00"
define void @output_temp(i32* %0, i32 %1, i32 %2, i8* %3, i32 %4) {
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i32
store i32* %0, i32** %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i8* %3, i8** %9
store i32 %4, i32* %10
%11 = load i32, i32* %8
%12 = icmp eq i32 %11, 37
br i1 %12, label %13, label %17
13: ; preds = %5
%14 = load i32*, i32** %6
%15 = load i32, i32* %7
%16 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %15)
br label %151
17: ; preds = %5
%18 = load i32, i32* %8
%19 = and i32 %18, 65535
%20 = icmp eq i32 %19, 2
br i1 %20, label %21, label %22
21: ; preds = %17
br label %151
22: ; preds = %17
%23 = load i32, i32* %7
%24 = icmp eq i32 %23, 20
br i1 %24, label %25, label %36
25: ; preds = %22
%26 = load i32, i32* %8
%27 = and i32 %26, 65280
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %25
%30 = load i32, i32* %8
%31 = and i32 %30, 65536
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32*, i32** %6
%35 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
br label %39
36: ; preds = %29, %25, %22
%37 = load i32*, i32** %6
%38 = call i32 (i32*, i8*, ...) @fprintf(i32* %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %39
39: ; preds = %36, %33
%40 = load i32, i32* %8
%41 = and i32 %40, 16
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = load i32*, i32** %6
%45 = call i32 (i32*, i8*, ...) @fprintf(i32* %44, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %46
46: ; preds = %43, %39
%47 = load i32, i32* %8
%48 = and i32 %47, 255
%49 = and i32 %48, -17
switch i32 %49, label %95 [
i32 1, label %50
i32 7, label %53
i32 4, label %56
i32 5, label %59
i32 6, label %62
i32 2, label %65
i32 3, label %68
i32 10, label %71
i32 11, label %74
i32 12, label %77
i32 13, label %80
i32 14, label %83
i32 9, label %86
i32 33, label %90
i32 8, label %94
]
50: ; preds = %46
%51 = load i32*, i32** %6
%52 = call i32 (i32*, i8*, ...) @fprintf(i32* %51, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %95
53: ; preds = %46
%54 = load i32*, i32** %6
%55 = call i32 (i32*, i8*, ...) @fprintf(i32* %54, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
br label %95
56: ; preds = %46
%57 = load i32*, i32** %6
%58 = call i32 (i32*, i8*, ...) @fprintf(i32* %57, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
br label %95
59: ; preds = %46
%60 = load i32*, i32** %6
%61 = call i32 (i32*, i8*, ...) @fprintf(i32* %60, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
br label %95
62: ; preds = %46
%63 = load i32*, i32** %6
%64 = call i32 (i32*, i8*, ...) @fprintf(i32* %63, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %95
65: ; preds = %46
%66 = load i32*, i32** %6
%67 = call i32 (i32*, i8*, ...) @fprintf(i32* %66, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
br label %95
68: ; preds = %46
%69 = load i32*, i32** %6
%70 = call i32 (i32*, i8*, ...) @fprintf(i32* %69, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %95
71: ; preds = %46
%72 = load i32*, i32** %6
%73 = call i32 (i32*, i8*, ...) @fprintf(i32* %72, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
br label %95
74: ; preds = %46
%75 = load i32*, i32** %6
%76 = call i32 (i32*, i8*, ...) @fprintf(i32* %75, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
br label %95
77: ; preds = %46
%78 = load i32*, i32** %6
%79 = call i32 (i32*, i8*, ...) @fprintf(i32* %78, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
br label %95
80: ; preds = %46
%81 = load i32*, i32** %6
%82 = call i32 (i32*, i8*, ...) @fprintf(i32* %81, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %95
83: ; preds = %46
%84 = load i32*, i32** %6
%85 = call i32 (i32*, i8*, ...) @fprintf(i32* %84, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
br label %95
86: ; preds = %46
%87 = load i32*, i32** %6
%88 = load i8*, i8** %9
%89 = call i32 (i32*, i8*, ...) @fprintf(i32* %87, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* %88)
br label %95
90: ; preds = %46
%91 = load i32*, i32** %6
%92 = load i8*, i8** %9
%93 = call i32 (i32*, i8*, ...) @fprintf(i32* %91, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* %92)
br label %95
94: ; preds = %46
br label %151
95: ; preds = %46, %90, %86, %83, %80, %77, %74, %71, %68, %65, %62, %59, %56, %53, %50
%96 = load i32, i32* %8
%97 = and i32 %96, 65280
switch i32 %97, label %120 [
i32 256, label %98
i32 512, label %105
]
98: ; preds = %95
%99 = load i32, i32* %7
%100 = icmp eq i32 %99, 20
br i1 %100, label %101, label %104
101: ; preds = %98
%102 = load i32*, i32** %6
%103 = call i32 (i32*, i8*, ...) @fprintf(i32* %102, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %104
104: ; preds = %101, %98
br label %123
105: ; preds = %95
%106 = load i32, i32* %7
%107 = icmp eq i32 %106, 20
br i1 %107, label %116, label %108
108: ; preds = %105
%109 = load i32, i32* %8
%110 = and i32 %109, 65535
%111 = icmp eq i32 %110, 521
br i1 %111, label %116, label %112
112: ; preds = %108
%113 = load i32, i32* %8
%114 = and i32 %113, 65535
%115 = icmp eq i32 %114, 515
br i1 %115, label %116, label %119
116: ; preds = %112, %108, %105
%117 = load i32*, i32** %6
%118 = call i32 (i32*, i8*, ...) @fprintf(i32* %117, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %119
119: ; preds = %116, %112
br label %123
120: ; preds = %95
%121 = load i32*, i32** %6
%122 = call i32 (i32*, i8*, ...) @fprintf(i32* %121, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %123
123: ; preds = %120, %119, %104
%124 = load i32*, i32** %6
%125 = load i32, i32* %7
%126 = call i32 (i32*, i8*, ...) @fprintf(i32* %124, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0), i32 %125)
%127 = load i32, i32* %8
%128 = and i32 %127, 65280
%129 = icmp eq i32 %128, 512
br i1 %129, label %130, label %148
130: ; preds = %123
%131 = load i32, i32* %7
%132 = icmp ne i32 %131, 20
br i1 %132, label %133, label %148
133: ; preds = %130
%134 = load i32, i32* %8
%135 = and i32 %134, 65535
%136 = icmp ne i32 %135, 521
br i1 %136, label %137, label %148
137: ; preds = %133
%138 = load i32, i32* %8
%139 = and i32 %138, 65535
%140 = icmp ne i32 %139, 515
br i1 %140, label %141, label %148
141: ; preds = %137
%142 = load i32*, i32** %6
%143 = load i32, i32* %10
%144 = call i32 (i32*, i8*, ...) @fprintf(i32* %142, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i32 %143)
%145 = load i32*, i32** %6
%146 = load i32, i32* %7
%147 = call i32 (i32*, i8*, ...) @fprintf(i32* %145, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0), i32 %146)
br label %148
148: ; preds = %141, %137, %133, %130, %123
%149 = load i32*, i32** %6
%150 = call i32 (i32*, i8*, ...) @fprintf(i32* %149, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %151
151: ; preds = %148, %94, %21, %13
ret void
}

LLVM IR (-O2):
@.str = [56 x i8] c" vtkJavaVoidFuncArg *temp%i = new vtkJavaVoidFuncArg;\0A\00"
@.str.1 = [9 x i8] c" const \00"
@.str.2 = [3 x i8] c" \00"
@.str.3 = [11 x i8] c" unsigned \00"
@.str.4 = [8 x i8] c"float \00"
@.str.5 = [8 x i8] c"double \00"
@.str.6 = [8 x i8] c"int \00"
@.str.7 = [8 x i8] c"short \00"
@.str.8 = [8 x i8] c"long \00"
@.str.9 = [8 x i8] c"void \00"
@.str.10 = [8 x i8] c"char \00"
@.str.11 = [11 x i8] c"vtkIdType \00"
@.str.12 = [11 x i8] c"long long \00"
@.str.13 = [9 x i8] c"__int64 \00"
@.str.14 = [13 x i8] c"signed char \00"
@.str.15 = [6 x i8] c"bool \00"
@.str.16 = [4 x i8] c"%s \00"
@.str.17 = [3 x i8] c" *\00"
@.str.18 = [7 x i8] c"temp%i\00"
@.str.19 = [5 x i8] c"[%i]\00"
@.str.20 = [22 x i8] c";\0A void *tempArray%i\00"
@.str.21 = [3 x i8] c";\0A\00"
define void @output_temp(i32* %0, i32 %1, i32 %2, i8* %3, i32 %4) {
%6 = icmp eq i32 %2, 37
br i1 %6, label %7, label %9
7: ; preds = %5
%8 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %1)
br label %85
9: ; preds = %5
%10 = and i32 %2, 65535
%11 = icmp eq i32 %10, 2
br i1 %11, label %85, label %12
12: ; preds = %9
%13 = icmp eq i32 %1, 20
%14 = xor i1 %13, true
%15 = and i32 %2, 65280
%16 = icmp eq i32 %15, 0
%17 = or i1 %16, %14
%18 = and i32 %2, 65536
%19 = icmp eq i32 %18, 0
%20 = or i1 %19, %17
br i1 %20, label %23, label %21
21: ; preds = %12
%22 = tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i64 8, i64 1, i32* %0)
br label %25
23: ; preds = %12
%24 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %25
25: ; preds = %23, %21
%26 = and i32 %2, 16
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i64 10, i64 1, i32* %0)
br label %30
30: ; preds = %28, %25
%31 = trunc i32 %2 to i8
%32 = and i8 %31, -17
switch i8 %32, label %61 [
i8 1, label %33
i8 7, label %35
i8 4, label %37
i8 5, label %39
i8 6, label %41
i8 2, label %43
i8 3, label %45
i8 10, label %47
i8 11, label %49
i8 12, label %51
i8 13, label %53
i8 14, label %55
i8 9, label %57
i8 33, label %59
i8 8, label %85
]
33: ; preds = %30
%34 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
35: ; preds = %30
%36 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
37: ; preds = %30
%38 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
39: ; preds = %30
%40 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
41: ; preds = %30
%42 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
43: ; preds = %30
%44 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
45: ; preds = %30
%46 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i64 7, i64 1, i32* %0)
br label %61
47: ; preds = %30
%48 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i64 10, i64 1, i32* %0)
br label %61
49: ; preds = %30
%50 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i64 10, i64 1, i32* %0)
br label %61
51: ; preds = %30
%52 = tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i64 8, i64 1, i32* %0)
br label %61
53: ; preds = %30
%54 = tail call i64 @fwrite(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i64 12, i64 1, i32* %0)
br label %61
55: ; preds = %30
%56 = tail call i64 @fwrite(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i64 5, i64 1, i32* %0)
br label %61
57: ; preds = %30
%58 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* %3)
br label %61
59: ; preds = %30
%60 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* %3)
br label %61
61: ; preds = %30, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33
%62 = trunc i32 %15 to i16
switch i16 %62, label %69 [
i16 256, label %63
i16 512, label %66
]
63: ; preds = %61
br i1 %13, label %64, label %72
64: ; preds = %63
%65 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %80
66: ; preds = %61
br i1 %13, label %69, label %67
67: ; preds = %66
%68 = trunc i32 %2 to i16
switch i16 %68, label %72 [
i16 521, label %69
i16 515, label %69
]
69: ; preds = %61, %66, %67, %67
%70 = phi i8* [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), %67 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), %67 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), %66 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), %61 ]
%71 = tail call i64 @fwrite(i8* %70, i64 2, i64 1, i32* %0)
br label %72
72: ; preds = %69, %67, %63
%73 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0), i32 %1)
%74 = icmp ne i32 %15, 512
%75 = or i1 %13, %74
br i1 %75, label %83, label %76
76: ; preds = %72
%77 = trunc i32 %2 to i16
switch i16 %77, label %78 [
i16 521, label %83
i16 515, label %83
]
78: ; preds = %76
%79 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i32 %4)
br label %80
80: ; preds = %78, %64
%81 = phi i8* [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0), %64 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0), %78 ]
%82 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* %81, i32 %1)
br label %83
83: ; preds = %80, %76, %76, %72
%84 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %85
85: ; preds = %30, %9, %83, %7
ret void
}