#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*/ cprint(int, int, char *);
int /*<<< orphan*/ dprint(int, int, int, int, int /*<<< orphan*/);
void print_ram_line(float cas, int rcd, int rp, int ras, int chan) {
  int cur_col = 41;
  cprint(8, cur_col, "Timings: CAS                        ");
  cur_col += 13;
  if (cas == 1.5) {
    cprint(8, cur_col, "1.5");
    cur_col += 3;
  } else if (cas == 2.5) {
    cprint(8, cur_col, "2.5");
    cur_col += 3;
  } else if (cas < 10) {
    dprint(8, cur_col, cas, 1, 0);
    cur_col += 1;
  } else {
    dprint(8, cur_col, cas, 2, 0);
    cur_col += 2;
  }
  cprint(8, cur_col, "-");
  cur_col += 1;
  if (rcd < 10) {
    dprint(8, cur_col, rcd, 1, 0);
    cur_col += 1;
  } else {
    dprint(8, cur_col, rcd, 2, 0);
    cur_col += 2;
  }
  cprint(8, cur_col, "-");
  cur_col += 1;
  if (rp < 10) {
    dprint(8, cur_col, rp, 1, 0);
    cur_col += 1;
  } else {
    dprint(8, cur_col, rp, 2, 0);
    cur_col += 2;
  }
  cprint(8, cur_col, "-");
  cur_col += 1;
  if (ras < 10) {
    dprint(8, cur_col, ras, 1, 0);
    cur_col += 1;
  } else {
    dprint(8, cur_col, ras, 2, 0);
    cur_col += 2;
  }
  switch (chan) {
  case 0:
    break;
  case 1:
    cprint(8, cur_col, " @ 64-bit Mode");
    break;
  case 2:
    cprint(8, cur_col, " @ 128-bit Mode");
    break;
  case 3:
    cprint(8, cur_col, " @ 192-bit Mode");
    break;
  case 4:
    cprint(8, cur_col, " @ 256-bit Mode");
    break;
  }
}


