#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 *, char *, char *, char *, char *, char *);
main() {
  int j = 0;
  for (; j < 18; j++)
    printf((j > 1 && j < 9 || j > 11 ? j - 2 : 0) % 3 > 1 ? "I don't know why "
           : (j > 1 && j < 9 || j > 11 ? j - 2 : 0) % 3
               ? "Hello hello\n"
               : "%s say %s%s %s say %s\n",
           j == 9                                   ? "\nI"
           : (j > 1 && j < 9 || j > 11 ? j - 2 : 0) ? "you"
                                                    : "You",
           j ? j - 1 ? j == 9   ? "high"
                       : j - 10 ? "goodbye"
                                : "why"
                     : "stop"
             : "yes",
           (j > 1 && j < 9 || j > 11 ? j - 2 : 0) + !j || j == 9 ? "," : " and",
           j == 9 ? "you" : "I",
           j ? j - 1 ? j == 9   ? "low"
                       : j - 10 ? "hello"
                                : "I don't know, oh no\n"
                     : "go go go, oh no\n"
             : "no");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x12,-0x8(%rbp)
jge    1459 <main+0x349>
cmpl   $0x1,-0x8(%rbp)
jle    1147 <main+0x37>
cmpl   $0x9,-0x8(%rbp)
jl     1151 <main+0x41>
cmpl   $0xb,-0x8(%rbp)
jle    115f <main+0x4f>
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0xc(%rbp)
jmp    1169 <main+0x59>
xor    %eax,%eax
mov    %eax,-0xc(%rbp)
jmp    1169 <main+0x59>
mov    -0xc(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jle    118d <main+0x7d>
lea    0xe7c(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    11e7 <main+0xd7>
cmpl   $0x1,-0x8(%rbp)
jle    11a1 <main+0x91>
cmpl   $0x9,-0x8(%rbp)
jl     11ab <main+0x9b>
cmpl   $0xb,-0x8(%rbp)
jle    11b9 <main+0xa9>
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x1c(%rbp)
jmp    11c3 <main+0xb3>
xor    %eax,%eax
mov    %eax,-0x1c(%rbp)
jmp    11c3 <main+0xb3>
mov    -0x1c(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
lea    0xe4a(%rip),%rax
lea    0xe36(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
cmpl   $0x9,-0x8(%rbp)
jne    1209 <main+0xf9>
lea    0xe36(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    125b <main+0x14b>
cmpl   $0x1,-0x8(%rbp)
jle    121d <main+0x10d>
cmpl   $0x9,-0x8(%rbp)
jl     1227 <main+0x117>
cmpl   $0xb,-0x8(%rbp)
jle    1235 <main+0x125>
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x34(%rbp)
jmp    123f <main+0x12f>
xor    %eax,%eax
mov    %eax,-0x34(%rbp)
jmp    123f <main+0x12f>
mov    -0x34(%rbp),%edx
lea    0xdf4(%rip),%rax
lea    0xde9(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x40(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     12df <main+0x1cf>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
cmp    $0x0,%eax
je     12c2 <main+0x1b2>
cmpl   $0x9,-0x8(%rbp)
jne    1296 <main+0x186>
lea    0xdb4(%rip),%rax
mov    %rax,-0x48(%rbp)
jmp    12b5 <main+0x1a5>
mov    -0x8(%rbp),%edx
sub    $0xa,%edx
lea    0xdab(%rip),%rax
lea    0xd9c(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x50(%rbp)
jmp    12d2 <main+0x1c2>
lea    0xd89(%rip),%rax
mov    %rax,-0x50(%rbp)
jmp    12d2 <main+0x1c2>
mov    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
jmp    12ef <main+0x1df>
lea    0xd71(%rip),%rax
mov    %rax,-0x58(%rbp)
jmp    12ef <main+0x1df>
mov    -0x58(%rbp),%rax
mov    %rax,-0x60(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    130b <main+0x1fb>
cmpl   $0x9,-0x8(%rbp)
jl     1315 <main+0x205>
cmpl   $0xb,-0x8(%rbp)
jle    1323 <main+0x213>
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x64(%rbp)
jmp    132d <main+0x21d>
xor    %eax,%eax
mov    %eax,-0x64(%rbp)
jmp    132d <main+0x21d>
mov    -0x64(%rbp),%ecx
cmpl   $0x0,-0x8(%rbp)
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
add    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0x65(%rbp)
jne    1358 <main+0x248>
cmpl   $0x9,-0x8(%rbp)
sete   %al
mov    %al,-0x65(%rbp)
mov    -0x65(%rbp),%dl
lea    0xcfb(%rip),%rax
lea    0xcf2(%rip),%rcx
test   $0x1,%dl
cmovne %rcx,%rax
mov    %rax,-0x78(%rbp)
mov    -0x8(%rbp),%edx
lea    0xcb9(%rip),%rax
lea    0xcb4(%rip),%rcx
cmp    $0x9,%edx
cmove  %rcx,%rax
mov    %rax,-0x70(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1418 <main+0x308>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
cmp    $0x0,%eax
je     13f2 <main+0x2e2>
cmpl   $0x9,-0x8(%rbp)
jne    13c3 <main+0x2b3>
lea    0xca8(%rip),%rax
mov    %rax,-0x80(%rbp)
jmp    13e2 <main+0x2d2>
mov    -0x8(%rbp),%edx
sub    $0xa,%edx
lea    0xc9c(%rip),%rax
lea    0xc8f(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x80(%rbp)
mov    -0x80(%rbp),%rax
mov    %rax,-0x88(%rbp)
jmp    1405 <main+0x2f5>
lea    0xc88(%rip),%rax
mov    %rax,-0x88(%rbp)
jmp    1405 <main+0x2f5>
mov    -0x88(%rbp),%rax
mov    %rax,-0x90(%rbp)
jmp    142b <main+0x31b>
lea    0xc73(%rip),%rax
mov    %rax,-0x90(%rbp)
jmp    142b <main+0x31b>
mov    -0x70(%rbp),%r8
mov    -0x78(%rbp),%rcx
mov    -0x60(%rbp),%rdx
mov    -0x40(%rbp),%rsi
mov    -0x28(%rbp),%rdi
mov    -0x90(%rbp),%r9
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1129 <main+0x19>
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xefd(%rip),%rdi
lea    0xf14(%rip),%rsi
lea    0xf27(%rip),%rdx
lea    0xf24(%rip),%r13
lea    0xef9(%rip),%r8
lea    0xf4d(%rip),%r9
mov    %r13,%rcx
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xee0(%rip),%r14
lea    0xefd(%rip),%r15
lea    0xefb(%rip),%r12
jmp    119c <main+0x8c>
nopl   0x0(%rax)
cmp    $0x1,%ebx
mov    %r12,%r9
lea    0xf04(%rip),%rax
cmove  %rax,%r9
cmp    $0x9,%r10d
jne    1270 <main+0x160>
call   1030 <printf@plt>
add    $0x1,%ebx
cmp    $0x12,%ebx
je     128a <main+0x17a>
lea    -0x2(%rbx),%ecx
cmp    $0x7,%ecx
mov    $0x0,%eax
cmovb  %ecx,%eax
cmp    $0xc,%ebx
cmovae %ecx,%eax
movsbl %al,%ecx
imul   $0x56,%ecx,%ecx
movzwl %cx,%ecx
mov    %ecx,%edx
shr    $0xf,%edx
shr    $0x8,%ecx
add    %dl,%cl
movzbl %cl,%ecx
lea    (%rcx,%rcx,2),%edx
mov    %eax,%ecx
lea    0xe4d(%rip),%rdi
sub    %dl,%cl
je     11dd <main+0xcd>
lea    0xe35(%rip),%rdi
cmp    $0x2,%cl
lea    0xe19(%rip),%rcx
cmovge %rcx,%rdi
lea    0xe4b(%rip),%rsi
test   %eax,%eax
je     11f9 <main+0xe9>
mov    %r14,%rsi
cmp    $0x9,%ebx
lea    0xe33(%rip),%rcx
cmove  %rcx,%rsi
cmp    $0x1,%ebx
lea    0xe30(%rip),%rdx
lea    0xe3a(%rip),%rcx
cmove  %rcx,%rdx
mov    %ebx,%r10d
or     $0x8,%r10d
cmp    $0x9,%r10d
je     123e <main+0x12e>
cmp    $0xa,%ebx
lea    0xe13(%rip),%rdx
lea    0xe14(%rip),%rcx
cmove  %rcx,%rdx
cmp    $0x9,%ebx
mov    %r15,%rbp
cmove  %r13,%rbp
lea    0xde8(%rip),%r8
cmove  %r14,%r8
mov    %r13,%rcx
test   %eax,%eax
jne    1170 <main+0x60>
mov    %rbp,%rcx
jmp    1170 <main+0x60>
cs nopw 0x0(%rax,%rax,1)
cmp    $0xa,%ebx
lea    0xdec(%rip),%r9
lea    0xdeb(%rip),%rax
cmove  %rax,%r9
jmp    118b <main+0x7b>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"I don't know why \00"
@.str.1 = [13 x i8] c"Hello hello\0A\00"
@.str.2 = [23 x i8] c"%s say %s%s %s say %s\0A\00"
@.str.3 = [3 x i8] c"\0AI\00"
@.str.4 = [4 x i8] c"you\00"
@.str.5 = [4 x i8] c"You\00"
@.str.6 = [5 x i8] c"high\00"
@.str.7 = [8 x i8] c"goodbye\00"
@.str.8 = [4 x i8] c"why\00"
@.str.9 = [5 x i8] c"stop\00"
@.str.10 = [4 x i8] c"yes\00"
@.str.11 = [2 x i8] c",\00"
@.str.12 = [5 x i8] c" and\00"
@.str.13 = [2 x i8] c"I\00"
@.str.14 = [4 x i8] c"low\00"
@.str.15 = [6 x i8] c"hello\00"
@.str.16 = [21 x i8] c"I don't know, oh no\0A\00"
@.str.17 = [17 x i8] c"go go go, oh no\0A\00"
@.str.18 = [3 x i8] c"no\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
br label %3
3: ; preds = %148, %0
%4 = load i32, i32* %2
%5 = icmp slt i32 %4, 18
br i1 %5, label %6, label %151
6: ; preds = %3
%7 = load i32, i32* %2
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = load i32, i32* %2
%11 = icmp slt i32 %10, 9
br i1 %11, label %15, label %12
12: ; preds = %9, %6
%13 = load i32, i32* %2
%14 = icmp sgt i32 %13, 11
br i1 %14, label %15, label %18
15: ; preds = %12, %9
%16 = load i32, i32* %2
%17 = sub nsw i32 %16, 2
br label %19
18: ; preds = %12
br label %19
19: ; preds = %18, %15
%20 = phi i32 [ %17, %15 ], [ 0, %18 ]
%21 = srem i32 %20, 3
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %24
23: ; preds = %19
br label %43
24: ; preds = %19
%25 = load i32, i32* %2
%26 = icmp sgt i32 %25, 1
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, i32* %2
%29 = icmp slt i32 %28, 9
br i1 %29, label %33, label %30
30: ; preds = %27, %24
%31 = load i32, i32* %2
%32 = icmp sgt i32 %31, 11
br i1 %32, label %33, label %36
33: ; preds = %30, %27
%34 = load i32, i32* %2
%35 = sub nsw i32 %34, 2
br label %37
36: ; preds = %30
br label %37
37: ; preds = %36, %33
%38 = phi i32 [ %35, %33 ], [ 0, %36 ]
%39 = srem i32 %38, 3
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i64
%42 = select i1 %40, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0)
br label %43
43: ; preds = %37, %23
%44 = phi i8* [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), %23 ], [ %42, %37 ]
%45 = load i32, i32* %2
%46 = icmp eq i32 %45, 9
br i1 %46, label %47, label %48
47: ; preds = %43
br label %66
48: ; preds = %43
%49 = load i32, i32* %2
%50 = icmp sgt i32 %49, 1
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, i32* %2
%53 = icmp slt i32 %52, 9
br i1 %53, label %57, label %54
54: ; preds = %51, %48
%55 = load i32, i32* %2
%56 = icmp sgt i32 %55, 11
br i1 %56, label %57, label %60
57: ; preds = %54, %51
%58 = load i32, i32* %2
%59 = sub nsw i32 %58, 2
br label %61
60: ; preds = %54
br label %61
61: ; preds = %60, %57
%62 = phi i32 [ %59, %57 ], [ 0, %60 ]
%63 = icmp ne i32 %62, 0
%64 = zext i1 %63 to i64
%65 = select i1 %63, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0)
br label %66
66: ; preds = %61, %47
%67 = phi i8* [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %47 ], [ %65, %61 ]
%68 = load i32, i32* %2
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %89
70: ; preds = %66
%71 = load i32, i32* %2
%72 = sub nsw i32 %71, 1
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %86
74: ; preds = %70
%75 = load i32, i32* %2
%76 = icmp eq i32 %75, 9
br i1 %76, label %77, label %78
77: ; preds = %74
br label %84
78: ; preds = %74
%79 = load i32, i32* %2
%80 = sub nsw i32 %79, 10
%81 = icmp ne i32 %80, 0
%82 = zext i1 %81 to i64
%83 = select i1 %81, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0)
br label %84
84: ; preds = %78, %77
%85 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), %77 ], [ %83, %78 ]
br label %87
86: ; preds = %70
br label %87
87: ; preds = %86, %84
%88 = phi i8* [ %85, %84 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), %86 ]
br label %90
89: ; preds = %66
br label %90
90: ; preds = %89, %87
%91 = phi i8* [ %88, %87 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), %89 ]
%92 = load i32, i32* %2
%93 = icmp sgt i32 %92, 1
br i1 %93, label %94, label %97
94: ; preds = %90
%95 = load i32, i32* %2
%96 = icmp slt i32 %95, 9
br i1 %96, label %100, label %97
97: ; preds = %94, %90
%98 = load i32, i32* %2
%99 = icmp sgt i32 %98, 11
br i1 %99, label %100, label %103
100: ; preds = %97, %94
%101 = load i32, i32* %2
%102 = sub nsw i32 %101, 2
br label %104
103: ; preds = %97
br label %104
104: ; preds = %103, %100
%105 = phi i32 [ %102, %100 ], [ 0, %103 ]
%106 = load i32, i32* %2
%107 = icmp ne i32 %106, 0
%108 = xor i1 %107, true
%109 = zext i1 %108 to i32
%110 = add nsw i32 %105, %109
%111 = icmp ne i32 %110, 0
br i1 %111, label %115, label %112
112: ; preds = %104
%113 = load i32, i32* %2
%114 = icmp eq i32 %113, 9
br label %115
115: ; preds = %112, %104
%116 = phi i1 [ true, %104 ], [ %114, %112 ]
%117 = zext i1 %116 to i64
%118 = select i1 %116, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0)
%119 = load i32, i32* %2
%120 = icmp eq i32 %119, 9
%121 = zext i1 %120 to i64
%122 = select i1 %120, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0)
%123 = load i32, i32* %2
%124 = icmp ne i32 %123, 0
br i1 %124, label %125, label %144
125: ; preds = %115
%126 = load i32, i32* %2
%127 = sub nsw i32 %126, 1
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %141
129: ; preds = %125
%130 = load i32, i32* %2
%131 = icmp eq i32 %130, 9
br i1 %131, label %132, label %133
132: ; preds = %129
br label %139
133: ; preds = %129
%134 = load i32, i32* %2
%135 = sub nsw i32 %134, 10
%136 = icmp ne i32 %135, 0
%137 = zext i1 %136 to i64
%138 = select i1 %136, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0)
br label %139
139: ; preds = %133, %132
%140 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), %132 ], [ %138, %133 ]
br label %142
141: ; preds = %125
br label %142
142: ; preds = %141, %139
%143 = phi i8* [ %140, %139 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), %141 ]
br label %145
144: ; preds = %115
br label %145
145: ; preds = %144, %142
%146 = phi i8* [ %143, %142 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), %144 ]
%147 = call i32 @printf(i8* %44, i8* %67, i8* %91, i8* %118, i8* %122, i8* %146)
br label %148
148: ; preds = %145
%149 = load i32, i32* %2
%150 = add nsw i32 %149, 1
store i32 %150, i32* %2
br label %3
151: ; preds = %3
%152 = load i32, i32* %1
ret i32 %152
}

