#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*/ assert(int);
int grid_sum(int *, int, int, int, int, int, int);
int grid_sum_y(int *, int, int, int, int, int, int);
int *malloc(int);
double microTime();
int /*<<< orphan*/ printf(char *, ...);
int main() {
  int grid[10][10];
  for (int i = 0; i < 10; i++) {
    for (int j = 0; j < 10; j++) {
      grid[j][i] = i * j;
      printf("%2d ", i * j);
    }
    printf("\n");
  }
  assert(grid_sum((int *)&grid, 10, 10, 1, 1, 2, 2) == 9);
  assert(grid_sum_y((int *)&grid, 10, 10, 1, 1, 2, 2) == 9);
  int *grid2 = malloc(sizeof(int) * 10000 * 10000);
  for (int i = 0; i < 10000; i++) {
    for (int j = 0; j < 10000; j++) {
      grid2[j * 10000 + i] = 0;
    }
  }
  double start = microTime();
  int sum1 = grid_sum(grid2, 10000, 10000, 0, 0, 10000 - 1, 10000 - 1);
  double mid = microTime();
  int sum2 = grid_sum_y(grid2, 10000, 10000, 0, 0, 10000 - 1, 10000 - 1);
  double end = microTime();
  printf("%f\n", mid - start);
  printf("%f\n", end - mid);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1f0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    121d <main+0xbd>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    11fb <main+0x9b>
mov    -0x1a4(%rbp),%edx
imul   -0x1a8(%rbp),%edx
movslq -0x1a8(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a4(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1a4(%rbp),%esi
imul   -0x1a8(%rbp),%esi
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    1193 <main+0x33>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    117c <main+0x1c>
lea    -0x1a0(%rbp),%rdi
mov    $0xa,%edx
mov    $0x1,%r8d
mov    $0x2,%r9d
mov    %edx,%esi
mov    %r8d,%ecx
movl   $0x2,(%rsp)
call   1080 <grid_sum@plt>
cmp    $0x9,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    -0x1a0(%rbp),%rdi
mov    $0xa,%edx
mov    $0x1,%r8d
mov    $0x2,%r9d
mov    %edx,%esi
mov    %r8d,%ecx
movl   $0x2,(%rsp)
call   1040 <grid_sum_y@plt>
cmp    $0x9,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
mov    $0x17d78400,%edi
call   1060 <malloc@plt>
mov    %rax,-0x1b0(%rbp)
movl   $0x0,-0x1b4(%rbp)
cmpl   $0x2710,-0x1b4(%rbp)
jge    1322 <main+0x1c2>
movl   $0x0,-0x1b8(%rbp)
cmpl   $0x2710,-0x1b8(%rbp)
jge    1309 <main+0x1a9>
mov    -0x1b0(%rbp),%rax
imul   $0x2710,-0x1b8(%rbp),%ecx
add    -0x1b4(%rbp),%ecx
movslq %ecx,%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x1b8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b8(%rbp)
jmp    12c4 <main+0x164>
jmp    130e <main+0x1ae>
mov    -0x1b4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b4(%rbp)
jmp    12aa <main+0x14a>
mov    $0x0,%al
call   1070 <microTime@plt>
movsd  %xmm0,-0x1c0(%rbp)
ff
mov    -0x1b0(%rbp),%rdi
mov    $0x2710,%edx
xor    %r8d,%r8d
mov    $0x270f,%r9d
mov    %edx,%esi
mov    %r8d,%ecx
movl   $0x270f,(%rsp)
call   1080 <grid_sum@plt>
mov    %eax,-0x1c4(%rbp)
mov    $0x0,%al
call   1070 <microTime@plt>
movsd  %xmm0,-0x1d0(%rbp)
ff
mov    -0x1b0(%rbp),%rdi
mov    $0x2710,%edx
xor    %r8d,%r8d
mov    $0x270f,%r9d
mov    %edx,%esi
mov    %r8d,%ecx
movl   $0x270f,(%rsp)
call   1040 <grid_sum_y@plt>
mov    %eax,-0x1d4(%rbp)
mov    $0x0,%al
call   1070 <microTime@plt>
movsd  %xmm0,-0x1e0(%rbp)
ff
movsd  -0x1d0(%rbp),%xmm0
ff
subsd  -0x1c0(%rbp),%xmm0
ff
lea    0xc47(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x1e0(%rbp),%xmm0
ff
subsd  -0x1d0(%rbp),%xmm0
ff
lea    0xc29(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x1f0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1c8,%rsp
xor    %r14d,%r14d
movl   $0x0,0x8(%rsp)
movl   $0x0,0x20(%rsp)
xor    %ebx,%ebx
xor    %r12d,%r12d
xor    %r13d,%r13d
movl   $0x0,0x18(%rsp)
xor    %r15d,%r15d
movl   $0x0,0x14(%rsp)
nop
movl   $0x0,0x30(%rsp,%rbx,1)
lea    0xe41(%rip),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14d,0x2c(%rsp)
mov    %r14d,0x58(%rsp,%rbx,1)
mov    %rbp,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rsp),%esi
mov    %esi,0x80(%rsp,%rbx,1)
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
mov    %esi,0xa8(%rsp,%rbx,1)
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebx,0xd0(%rsp,%rbx,1)
mov    %rbp,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,0xf8(%rsp,%rbx,1)
mov    %rbp,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13d,0x120(%rsp,%rbx,1)
mov    %rbp,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%r14d
mov    %r14d,0x148(%rsp,%rbx,1)
mov    %rbp,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,0x170(%rsp,%rbx,1)
mov    %rbp,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%ebp
mov    %ebp,0x198(%rsp,%rbx,1)
lea    0xd76(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x9,%ebp
mov    %ebp,0x14(%rsp)
add    $0x8,%r15d
add    $0x7,%r14d
mov    %r14d,0x18(%rsp)
add    $0x6,%r13d
add    $0x5,%r12d
add    $0x4,%rbx
addl   $0x3,0x20(%rsp)
addl   $0x2,0x8(%rsp)
mov    0x2c(%rsp),%r14d
add    $0x1,%r14d
cmp    $0x28,%rbx
jne    11b0 <main+0x40>
movl   $0x2,(%rsp)
lea    0x30(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0xa,%edx
mov    $0x1,%ecx
mov    $0x1,%r8d
mov    $0x2,%r9d
call   1090 <grid_sum@plt>
xor    %edi,%edi
cmp    $0x9,%eax
sete   %dil
call   1060 <assert@plt>
movl   $0x2,(%rsp)
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0xa,%edx
mov    $0x1,%ecx
mov    $0x1,%r8d
mov    $0x2,%r9d
call   1050 <grid_sum_y@plt>
xor    %edi,%edi
cmp    $0x9,%eax
sete   %dil
call   1060 <assert@plt>
mov    $0x17d78400,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
xor    %eax,%eax
mov    %rbx,%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movl   $0x0,(%rcx,%rdx,1)
movl   $0x0,0x9c40(%rcx,%rdx,1)
movl   $0x0,0x13880(%rcx,%rdx,1)
movl   $0x0,0x1d4c0(%rcx,%rdx,1)
movl   $0x0,0x27100(%rcx,%rdx,1)
add    $0x30d40,%rdx
cmp    $0x17d78400,%rdx
jne    1380 <main+0x210>
add    $0x1,%rax
add    $0x4,%rcx
cmp    $0x2710,%rax
jne    1370 <main+0x200>
xor    %eax,%eax
call   1080 <microTime@plt>
movsd  %xmm0,0x20(%rsp)
movl   $0x270f,(%rsp)
mov    %rbx,%rdi
mov    $0x2710,%esi
mov    $0x2710,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
mov    $0x270f,%r9d
call   1090 <grid_sum@plt>
xor    %eax,%eax
call   1080 <microTime@plt>
movsd  %xmm0,0x8(%rsp)
movl   $0x270f,(%rsp)
mov    %rbx,%rdi
mov    $0x2710,%esi
mov    $0x2710,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
mov    $0x270f,%r9d
call   1050 <grid_sum_y@plt>
xor    %eax,%eax
call   1080 <microTime@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0x8(%rsp),%xmm0
subsd  0x20(%rsp),%xmm0
lea    0xbb0(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x18(%rsp),%xmm0
subsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x1c8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%2d \00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [4 x i8] c"%f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x [10 x i32]]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32*
%6 = alloca i32
%7 = alloca i32
%8 = alloca double
%9 = alloca i32
%10 = alloca double
%11 = alloca i32
%12 = alloca double
store i32 0, i32* %1
store i32 0, i32* %3
br label %13
13: ; preds = %39, %0
%14 = load i32, i32* %3
%15 = icmp slt i32 %14, 10
br i1 %15, label %16, label %42
16: ; preds = %13
store i32 0, i32* %4
br label %17
17: ; preds = %34, %16
%18 = load i32, i32* %4
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %37
20: ; preds = %17
%21 = load i32, i32* %3
%22 = load i32, i32* %4
%23 = mul nsw i32 %21, %22
%24 = load i32, i32* %4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %2, i64 0, i64 %25
%27 = load i32, i32* %3
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], [10 x i32]* %26, i64 0, i64 %28
store i32 %23, i32* %29
%30 = load i32, i32* %3
%31 = load i32, i32* %4
%32 = mul nsw i32 %30, %31
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %32)
br label %34
34: ; preds = %20
%35 = load i32, i32* %4
%36 = add nsw i32 %35, 1
store i32 %36, i32* %4
br label %17
37: ; preds = %17
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %39
39: ; preds = %37
%40 = load i32, i32* %3
%41 = add nsw i32 %40, 1
store i32 %41, i32* %3
br label %13
42: ; preds = %13
%43 = bitcast [10 x [10 x i32]]* %2 to i32*
%44 = call i32 @grid_sum(i32* %43, i32 10, i32 10, i32 1, i32 1, i32 2, i32 2)
%45 = icmp eq i32 %44, 9
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 %46)
%48 = bitcast [10 x [10 x i32]]* %2 to i32*
%49 = call i32 @grid_sum_y(i32* %48, i32 10, i32 10, i32 1, i32 1, i32 2, i32 2)
%50 = icmp eq i32 %49, 9
%51 = zext i1 %50 to i32
%52 = call i32 @assert(i32 %51)
%53 = call i32* @malloc(i32 400000000)
store i32* %53, i32** %5
store i32 0, i32* %6
br label %54
54: ; preds = %73, %42
%55 = load i32, i32* %6
%56 = icmp slt i32 %55, 10000
br i1 %56, label %57, label %76
57: ; preds = %54
store i32 0, i32* %7
br label %58
58: ; preds = %69, %57
%59 = load i32, i32* %7
%60 = icmp slt i32 %59, 10000
br i1 %60, label %61, label %72
61: ; preds = %58
%62 = load i32*, i32** %5
%63 = load i32, i32* %7
%64 = mul nsw i32 %63, 10000
%65 = load i32, i32* %6
%66 = add nsw i32 %64, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, i32* %62, i64 %67
store i32 0, i32* %68
br label %69
69: ; preds = %61
%70 = load i32, i32* %7
%71 = add nsw i32 %70, 1
store i32 %71, i32* %7
br label %58
72: ; preds = %58
br label %73
73: ; preds = %72
%74 = load i32, i32* %6
%75 = add nsw i32 %74, 1
store i32 %75, i32* %6
br label %54
76: ; preds = %54
%77 = call double (...) @microTime()
store double %77, double* %8
%78 = load i32*, i32** %5
%79 = call i32 @grid_sum(i32* %78, i32 10000, i32 10000, i32 0, i32 0, i32 9999, i32 9999)
store i32 %79, i32* %9
%80 = call double (...) @microTime()
store double %80, double* %10
%81 = load i32*, i32** %5
%82 = call i32 @grid_sum_y(i32* %81, i32 10000, i32 10000, i32 0, i32 0, i32 9999, i32 9999)
store i32 %82, i32* %11
%83 = call double (...) @microTime()
store double %83, double* %12
%84 = load double, double* %10
%85 = load double, double* %8
%86 = fsub double %84, %85
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %86)
%88 = load double, double* %12
%89 = load double, double* %10
%90 = fsub double %88, %89
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %90)
%92 = load i32, i32* %1
ret i32 %92
}

LLVM IR (-O2):
@.str = [5 x i8] c"%2d \00"
@.str.2 = [4 x i8] c"%f\0A\00"
define i32 @main() {
%1 = alloca [10 x [10 x i32]]
%2 = bitcast [10 x [10 x i32]]* %1 to i8*
br label %3
3: ; preds = %0, %3
%4 = phi i64 [ 0, %0 ], [ %43, %3 ]
%5 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 0, i64 %4
store i32 0, i32* %5
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 0)
%7 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 1, i64 %4
%8 = trunc i64 %4 to i32
store i32 %8, i32* %7
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %8)
%10 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 2, i64 %4
%11 = trunc i64 %4 to i32
%12 = shl i32 %11, 1
store i32 %12, i32* %10
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %12)
%14 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 3, i64 %4
%15 = trunc i64 %4 to i32
%16 = mul i32 %15, 3
store i32 %16, i32* %14
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %16)
%18 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 4, i64 %4
%19 = trunc i64 %4 to i32
%20 = shl i32 %19, 2
store i32 %20, i32* %18
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %20)
%22 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 5, i64 %4
%23 = trunc i64 %4 to i32
%24 = mul i32 %23, 5
store i32 %24, i32* %22
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %24)
%26 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 6, i64 %4
%27 = trunc i64 %4 to i32
%28 = mul i32 %27, 6
store i32 %28, i32* %26
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %28)
%30 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 7, i64 %4
%31 = trunc i64 %4 to i32
%32 = mul i32 %31, 7
store i32 %32, i32* %30
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %32)
%34 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 8, i64 %4
%35 = trunc i64 %4 to i32
%36 = shl i32 %35, 3
store i32 %36, i32* %34
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %36)
%38 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 9, i64 %4
%39 = trunc i64 %4 to i32
%40 = mul i32 %39, 9
store i32 %40, i32* %38
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %40)
%42 = tail call i32 @putchar(i32 10)
%43 = add nuw nsw i64 %4, 1
%44 = icmp eq i64 %43, 10
br i1 %44, label %45, label %3
45: ; preds = %3
%46 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %1, i64 0, i64 0, i64 0
%47 = call i32 @grid_sum(i32* %46, i32 10, i32 10, i32 1, i32 1, i32 2, i32 2)
%48 = icmp eq i32 %47, 9
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = call i32 @grid_sum_y(i32* %46, i32 10, i32 10, i32 1, i32 1, i32 2, i32 2)
%52 = icmp eq i32 %51, 9
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = call i32* @malloc(i32 400000000)
br label %56
56: ; preds = %45, %68
%57 = phi i64 [ 0, %45 ], [ %69, %68 ]
br label %71
58: ; preds = %68
%59 = call double (...) @microTime()
%60 = call i32 @grid_sum(i32* %55, i32 10000, i32 10000, i32 0, i32 0, i32 9999, i32 9999)
%61 = call double (...) @microTime()
%62 = call i32 @grid_sum_y(i32* %55, i32 10000, i32 10000, i32 0, i32 0, i32 9999, i32 9999)
%63 = call double (...) @microTime()
%64 = fsub double %61, %59
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %64)
%66 = fsub double %63, %61
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), double %66)
ret i32 0
68: ; preds = %71
%69 = add nuw nsw i64 %57, 1
%70 = icmp eq i64 %69, 10000
br i1 %70, label %58, label %56
71: ; preds = %71, %56
%72 = phi i64 [ 0, %56 ], [ %92, %71 ]
%73 = mul nuw nsw i64 %72, 10000
%74 = add nuw nsw i64 %73, %57
%75 = getelementptr inbounds i32, i32* %55, i64 %74
store i32 0, i32* %75
%76 = mul i64 %72, 10000
%77 = add i64 %76, 10000
%78 = add nuw nsw i64 %77, %57
%79 = getelementptr inbounds i32, i32* %55, i64 %78
store i32 0, i32* %79
%80 = mul i64 %72, 10000
%81 = add i64 %80, 20000
%82 = add nuw nsw i64 %81, %57
%83 = getelementptr inbounds i32, i32* %55, i64 %82
store i32 0, i32* %83
%84 = mul i64 %72, 10000
%85 = add i64 %84, 30000
%86 = add nuw nsw i64 %85, %57
%87 = getelementptr inbounds i32, i32* %55, i64 %86
store i32 0, i32* %87
%88 = mul i64 %72, 10000
%89 = add i64 %88, 40000
%90 = add nuw nsw i64 %89, %57
%91 = getelementptr inbounds i32, i32* %55, i64 %90
store i32 0, i32* %91
%92 = add nuw nsw i64 %72, 5
%93 = icmp eq i64 %92, 10000
br i1 %93, label %68, label %71
}