#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 */
double atof(char *);
unsigned int atoi(char *);
int /*<<< orphan*/ generateRangedValues(double *, double *, unsigned int,
                                        unsigned int, double *);
int /*<<< orphan*/ printf(char *, ...);
unsigned int strtoul(char *, int /*<<< orphan*/ *, int /*<<< orphan*/);
int main(int argc, char **argv) {
  unsigned int i, j, argi = 4;
  unsigned int iBgn, iEnd;
  unsigned int valueArrayCnt;
  double topMostValueArray[32];
  double bottomMostValueArray[32];
  double valueArray[32];
  if (argc < 4) {
    printf("usage:\n");
    printf("generateValues [dimensions] [iteration start] [iteration end] "
           "optional:[min] [max] [min] [max]...\n\n");
    printf("example 1:\n");
    printf("generateValues 2 0 100\n\n");
    printf("example 2:\n");
    printf("generateValues 3 8 100 -10 10 0 10 0 360\n\n");
    return 0;
  }
  valueArrayCnt = atoi(argv[1]);
  for (i = 0; i < valueArrayCnt; i++) {
    if (argi < argc)
      bottomMostValueArray[i] = atof(argv[argi]);
    else
      bottomMostValueArray[i] = -1;
    argi++;
    if (argi < argc)
      topMostValueArray[i] = atof(argv[argi]);
    else
      topMostValueArray[i] = 1;
    argi++;
  }
  iBgn = strtoul(argv[2], NULL, 0);
  iEnd = strtoul(argv[3], NULL, 0);
  for (i = iBgn; i < iEnd; i++) {
    generateRangedValues(&topMostValueArray[0], &bottomMostValueArray[0],
                         valueArrayCnt, i, &valueArray[0]);
    for (j = 0; j < valueArrayCnt; j++) {
      printf("%f ", valueArray[j]);
    }
    printf("\n");
  }
  generateRangedValues(&topMostValueArray[0], &bottomMostValueArray[0],
                       valueArrayCnt, iEnd, &valueArray[0]);
  for (j = 0; j < valueArrayCnt; j++) {
    printf("%f ", valueArray[j]);
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x330,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x4,-0x1c(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    11da <main+0x8a>
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe89(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xee8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xee6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13c4 <main+0x274>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x28(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x28(%rbp),%eax
jae    129f <main+0x14f>
mov    -0x1c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    122a <main+0xda>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <atof@plt>
mov    -0x14(%rbp),%eax
movsd  %xmm0,-0x230(%rbp,%rax,8)
ff ff
jmp    123e <main+0xee>
mov    -0x14(%rbp),%eax
movsd  0xdcb(%rip),%xmm0
movsd  %xmm0,-0x230(%rbp,%rax,8)
ff ff
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    1274 <main+0x124>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <atof@plt>
mov    -0x14(%rbp),%eax
movsd  %xmm0,-0x130(%rbp,%rax,8)
ff ff
jmp    1288 <main+0x138>
mov    -0x14(%rbp),%eax
movsd  0xd89(%rip),%xmm0
movsd  %xmm0,-0x130(%rbp,%rax,8)
ff ff
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11f1 <main+0xa1>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jae    1354 <main+0x204>
lea    -0x130(%rbp),%rdi
lea    -0x230(%rbp),%rsi
mov    -0x28(%rbp),%edx
mov    -0x14(%rbp),%ecx
lea    -0x330(%rbp),%r8
call   1040 <generateRangedValues@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x28(%rbp),%eax
jae    1338 <main+0x1e8>
mov    -0x18(%rbp),%eax
movsd  -0x330(%rbp,%rax,8),%xmm0
ff ff
lea    0xdb5(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1304 <main+0x1b4>
lea    0xd3b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12d1 <main+0x181>
lea    -0x130(%rbp),%rdi
lea    -0x230(%rbp),%rsi
mov    -0x28(%rbp),%edx
mov    -0x24(%rbp),%ecx
lea    -0x330(%rbp),%r8
call   1040 <generateRangedValues@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x28(%rbp),%eax
jae    13af <main+0x25f>
mov    -0x18(%rbp),%eax
movsd  -0x330(%rbp,%rax,8),%xmm0
ff ff
lea    0xd3e(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    137b <main+0x22b>
lea    0xcc4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x330,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x318,%rsp
cmp    $0x3,%edi
jg     11d3 <main+0x63>
lea    0xe87(%rip),%rdi
call   1040 <puts@plt>
lea    0xe82(%rip),%rdi
call   1040 <puts@plt>
lea    0xed9(%rip),%rdi
call   1040 <puts@plt>
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee4(%rip),%rdi
call   1040 <puts@plt>
lea    0xee3(%rip),%rdi
call   1040 <puts@plt>
jmp    1343 <main+0x1d3>
mov    %rsi,%r15
mov    %edi,%ebp
mov    0x8(%rsi),%rdi
call   1090 <atoi@plt>
mov    %eax,%r12d
mov    %eax,0xc(%rsp)
test   %eax,%eax
je     125a <main+0xea>
lea    (%r12,%r12,1),%r13
xor    %ebx,%ebx
jmp    1212 <main+0xa2>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  %xmm0,0x210(%rsp,%rbx,4)
add    $0x2,%rbx
cmp    %rbx,%r13
je     125a <main+0xea>
lea    0x4(%rbx),%r14
movsd  0xde2(%rip),%xmm0
cmp    %ebp,%r14d
jae    122f <main+0xbf>
mov    %r14d,%eax
mov    (%r15,%rax,8),%rdi
call   1050 <atof@plt>
movsd  %xmm0,0x110(%rsp,%rbx,4)
add    $0x1,%r14d
movsd  0xdc4(%rip),%xmm0
cmp    %ebp,%r14d
jae    1200 <main+0x90>
lea    0x5(%rbx),%rax
mov    %eax,%eax
mov    (%r15,%rax,8),%rdi
call   1050 <atof@plt>
jmp    1200 <main+0x90>
mov    0x10(%r15),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1080 <strtoul@plt>
mov    %eax,%ebp
mov    0x18(%r15),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1080 <strtoul@plt>
mov    %eax,%r14d
cmp    %eax,%ebp
jae    12eb <main+0x17b>
lea    0x10(%rsp),%r13
lea    0xd87(%rip),%r15
jmp    12a2 <main+0x132>
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%ebp
cmp    %r14d,%ebp
je     12eb <main+0x17b>
lea    0x210(%rsp),%rdi
lea    0x110(%rsp),%rsi
mov    0xc(%rsp),%ebx
mov    %ebx,%edx
mov    %ebp,%ecx
mov    %r13,%r8
call   1060 <generateRangedValues@plt>
test   %ebx,%ebx
je     1290 <main+0x120>
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
movsd  0x10(%rsp,%rbx,8),%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    12d0 <main+0x160>
jmp    1290 <main+0x120>
lea    0x210(%rsp),%rdi
lea    0x110(%rsp),%rsi
lea    0x10(%rsp),%r8
mov    0xc(%rsp),%ebx
mov    %ebx,%edx
mov    %r14d,%ecx
call   1060 <generateRangedValues@plt>
test   %ebx,%ebx
je     1339 <main+0x1c9>
xor    %ebp,%ebp
lea    0xcf5(%rip),%rbx
nopl   0x0(%rax,%rax,1)
movsd  0x10(%rsp,%rbp,8),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r12
jne    1320 <main+0x1b0>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x318,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [8 x i8] c"usage:\0A\00"
@.str.1 = [100 x i8] c"generateValues [dimensions] [iteration start] [iteration end] optional:[min] [max] [min] [max]...\0A\0A\00"
@.str.2 = [12 x i8] c"example 1:\0A\00"
@.str.3 = [25 x i8] c"generateValues 2 0 100\0A\0A\00"
@.str.4 = [12 x i8] c"example 2:\0A\00"
@.str.5 = [43 x i8] c"generateValues 3 8 100 -10 10 0 10 0 360\0A\0A\00"
@.str.6 = [4 x i8] c"%f \00"
@.str.7 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [32 x double]
%13 = alloca [32 x double]
%14 = alloca [32 x double]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 4, i32* %8
%15 = load i32, i32* %4
%16 = icmp slt i32 %15, 4
br i1 %16, label %17, label %24
17: ; preds = %2
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.1, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %3
br label %138
24: ; preds = %2
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 1
%27 = load i8*, i8** %26
%28 = call i32 @atoi(i8* %27)
store i32 %28, i32* %11
store i32 0, i32* %6
br label %29
29: ; preds = %74, %24
%30 = load i32, i32* %6
%31 = load i32, i32* %11
%32 = icmp ult i32 %30, %31
br i1 %32, label %33, label %77
33: ; preds = %29
%34 = load i32, i32* %8
%35 = load i32, i32* %4
%36 = icmp ult i32 %34, %35
br i1 %36, label %37, label %47
37: ; preds = %33
%38 = load i8**, i8*** %5
%39 = load i32, i32* %8
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8*, i8** %38, i64 %40
%42 = load i8*, i8** %41
%43 = call double @atof(i8* %42)
%44 = load i32, i32* %6
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds [32 x double], [32 x double]* %13, i64 0, i64 %45
store double %43, double* %46
br label %51
47: ; preds = %33
%48 = load i32, i32* %6
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds [32 x double], [32 x double]* %13, i64 0, i64 %49
store double -1.000000e+00, double* %50
br label %51
51: ; preds = %47, %37
%52 = load i32, i32* %8
%53 = add i32 %52, 1
store i32 %53, i32* %8
%54 = load i32, i32* %8
%55 = load i32, i32* %4
%56 = icmp ult i32 %54, %55
br i1 %56, label %57, label %67
57: ; preds = %51
%58 = load i8**, i8*** %5
%59 = load i32, i32* %8
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i8*, i8** %58, i64 %60
%62 = load i8*, i8** %61
%63 = call double @atof(i8* %62)
%64 = load i32, i32* %6
%65 = zext i32 %64 to i64
%66 = getelementptr inbounds [32 x double], [32 x double]* %12, i64 0, i64 %65
store double %63, double* %66
br label %71
67: ; preds = %51
%68 = load i32, i32* %6
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds [32 x double], [32 x double]* %12, i64 0, i64 %69
store double 1.000000e+00, double* %70
br label %71
71: ; preds = %67, %57
%72 = load i32, i32* %8
%73 = add i32 %72, 1
store i32 %73, i32* %8
br label %74
74: ; preds = %71
%75 = load i32, i32* %6
%76 = add i32 %75, 1
store i32 %76, i32* %6
br label %29
77: ; preds = %29
%78 = load i8**, i8*** %5
%79 = getelementptr inbounds i8*, i8** %78, i64 2
%80 = load i8*, i8** %79
%81 = call i32 @strtoul(i8* %80, i32* null, i32 0)
store i32 %81, i32* %9
%82 = load i8**, i8*** %5
%83 = getelementptr inbounds i8*, i8** %82, i64 3
%84 = load i8*, i8** %83
%85 = call i32 @strtoul(i8* %84, i32* null, i32 0)
store i32 %85, i32* %10
%86 = load i32, i32* %9
store i32 %86, i32* %6
br label %87
87: ; preds = %113, %77
%88 = load i32, i32* %6
%89 = load i32, i32* %10
%90 = icmp ult i32 %88, %89
br i1 %90, label %91, label %116
91: ; preds = %87
%92 = getelementptr inbounds [32 x double], [32 x double]* %12, i64 0, i64 0
%93 = getelementptr inbounds [32 x double], [32 x double]* %13, i64 0, i64 0
%94 = load i32, i32* %11
%95 = load i32, i32* %6
%96 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 0
%97 = call i32 @generateRangedValues(double* %92, double* %93, i32 %94, i32 %95, double* %96)
store i32 0, i32* %7
br label %98
98: ; preds = %108, %91
%99 = load i32, i32* %7
%100 = load i32, i32* %11
%101 = icmp ult i32 %99, %100
br i1 %101, label %102, label %111
102: ; preds = %98
%103 = load i32, i32* %7
%104 = zext i32 %103 to i64
%105 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 %104
%106 = load double, double* %105
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %106)
br label %108
108: ; preds = %102
%109 = load i32, i32* %7
%110 = add i32 %109, 1
store i32 %110, i32* %7
br label %98
111: ; preds = %98
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %113
113: ; preds = %111
%114 = load i32, i32* %6
%115 = add i32 %114, 1
store i32 %115, i32* %6
br label %87
116: ; preds = %87
%117 = getelementptr inbounds [32 x double], [32 x double]* %12, i64 0, i64 0
%118 = getelementptr inbounds [32 x double], [32 x double]* %13, i64 0, i64 0
%119 = load i32, i32* %11
%120 = load i32, i32* %10
%121 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 0
%122 = call i32 @generateRangedValues(double* %117, double* %118, i32 %119, i32 %120, double* %121)
store i32 0, i32* %7
br label %123
123: ; preds = %133, %116
%124 = load i32, i32* %7
%125 = load i32, i32* %11
%126 = icmp ult i32 %124, %125
br i1 %126, label %127, label %136
127: ; preds = %123
%128 = load i32, i32* %7
%129 = zext i32 %128 to i64
%130 = getelementptr inbounds [32 x double], [32 x double]* %14, i64 0, i64 %129
%131 = load double, double* %130
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %131)
br label %133
133: ; preds = %127
%134 = load i32, i32* %7
%135 = add i32 %134, 1
store i32 %135, i32* %7
br label %123
136: ; preds = %123
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %3
br label %138
138: ; preds = %136, %17
%139 = load i32, i32* %3
ret i32 %139
}

LLVM IR (-O2):
@.str.6 = [4 x i8] c"%f \00"
@str = [7 x i8] c"usage:\00"
@str.8 = [99 x i8] c"generateValues [dimensions] [iteration start] [iteration end] optional:[min] [max] [min] [max]...\0A\00"
@str.9 = [11 x i8] c"example 1:\00"
@str.10 = [24 x i8] c"generateValues 2 0 100\0A\00"
@str.11 = [11 x i8] c"example 2:\00"
@str.12 = [42 x i8] c"generateValues 3 8 100 -10 10 0 10 0 360\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [32 x double]
%4 = alloca [32 x double]
%5 = alloca [32 x double]
%6 = bitcast [32 x double]* %3 to i8*
%7 = bitcast [32 x double]* %4 to i8*
%8 = bitcast [32 x double]* %5 to i8*
%9 = icmp slt i32 %0, 4
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @str.8, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.9, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.10, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.11, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.12, i64 0, i64 0))
br label %92
17: ; preds = %2
%18 = getelementptr inbounds i8*, i8** %1, i64 1
%19 = load i8*, i8** %18
%20 = tail call i32 @atoi(i8* %19)
%21 = icmp eq i32 %20, 0
br i1 %21, label %49, label %22
22: ; preds = %17
%23 = zext i32 %20 to i64
br label %24
24: ; preds = %22, %43
%25 = phi i64 [ 0, %22 ], [ %47, %43 ]
%26 = phi i32 [ 4, %22 ], [ %46, %43 ]
%27 = icmp ult i32 %26, %0
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = zext i32 %26 to i64
%30 = getelementptr inbounds i8*, i8** %1, i64 %29
%31 = load i8*, i8** %30
%32 = tail call double @atof(i8* %31)
br label %33
33: ; preds = %24, %28
%34 = phi double [ %32, %28 ], [ -1.000000e+00, %24 ]
%35 = getelementptr inbounds [32 x double], [32 x double]* %4, i64 0, i64 %25
store double %34, double* %35
%36 = or i32 %26, 1
%37 = icmp ult i32 %36, %0
br i1 %37, label %38, label %43
38: ; preds = %33
%39 = zext i32 %36 to i64
%40 = getelementptr inbounds i8*, i8** %1, i64 %39
%41 = load i8*, i8** %40
%42 = tail call double @atof(i8* %41)
br label %43
43: ; preds = %33, %38
%44 = phi double [ %42, %38 ], [ 1.000000e+00, %33 ]
%45 = getelementptr inbounds [32 x double], [32 x double]* %3, i64 0, i64 %25
store double %44, double* %45
%46 = add i32 %26, 2
%47 = add nuw nsw i64 %25, 1
%48 = icmp eq i64 %47, %23
br i1 %48, label %49, label %24
49: ; preds = %43, %17
%50 = getelementptr inbounds i8*, i8** %1, i64 2
%51 = load i8*, i8** %50
%52 = tail call i32 @strtoul(i8* nocapture %51, i32* null, i32 0)
%53 = getelementptr inbounds i8*, i8** %1, i64 3
%54 = load i8*, i8** %53
%55 = tail call i32 @strtoul(i8* nocapture %54, i32* null, i32 0)
%56 = icmp ult i32 %52, %55
br i1 %56, label %57, label %76
57: ; preds = %49
%58 = getelementptr inbounds [32 x double], [32 x double]* %3, i64 0, i64 0
%59 = getelementptr inbounds [32 x double], [32 x double]* %4, i64 0, i64 0
%60 = getelementptr inbounds [32 x double], [32 x double]* %5, i64 0, i64 0
%61 = zext i32 %20 to i64
br label %62
62: ; preds = %57, %72
%63 = phi i32 [ %52, %57 ], [ %74, %72 ]
%64 = call i32 @generateRangedValues(double* %58, double* %59, i32 %20, i32 %63, double* %60)
br i1 %21, label %72, label %65
65: ; preds = %62, %65
%66 = phi i64 [ %70, %65 ], [ 0, %62 ]
%67 = getelementptr inbounds [32 x double], [32 x double]* %5, i64 0, i64 %66
%68 = load double, double* %67
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %68)
%70 = add nuw nsw i64 %66, 1
%71 = icmp eq i64 %70, %61
br i1 %71, label %72, label %65
72: ; preds = %65, %62
%73 = call i32 @putchar(i32 10)
%74 = add nuw i32 %63, 1
%75 = icmp eq i32 %74, %55
br i1 %75, label %76, label %62
76: ; preds = %72, %49
%77 = getelementptr inbounds [32 x double], [32 x double]* %3, i64 0, i64 0
%78 = getelementptr inbounds [32 x double], [32 x double]* %4, i64 0, i64 0
%79 = getelementptr inbounds [32 x double], [32 x double]* %5, i64 0, i64 0
%80 = call i32 @generateRangedValues(double* %77, double* %78, i32 %20, i32 %55, double* %79)
br i1 %21, label %90, label %81
81: ; preds = %76
%82 = zext i32 %20 to i64
br label %83
83: ; preds = %81, %83
%84 = phi i64 [ 0, %81 ], [ %88, %83 ]
%85 = getelementptr inbounds [32 x double], [32 x double]* %5, i64 0, i64 %84
%86 = load double, double* %85
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %86)
%88 = add nuw nsw i64 %84, 1
%89 = icmp eq i64 %88, %82
br i1 %89, label %90, label %83
90: ; preds = %83, %76
%91 = call i32 @putchar(i32 10)
br label %92
92: ; preds = %90, %10
ret i32 0
}