#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*/ fprintf(int /*<<< orphan*/, char *, long, long, ...);
long get_rand_int(int /*<<< orphan*/, long);
int /*<<< orphan*/ stdout;
void test_rand_int() {
  long imax = 15, nmax = 32000;
  long n, m, itest;
  long ibin[16], ibinmax[16];
  for (n = 0; n < 16; n++) {
    ibin[n] = 0;
    ibinmax[n] = (n + 1) * ((imax + 1) / 16) - 1;
  }
  for (n = 0; n < nmax; n++) {
    itest = get_rand_int(0, imax);
    for (m = -1; itest > ibinmax[++m];)
      ;
    ibin[m]++;
  }
  fprintf(stdout, "\nRandom function test (val= 0 - %ld, samples= %ld)\n", imax,
          nmax);
  fprintf(stdout, "  RAND_MAX1 is %ld (%le)\n", (long)1.0, (double)1.0);
  fprintf(stdout, "  Bin 0-%ld  N=%ld\n", ibinmax[0], ibin[0]);
  for (n = 1; n < 16; n++) {
    fprintf(stdout, "  Bin %ld-%ld  N=%ld\n", ibinmax[n - 1] + 1, ibinmax[n],
            ibin[n]);
  }
}


x86 assembly (clang, -O0):
<test_rand_int>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movq   $0xf,-0x8(%rbp)
movq   $0x7d00,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
cmpq   $0x10,-0x18(%rbp)
jge    119d <test_rand_int+0x7d>
mov    -0x18(%rbp),%rax
movq   $0x0,-0xb0(%rbp,%rax,8)
mov    -0x18(%rbp),%rcx
add    $0x1,%rcx
mov    -0x8(%rbp),%rax
add    $0x1,%rax
mov    $0x10,%esi
cqto
idiv   %rsi
imul   %rax,%rcx
sub    $0x1,%rcx
mov    -0x18(%rbp),%rax
mov    %rcx,-0x130(%rbp,%rax,8)
ff
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1143 <test_rand_int+0x23>
movq   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1219 <test_rand_int+0xf9>
mov    -0x8(%rbp),%rsi
xor    %edi,%edi
call   1030 <get_rand_int@plt>
mov    %rax,-0x28(%rbp)
movq   $0xffffffffffffffff,-0x20(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    %rcx,%rdx
add    $0x1,%rdx
mov    %rdx,-0x20(%rbp)
cmp    -0x128(%rbp,%rcx,8),%rax
ff
jle    11f0 <test_rand_int+0xd0>
jmp    11ca <test_rand_int+0xaa>
mov    -0x20(%rbp),%rax
mov    -0xb0(%rbp,%rax,8),%rcx
ff
add    $0x1,%rcx
mov    %rcx,-0xb0(%rbp,%rax,8)
ff
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    11a5 <test_rand_int+0x85>
mov    0x2dc0(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
mov    -0x10(%rbp),%rcx
lea    0xdcf(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2da1(%rip),%rax
mov    (%rax),%edi
lea    0xdec(%rip),%rsi
mov    $0x1,%ecx
mov    %rcx,%rdx
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2d82(%rip),%rax
mov    (%rax),%edi
mov    -0x130(%rbp),%rdx
mov    -0xb0(%rbp),%rcx
lea    0xdd9(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movq   $0x1,-0x18(%rbp)
cmpq   $0x10,-0x18(%rbp)
jge    12e3 <test_rand_int+0x1c3>
mov    0x2d4a(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rax
sub    $0x1,%rax
mov    -0x130(%rbp,%rax,8),%rdx
ff
add    $0x1,%rdx
mov    -0x18(%rbp),%rax
mov    -0x130(%rbp,%rax,8),%rcx
ff
mov    -0x18(%rbp),%rax
mov    -0xb0(%rbp,%rax,8),%r8
ff
lea    0xd97(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1284 <test_rand_int+0x164>
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_rand_int>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x108,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x70(%rsp)
movaps 0xea1(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xea2(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xea3(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xea4(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xea5(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xea6(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xea7(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xea8(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0xf,%esi
xor    %edi,%edi
call   1030 <get_rand_int@plt>
xor    %ecx,%ecx
xchg   %ax,%ax
mov    %rcx,%rdx
add    $0x8,%rcx
cmp    0x80(%rsp,%rdx,1),%rax
jg     11f0 <test_rand_int+0xd0>
addq   $0x1,-0x8(%rsp,%rcx,1)
add    $0x1,%rbx
cmp    $0x7d00,%rbx
jne    11e0 <test_rand_int+0xc0>
mov    0x2dc5(%rip),%r12
mov    (%r12),%edi
lea    0xe5a(%rip),%rsi
mov    $0xf,%edx
mov    $0x7d00,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r12),%edi
lea    0xe72(%rip),%rsi
mov    $0x1,%edx
mov    $0x1,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r12),%edi
mov    (%rsp),%rcx
lea    0xe6c(%rip),%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r12),%edi
mov    0x8(%rsp),%r8
lea    0xe67(%rip),%r14
mov    $0x1,%edx
mov    $0x1,%ecx
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x90(%rsp),%rbx
mov    (%r12),%edi
mov    0x10(%rsp),%r8
mov    $0x2,%edx
mov    %r14,%rsi
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0x98(%rsp),%r15
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x18(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xa0(%rsp),%rbx
mov    (%r12),%edi
add    $0x1,%r15
mov    0x20(%rsp),%r8
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xa8(%rsp),%r15
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x28(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xb0(%rsp),%rbx
mov    (%r12),%edi
add    $0x1,%r15
mov    0x30(%rsp),%r8
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xb8(%rsp),%r15
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x38(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xc0(%rsp),%rbx
mov    (%r12),%edi
add    $0x1,%r15
mov    0x40(%rsp),%r8
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xc8(%rsp),%r15
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x48(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xd0(%rsp),%rbx
mov    (%r12),%edi
add    $0x1,%r15
mov    0x50(%rsp),%r8
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xd8(%rsp),%r15
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x58(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xe0(%rsp),%rbx
mov    (%r12),%edi
add    $0x1,%r15
mov    0x60(%rsp),%r8
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xe8(%rsp),%r15
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x68(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xf0(%rsp),%rbx
mov    (%r12),%edi
add    $0x1,%r15
mov    0x70(%rsp),%r8
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    0xf8(%rsp),%rcx
mov    (%r12),%edi
add    $0x1,%rbx
mov    0x78(%rsp),%r8
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1040 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [52 x i8] c"\0ARandom function test (val= 0 - %ld, samples= %ld)\0A\00"
@.str.1 = [26 x i8] c" RAND_MAX1 is %ld (%le)\0A\00"
@.str.2 = [20 x i8] c" Bin 0-%ld N=%ld\0A\00"
@.str.3 = [22 x i8] c" Bin %ld-%ld N=%ld\0A\00"
define void @test_rand_int() {
%1 = alloca i64
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca [16 x i64]
%7 = alloca [16 x i64]
store i64 15, i64* %1
store i64 32000, i64* %2
store i64 0, i64* %3
br label %8
8: ; preds = %23, %0
%9 = load i64, i64* %3
%10 = icmp slt i64 %9, 16
br i1 %10, label %11, label %26
11: ; preds = %8
%12 = load i64, i64* %3
%13 = getelementptr inbounds [16 x i64], [16 x i64]* %6, i64 0, i64 %12
store i64 0, i64* %13
%14 = load i64, i64* %3
%15 = add nsw i64 %14, 1
%16 = load i64, i64* %1
%17 = add nsw i64 %16, 1
%18 = sdiv i64 %17, 16
%19 = mul nsw i64 %15, %18
%20 = sub nsw i64 %19, 1
%21 = load i64, i64* %3
%22 = getelementptr inbounds [16 x i64], [16 x i64]* %7, i64 0, i64 %21
store i64 %20, i64* %22
br label %23
23: ; preds = %11
%24 = load i64, i64* %3
%25 = add nsw i64 %24, 1
store i64 %25, i64* %3
br label %8
26: ; preds = %8
store i64 0, i64* %3
br label %27
27: ; preds = %47, %26
%28 = load i64, i64* %3
%29 = load i64, i64* %2
%30 = icmp slt i64 %28, %29
br i1 %30, label %31, label %50
31: ; preds = %27
%32 = load i64, i64* %1
%33 = call i64 @get_rand_int(i32 0, i64 %32)
store i64 %33, i64* %5
store i64 -1, i64* %4
br label %34
34: ; preds = %41, %31
%35 = load i64, i64* %5
%36 = load i64, i64* %4
%37 = add nsw i64 %36, 1
store i64 %37, i64* %4
%38 = getelementptr inbounds [16 x i64], [16 x i64]* %7, i64 0, i64 %37
%39 = load i64, i64* %38
%40 = icmp sgt i64 %35, %39
br i1 %40, label %41, label %42
41: ; preds = %34
br label %34
42: ; preds = %34
%43 = load i64, i64* %4
%44 = getelementptr inbounds [16 x i64], [16 x i64]* %6, i64 0, i64 %43
%45 = load i64, i64* %44
%46 = add nsw i64 %45, 1
store i64 %46, i64* %44
br label %47
47: ; preds = %42
%48 = load i64, i64* %3
%49 = add nsw i64 %48, 1
store i64 %49, i64* %3
br label %27
50: ; preds = %27
%51 = load i32, i32* @stdout
%52 = load i64, i64* %1
%53 = load i64, i64* %2
%54 = call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i64 %52, i64 %53)
%55 = load i32, i32* @stdout
%56 = call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i64 1, i64 1)
%57 = load i32, i32* @stdout
%58 = getelementptr inbounds [16 x i64], [16 x i64]* %7, i64 0, i64 0
%59 = load i64, i64* %58
%60 = getelementptr inbounds [16 x i64], [16 x i64]* %6, i64 0, i64 0
%61 = load i64, i64* %60
%62 = call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i64 %59, i64 %61)
store i64 1, i64* %3
br label %63
63: ; preds = %80, %50
%64 = load i64, i64* %3
%65 = icmp slt i64 %64, 16
br i1 %65, label %66, label %83
66: ; preds = %63
%67 = load i32, i32* @stdout
%68 = load i64, i64* %3
%69 = sub nsw i64 %68, 1
%70 = getelementptr inbounds [16 x i64], [16 x i64]* %7, i64 0, i64 %69
%71 = load i64, i64* %70
%72 = add nsw i64 %71, 1
%73 = load i64, i64* %3
%74 = getelementptr inbounds [16 x i64], [16 x i64]* %7, i64 0, i64 %73
%75 = load i64, i64* %74
%76 = load i64, i64* %3
%77 = getelementptr inbounds [16 x i64], [16 x i64]* %6, i64 0, i64 %76
%78 = load i64, i64* %77
%79 = call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %72, i64 %75, i64 %78)
br label %80
80: ; preds = %66
%81 = load i64, i64* %3
%82 = add nsw i64 %81, 1
store i64 %82, i64* %3
br label %63
83: ; preds = %63
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [52 x i8] c"\0ARandom function test (val= 0 - %ld, samples= %ld)\0A\00"
@.str.1 = [26 x i8] c" RAND_MAX1 is %ld (%le)\0A\00"
@.str.2 = [20 x i8] c" Bin 0-%ld N=%ld\0A\00"
@.str.3 = [22 x i8] c" Bin %ld-%ld N=%ld\0A\00"
define void @test_rand_int() {
%1 = alloca [16 x i64]
%2 = bitcast [16 x i64]* %1 to i8*
%3 = alloca [16 x i64]
%4 = bitcast [16 x i64]* %3 to i8*
%5 = bitcast [16 x i64]* %3 to <2 x i64>*
store <2 x i64> <i64 0, i64 1>, <2 x i64>* %5
%6 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 2
%7 = bitcast i64* %6 to <2 x i64>*
store <2 x i64> <i64 2, i64 3>, <2 x i64>* %7
%8 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 4
%9 = bitcast i64* %8 to <2 x i64>*
store <2 x i64> <i64 4, i64 5>, <2 x i64>* %9
%10 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 6
%11 = bitcast i64* %10 to <2 x i64>*
store <2 x i64> <i64 6, i64 7>, <2 x i64>* %11
%12 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 8
%13 = bitcast i64* %12 to <2 x i64>*
store <2 x i64> <i64 8, i64 9>, <2 x i64>* %13
%14 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 10
%15 = bitcast i64* %14 to <2 x i64>*
store <2 x i64> <i64 10, i64 11>, <2 x i64>* %15
%16 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 12
%17 = bitcast i64* %16 to <2 x i64>*
store <2 x i64> <i64 12, i64 13>, <2 x i64>* %17
%18 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 14
%19 = bitcast i64* %18 to <2 x i64>*
store <2 x i64> <i64 14, i64 15>, <2 x i64>* %19
br label %20
20: ; preds = %0, %29
%21 = phi i64 [ %33, %29 ], [ 0, %0 ]
%22 = tail call i64 @get_rand_int(i32 0, i64 15)
br label %23
23: ; preds = %23, %20
%24 = phi i64 [ -1, %20 ], [ %25, %23 ]
%25 = add nsw i64 %24, 1
%26 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 %25
%27 = load i64, i64* %26
%28 = icmp sgt i64 %22, %27
br i1 %28, label %23, label %29
29: ; preds = %23
%30 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 %25
%31 = load i64, i64* %30
%32 = add nsw i64 %31, 1
store i64 %32, i64* %30
%33 = add nuw nsw i64 %21, 1
%34 = icmp eq i64 %33, 32000
br i1 %34, label %35, label %20
35: ; preds = %29
%36 = load i32, i32* @stdout
%37 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i64 15, i64 32000)
%38 = load i32, i32* @stdout
%39 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i64 1, i64 1)
%40 = load i32, i32* @stdout
%41 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 0
%42 = load i64, i64* %41
%43 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i64 0, i64 %42)
%44 = load i32, i32* @stdout
%45 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 1
%46 = load i64, i64* %45
%47 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 1, i64 1, i64 %46)
%48 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 2
%49 = load i64, i64* %48
%50 = load i32, i32* @stdout
%51 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 2
%52 = load i64, i64* %51
%53 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 2, i64 %49, i64 %52)
%54 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 3
%55 = load i64, i64* %54
%56 = load i32, i32* @stdout
%57 = add nsw i64 %49, 1
%58 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 3
%59 = load i64, i64* %58
%60 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %57, i64 %55, i64 %59)
%61 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 4
%62 = load i64, i64* %61
%63 = load i32, i32* @stdout
%64 = add nsw i64 %55, 1
%65 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 4
%66 = load i64, i64* %65
%67 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %64, i64 %62, i64 %66)
%68 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 5
%69 = load i64, i64* %68
%70 = load i32, i32* @stdout
%71 = add nsw i64 %62, 1
%72 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 5
%73 = load i64, i64* %72
%74 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %71, i64 %69, i64 %73)
%75 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 6
%76 = load i64, i64* %75
%77 = load i32, i32* @stdout
%78 = add nsw i64 %69, 1
%79 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 6
%80 = load i64, i64* %79
%81 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %77, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %78, i64 %76, i64 %80)
%82 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 7
%83 = load i64, i64* %82
%84 = load i32, i32* @stdout
%85 = add nsw i64 %76, 1
%86 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 7
%87 = load i64, i64* %86
%88 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %84, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %85, i64 %83, i64 %87)
%89 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 8
%90 = load i64, i64* %89
%91 = load i32, i32* @stdout
%92 = add nsw i64 %83, 1
%93 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 8
%94 = load i64, i64* %93
%95 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %91, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %92, i64 %90, i64 %94)
%96 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 9
%97 = load i64, i64* %96
%98 = load i32, i32* @stdout
%99 = add nsw i64 %90, 1
%100 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 9
%101 = load i64, i64* %100
%102 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %98, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %99, i64 %97, i64 %101)
%103 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 10
%104 = load i64, i64* %103
%105 = load i32, i32* @stdout
%106 = add nsw i64 %97, 1
%107 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 10
%108 = load i64, i64* %107
%109 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %105, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %106, i64 %104, i64 %108)
%110 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 11
%111 = load i64, i64* %110
%112 = load i32, i32* @stdout
%113 = add nsw i64 %104, 1
%114 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 11
%115 = load i64, i64* %114
%116 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %112, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %113, i64 %111, i64 %115)
%117 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 12
%118 = load i64, i64* %117
%119 = load i32, i32* @stdout
%120 = add nsw i64 %111, 1
%121 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 12
%122 = load i64, i64* %121
%123 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %119, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %120, i64 %118, i64 %122)
%124 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 13
%125 = load i64, i64* %124
%126 = load i32, i32* @stdout
%127 = add nsw i64 %118, 1
%128 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 13
%129 = load i64, i64* %128
%130 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %126, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %127, i64 %125, i64 %129)
%131 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 14
%132 = load i64, i64* %131
%133 = load i32, i32* @stdout
%134 = add nsw i64 %125, 1
%135 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 14
%136 = load i64, i64* %135
%137 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %133, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %134, i64 %132, i64 %136)
%138 = getelementptr inbounds [16 x i64], [16 x i64]* %3, i64 0, i64 15
%139 = load i64, i64* %138
%140 = load i32, i32* @stdout
%141 = add nsw i64 %132, 1
%142 = getelementptr inbounds [16 x i64], [16 x i64]* %1, i64 0, i64 15
%143 = load i64, i64* %142
%144 = tail call i32 (i32, i8*, i64, i64, ...) @fprintf(i32 %140, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %141, i64 %139, i64 %143)
ret void
}