#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*/ printf(char *, ...);
void print_report(char *method, int stats[20]) {
  int i1, i2, i3;
  printf("\n%s version %d.%d, %s: ", method, 2, 9, "Oct 10, 2014");
  if (!stats) {
    printf("No statistics available.\n");
    return;
  }
  i1 = stats[4];
  i2 = stats[5];
  i3 = stats[6];
  if (stats[3] >= 0) {
    printf("OK.  ");
  } else {
    printf("ERROR.  ");
  }
  switch (stats[3]) {
  case (1):
    printf("Matrix has unsorted or duplicate row indices.\n");
    printf("%s: number of duplicate or out-of-order row indices: %d\n", method,
           i3);
    printf("%s: last seen duplicate or out-of-order row index:   %d\n", method,
           (i2));
    printf("%s: last seen in column:                             %d", method,
           (i1));
  case (0):
    printf("\n");
    printf("%s: number of dense or empty rows ignored:           %d\n", method,
           stats[0]);
    printf("%s: number of dense or empty columns ignored:        %d\n", method,
           stats[1]);
    printf("%s: number of garbage collections performed:         %d\n", method,
           stats[2]);
    break;
  case (-1):
    printf("Array A (row indices of matrix) not present.\n");
    break;
  case (-2):
    printf("Array p (column pointers for matrix) not present.\n");
    break;
  case (-3):
    printf("Invalid number of rows (%d).\n", i1);
    break;
  case (-4):
    printf("Invalid number of columns (%d).\n", i1);
    break;
  case (-5):
    printf("Invalid number of nonzero entries (%d).\n", i1);
    break;
  case (-6):
    printf("Invalid column pointer, p [0] = %d, must be zero.\n", i1);
    break;
  case (-7):
    printf("Array A too small.\n");
    printf("        Need Alen >= %d, but given only Alen = %d.\n", i1, i2);
    break;
  case (-8):
    printf("Column %d has a negative number of nonzero entries (%d).\n", (i1),
           i2);
    break;
  case (-9):
    printf("Row index (row %d) out of bounds (%d to %d) in column %d.\n", (i2),
           (0), (i3 - 1), (i1));
    break;
  case (-10):
    printf("Out of memory.\n");
    break;
  }
}