x86 assembly (clang, -O0):
<print_ram_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movss  %xmm0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
movl   $0x29,-0x18(%rbp)
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xed9(%rip),%rdx
call   1030 <cprint@plt>
mov    -0x18(%rbp),%eax
add    $0xd,%eax
mov    %eax,-0x18(%rbp)
movss  -0x4(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe92(%rip),%xmm1
ucomisd %xmm1,%xmm0
jne    11a0 <print_ram_line+0x80>
jp     11a0 <print_ram_line+0x80>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xec0(%rip),%rdx
call   1030 <cprint@plt>
mov    -0x18(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0x18(%rbp)
jmp    124a <print_ram_line+0x12a>
movss  -0x4(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe57(%rip),%xmm1
ucomisd %xmm1,%xmm0
jne    11e3 <print_ram_line+0xc3>
jp     11e3 <print_ram_line+0xc3>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xe81(%rip),%rdx
call   1030 <cprint@plt>
mov    -0x18(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0x18(%rbp)
jmp    1245 <print_ram_line+0x125>
movss  0xe25(%rip),%xmm0
ucomiss -0x4(%rbp),%xmm0
jbe    121d <print_ram_line+0xfd>
mov    -0x18(%rbp),%esi
cvttss2si -0x4(%rbp),%edx
mov    $0x8,%edi
mov    $0x1,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1240 <print_ram_line+0x120>
mov    -0x18(%rbp),%esi
cvttss2si -0x4(%rbp),%edx
mov    $0x8,%edi
mov    $0x2,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x18(%rbp)
jmp    1245 <print_ram_line+0x125>
jmp    124a <print_ram_line+0x12a>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xdfc(%rip),%rdx
call   1030 <cprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1297 <print_ram_line+0x177>
mov    -0x18(%rbp),%esi
mov    -0x8(%rbp),%edx
mov    $0x8,%edi
mov    $0x1,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12b8 <print_ram_line+0x198>
mov    -0x18(%rbp),%esi
mov    -0x8(%rbp),%edx
mov    $0x8,%edi
mov    $0x2,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xd8e(%rip),%rdx
call   1030 <cprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1305 <print_ram_line+0x1e5>
mov    -0x18(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    $0x8,%edi
mov    $0x1,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1326 <print_ram_line+0x206>
mov    -0x18(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    $0x8,%edi
mov    $0x2,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xd20(%rip),%rdx
call   1030 <cprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0xa,-0x10(%rbp)
jge    1373 <print_ram_line+0x253>
mov    -0x18(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    $0x8,%edi
mov    $0x1,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1394 <print_ram_line+0x274>
mov    -0x18(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    $0x8,%edi
mov    $0x2,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    -0x18(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%eax
mov    %rax,-0x20(%rbp)
sub    $0x4,%rax
ja     141d <print_ram_line+0x2fd>
mov    -0x20(%rbp),%rax
lea    0xc64(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
jmp    141d <print_ram_line+0x2fd>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xc8a(%rip),%rdx
call   1030 <cprint@plt>
jmp    141d <print_ram_line+0x2fd>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xc80(%rip),%rdx
call   1030 <cprint@plt>
jmp    141d <print_ram_line+0x2fd>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xc77(%rip),%rdx
call   1030 <cprint@plt>
jmp    141d <print_ram_line+0x2fd>
mov    -0x18(%rbp),%esi
mov    $0x8,%edi
lea    0xc6e(%rip),%rdx
call   1030 <cprint@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_ram_line>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %ecx,%r12d
mov    %edx,%ebx
mov    %esi,0x10(%rsp)
mov    %edi,%r13d
movss  %xmm0,0xc(%rsp)
lea    0xec5(%rip),%rdx
mov    $0x8,%edi
mov    $0x29,%esi
call   1030 <cprint@plt>
movss  0xc(%rsp),%xmm1
ucomiss 0xe9d(%rip),%xmm1
mov    %ebx,0x14(%rsp)
jne    1174 <print_ram_line+0x54>
jp     1174 <print_ram_line+0x54>
lea    0xebf(%rip),%rdx
jmp    118e <print_ram_line+0x6e>
ucomiss 0xe89(%rip),%xmm1
jne    12aa <print_ram_line+0x18a>
jp     12aa <print_ram_line+0x18a>
lea    0xea7(%rip),%rdx
mov    $0x8,%edi
mov    $0x36,%esi
call   1030 <cprint@plt>
mov    $0x39,%ebx
lea    0xe90(%rip),%r14
mov    $0x8,%edi
mov    %ebx,%esi
mov    %r14,%rdx
call   1030 <cprint@plt>
lea    0x1(%rbx),%esi
xor    %eax,%eax
cmp    $0xa,%r13d
setl   %al
mov    $0x2,%r15d
mov    $0x2,%ecx
sub    %eax,%ecx
sub    %eax,%ebx
mov    $0x8,%edi
mov    %r13d,%edx
xor    %r8d,%r8d
call   1040 <dprint@plt>
lea    0x3(%rbx),%ebp
mov    $0x8,%edi
mov    %ebp,%esi
mov    %r14,%rdx
call   1030 <cprint@plt>
add    $0x4,%ebx
xor    %eax,%eax
mov    0x10(%rsp),%edx
cmp    $0xa,%edx
setl   %al
mov    $0x2,%ecx
sub    %eax,%ecx
sub    %eax,%ebp
mov    $0x8,%edi
mov    %ebx,%esi
xor    %r8d,%r8d
call   1040 <dprint@plt>
lea    0x3(%rbp),%r13d
mov    $0x8,%edi
mov    %r13d,%esi
mov    %r14,%rdx
call   1030 <cprint@plt>
add    $0x4,%ebp
xor    %eax,%eax
mov    0x14(%rsp),%ebx
cmp    $0xa,%ebx
setl   %al
sub    %eax,%r15d
mov    $0x8,%edi
mov    %ebp,%esi
mov    %ebx,%edx
mov    %r15d,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
add    $0xffffffff,%r12d
cmp    $0x3,%r12d
ja     129b <print_ram_line+0x17b>
xor    %eax,%eax
cmp    $0xa,%ebx
setl   %al
sub    %eax,%r13d
add    $0x3,%r13d
movslq %r12d,%rax
lea    0xe03(%rip),%rcx
movslq (%rcx,%rax,4),%rdx
add    %rcx,%rdx
mov    $0x8,%edi
mov    %r13d,%esi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <cprint@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movss  0xd56(%rip),%xmm0
ucomiss %xmm1,%xmm0
cvttss2si %xmm1,%edx
mov    $0x8,%edi
mov    $0x36,%esi
jbe    12dc <print_ram_line+0x1bc>
mov    $0x1,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    $0x37,%ebx
jmp    11a2 <print_ram_line+0x82>
mov    $0x2,%ecx
xor    %r8d,%r8d
call   1040 <dprint@plt>
mov    $0x38,%ebx
jmp    11a2 <print_ram_line+0x82>

LLVM IR (-O0):
@.str = [37 x i8] c"Timings: CAS \00"
@.str.1 = [4 x i8] c"1.5\00"
@.str.2 = [4 x i8] c"2.5\00"
@.str.3 = [2 x i8] c"-\00"
@.str.4 = [15 x i8] c" @ 64-bit Mode\00"
@.str.5 = [16 x i8] c" @ 128-bit Mode\00"
@.str.6 = [16 x i8] c" @ 192-bit Mode\00"
@.str.7 = [16 x i8] c" @ 256-bit Mode\00"
define void @print_ram_line(float %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca float
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store float %0, float* %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
store i32 41, i32* %11
%12 = load i32, i32* %11
%13 = call i32 @cprint(i32 8, i32 %12, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%14 = load i32, i32* %11
%15 = add nsw i32 %14, 13
store i32 %15, i32* %11
%16 = load float, float* %6
%17 = fpext float %16 to double
%18 = fcmp oeq double %17, 1.500000e+00
br i1 %18, label %19, label %24
19: ; preds = %5
%20 = load i32, i32* %11
%21 = call i32 @cprint(i32 8, i32 %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%22 = load i32, i32* %11
%23 = add nsw i32 %22, 3
store i32 %23, i32* %11
br label %52
24: ; preds = %5
%25 = load float, float* %6
%26 = fpext float %25 to double
%27 = fcmp oeq double %26, 2.500000e+00
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load i32, i32* %11
%30 = call i32 @cprint(i32 8, i32 %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%31 = load i32, i32* %11
%32 = add nsw i32 %31, 3
store i32 %32, i32* %11
br label %51
33: ; preds = %24
%34 = load float, float* %6
%35 = fcmp olt float %34, 1.000000e+01
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, i32* %11
%38 = load float, float* %6
%39 = fptosi float %38 to i32
%40 = call i32 @dprint(i32 8, i32 %37, i32 %39, i32 1, i32 0)
%41 = load i32, i32* %11
%42 = add nsw i32 %41, 1
store i32 %42, i32* %11
br label %50
43: ; preds = %33
%44 = load i32, i32* %11
%45 = load float, float* %6
%46 = fptosi float %45 to i32
%47 = call i32 @dprint(i32 8, i32 %44, i32 %46, i32 2, i32 0)
%48 = load i32, i32* %11
%49 = add nsw i32 %48, 2
store i32 %49, i32* %11
br label %50
50: ; preds = %43, %36
br label %51
51: ; preds = %50, %28
br label %52
52: ; preds = %51, %19
%53 = load i32, i32* %11
%54 = call i32 @cprint(i32 8, i32 %53, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%55 = load i32, i32* %11
%56 = add nsw i32 %55, 1
store i32 %56, i32* %11
%57 = load i32, i32* %7
%58 = icmp slt i32 %57, 10
br i1 %58, label %59, label %65
59: ; preds = %52
%60 = load i32, i32* %11
%61 = load i32, i32* %7
%62 = call i32 @dprint(i32 8, i32 %60, i32 %61, i32 1, i32 0)
%63 = load i32, i32* %11
%64 = add nsw i32 %63, 1
store i32 %64, i32* %11
br label %71
65: ; preds = %52
%66 = load i32, i32* %11
%67 = load i32, i32* %7
%68 = call i32 @dprint(i32 8, i32 %66, i32 %67, i32 2, i32 0)
%69 = load i32, i32* %11
%70 = add nsw i32 %69, 2
store i32 %70, i32* %11
br label %71
71: ; preds = %65, %59
%72 = load i32, i32* %11
%73 = call i32 @cprint(i32 8, i32 %72, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%74 = load i32, i32* %11
%75 = add nsw i32 %74, 1
store i32 %75, i32* %11
%76 = load i32, i32* %8
%77 = icmp slt i32 %76, 10
br i1 %77, label %78, label %84
78: ; preds = %71
%79 = load i32, i32* %11
%80 = load i32, i32* %8
%81 = call i32 @dprint(i32 8, i32 %79, i32 %80, i32 1, i32 0)
%82 = load i32, i32* %11
%83 = add nsw i32 %82, 1
store i32 %83, i32* %11
br label %90
84: ; preds = %71
%85 = load i32, i32* %11
%86 = load i32, i32* %8
%87 = call i32 @dprint(i32 8, i32 %85, i32 %86, i32 2, i32 0)
%88 = load i32, i32* %11
%89 = add nsw i32 %88, 2
store i32 %89, i32* %11
br label %90
90: ; preds = %84, %78
%91 = load i32, i32* %11
%92 = call i32 @cprint(i32 8, i32 %91, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%93 = load i32, i32* %11
%94 = add nsw i32 %93, 1
store i32 %94, i32* %11
%95 = load i32, i32* %9
%96 = icmp slt i32 %95, 10
br i1 %96, label %97, label %103
97: ; preds = %90
%98 = load i32, i32* %11
%99 = load i32, i32* %9
%100 = call i32 @dprint(i32 8, i32 %98, i32 %99, i32 1, i32 0)
%101 = load i32, i32* %11
%102 = add nsw i32 %101, 1
store i32 %102, i32* %11
br label %109
103: ; preds = %90
%104 = load i32, i32* %11
%105 = load i32, i32* %9
%106 = call i32 @dprint(i32 8, i32 %104, i32 %105, i32 2, i32 0)
%107 = load i32, i32* %11
%108 = add nsw i32 %107, 2
store i32 %108, i32* %11
br label %109
109: ; preds = %103, %97
%110 = load i32, i32* %10
switch i32 %110, label %124 [
i32 0, label %111
i32 1, label %112
i32 2, label %115
i32 3, label %118
i32 4, label %121
]
111: ; preds = %109
br label %124
112: ; preds = %109
%113 = load i32, i32* %11
%114 = call i32 @cprint(i32 8, i32 %113, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
br label %124
115: ; preds = %109
%116 = load i32, i32* %11
%117 = call i32 @cprint(i32 8, i32 %116, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
br label %124
118: ; preds = %109
%119 = load i32, i32* %11
%120 = call i32 @cprint(i32 8, i32 %119, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
br label %124
121: ; preds = %109
%122 = load i32, i32* %11
%123 = call i32 @cprint(i32 8, i32 %122, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
br label %124
124: ; preds = %109, %121, %118, %115, %112, %111
ret void
}

LLVM IR (-O2):
@.str = [37 x i8] c"Timings: CAS \00"
@.str.1 = [4 x i8] c"1.5\00"
@.str.2 = [4 x i8] c"2.5\00"
@.str.3 = [2 x i8] c"-\00"
@.str.4 = [15 x i8] c" @ 64-bit Mode\00"
@.str.5 = [16 x i8] c" @ 128-bit Mode\00"
@.str.6 = [16 x i8] c" @ 192-bit Mode\00"
@.str.7 = [16 x i8] c" @ 256-bit Mode\00"
@reltable.print_ram_line = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.4 to i64), i64 ptrtoint ([4 x i32]* @reltable.print_ram_line to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.5 to i64), i64 ptrtoint ([4 x i32]* @reltable.print_ram_line to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.6 to i64), i64 ptrtoint ([4 x i32]* @reltable.print_ram_line to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.7 to i64), i64 ptrtoint ([4 x i32]* @reltable.print_ram_line to i64)) to i32)]
define void @print_ram_line(float %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = tail call i32 @cprint(i32 8, i32 41, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%7 = fcmp oeq float %0, 1.500000e+00
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 @cprint(i32 8, i32 54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %21
10: ; preds = %5
%11 = fcmp oeq float %0, 2.500000e+00
br i1 %11, label %12, label %14
12: ; preds = %10
%13 = tail call i32 @cprint(i32 8, i32 54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %21
14: ; preds = %10
%15 = fcmp olt float %0, 1.000000e+01
%16 = fptosi float %0 to i32
br i1 %15, label %17, label %19
17: ; preds = %14
%18 = tail call i32 @dprint(i32 8, i32 54, i32 %16, i32 1, i32 0)
br label %21
19: ; preds = %14
%20 = tail call i32 @dprint(i32 8, i32 54, i32 %16, i32 2, i32 0)
br label %21
21: ; preds = %12, %19, %17, %8
%22 = phi i32 [ 57, %8 ], [ 57, %12 ], [ 55, %17 ], [ 56, %19 ]
%23 = tail call i32 @cprint(i32 8, i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%24 = add nuw nsw i32 %22, 1
%25 = icmp slt i32 %1, 10
%26 = select i1 %25, i32 1, i32 2
%27 = select i1 %25, i32 2, i32 3
%28 = tail call i32 @dprint(i32 8, i32 %24, i32 %1, i32 %26, i32 0)
%29 = add nuw nsw i32 %22, %27
%30 = tail call i32 @cprint(i32 8, i32 %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%31 = add nuw nsw i32 %29, 1
%32 = icmp slt i32 %2, 10
%33 = select i1 %32, i32 1, i32 2
%34 = select i1 %32, i32 2, i32 3
%35 = tail call i32 @dprint(i32 8, i32 %31, i32 %2, i32 %33, i32 0)
%36 = add nuw nsw i32 %29, %34
%37 = tail call i32 @cprint(i32 8, i32 %36, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%38 = add nuw nsw i32 %36, 1
%39 = icmp slt i32 %3, 10
%40 = select i1 %39, i32 1, i32 2
%41 = tail call i32 @dprint(i32 8, i32 %38, i32 %3, i32 %40, i32 0)
%42 = add i32 %4, -1
%43 = icmp ult i32 %42, 4
br i1 %43, label %44, label %51
44: ; preds = %21
%45 = select i1 %39, i32 2, i32 3
%46 = add nuw nsw i32 %36, %45
%47 = sext i32 %42 to i64
%48 = shl i64 %47, 2
%49 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.print_ram_line to i8*), i64 %48)
%50 = tail call i32 @cprint(i32 8, i32 %46, i8* %49)
br label %51
51: ; preds = %21, %44
ret void
}