#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*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *, ...);
int ilog2(int);
int /*<<< orphan*/ printf(char *, char);
void write_mg_info(FILE *fp, char class) {
  int problem_size, nit, log2_size, lt_default, lm;
  int ndim1, ndim2, ndim3;
  if (class == 'S') {
    problem_size = 32;
    nit = 4;
  } else if (class == 'W') {
    problem_size = 128;
    nit = 4;
  } else if (class == 'A') {
    problem_size = 256;
    nit = 4;
  } else if (class == 'B') {
    problem_size = 256;
    nit = 20;
  } else if (class == 'C') {
    problem_size = 512;
    nit = 20;
  } else if (class == 'D') {
    problem_size = 1024;
    nit = 50;
  } else if (class == 'E') {
    problem_size = 2048;
    nit = 50;
  } else {
    printf("setparams: Internal error: invalid class type %c\n", class);
    exit(1);
  }
  log2_size = ilog2(problem_size);
  lt_default = log2_size;
  lm = log2_size;
  ndim1 = lm;
  ndim3 = log2_size;
  ndim2 = log2_size;
  fprintf(fp, "%sinteger nx_default, ny_default, nz_default\n", "        ");
  fprintf(fp, "%sparameter (nx_default=%d, ny_default=%d, nz_default=%d)\n",
          "        ", problem_size, problem_size, problem_size);
  fprintf(fp, "%sinteger nit_default, lm, lt_default\n", "        ");
  fprintf(fp, "%sparameter (nit_default=%d, lm = %d, lt_default=%d)\n",
          "        ", nit, lm, lt_default);
  fprintf(fp, "%sinteger debug_default\n", "        ");
  fprintf(fp, "%sparameter (debug_default=%d)\n", "        ", 0);
  fprintf(fp, "%sinteger ndim1, ndim2, ndim3\n", "        ");
  fprintf(fp, "%sparameter (ndim1 = %d, ndim2 = %d, ndim3 = %d)\n", "        ",
          ndim1, ndim2, ndim3);
  fprintf(fp, "%sinteger%s one, nr, nv, ir\n", "        ",
          (problem_size > 1024) ? "*8" : "");
  fprintf(fp, "%sparameter (one=1)\n", "        ");
}


