#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 cost(double *, int);
double exp(double);
double normalrng();
int /*<<< orphan*/ uniformdirectionrng(double *, int);
double uniformrng();
void MH_HitAndRun(double *z, double *fz, int N_dimension, double temp,
                  double scl, double *accpr_pop, double *z_new) {
  int i;
  double accpr;
  double fy;
  double r;
  double un;
  uniformdirectionrng(z_new, N_dimension);
  for (i = 1; i <= N_dimension; i++)
    z_new[i] = z[i] + z_new[i] * scl * normalrng();
  fy = cost(z_new, N_dimension);
  r = (*fz - fy) / temp;
  accpr = (r > 0.0 ? 1.0 : exp(r));
  un = uniformrng();
  if (accpr > un) {
    *fz = fy;
    for (i = 1; i <= N_dimension; i++)
      z[i] = z_new[i];
  }
  *accpr_pop = accpr;
}


x86 assembly (clang, -O0):
<MH_HitAndRun>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
movsd  %xmm0,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    %r8,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1050 <uniformdirectionrng@plt>
movl   $0x1,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     11f7 <MH_HitAndRun+0xa7>
mov    -0x8(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x38(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    $0x0,%al
call   1070 <normalrng@plt>
movsd  -0x70(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    118b <MH_HitAndRun+0x3b>
mov    -0x38(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1040 <cost@plt>
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
subsd  -0x50(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1243 <MH_HitAndRun+0xf3>
movsd  0xdc7(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
jmp    1252 <MH_HitAndRun+0x102>
movsd  -0x58(%rbp),%xmm0
call   1060 <exp@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    $0x0,%al
call   1030 <uniformrng@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x48(%rbp),%xmm0
ucomisd -0x60(%rbp),%xmm0
jbe    12c5 <MH_HitAndRun+0x175>
movsd  -0x50(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x1,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     12c0 <MH_HitAndRun+0x170>
mov    -0x38(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    128c <MH_HitAndRun+0x13c>
jmp    12c5 <MH_HitAndRun+0x175>
movsd  -0x48(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MH_HitAndRun>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r8,%rbx
mov    %rcx,0x18(%rsp)
movsd  %xmm1,0x20(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    %edx,%r12d
mov    %rsi,%r13
mov    %rdi,%r15
mov    %r8,%rdi
mov    %edx,%esi
call   1050 <uniformdirectionrng@plt>
test   %r12d,%r12d
jle    11de <MH_HitAndRun+0x8e>
lea    0x1(%r12),%ebp
mov    $0x1,%r14d
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r15,%r14,8),%xmm0
movsd  %xmm0,(%rsp)
movsd  (%rbx,%r14,8),%xmm0
mulsd  0x20(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %eax,%eax
call   1070 <normalrng@plt>
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rbx,%r14,8)
add    $0x1,%r14
cmp    %r14,%rbp
jne    11a0 <MH_HitAndRun+0x50>
mov    %rbx,%rdi
mov    %r12d,%esi
call   1040 <cost@plt>
movapd %xmm0,%xmm1
movsd  0x0(%r13),%xmm0
movsd  %xmm1,0x8(%rsp)
subsd  %xmm1,%xmm0
divsd  0x10(%rsp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1217 <MH_HitAndRun+0xc7>
movsd  0xdeb(%rip),%xmm0
jmp    121c <MH_HitAndRun+0xcc>
call   1060 <exp@plt>
movsd  %xmm0,(%rsp)
xor    %eax,%eax
call   1030 <uniformrng@plt>
movsd  (%rsp),%xmm2
ucomisd %xmm0,%xmm2
jbe    13cb <MH_HitAndRun+0x27b>
movsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x0(%r13)
test   %r12d,%r12d
jle    13cb <MH_HitAndRun+0x27b>
mov    %r12d,%r8d
lea    0x1(%r8),%rax
mov    $0x1,%ecx
cmp    $0x4,%r12d
jb     1357 <MH_HitAndRun+0x207>
lea    0x8(%r15),%rdx
lea    (%rbx,%rax,8),%rsi
cmp    %rsi,%rdx
jae    1280 <MH_HitAndRun+0x130>
lea    (%r15,%rax,8),%rdx
lea    0x8(%rbx),%rsi
cmp    %rdx,%rsi
jb     1357 <MH_HitAndRun+0x207>
mov    %r8d,%ecx
and    $0xfffffffc,%ecx
lea    -0x4(%rcx),%rdi
mov    %rdi,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
mov    %esi,%edx
and    $0x3,%edx
cmp    $0xc,%rdi
jae    12a4 <MH_HitAndRun+0x154>
xor    %edi,%edi
jmp    1316 <MH_HitAndRun+0x1c6>
and    $0xfffffffffffffffc,%rsi
xor    %edi,%edi
nopw   0x0(%rax,%rax,1)
movups 0x8(%rbx,%rdi,8),%xmm0
movups 0x18(%rbx,%rdi,8),%xmm1
movups %xmm0,0x8(%r15,%rdi,8)
movups %xmm1,0x18(%r15,%rdi,8)
movups 0x28(%rbx,%rdi,8),%xmm0
movups 0x38(%rbx,%rdi,8),%xmm1
movups %xmm0,0x28(%r15,%rdi,8)
movups %xmm1,0x38(%r15,%rdi,8)
movups 0x48(%rbx,%rdi,8),%xmm0
movups 0x58(%rbx,%rdi,8),%xmm1
movups %xmm0,0x48(%r15,%rdi,8)
movups %xmm1,0x58(%r15,%rdi,8)
movupd 0x68(%rbx,%rdi,8),%xmm0
movupd 0x78(%rbx,%rdi,8),%xmm1
movupd %xmm0,0x68(%r15,%rdi,8)
movupd %xmm1,0x78(%r15,%rdi,8)
add    $0x10,%rdi
add    $0xfffffffffffffffc,%rsi
jne    12b0 <MH_HitAndRun+0x160>
test   %rdx,%rdx
je     134e <MH_HitAndRun+0x1fe>
nopl   0x0(%rax,%rax,1)
lea    0x0(,%rdi,8),%rsi
or     $0x8,%rsi
movupd (%rbx,%rsi,1),%xmm0
movupd 0x10(%rbx,%rsi,1),%xmm1
movupd %xmm0,(%r15,%rsi,1)
movupd %xmm1,0x10(%r15,%rsi,1)
add    $0x4,%rdi
add    $0xffffffffffffffff,%rdx
jne    1320 <MH_HitAndRun+0x1d0>
cmp    %rcx,%r8
je     13cb <MH_HitAndRun+0x27b>
or     $0x1,%rcx
mov    %eax,%esi
sub    %ecx,%esi
mov    %rcx,%rdx
not    %rdx
add    %rax,%rdx
and    $0x3,%rsi
je     1385 <MH_HitAndRun+0x235>
nopw   0x0(%rax,%rax,1)
movsd  (%rbx,%rcx,8),%xmm0
movsd  %xmm0,(%r15,%rcx,8)
add    $0x1,%rcx
add    $0xffffffffffffffff,%rsi
jne    1370 <MH_HitAndRun+0x220>
cmp    $0x3,%rdx
jb     13cb <MH_HitAndRun+0x27b>
nopl   0x0(%rax,%rax,1)
movsd  (%rbx,%rcx,8),%xmm0
movsd  %xmm0,(%r15,%rcx,8)
movsd  0x8(%rbx,%rcx,8),%xmm0
movsd  %xmm0,0x8(%r15,%rcx,8)
movsd  0x10(%rbx,%rcx,8),%xmm0
movsd  %xmm0,0x10(%r15,%rcx,8)
movsd  0x18(%rbx,%rcx,8),%xmm0
movsd  %xmm0,0x18(%r15,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%rax
jne    1390 <MH_HitAndRun+0x240>
mov    0x18(%rsp),%rax
movsd  %xmm2,(%rax)
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @MH_HitAndRun(double* %0, double* %1, i32 %2, double %3, double %4, double* %5, double* %6) {
%8 = alloca double*
%9 = alloca double*
%10 = alloca i32
%11 = alloca double
%12 = alloca double
%13 = alloca double*
%14 = alloca double*
%15 = alloca i32
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
store double* %0, double** %8
store double* %1, double** %9
store i32 %2, i32* %10
store double %3, double* %11
store double %4, double* %12
store double* %5, double** %13
store double* %6, double** %14
%20 = load double*, double** %14
%21 = load i32, i32* %10
%22 = call i32 @uniformdirectionrng(double* %20, i32 %21)
store i32 1, i32* %15
br label %23
23: ; preds = %46, %7
%24 = load i32, i32* %15
%25 = load i32, i32* %10
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %49
27: ; preds = %23
%28 = load double*, double** %8
%29 = load i32, i32* %15
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, double* %28, i64 %30
%32 = load double, double* %31
%33 = load double*, double** %14
%34 = load i32, i32* %15
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, double* %33, i64 %35
%37 = load double, double* %36
%38 = load double, double* %12
%39 = fmul double %37, %38
%40 = call double (...) @normalrng()
%41 = call double @llvm.fmuladd.f64(double %39, double %40, double %32)
%42 = load double*, double** %14
%43 = load i32, i32* %15
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, double* %42, i64 %44
store double %41, double* %45
br label %46
46: ; preds = %27
%47 = load i32, i32* %15
%48 = add nsw i32 %47, 1
store i32 %48, i32* %15
br label %23
49: ; preds = %23
%50 = load double*, double** %14
%51 = load i32, i32* %10
%52 = call double @cost(double* %50, i32 %51)
store double %52, double* %17
%53 = load double*, double** %9
%54 = load double, double* %53
%55 = load double, double* %17
%56 = fsub double %54, %55
%57 = load double, double* %11
%58 = fdiv double %56, %57
store double %58, double* %18
%59 = load double, double* %18
%60 = fcmp ogt double %59, 0.000000e+00
br i1 %60, label %61, label %62
61: ; preds = %49
br label %65
62: ; preds = %49
%63 = load double, double* %18
%64 = call double @exp(double %63)
br label %65
65: ; preds = %62, %61
%66 = phi double [ 1.000000e+00, %61 ], [ %64, %62 ]
store double %66, double* %16
%67 = call double (...) @uniformrng()
store double %67, double* %19
%68 = load double, double* %16
%69 = load double, double* %19
%70 = fcmp ogt double %68, %69
br i1 %70, label %71, label %92
71: ; preds = %65
%72 = load double, double* %17
%73 = load double*, double** %9
store double %72, double* %73
store i32 1, i32* %15
br label %74
74: ; preds = %88, %71
%75 = load i32, i32* %15
%76 = load i32, i32* %10
%77 = icmp sle i32 %75, %76
br i1 %77, label %78, label %91
78: ; preds = %74
%79 = load double*, double** %14
%80 = load i32, i32* %15
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, double* %79, i64 %81
%83 = load double, double* %82
%84 = load double*, double** %8
%85 = load i32, i32* %15
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, double* %84, i64 %86
store double %83, double* %87
br label %88
88: ; preds = %78
%89 = load i32, i32* %15
%90 = add nsw i32 %89, 1
store i32 %90, i32* %15
br label %74
91: ; preds = %74
br label %92
92: ; preds = %91, %65
%93 = load double, double* %16
%94 = load double*, double** %13
store double %93, double* %94
ret void
}

LLVM IR (-O2):
define void @MH_HitAndRun(double* nocapture %0, double* nocapture %1, i32 %2, double %3, double %4, double* nocapture writeonly %5, double* %6) {
%8 = tail call i32 @uniformdirectionrng(double* %6, i32 %2)
%9 = icmp slt i32 %2, 1
br i1 %9, label %24, label %10
10: ; preds = %7
%11 = add nuw i32 %2, 1
%12 = zext i32 %11 to i64
br label %13
13: ; preds = %10, %13
%14 = phi i64 [ 1, %10 ], [ %22, %13 ]
%15 = getelementptr inbounds double, double* %0, i64 %14
%16 = load double, double* %15
%17 = getelementptr inbounds double, double* %6, i64 %14
%18 = load double, double* %17
%19 = fmul double %18, %4
%20 = tail call double (...) @normalrng()
%21 = tail call double @llvm.fmuladd.f64(double %19, double %20, double %16)
store double %21, double* %17
%22 = add nuw nsw i64 %14, 1
%23 = icmp eq i64 %22, %12
br i1 %23, label %24, label %13
24: ; preds = %13, %7
%25 = tail call double @cost(double* %6, i32 %2)
%26 = load double, double* %1
%27 = fsub double %26, %25
%28 = fdiv double %27, %3
%29 = fcmp ogt double %28, 0.000000e+00
br i1 %29, label %32, label %30
30: ; preds = %24
%31 = tail call double @exp(double %28)
br label %32
32: ; preds = %24, %30
%33 = phi double [ %31, %30 ], [ 1.000000e+00, %24 ]
%34 = tail call double (...) @uniformrng()
%35 = fcmp ogt double %33, %34
br i1 %35, label %36, label %170
36: ; preds = %32
store double %25, double* %1
br i1 %9, label %170, label %37
37: ; preds = %36
%38 = add nuw i32 %2, 1
%39 = zext i32 %38 to i64
%40 = add nsw i64 %39, -1
%41 = icmp ult i64 %40, 4
br i1 %41, label %132, label %42
42: ; preds = %37
%43 = getelementptr double, double* %0, i64 1
%44 = getelementptr double, double* %0, i64 %39
%45 = getelementptr double, double* %6, i64 1
%46 = getelementptr double, double* %6, i64 %39
%47 = icmp ult double* %43, %46
%48 = icmp ult double* %45, %44
%49 = and i1 %47, %48
br i1 %49, label %132, label %50
50: ; preds = %42
%51 = and i64 %40, -4
%52 = or i64 %51, 1
%53 = add nsw i64 %51, -4
%54 = lshr exact i64 %53, 2
%55 = add nuw nsw i64 %54, 1
%56 = and i64 %55, 3
%57 = icmp ult i64 %53, 12
br i1 %57, label %110, label %58
58: ; preds = %50
%59 = and i64 %55, 9223372036854775804
br label %60
60: ; preds = %60, %58
%61 = phi i64 [ 0, %58 ], [ %107, %60 ]
%62 = phi i64 [ 0, %58 ], [ %108, %60 ]
%63 = or i64 %61, 1
%64 = getelementptr inbounds double, double* %6, i64 %63
%65 = bitcast double* %64 to <2 x double>*
%66 = load <2 x double>, <2 x double>* %65
%67 = getelementptr inbounds double, double* %64, i64 2
%68 = bitcast double* %67 to <2 x double>*
%69 = load <2 x double>, <2 x double>* %68
%70 = getelementptr inbounds double, double* %0, i64 %63
%71 = bitcast double* %70 to <2 x double>*
store <2 x double> %66, <2 x double>* %71
%72 = getelementptr inbounds double, double* %70, i64 2
%73 = bitcast double* %72 to <2 x double>*
store <2 x double> %69, <2 x double>* %73
%74 = or i64 %61, 5
%75 = getelementptr inbounds double, double* %6, i64 %74
%76 = bitcast double* %75 to <2 x double>*
%77 = load <2 x double>, <2 x double>* %76
%78 = getelementptr inbounds double, double* %75, i64 2
%79 = bitcast double* %78 to <2 x double>*
%80 = load <2 x double>, <2 x double>* %79
%81 = getelementptr inbounds double, double* %0, i64 %74
%82 = bitcast double* %81 to <2 x double>*
store <2 x double> %77, <2 x double>* %82
%83 = getelementptr inbounds double, double* %81, i64 2
%84 = bitcast double* %83 to <2 x double>*
store <2 x double> %80, <2 x double>* %84
%85 = or i64 %61, 9
%86 = getelementptr inbounds double, double* %6, i64 %85
%87 = bitcast double* %86 to <2 x double>*
%88 = load <2 x double>, <2 x double>* %87
%89 = getelementptr inbounds double, double* %86, i64 2
%90 = bitcast double* %89 to <2 x double>*
%91 = load <2 x double>, <2 x double>* %90
%92 = getelementptr inbounds double, double* %0, i64 %85
%93 = bitcast double* %92 to <2 x double>*
store <2 x double> %88, <2 x double>* %93
%94 = getelementptr inbounds double, double* %92, i64 2
%95 = bitcast double* %94 to <2 x double>*
store <2 x double> %91, <2 x double>* %95
%96 = or i64 %61, 13
%97 = getelementptr inbounds double, double* %6, i64 %96
%98 = bitcast double* %97 to <2 x double>*
%99 = load <2 x double>, <2 x double>* %98
%100 = getelementptr inbounds double, double* %97, i64 2
%101 = bitcast double* %100 to <2 x double>*
%102 = load <2 x double>, <2 x double>* %101
%103 = getelementptr inbounds double, double* %0, i64 %96
%104 = bitcast double* %103 to <2 x double>*
store <2 x double> %99, <2 x double>* %104
%105 = getelementptr inbounds double, double* %103, i64 2
%106 = bitcast double* %105 to <2 x double>*
store <2 x double> %102, <2 x double>* %106
%107 = add nuw i64 %61, 16
%108 = add nuw i64 %62, 4
%109 = icmp eq i64 %108, %59
br i1 %109, label %110, label %60
110: ; preds = %60, %50
%111 = phi i64 [ 0, %50 ], [ %107, %60 ]
%112 = icmp eq i64 %56, 0
br i1 %112, label %130, label %113
113: ; preds = %110, %113
%114 = phi i64 [ %127, %113 ], [ %111, %110 ]
%115 = phi i64 [ %128, %113 ], [ 0, %110 ]
%116 = or i64 %114, 1
%117 = getelementptr inbounds double, double* %6, i64 %116
%118 = bitcast double* %117 to <2 x double>*
%119 = load <2 x double>, <2 x double>* %118
%120 = getelementptr inbounds double, double* %117, i64 2
%121 = bitcast double* %120 to <2 x double>*
%122 = load <2 x double>, <2 x double>* %121
%123 = getelementptr inbounds double, double* %0, i64 %116
%124 = bitcast double* %123 to <2 x double>*
store <2 x double> %119, <2 x double>* %124
%125 = getelementptr inbounds double, double* %123, i64 2
%126 = bitcast double* %125 to <2 x double>*
store <2 x double> %122, <2 x double>* %126
%127 = add nuw i64 %114, 4
%128 = add i64 %115, 1
%129 = icmp eq i64 %128, %56
br i1 %129, label %130, label %113
130: ; preds = %113, %110
%131 = icmp eq i64 %40, %51
br i1 %131, label %170, label %132
132: ; preds = %42, %37, %130
%133 = phi i64 [ 1, %42 ], [ 1, %37 ], [ %52, %130 ]
%134 = sub nsw i64 %39, %133
%135 = xor i64 %133, -1
%136 = add nsw i64 %135, %39
%137 = and i64 %134, 3
%138 = icmp eq i64 %137, 0
br i1 %138, label %148, label %139
139: ; preds = %132, %139
%140 = phi i64 [ %145, %139 ], [ %133, %132 ]
%141 = phi i64 [ %146, %139 ], [ 0, %132 ]
%142 = getelementptr inbounds double, double* %6, i64 %140
%143 = load double, double* %142
%144 = getelementptr inbounds double, double* %0, i64 %140
store double %143, double* %144
%145 = add nuw nsw i64 %140, 1
%146 = add i64 %141, 1
%147 = icmp eq i64 %146, %137
br i1 %147, label %148, label %139
148: ; preds = %139, %132
%149 = phi i64 [ %133, %132 ], [ %145, %139 ]
%150 = icmp ult i64 %136, 3
br i1 %150, label %170, label %151
151: ; preds = %148, %151
%152 = phi i64 [ %168, %151 ], [ %149, %148 ]
%153 = getelementptr inbounds double, double* %6, i64 %152
%154 = load double, double* %153
%155 = getelementptr inbounds double, double* %0, i64 %152
store double %154, double* %155
%156 = add nuw nsw i64 %152, 1
%157 = getelementptr inbounds double, double* %6, i64 %156
%158 = load double, double* %157
%159 = getelementptr inbounds double, double* %0, i64 %156
store double %158, double* %159
%160 = add nuw nsw i64 %152, 2
%161 = getelementptr inbounds double, double* %6, i64 %160
%162 = load double, double* %161
%163 = getelementptr inbounds double, double* %0, i64 %160
store double %162, double* %163
%164 = add nuw nsw i64 %152, 3
%165 = getelementptr inbounds double, double* %6, i64 %164
%166 = load double, double* %165
%167 = getelementptr inbounds double, double* %0, i64 %164
store double %166, double* %167
%168 = add nuw nsw i64 %152, 4
%169 = icmp eq i64 %168, %39
br i1 %169, label %170, label %151
170: ; preds = %148, %151, %130, %36, %32
store double %33, double* %5
ret void
}