LLVM IR (-O2):
@.str = [18 x i8] c"I don't know why \00"
@.str.1 = [13 x i8] c"Hello hello\0A\00"
@.str.2 = [23 x i8] c"%s say %s%s %s say %s\0A\00"
@.str.3 = [3 x i8] c"\0AI\00"
@.str.4 = [4 x i8] c"you\00"
@.str.5 = [4 x i8] c"You\00"
@.str.6 = [5 x i8] c"high\00"
@.str.7 = [8 x i8] c"goodbye\00"
@.str.8 = [4 x i8] c"why\00"
@.str.9 = [5 x i8] c"stop\00"
@.str.10 = [4 x i8] c"yes\00"
@.str.11 = [2 x i8] c",\00"
@.str.12 = [5 x i8] c" and\00"
@.str.13 = [2 x i8] c"I\00"
@.str.14 = [4 x i8] c"low\00"
@.str.15 = [6 x i8] c"hello\00"
@.str.16 = [21 x i8] c"I don't know, oh no\0A\00"
@.str.17 = [17 x i8] c"go go go, oh no\0A\00"
@.str.18 = [3 x i8] c"no\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
br label %2
2: ; preds = %34, %0
%3 = phi i32 [ 1, %0 ], [ %37, %34 ]
%4 = add nsw i32 %3, -2
%5 = icmp ult i32 %4, 7
%6 = icmp ugt i32 %3, 11
%7 = or i1 %6, %5
%8 = select i1 %7, i32 %4, i32 0
%9 = trunc i32 %8 to i8
%10 = srem i8 %9, 3
%11 = icmp sgt i8 %10, 1
%12 = icmp eq i8 %10, 0
%13 = select i1 %12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0)
%14 = select i1 %11, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %13
%15 = icmp eq i32 %3, 9
%16 = icmp eq i32 %8, 0
%17 = select i1 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0)
%18 = select i1 %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %17
%19 = icmp eq i32 %3, 1
%20 = select i1 %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0)
switch i32 %3, label %21 [
i32 9, label %24
i32 1, label %24
]
21: ; preds = %2
%22 = icmp eq i32 %3, 10
%23 = select i1 %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0)
br label %24
24: ; preds = %2, %2, %21
%25 = phi i8* [ %20, %2 ], [ %20, %2 ], [ %23, %21 ]
%26 = icmp ne i32 %8, 0
%27 = select i1 %26, i1 true, i1 %15
%28 = select i1 %27, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0)
%29 = select i1 %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0)
%30 = select i1 %19, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0)
switch i32 %3, label %31 [
i32 9, label %34
i32 1, label %34
]
31: ; preds = %24
%32 = icmp eq i32 %3, 10
%33 = select i1 %32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0)
br label %34
34: ; preds = %24, %24, %31
%35 = phi i8* [ %33, %31 ], [ %30, %24 ], [ %30, %24 ]
%36 = tail call i32 @printf(i8* %14, i8* %18, i8* %25, i8* %28, i8* %29, i8* %35)
%37 = add nuw nsw i32 %3, 1
%38 = icmp eq i32 %37, 18
br i1 %38, label %39, label %2
39: ; preds = %34
ret i32 0
}