x86 assembly (clang, -O0):
<write_mg_info>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %sil,%al
mov    %rdi,-0x8(%rbp)
mov    %al,-0x9(%rbp)
movsbl -0x9(%rbp),%eax
cmp    $0x53,%eax
jne    1172 <write_mg_info+0x32>
movl   $0x20,-0x10(%rbp)
movl   $0x4,-0x14(%rbp)
jmp    126a <write_mg_info+0x12a>
movsbl -0x9(%rbp),%eax
cmp    $0x57,%eax
jne    1192 <write_mg_info+0x52>
movl   $0x80,-0x10(%rbp)
movl   $0x4,-0x14(%rbp)
jmp    1265 <write_mg_info+0x125>
movsbl -0x9(%rbp),%eax
cmp    $0x41,%eax
jne    11b2 <write_mg_info+0x72>
movl   $0x100,-0x10(%rbp)
movl   $0x4,-0x14(%rbp)
jmp    1260 <write_mg_info+0x120>
movsbl -0x9(%rbp),%eax
cmp    $0x42,%eax
jne    11d2 <write_mg_info+0x92>
movl   $0x100,-0x10(%rbp)
movl   $0x14,-0x14(%rbp)
jmp    125b <write_mg_info+0x11b>
movsbl -0x9(%rbp),%eax
cmp    $0x43,%eax
jne    11f2 <write_mg_info+0xb2>
movl   $0x200,-0x10(%rbp)
movl   $0x14,-0x14(%rbp)
jmp    1256 <write_mg_info+0x116>
movsbl -0x9(%rbp),%eax
cmp    $0x44,%eax
jne    1212 <write_mg_info+0xd2>
movl   $0x400,-0x10(%rbp)
movl   $0x32,-0x14(%rbp)
jmp    1251 <write_mg_info+0x111>
movsbl -0x9(%rbp),%eax
cmp    $0x45,%eax
jne    1232 <write_mg_info+0xf2>
movl   $0x800,-0x10(%rbp)
movl   $0x32,-0x14(%rbp)
jmp    124c <write_mg_info+0x10c>
lea    0xdc7(%rip),%rdi
movsbl -0x9(%rbp),%esi
call   1040 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
jmp    1251 <write_mg_info+0x111>
jmp    1256 <write_mg_info+0x116>
jmp    125b <write_mg_info+0x11b>
jmp    1260 <write_mg_info+0x120>
jmp    1265 <write_mg_info+0x125>
jmp    126a <write_mg_info+0x12a>
mov    -0x10(%rbp),%edi
call   1030 <ilog2@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xd94(%rip),%rsi
lea    0xdbb(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%ecx
mov    -0x10(%rbp),%r8d
mov    -0x10(%rbp),%r9d
lea    0xda7(%rip),%rsi
lea    0xd97(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xdc9(%rip),%rsi
lea    0xd7e(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%ecx
mov    -0x20(%rbp),%r8d
mov    -0x1c(%rbp),%r9d
lea    0xdcc(%rip),%rsi
lea    0xd5a(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xde9(%rip),%rsi
lea    0xd41(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xde9(%rip),%rsi
lea    0xd28(%rip),%rdx
xor    %ecx,%ecx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xdee(%rip),%rsi
lea    0xd0d(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    -0x2c(%rbp),%r9d
lea    0xde9(%rip),%rsi
lea    0xce9(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%edx
lea    0xe33(%rip),%rcx
lea    0xe15(%rip),%rax
cmp    $0x400,%edx
cmovg  %rax,%rcx
lea    0xde7(%rip),%rsi
lea    0xcb5(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xdee(%rip),%rsi
lea    0xc9c(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<write_mg_info>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    -0x41(%rsi),%eax
cmp    $0x16,%al
ja     12d2 <write_mg_info+0x192>
mov    %rdi,%rbx
mov    $0x20,%r13d
lea    0x10b5(%rip),%r14
mov    $0x4,%r12d
movzbl %al,%eax
lea    0xe8a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x100,%r13d
jmp    11cc <write_mg_info+0x8c>
mov    $0x100,%r13d
mov    $0x14,%r12d
jmp    11cc <write_mg_info+0x8c>
mov    $0x200,%r13d
mov    $0x14,%r12d
jmp    11cc <write_mg_info+0x8c>
mov    $0x400,%r13d
mov    $0x32,%r12d
jmp    11cc <write_mg_info+0x8c>
mov    $0x800,%r13d
lea    0x1046(%rip),%r14
mov    $0x32,%r12d
jmp    11cc <write_mg_info+0x8c>
mov    $0x80,%r13d
mov    %r13d,%edi
call   1030 <ilog2@plt>
mov    %eax,%ebp
lea    0xeb1(%rip),%rsi
lea    0xed8(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xecd(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
mov    %r13d,%ecx
mov    %r13d,%r8d
mov    %r13d,%r9d
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xeeb(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xefe(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
mov    %r12d,%ecx
mov    %ebp,%r8d
mov    %ebp,%r9d
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xf17(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xf1c(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %ecx,%ecx
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xf26(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xf31(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
mov    %ebp,%ecx
mov    %ebp,%r8d
mov    %ebp,%r9d
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xf47(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
mov    %r14,%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xf50(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <fprintf@plt>
movsbl %sil,%esi
lea    0xd7f(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@.str = [50 x i8] c"setparams: Internal error: invalid class type %c\0A\00"
@.str.1 = [46 x i8] c"%sinteger nx_default, ny_default, nz_default\0A\00"
@.str.2 = [9 x i8] c" \00"
@.str.3 = [59 x i8] c"%sparameter (nx_default=%d, ny_default=%d, nz_default=%d)\0A\00"
@.str.4 = [39 x i8] c"%sinteger nit_default, lm, lt_default\0A\00"
@.str.5 = [54 x i8] c"%sparameter (nit_default=%d, lm = %d, lt_default=%d)\0A\00"
@.str.6 = [25 x i8] c"%sinteger debug_default\0A\00"
@.str.7 = [32 x i8] c"%sparameter (debug_default=%d)\0A\00"
@.str.8 = [31 x i8] c"%sinteger ndim1, ndim2, ndim3\0A\00"
@.str.9 = [50 x i8] c"%sparameter (ndim1 = %d, ndim2 = %d, ndim3 = %d)\0A\00"
@.str.10 = [29 x i8] c"%sinteger%s one, nr, nv, ir\0A\00"
@.str.11 = [3 x i8] c"*8\00"
@.str.12 = [1 x i8] zeroinitializer
@.str.13 = [21 x i8] c"%sparameter (one=1)\0A\00"
define void @write_mg_info(i32* %0, i8 signext %1) {
%3 = alloca i32*
%4 = alloca i8
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32* %0, i32** %3
store i8 %1, i8* %4
%13 = load i8, i8* %4
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 83
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 32, i32* %5
store i32 4, i32* %6
br label %57
17: ; preds = %2
%18 = load i8, i8* %4
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 87
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 128, i32* %5
store i32 4, i32* %6
br label %56
22: ; preds = %17
%23 = load i8, i8* %4
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 65
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 256, i32* %5
store i32 4, i32* %6
br label %55
27: ; preds = %22
%28 = load i8, i8* %4
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 66
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 256, i32* %5
store i32 20, i32* %6
br label %54
32: ; preds = %27
%33 = load i8, i8* %4
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 67
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 512, i32* %5
store i32 20, i32* %6
br label %53
37: ; preds = %32
%38 = load i8, i8* %4
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 68
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 1024, i32* %5
store i32 50, i32* %6
br label %52
42: ; preds = %37
%43 = load i8, i8* %4
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 69
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 2048, i32* %5
store i32 50, i32* %6
br label %51
47: ; preds = %42
%48 = load i8, i8* %4
%49 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0), i8 signext %48)
%50 = call i32 @exit(i32 1)
unreachable
51: ; preds = %46
br label %52
52: ; preds = %51, %41
br label %53
53: ; preds = %52, %36
br label %54
54: ; preds = %53, %31
br label %55
55: ; preds = %54, %26
br label %56
56: ; preds = %55, %21
br label %57
57: ; preds = %56, %16
%58 = load i32, i32* %5
%59 = call i32 @ilog2(i32 %58)
store i32 %59, i32* %7
%60 = load i32, i32* %7
store i32 %60, i32* %8
%61 = load i32, i32* %7
store i32 %61, i32* %9
%62 = load i32, i32* %9
store i32 %62, i32* %10
%63 = load i32, i32* %7
store i32 %63, i32* %12
%64 = load i32, i32* %7
store i32 %64, i32* %11
%65 = load i32*, i32** %3
%66 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %65, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%67 = load i32*, i32** %3
%68 = load i32, i32* %5
%69 = load i32, i32* %5
%70 = load i32, i32* %5
%71 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %67, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %68, i32 %69, i32 %70)
%72 = load i32*, i32** %3
%73 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %72, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%74 = load i32*, i32** %3
%75 = load i32, i32* %6
%76 = load i32, i32* %9
%77 = load i32, i32* %8
%78 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %74, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %75, i32 %76, i32 %77)
%79 = load i32*, i32** %3
%80 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %79, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%81 = load i32*, i32** %3
%82 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %81, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 0)
%83 = load i32*, i32** %3
%84 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %83, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%85 = load i32*, i32** %3
%86 = load i32, i32* %10
%87 = load i32, i32* %11
%88 = load i32, i32* %12
%89 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %85, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %86, i32 %87, i32 %88)
%90 = load i32*, i32** %3
%91 = load i32, i32* %5
%92 = icmp sgt i32 %91, 1024
%93 = zext i1 %92 to i64
%94 = select i1 %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0)
%95 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %90, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* %94)
%96 = load i32*, i32** %3
%97 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %96, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [50 x i8] c"setparams: Internal error: invalid class type %c\0A\00"
@.str.1 = [46 x i8] c"%sinteger nx_default, ny_default, nz_default\0A\00"
@.str.2 = [9 x i8] c" \00"
@.str.3 = [59 x i8] c"%sparameter (nx_default=%d, ny_default=%d, nz_default=%d)\0A\00"
@.str.4 = [39 x i8] c"%sinteger nit_default, lm, lt_default\0A\00"
@.str.5 = [54 x i8] c"%sparameter (nit_default=%d, lm = %d, lt_default=%d)\0A\00"
@.str.6 = [25 x i8] c"%sinteger debug_default\0A\00"
@.str.7 = [32 x i8] c"%sparameter (debug_default=%d)\0A\00"
@.str.8 = [31 x i8] c"%sinteger ndim1, ndim2, ndim3\0A\00"
@.str.9 = [50 x i8] c"%sparameter (ndim1 = %d, ndim2 = %d, ndim3 = %d)\0A\00"
@.str.10 = [29 x i8] c"%sinteger%s one, nr, nv, ir\0A\00"
@.str.11 = [3 x i8] c"*8\00"
@.str.12 = [1 x i8] zeroinitializer
@.str.13 = [21 x i8] c"%sparameter (one=1)\0A\00"
define void @write_mg_info(i32* nocapture %0, i8 signext %1) {
switch i8 %1, label %9 [
i8 83, label %12
i8 87, label %3
i8 65, label %4
i8 66, label %5
i8 67, label %6
i8 68, label %7
i8 69, label %8
]
3: ; preds = %2
br label %12
4: ; preds = %2
br label %12
5: ; preds = %2
br label %12
6: ; preds = %2
br label %12
7: ; preds = %2
br label %12
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = tail call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0), i8 signext %1)
%11 = tail call i32 @exit(i32 1)
unreachable
12: ; preds = %2, %3, %5, %7, %8, %6, %4
%13 = phi i32 [ 4, %3 ], [ 4, %4 ], [ 20, %5 ], [ 20, %6 ], [ 50, %7 ], [ 50, %8 ], [ 4, %2 ]
%14 = phi i8* [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %3 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %4 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %5 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %6 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %7 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), %8 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.12, i64 0, i64 0), %2 ]
%15 = phi i32 [ 128, %3 ], [ 256, %4 ], [ 256, %5 ], [ 512, %6 ], [ 1024, %7 ], [ 2048, %8 ], [ 32, %2 ]
%16 = tail call i32 @ilog2(i32 %15)
%17 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%18 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %15, i32 %15, i32 %15)
%19 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%20 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %13, i32 %16, i32 %16)
%21 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%22 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 0)
%23 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%24 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %16, i32 %16, i32 %16)
%25 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* %14)
%26 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
ret void
}