#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 */
float atof(char *);
int atoi(char *);
float *build_comov_r(float *, int, float, float, float);
float *build_z(float, float, int);
int /*<<< orphan*/ dump_mock_file(char *, float *, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
float get_B_from_A(float *, float *, int, float);
float *load_mock_file(char *, int *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int main(int argc, char **argv) {
  int n_points;
  float *r, *v_rad;
  float *z;
  int i;
  float omega_m, omega_l, w;
  float a_exp;
  int RSD;
  int n_list = 200000;
  float min_z = 0.0, max_z = 5.0;
  float *z_list, *r_list;
  if (argc != 8) {
    fprintf(stderr, "USAGE: %s\n",
            "./r2z r_file v_rad_file omega_m omega_l w RSD z_shift_file");
    exit(1);
  }
  r = load_mock_file(argv[1], &n_points);
  v_rad = load_mock_file(argv[2], &n_points);
  omega_m = atof(argv[3]);
  omega_l = atof(argv[4]);
  w = atof(argv[5]);
  RSD = atoi(argv[6]);
  fprintf(stdout, "omega_m=%.2f omega_l=%.2f w=%.2f\n", omega_m, omega_l, w);
  if (RSD) {
    fprintf(stdout, "RSD are ON!\n");
  } else {
    fprintf(stdout, "RSD are OFF!\n");
  }
  z = load_mock_file(argv[1], &n_points);
  z_list = build_z(min_z, max_z, n_list);
  r_list = build_comov_r(z_list, n_list, omega_m, omega_l, w);
  z = load_mock_file(argv[1], &n_points);
  for (i = 0; i < n_points; i++) {
    z[i] = get_B_from_A(r_list, z_list, n_list, r[i]);
    a_exp = 1.0 / (z[i] + 1.0);
    if (RSD) {
      z[i] = z[i] - (v_rad[i] / a_exp) / 299792.458;
    }
  }
  dump_mock_file(argv[7], z, n_points);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x30d40,-0x4c(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xe43(%rip),%xmm0
movss  %xmm0,-0x54(%rbp)
cmpl   $0x8,-0x8(%rbp)
je     11f4 <main+0x64>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
lea    0xe3c(%rip),%rsi
lea    0xe40(%rip),%rdx
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1060 <load_mock_file@plt>
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1060 <load_mock_file@plt>
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   1040 <atof@plt>
movss  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1040 <atof@plt>
movss  %xmm0,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x28(%rax),%rdi
call   1040 <atof@plt>
movss  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x30(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x48(%rbp)
mov    0x2d6d(%rip),%rax
mov    (%rax),%edi
movss  -0x38(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x3c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x40(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xdcf(%rip),%rsi
mov    $0x3,%al
call   1070 <fprintf@plt>
cmpl   $0x0,-0x48(%rbp)
je     12bc <main+0x12c>
mov    0x2d31(%rip),%rax
mov    (%rax),%edi
lea    0xdd0(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    12d3 <main+0x143>
mov    0x2d15(%rip),%rax
mov    (%rax),%edi
lea    0xdc1(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1060 <load_mock_file@plt>
mov    %rax,-0x30(%rbp)
movss  -0x50(%rbp),%xmm0
movss  -0x54(%rbp),%xmm1
mov    -0x4c(%rbp),%edi
call   1050 <build_z@plt>
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rdi
mov    -0x4c(%rbp),%esi
movss  -0x38(%rbp),%xmm0
movss  -0x3c(%rbp),%xmm1
movss  -0x40(%rbp),%xmm2
call   1090 <build_comov_r@plt>
mov    %rax,-0x68(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1060 <load_mock_file@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1406 <main+0x276>
mov    -0x68(%rbp),%rdi
mov    -0x60(%rbp),%rsi
mov    -0x4c(%rbp),%edx
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
call   1030 <get_B_from_A@plt>
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc80(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  0xc74(%rip),%xmm0
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x44(%rbp)
cmpl   $0x0,-0x48(%rbp)
je     13f3 <main+0x263>
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
divss  -0x44(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc36(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
jmp    13f8 <main+0x268>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1339 <main+0x1a9>
mov    -0x10(%rbp),%rax
mov    0x38(%rax),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1080 <dump_mock_file@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
cmp    $0x8,%edi
jne    1376 <main+0x1e6>
mov    %rsi,%r15
mov    0x8(%rsi),%rdi
lea    0x14(%rsp),%rbp
mov    %rbp,%rsi
call   1060 <load_mock_file@plt>
mov    %rax,%r13
mov    0x10(%r15),%rdi
mov    %rbp,%rsi
call   1060 <load_mock_file@plt>
mov    %rax,0x20(%rsp)
mov    0x18(%r15),%rdi
call   1040 <atof@plt>
movss  %xmm0,0x18(%rsp)
mov    0x20(%r15),%rdi
call   1040 <atof@plt>
movss  %xmm0,0x10(%rsp)
mov    0x28(%r15),%rdi
call   1040 <atof@plt>
movss  %xmm0,0xc(%rsp)
mov    0x30(%r15),%rdi
call   10a0 <atoi@plt>
mov    %eax,%r12d
mov    0x2dc9(%rip),%rbx
mov    (%rbx),%edi
movss  0x18(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x10(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  0xc(%rsp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xe28(%rip),%rsi
mov    $0x3,%al
call   1070 <fprintf@plt>
test   %r12d,%r12d
mov    (%rbx),%edi
lea    0xe44(%rip),%rax
lea    0xe30(%rip),%rsi
cmove  %rax,%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    0x8(%r15),%rdi
mov    %rbp,%rsi
call   1060 <load_mock_file@plt>
movss  0xd91(%rip),%xmm1
xorps  %xmm0,%xmm0
mov    $0x30d40,%edi
call   1050 <build_z@plt>
mov    %rax,%rbx
mov    %rax,%rdi
mov    $0x30d40,%esi
movss  0x18(%rsp),%xmm0
movss  0x10(%rsp),%xmm1
movss  0xc(%rsp),%xmm2
call   1090 <build_comov_r@plt>
mov    %rax,%r14
mov    0x8(%r15),%rdi
mov    %rbp,%rsi
call   1060 <load_mock_file@plt>
mov    %rax,%rbp
mov    0x14(%rsp),%edx
test   %edx,%edx
jle    1359 <main+0x1c9>
mov    %r15,0x18(%rsp)
xor    %r15d,%r15d
jmp    12de <main+0x14e>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%r15
movslq 0x14(%rsp),%rdx
cmp    %rdx,%r15
jge    1354 <main+0x1c4>
movss  0x0(%r13,%r15,4),%xmm0
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x30d40,%edx
call   1030 <get_B_from_A@plt>
movss  %xmm0,0x0(%rbp,%r15,4)
test   %r12d,%r12d
je     12d0 <main+0x140>
cvtss2sd %xmm0,%xmm0
movaps %xmm0,%xmm1
movsd  0xcf8(%rip),%xmm2
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm2
xorps  %xmm1,%xmm1
cvtsd2ss %xmm2,%xmm1
mov    0x20(%rsp),%rax
movss  (%rax,%r15,4),%xmm2
divss  %xmm1,%xmm2
xorps  %xmm1,%xmm1
cvtss2sd %xmm2,%xmm1
divsd  0xcd3(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  %xmm0,0x0(%rbp,%r15,4)
jmp    12d0 <main+0x140>
mov    0x18(%rsp),%r15
mov    0x38(%r15),%rdi
mov    %rbp,%rsi
call   1080 <dump_mock_file@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c63(%rip),%rax
mov    (%rax),%edi
lea    0xc92(%rip),%rsi
lea    0xc96(%rip),%rdx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [11 x i8] c"USAGE: %s\0A\00"
@.str.1 = [59 x i8] c"./r2z r_file v_rad_file omega_m omega_l w RSD z_shift_file\00"
@stdout = global i32 0
@.str.2 = [34 x i8] c"omega_m=%.2f omega_l=%.2f w=%.2f\0A\00"
@.str.3 = [13 x i8] c"RSD are ON!\0A\00"
@.str.4 = [14 x i8] c"RSD are OFF!\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca float*
%8 = alloca float*
%9 = alloca float*
%10 = alloca i32
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca i32
%16 = alloca i32
%17 = alloca float
%18 = alloca float
%19 = alloca float*
%20 = alloca float*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 200000, i32* %16
store float 0.000000e+00, float* %17
store float 5.000000e+00, float* %18
%21 = load i32, i32* %4
%22 = icmp ne i32 %21, 8
br i1 %22, label %23, label %27
23: ; preds = %2
%24 = load i32, i32* @stderr
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%26 = call i32 @exit(i32 1)
unreachable
27: ; preds = %2
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 1
%30 = load i8*, i8** %29
%31 = call float* @load_mock_file(i8* %30, i32* %6)
store float* %31, float** %7
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 2
%34 = load i8*, i8** %33
%35 = call float* @load_mock_file(i8* %34, i32* %6)
store float* %35, float** %8
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 3
%38 = load i8*, i8** %37
%39 = call float @atof(i8* %38)
store float %39, float* %11
%40 = load i8**, i8*** %5
%41 = getelementptr inbounds i8*, i8** %40, i64 4
%42 = load i8*, i8** %41
%43 = call float @atof(i8* %42)
store float %43, float* %12
%44 = load i8**, i8*** %5
%45 = getelementptr inbounds i8*, i8** %44, i64 5
%46 = load i8*, i8** %45
%47 = call float @atof(i8* %46)
store float %47, float* %13
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 6
%50 = load i8*, i8** %49
%51 = call i32 @atoi(i8* %50)
store i32 %51, i32* %15
%52 = load i32, i32* @stdout
%53 = load float, float* %11
%54 = fpext float %53 to double
%55 = load float, float* %12
%56 = fpext float %55 to double
%57 = load float, float* %13
%58 = fpext float %57 to double
%59 = call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), double %54, double %56, double %58)
%60 = load i32, i32* %15
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %27
%63 = load i32, i32* @stdout
%64 = call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
br label %68
65: ; preds = %27
%66 = load i32, i32* @stdout
%67 = call i32 (i32, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %68
68: ; preds = %65, %62
%69 = load i8**, i8*** %5
%70 = getelementptr inbounds i8*, i8** %69, i64 1
%71 = load i8*, i8** %70
%72 = call float* @load_mock_file(i8* %71, i32* %6)
store float* %72, float** %9
%73 = load float, float* %17
%74 = load float, float* %18
%75 = load i32, i32* %16
%76 = call float* @build_z(float %73, float %74, i32 %75)
store float* %76, float** %19
%77 = load float*, float** %19
%78 = load i32, i32* %16
%79 = load float, float* %11
%80 = load float, float* %12
%81 = load float, float* %13
%82 = call float* @build_comov_r(float* %77, i32 %78, float %79, float %80, float %81)
store float* %82, float** %20
%83 = load i8**, i8*** %5
%84 = getelementptr inbounds i8*, i8** %83, i64 1
%85 = load i8*, i8** %84
%86 = call float* @load_mock_file(i8* %85, i32* %6)
store float* %86, float** %9
store i32 0, i32* %10
br label %87
87: ; preds = %139, %68
%88 = load i32, i32* %10
%89 = load i32, i32* %6
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %142
91: ; preds = %87
%92 = load float*, float** %20
%93 = load float*, float** %19
%94 = load i32, i32* %16
%95 = load float*, float** %7
%96 = load i32, i32* %10
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds float, float* %95, i64 %97
%99 = load float, float* %98
%100 = call float @get_B_from_A(float* %92, float* %93, i32 %94, float %99)
%101 = load float*, float** %9
%102 = load i32, i32* %10
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds float, float* %101, i64 %103
store float %100, float* %104
%105 = load float*, float** %9
%106 = load i32, i32* %10
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds float, float* %105, i64 %107
%109 = load float, float* %108
%110 = fpext float %109 to double
%111 = fadd double %110, 1.000000e+00
%112 = fdiv double 1.000000e+00, %111
%113 = fptrunc double %112 to float
store float %113, float* %14
%114 = load i32, i32* %15
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %138
116: ; preds = %91
%117 = load float*, float** %9
%118 = load i32, i32* %10
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, float* %117, i64 %119
%121 = load float, float* %120
%122 = fpext float %121 to double
%123 = load float*, float** %8
%124 = load i32, i32* %10
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds float, float* %123, i64 %125
%127 = load float, float* %126
%128 = load float, float* %14
%129 = fdiv float %127, %128
%130 = fpext float %129 to double
%131 = fdiv double %130, 0x41124C41D4FDF3B6
%132 = fsub double %122, %131
%133 = fptrunc double %132 to float
%134 = load float*, float** %9
%135 = load i32, i32* %10
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds float, float* %134, i64 %136
store float %133, float* %137
br label %138
138: ; preds = %116, %91
br label %139
139: ; preds = %138
%140 = load i32, i32* %10
%141 = add nsw i32 %140, 1
store i32 %141, i32* %10
br label %87
142: ; preds = %87
%143 = load i8**, i8*** %5
%144 = getelementptr inbounds i8*, i8** %143, i64 7
%145 = load i8*, i8** %144
%146 = load float*, float** %9
%147 = load i32, i32* %6
%148 = call i32 @dump_mock_file(i8* %145, float* %146, i32 %147)
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [11 x i8] c"USAGE: %s\0A\00"
@.str.1 = [59 x i8] c"./r2z r_file v_rad_file omega_m omega_l w RSD z_shift_file\00"
@stdout = global i32 0
@.str.2 = [34 x i8] c"omega_m=%.2f omega_l=%.2f w=%.2f\0A\00"
@.str.3 = [13 x i8] c"RSD are ON!\0A\00"
@.str.4 = [14 x i8] c"RSD are OFF!\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = bitcast i32* %3 to i8*
%5 = icmp eq i32 %0, 8
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call i32 @exit(i32 1)
unreachable
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = call float* @load_mock_file(i8* %12, i32* %3)
%14 = getelementptr inbounds i8*, i8** %1, i64 2
%15 = load i8*, i8** %14
%16 = call float* @load_mock_file(i8* %15, i32* %3)
%17 = getelementptr inbounds i8*, i8** %1, i64 3
%18 = load i8*, i8** %17
%19 = call float @atof(i8* %18)
%20 = getelementptr inbounds i8*, i8** %1, i64 4
%21 = load i8*, i8** %20
%22 = call float @atof(i8* %21)
%23 = getelementptr inbounds i8*, i8** %1, i64 5
%24 = load i8*, i8** %23
%25 = call float @atof(i8* %24)
%26 = getelementptr inbounds i8*, i8** %1, i64 6
%27 = load i8*, i8** %26
%28 = call i32 @atoi(i8* %27)
%29 = load i32, i32* @stdout
%30 = fpext float %19 to double
%31 = fpext float %22 to double
%32 = fpext float %25 to double
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), double %30, double %31, double %32)
%34 = icmp eq i32 %28, 0
%35 = load i32, i32* @stdout
%36 = select i1 %34, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0)
%37 = call i32 (i32, i8*, ...) @fprintf(i32 %35, i8* %36)
%38 = load i8*, i8** %11
%39 = call float* @load_mock_file(i8* %38, i32* %3)
%40 = call float* @build_z(float 0.000000e+00, float 5.000000e+00, i32 200000)
%41 = call float* @build_comov_r(float* %40, i32 200000, float %19, float %22, float %25)
%42 = load i8*, i8** %11
%43 = call float* @load_mock_file(i8* %42, i32* %3)
%44 = load i32, i32* %3
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %69
46: ; preds = %10, %64
%47 = phi i64 [ %65, %64 ], [ 0, %10 ]
%48 = getelementptr inbounds float, float* %13, i64 %47
%49 = load float, float* %48
%50 = call float @get_B_from_A(float* %41, float* %40, i32 200000, float %49)
%51 = getelementptr inbounds float, float* %43, i64 %47
store float %50, float* %51
%52 = fpext float %50 to double
br i1 %34, label %64, label %53
53: ; preds = %46
%54 = fadd double %52, 1.000000e+00
%55 = fdiv double 1.000000e+00, %54
%56 = fptrunc double %55 to float
%57 = getelementptr inbounds float, float* %16, i64 %47
%58 = load float, float* %57
%59 = fdiv float %58, %56
%60 = fpext float %59 to double
%61 = fdiv double %60, 0x41124C41D4FDF3B6
%62 = fsub double %52, %61
%63 = fptrunc double %62 to float
store float %63, float* %51
br label %64
64: ; preds = %46, %53
%65 = add nuw nsw i64 %47, 1
%66 = load i32, i32* %3
%67 = sext i32 %66 to i64
%68 = icmp slt i64 %65, %67
br i1 %68, label %46, label %69
69: ; preds = %64, %10
%70 = phi i32 [ %44, %10 ], [ %66, %64 ]
%71 = getelementptr inbounds i8*, i8** %1, i64 7
%72 = load i8*, i8** %71
%73 = call i32 @dump_mock_file(i8* %72, float* %43, i32 %70)
ret i32 0
}