x86 assembly (clang, -O0):
<print_report>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xf05(%rip),%rdi
mov    $0x2,%edx
mov    $0x9,%ecx
lea    0xf0c(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
cmpq   $0x0,-0x10(%rbp)
jne    1161 <print_report+0x51>
lea    0xf00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%eax
mov    %eax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
cmpl   $0x0,0xc(%rax)
jl     11a0 <print_report+0x90>
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11ae <print_report+0x9e>
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%eax
add    $0xa,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0xb,%eax
ja     1373 <print_report+0x263>
mov    -0x28(%rbp),%rax
lea    0xe2e(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe9c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
mov    -0x1c(%rbp),%edx
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
mov    -0x18(%rbp),%edx
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
mov    -0x14(%rbp),%edx
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x109a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rax
mov    (%rax),%edx
lea    0xf10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%edx
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%edx
lea    0xf50(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
lea    0xf76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
lea    0xf91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x14(%rbp),%esi
lea    0xfae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x14(%rbp),%esi
lea    0xfb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x14(%rbp),%esi
lea    0xfc1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x14(%rbp),%esi
lea    0xfd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
lea    0xff4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0xff4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0x100f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
mov    -0x18(%rbp),%esi
mov    -0x1c(%rbp),%ecx
sub    $0x1,%ecx
mov    -0x14(%rbp),%r8d
lea    0x1029(%rip),%rdi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1373 <print_report+0x263>
lea    0x104f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_report>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rsi,%rbx
mov    %rdi,%r14
lea    0xeeb(%rip),%rdi
lea    0xefc(%rip),%r8
mov    %r14,%rsi
mov    $0x2,%edx
mov    $0x9,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
test   %rbx,%rbx
je     11b1 <print_report+0x81>
mov    0x10(%rbx),%r15d
mov    0x14(%rbx),%r12d
mov    0x18(%rbx),%ebp
cmpl   $0x0,0xc(%rbx)
lea    0xeda(%rip),%rax
lea    0xed9(%rip),%rdi
cmovns %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rbx),%eax
add    $0xa,%eax
cmp    $0xb,%eax
ja     11c5 <print_report+0x95>
lea    0xe61(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1167(%rip),%rdi
jmp    11b8 <print_report+0x88>
lea    0x1145(%rip),%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <puts@plt>
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
add    $0xffffffff,%ebp
lea    0x10ea(%rip),%rdi
mov    %r12d,%esi
xor    %edx,%edx
mov    %ebp,%ecx
mov    %r15d,%r8d
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>
lea    0x1090(%rip),%rdi
jmp    120d <print_report+0xdd>
lea    0x1124(%rip),%rdi
call   1040 <puts@plt>
lea    0x1047(%rip),%rdi
mov    %r15d,%esi
mov    %r12d,%edx
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>
lea    0xff8(%rip),%rdi
jmp    1244 <print_report+0x114>
lea    0xfc6(%rip),%rdi
jmp    1244 <print_report+0x114>
lea    0xf9c(%rip),%rdi
jmp    1244 <print_report+0x114>
lea    0xf75(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>
lea    0x10db(%rip),%rdi
jmp    11b8 <print_report+0x88>
lea    0x1101(%rip),%rdi
jmp    11b8 <print_report+0x88>
lea    0x1122(%rip),%rdi
call   1040 <puts@plt>
lea    0xde3(%rip),%rdi
mov    %r14,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe09(%rip),%rdi
mov    %r14,%rsi
mov    %r12d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe2e(%rip),%rdi
mov    %r14,%rsi
mov    %r15d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    (%rbx),%edx
lea    0xe46(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rbx),%edx
lea    0xe6b(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rbx),%edx
lea    0xe90(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [24 x i8] c"\0A%s version %d.%d, %s: \00"
@.str.1 = [13 x i8] c"Oct 10, 2014\00"
@.str.2 = [26 x i8] c"No statistics available.\0A\00"
@.str.3 = [6 x i8] c"OK. \00"
@.str.4 = [9 x i8] c"ERROR. \00"
@.str.5 = [47 x i8] c"Matrix has unsorted or duplicate row indices.\0A\00"
@.str.6 = [57 x i8] c"%s: number of duplicate or out-of-order row indices: %d\0A\00"
@.str.7 = [57 x i8] c"%s: last seen duplicate or out-of-order row index: %d\0A\00"
@.str.8 = [56 x i8] c"%s: last seen in column: %d\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [57 x i8] c"%s: number of dense or empty rows ignored: %d\0A\00"
@.str.11 = [57 x i8] c"%s: number of dense or empty columns ignored: %d\0A\00"
@.str.12 = [57 x i8] c"%s: number of garbage collections performed: %d\0A\00"
@.str.13 = [46 x i8] c"Array A (row indices of matrix) not present.\0A\00"
@.str.14 = [51 x i8] c"Array p (column pointers for matrix) not present.\0A\00"
@.str.15 = [30 x i8] c"Invalid number of rows (%d).\0A\00"
@.str.16 = [33 x i8] c"Invalid number of columns (%d).\0A\00"
@.str.17 = [41 x i8] c"Invalid number of nonzero entries (%d).\0A\00"
@.str.18 = [51 x i8] c"Invalid column pointer, p [0] = %d, must be zero.\0A\00"
@.str.19 = [20 x i8] c"Array A too small.\0A\00"
@.str.20 = [52 x i8] c" Need Alen >= %d, but given only Alen = %d.\0A\00"
@.str.21 = [58 x i8] c"Column %d has a negative number of nonzero entries (%d).\0A\00"
@.str.22 = [59 x i8] c"Row index (row %d) out of bounds (%d to %d) in column %d.\0A\00"
@.str.23 = [16 x i8] c"Out of memory.\0A\00"
define void @print_report(i8* %0, i32* %1) {
%3 = alloca i8*
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i8* %0, i8** %3
store i32* %1, i32** %4
%8 = load i8*, i8** %3
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %8, i32 2, i32 9, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%10 = load i32*, i32** %4
%11 = icmp ne i32* %10, null
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
br label %97
14: ; preds = %2
%15 = load i32*, i32** %4
%16 = getelementptr inbounds i32, i32* %15, i64 4
%17 = load i32, i32* %16
store i32 %17, i32* %5
%18 = load i32*, i32** %4
%19 = getelementptr inbounds i32, i32* %18, i64 5
%20 = load i32, i32* %19
store i32 %20, i32* %6
%21 = load i32*, i32** %4
%22 = getelementptr inbounds i32, i32* %21, i64 6
%23 = load i32, i32* %22
store i32 %23, i32* %7
%24 = load i32*, i32** %4
%25 = getelementptr inbounds i32, i32* %24, i64 3
%26 = load i32, i32* %25
%27 = icmp sge i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %14
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
br label %32
30: ; preds = %14
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
br label %32
32: ; preds = %30, %28
%33 = load i32*, i32** %4
%34 = getelementptr inbounds i32, i32* %33, i64 3
%35 = load i32, i32* %34
switch i32 %35, label %97 [
i32 1, label %36
i32 0, label %47
i32 -1, label %64
i32 -2, label %66
i32 -3, label %68
i32 -4, label %71
i32 -5, label %74
i32 -6, label %77
i32 -7, label %80
i32 -8, label %85
i32 -9, label %89
i32 -10, label %95
]
36: ; preds = %32
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0))
%38 = load i8*, i8** %3
%39 = load i32, i32* %7
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0), i8* %38, i32 %39)
%41 = load i8*, i8** %3
%42 = load i32, i32* %6
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.7, i64 0, i64 0), i8* %41, i32 %42)
%44 = load i8*, i8** %3
%45 = load i32, i32* %5
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0), i8* %44, i32 %45)
br label %47
47: ; preds = %32, %36
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%49 = load i8*, i8** %3
%50 = load i32*, i32** %4
%51 = getelementptr inbounds i32, i32* %50, i64 0
%52 = load i32, i32* %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0), i8* %49, i32 %52)
%54 = load i8*, i8** %3
%55 = load i32*, i32** %4
%56 = getelementptr inbounds i32, i32* %55, i64 1
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0), i8* %54, i32 %57)
%59 = load i8*, i8** %3
%60 = load i32*, i32** %4
%61 = getelementptr inbounds i32, i32* %60, i64 2
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.12, i64 0, i64 0), i8* %59, i32 %62)
br label %97
64: ; preds = %32
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0))
br label %97
66: ; preds = %32
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0))
br label %97
68: ; preds = %32
%69 = load i32, i32* %5
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0), i32 %69)
br label %97
71: ; preds = %32
%72 = load i32, i32* %5
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.16, i64 0, i64 0), i32 %72)
br label %97
74: ; preds = %32
%75 = load i32, i32* %5
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0), i32 %75)
br label %97
77: ; preds = %32
%78 = load i32, i32* %5
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.18, i64 0, i64 0), i32 %78)
br label %97
80: ; preds = %32
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.19, i64 0, i64 0))
%82 = load i32, i32* %5
%83 = load i32, i32* %6
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.20, i64 0, i64 0), i32 %82, i32 %83)
br label %97
85: ; preds = %32
%86 = load i32, i32* %5
%87 = load i32, i32* %6
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i64 0, i64 0), i32 %86, i32 %87)
br label %97
89: ; preds = %32
%90 = load i32, i32* %6
%91 = load i32, i32* %7
%92 = sub nsw i32 %91, 1
%93 = load i32, i32* %5
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.22, i64 0, i64 0), i32 %90, i32 0, i32 %92, i32 %93)
br label %97
95: ; preds = %32
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.23, i64 0, i64 0))
br label %97
97: ; preds = %12, %32, %95, %89, %85, %80, %77, %74, %71, %68, %66, %64, %47
ret void
}

LLVM IR (-O2):
@.str = [24 x i8] c"\0A%s version %d.%d, %s: \00"
@.str.1 = [13 x i8] c"Oct 10, 2014\00"
@.str.3 = [6 x i8] c"OK. \00"
@.str.4 = [9 x i8] c"ERROR. \00"
@.str.6 = [57 x i8] c"%s: number of duplicate or out-of-order row indices: %d\0A\00"
@.str.7 = [57 x i8] c"%s: last seen duplicate or out-of-order row index: %d\0A\00"
@.str.8 = [56 x i8] c"%s: last seen in column: %d\00"
@.str.10 = [57 x i8] c"%s: number of dense or empty rows ignored: %d\0A\00"
@.str.11 = [57 x i8] c"%s: number of dense or empty columns ignored: %d\0A\00"
@.str.12 = [57 x i8] c"%s: number of garbage collections performed: %d\0A\00"
@.str.15 = [30 x i8] c"Invalid number of rows (%d).\0A\00"
@.str.16 = [33 x i8] c"Invalid number of columns (%d).\0A\00"
@.str.17 = [41 x i8] c"Invalid number of nonzero entries (%d).\0A\00"
@.str.18 = [51 x i8] c"Invalid column pointer, p [0] = %d, must be zero.\0A\00"
@.str.20 = [52 x i8] c" Need Alen >= %d, but given only Alen = %d.\0A\00"
@.str.21 = [58 x i8] c"Column %d has a negative number of nonzero entries (%d).\0A\00"
@.str.22 = [59 x i8] c"Row index (row %d) out of bounds (%d to %d) in column %d.\0A\00"
@str = [25 x i8] c"No statistics available.\00"
@str.24 = [15 x i8] c"Out of memory.\00"
@str.25 = [19 x i8] c"Array A too small.\00"
@str.26 = [50 x i8] c"Array p (column pointers for matrix) not present.\00"
@str.27 = [45 x i8] c"Array A (row indices of matrix) not present.\00"
@str.28 = [46 x i8] c"Matrix has unsorted or duplicate row indices.\00"
define void @print_report(i8* %0, i32* %1) {
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %0, i32 2, i32 9, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%4 = icmp eq i32* %1, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
br label %57
7: ; preds = %2
%8 = getelementptr inbounds i32, i32* %1, i64 4
%9 = load i32, i32* %8
%10 = getelementptr inbounds i32, i32* %1, i64 5
%11 = load i32, i32* %10
%12 = getelementptr inbounds i32, i32* %1, i64 6
%13 = load i32, i32* %12
%14 = getelementptr inbounds i32, i32* %1, i64 3
%15 = load i32, i32* %14
%16 = icmp sgt i32 %15, -1
%17 = select i1 %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %17)
%19 = load i32, i32* %14
switch i32 %19, label %57 [
i32 1, label %20
i32 0, label %25
i32 -1, label %35
i32 -2, label %37
i32 -3, label %39
i32 -4, label %41
i32 -5, label %43
i32 -6, label %45
i32 -7, label %47
i32 -8, label %50
i32 -9, label %52
i32 -10, label %55
]
20: ; preds = %7
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.28, i64 0, i64 0))
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0), i8* %0, i32 %13)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.7, i64 0, i64 0), i8* %0, i32 %11)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0), i8* %0, i32 %9)
br label %25
25: ; preds = %7, %20
%26 = tail call i32 @putchar(i32 10)
%27 = load i32, i32* %1
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0), i8* %0, i32 %27)
%29 = getelementptr inbounds i32, i32* %1, i64 1
%30 = load i32, i32* %29
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0), i8* %0, i32 %30)
%32 = getelementptr inbounds i32, i32* %1, i64 2
%33 = load i32, i32* %32
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.12, i64 0, i64 0), i8* %0, i32 %33)
br label %57
35: ; preds = %7
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.27, i64 0, i64 0))
br label %57
37: ; preds = %7
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.26, i64 0, i64 0))
br label %57
39: ; preds = %7
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0), i32 %9)
br label %57
41: ; preds = %7
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.16, i64 0, i64 0), i32 %9)
br label %57
43: ; preds = %7
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0), i32 %9)
br label %57
45: ; preds = %7
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.18, i64 0, i64 0), i32 %9)
br label %57
47: ; preds = %7
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.25, i64 0, i64 0))
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.20, i64 0, i64 0), i32 %9, i32 %11)
br label %57
50: ; preds = %7
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i64 0, i64 0), i32 %9, i32 %11)
br label %57
52: ; preds = %7
%53 = add nsw i32 %13, -1
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.22, i64 0, i64 0), i32 %11, i32 0, i32 %53, i32 %9)
br label %57
55: ; preds = %7
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.24, i64 0, i64 0))
br label %57
57: ; preds = %25, %35, %37, %39, %41, %43, %45, %47, %50, %52, %55, %7, %5
ret void
}