#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 *malloc(int);
int rand();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
double *maple_leaf(int n_iter) {
  int i;
  int test;
  double *points = malloc(2 * n_iter * sizeof(double));
  points[0] = 0.0;
  points[1] = 0.0;
  srand(time(NULL));
  for (i = 2; i < (2 * n_iter); i += 2) {
    test = rand() % 100;
    if (test < 10) {
      points[i] = 0.14 * points[i - 2] + 0.01 * points[i - 1] - 0.08;
      points[i + 1] = 0.00 * points[i - 2] + 0.51 * points[i - 1] - 1.31;
    } else if (test < 45) {
      points[i] = 0.43 * points[i - 2] + 0.52 * points[i - 1] + 1.49;
      points[i + 1] = -0.45 * points[i - 2] + 0.50 * points[i - 1] - 0.75;
    } else if (test < 80) {
      points[i] = 0.45 * points[i - 2] - 0.49 * points[i - 1] - 1.62;
      points[i + 1] = 0.47 * points[i - 2] + 0.47 * points[i - 1] - 0.74;
    } else {
      points[i] = 0.49 * points[i - 2] + 0.00 * points[i - 1] + 0.02;
      points[i + 1] = 0.00 * points[i - 2] + 0.51 * points[i - 1] + 1.62;
    }
  }
  return points;
}


x86 assembly (clang, -O0):
<maple_leaf>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%eax
shl    $0x1,%eax
cltq
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
xor    %eax,%eax
mov    %eax,%edi
call   1040 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
movl   $0x2,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    -0x4(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    14c1 <maple_leaf+0x381>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    126c <maple_leaf+0x12c>
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xe9c(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movsd  0xe87(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xe6f(%rip),%xmm1
subsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xdcf(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
xorps  %xmm2,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xe17(%rip),%xmm1
subsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    14ae <maple_leaf+0x36e>
cmpl   $0x2d,-0xc(%rbp)
jge    132a <maple_leaf+0x1ea>
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xdc3(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movsd  0xdae(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xd96(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xd56(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movsd  0xd41(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xd29(%rip),%xmm1
subsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    14a9 <maple_leaf+0x369>
cmpl   $0x50,-0xc(%rbp)
jge    13ff <maple_leaf+0x2bf>
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xcbd(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xcb1(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xc71(%rip),%xmm1
subsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xc61(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movsd  0xc54(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xc3c(%rip),%xmm1
subsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    14a4 <maple_leaf+0x364>
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
xorps  %xmm1,%xmm1
mulsd  (%rax,%rcx,8),%xmm1
movsd  0xbea(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xbd2(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xb92(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
xorps  %xmm2,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xb72(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    14a9 <maple_leaf+0x369>
jmp    14ae <maple_leaf+0x36e>
jmp    14b3 <maple_leaf+0x373>
mov    -0x8(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x8(%rbp)
jmp    1190 <maple_leaf+0x50>
mov    -0x18(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<maple_leaf>:
push   %rbp
push   %r14
push   %rbx
sub    $0x20,%rsp
mov    %edi,%ebp
shl    $0x4,%edi
call   1050 <malloc@plt>
mov    %rax,%rbx
xorpd  %xmm1,%xmm1
xorpd  %xmm0,%xmm0
movapd %xmm0,0x10(%rsp)
movupd %xmm1,(%rax)
xor    %edi,%edi
call   1040 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
cmp    $0x2,%ebp
jl     12de <maple_leaf+0x19e>
add    %ebp,%ebp
movslq %ebp,%r14
xorpd  %xmm1,%xmm1
mov    $0x1,%ebp
movapd 0x10(%rsp),%xmm0
movhpd 0xe76(%rip),%xmm0
movapd %xmm0,0x10(%rsp)
jmp    1200 <maple_leaf+0xc0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%rbx,%rbp,8),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  0xecf(%rip),%xmm0
movapd (%rsp),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  0x10(%rsp),%xmm1
addpd  %xmm0,%xmm1
addpd  0xec4(%rip),%xmm1
movhpd %xmm1,0x8(%rbx,%rbp,8)
movlpd %xmm1,0x10(%rbx,%rbp,8)
unpckhpd %xmm1,%xmm1
lea    0x2(%rbp),%rax
add    $0x3,%rbp
cmp    %r14,%rbp
mov    %rax,%rbp
jge    12de <maple_leaf+0x19e>
movapd %xmm1,(%rsp)
xor    %eax,%eax
call   1060 <rand@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
cmp    $0x9,%eax
jle    11b0 <maple_leaf+0x70>
cmp    $0x2c,%eax
ja     1270 <maple_leaf+0x130>
movsd  (%rbx,%rbp,8),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  0xe1e(%rip),%xmm0
movapd (%rsp),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  0xe1d(%rip),%xmm1
addpd  %xmm0,%xmm1
addpd  0xe21(%rip),%xmm1
jmp    11dc <maple_leaf+0x9c>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%rbx,%rbp,8),%xmm0
unpcklpd %xmm0,%xmm0
cmp    $0x4f,%eax
ja     12a8 <maple_leaf+0x168>
mulpd  0xdaa(%rip),%xmm0
movapd (%rsp),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  0xda9(%rip),%xmm1
addpd  %xmm0,%xmm1
addpd  0xdad(%rip),%xmm1
jmp    11dc <maple_leaf+0x9c>
movsd  0xd50(%rip),%xmm1
mulpd  %xmm1,%xmm0
movapd (%rsp),%xmm2
unpcklpd %xmm2,%xmm2
xorpd  %xmm1,%xmm1
movhpd 0xd3f(%rip),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
addpd  0xd47(%rip),%xmm1
jmp    11dc <maple_leaf+0x9c>
mov    %rbx,%rax
add    $0x20,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
define double* @maple_leaf(i32 %0) {
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca double*
store i32 %0, i32* %2
%6 = load i32, i32* %2
%7 = mul nsw i32 2, %6
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 8
%10 = trunc i64 %9 to i32
%11 = call double* @malloc(i32 %10)
store double* %11, double** %5
%12 = load double*, double** %5
%13 = getelementptr inbounds double, double* %12, i64 0
store double 0.000000e+00, double* %13
%14 = load double*, double** %5
%15 = getelementptr inbounds double, double* %14, i64 1
store double 0.000000e+00, double* %15
%16 = call i32 @time(i32* null)
%17 = call i32 @srand(i32 %16)
store i32 2, i32* %3
br label %18
18: ; preds = %198, %1
%19 = load i32, i32* %3
%20 = load i32, i32* %2
%21 = mul nsw i32 2, %20
%22 = icmp slt i32 %19, %21
br i1 %22, label %23, label %201
23: ; preds = %18
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 100
store i32 %25, i32* %4
%26 = load i32, i32* %4
%27 = icmp slt i32 %26, 10
br i1 %27, label %28, label %68
28: ; preds = %23
%29 = load double*, double** %5
%30 = load i32, i32* %3
%31 = sub nsw i32 %30, 2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, double* %29, i64 %32
%34 = load double, double* %33
%35 = load double*, double** %5
%36 = load i32, i32* %3
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, double* %35, i64 %38
%40 = load double, double* %39
%41 = fmul double 1.000000e-02, %40
%42 = call double @llvm.fmuladd.f64(double 1.400000e-01, double %34, double %41)
%43 = fsub double %42, 8.000000e-02
%44 = load double*, double** %5
%45 = load i32, i32* %3
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, double* %44, i64 %46
store double %43, double* %47
%48 = load double*, double** %5
%49 = load i32, i32* %3
%50 = sub nsw i32 %49, 2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, double* %48, i64 %51
%53 = load double, double* %52
%54 = load double*, double** %5
%55 = load i32, i32* %3
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, double* %54, i64 %57
%59 = load double, double* %58
%60 = fmul double 5.100000e-01, %59
%61 = call double @llvm.fmuladd.f64(double 0.000000e+00, double %53, double %60)
%62 = fsub double %61, 1.310000e+00
%63 = load double*, double** %5
%64 = load i32, i32* %3
%65 = add nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %63, i64 %66
store double %62, double* %67
br label %197
68: ; preds = %23
%69 = load i32, i32* %4
%70 = icmp slt i32 %69, 45
br i1 %70, label %71, label %111
71: ; preds = %68
%72 = load double*, double** %5
%73 = load i32, i32* %3
%74 = sub nsw i32 %73, 2
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, double* %72, i64 %75
%77 = load double, double* %76
%78 = load double*, double** %5
%79 = load i32, i32* %3
%80 = sub nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, double* %78, i64 %81
%83 = load double, double* %82
%84 = fmul double 5.200000e-01, %83
%85 = call double @llvm.fmuladd.f64(double 4.300000e-01, double %77, double %84)
%86 = fadd double %85, 1.490000e+00
%87 = load double*, double** %5
%88 = load i32, i32* %3
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, double* %87, i64 %89
store double %86, double* %90
%91 = load double*, double** %5
%92 = load i32, i32* %3
%93 = sub nsw i32 %92, 2
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, double* %91, i64 %94
%96 = load double, double* %95
%97 = load double*, double** %5
%98 = load i32, i32* %3
%99 = sub nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, double* %97, i64 %100
%102 = load double, double* %101
%103 = fmul double 5.000000e-01, %102
%104 = call double @llvm.fmuladd.f64(double -4.500000e-01, double %96, double %103)
%105 = fsub double %104, 7.500000e-01
%106 = load double*, double** %5
%107 = load i32, i32* %3
%108 = add nsw i32 %107, 1
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, double* %106, i64 %109
store double %105, double* %110
br label %196
111: ; preds = %68
%112 = load i32, i32* %4
%113 = icmp slt i32 %112, 80
br i1 %113, label %114, label %155
114: ; preds = %111
%115 = load double*, double** %5
%116 = load i32, i32* %3
%117 = sub nsw i32 %116, 2
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds double, double* %115, i64 %118
%120 = load double, double* %119
%121 = load double*, double** %5
%122 = load i32, i32* %3
%123 = sub nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, double* %121, i64 %124
%126 = load double, double* %125
%127 = fmul double 4.900000e-01, %126
%128 = fneg double %127
%129 = call double @llvm.fmuladd.f64(double 4.500000e-01, double %120, double %128)
%130 = fsub double %129, 1.620000e+00
%131 = load double*, double** %5
%132 = load i32, i32* %3
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, double* %131, i64 %133
store double %130, double* %134
%135 = load double*, double** %5
%136 = load i32, i32* %3
%137 = sub nsw i32 %136, 2
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, double* %135, i64 %138
%140 = load double, double* %139
%141 = load double*, double** %5
%142 = load i32, i32* %3
%143 = sub nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, double* %141, i64 %144
%146 = load double, double* %145
%147 = fmul double 4.700000e-01, %146
%148 = call double @llvm.fmuladd.f64(double 4.700000e-01, double %140, double %147)
%149 = fsub double %148, 0x3FE7AE147AE147AE
%150 = load double*, double** %5
%151 = load i32, i32* %3
%152 = add nsw i32 %151, 1
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, double* %150, i64 %153
store double %149, double* %154
br label %195
155: ; preds = %111
%156 = load double*, double** %5
%157 = load i32, i32* %3
%158 = sub nsw i32 %157, 2
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, double* %156, i64 %159
%161 = load double, double* %160
%162 = load double*, double** %5
%163 = load i32, i32* %3
%164 = sub nsw i32 %163, 1
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, double* %162, i64 %165
%167 = load double, double* %166
%168 = fmul double 0.000000e+00, %167
%169 = call double @llvm.fmuladd.f64(double 4.900000e-01, double %161, double %168)
%170 = fadd double %169, 2.000000e-02
%171 = load double*, double** %5
%172 = load i32, i32* %3
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, double* %171, i64 %173
store double %170, double* %174
%175 = load double*, double** %5
%176 = load i32, i32* %3
%177 = sub nsw i32 %176, 2
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, double* %175, i64 %178
%180 = load double, double* %179
%181 = load double*, double** %5
%182 = load i32, i32* %3
%183 = sub nsw i32 %182, 1
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, double* %181, i64 %184
%186 = load double, double* %185
%187 = fmul double 5.100000e-01, %186
%188 = call double @llvm.fmuladd.f64(double 0.000000e+00, double %180, double %187)
%189 = fadd double %188, 1.620000e+00
%190 = load double*, double** %5
%191 = load i32, i32* %3
%192 = add nsw i32 %191, 1
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, double* %190, i64 %193
store double %189, double* %194
br label %195
195: ; preds = %155, %114
br label %196
196: ; preds = %195, %71
br label %197
197: ; preds = %196, %28
br label %198
198: ; preds = %197
%199 = load i32, i32* %3
%200 = add nsw i32 %199, 2
store i32 %200, i32* %3
br label %18
201: ; preds = %18
%202 = load double*, double** %5
ret double* %202
}

LLVM IR (-O2):
define noalias double* @maple_leaf(i32 %0) {
%2 = shl i32 %0, 4
%3 = tail call double* @malloc(i32 %2)
%4 = bitcast double* %3 to i8*
%5 = tail call i32 @time(i32* null)
%6 = tail call i32 @srand(i32 %5)
%7 = icmp sgt i32 %0, 1
br i1 %7, label %8, label %78
8: ; preds = %1
%9 = shl nuw nsw i32 %0, 1
%10 = sext i32 %9 to i64
br label %11
11: ; preds = %8, %70
%12 = phi double [ 0.000000e+00, %8 ], [ %77, %70 ]
%13 = phi i64 [ 2, %8 ], [ %75, %70 ]
%14 = tail call i32 (...) @rand()
%15 = srem i32 %14, 100
%16 = icmp slt i32 %15, 10
br i1 %16, label %17, label %30
17: ; preds = %11
%18 = add nsw i64 %13, -1
%19 = getelementptr inbounds double, double* %3, i64 %18
%20 = load double, double* %19
%21 = getelementptr inbounds double, double* %3, i64 %13
%22 = insertelement <2 x double> poison, double %20, i64 0
%23 = shufflevector <2 x double> %22, <2 x double> poison, <2 x i32> zeroinitializer
%24 = fmul <2 x double> %23, <double 5.100000e-01, double 1.000000e-02>
%25 = insertelement <2 x double> poison, double %12, i64 0
%26 = shufflevector <2 x double> %25, <2 x double> poison, <2 x i32> zeroinitializer
%27 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %26, <2 x double> <double 0.000000e+00, double 1.400000e-01>, <2 x double> %24)
%28 = fadd <2 x double> %27, <double -1.310000e+00, double -8.000000e-02>
%29 = extractelement <2 x double> %28, i64 1
store double %29, double* %21
br label %70
30: ; preds = %11
%31 = icmp ult i32 %15, 45
br i1 %31, label %32, label %45
32: ; preds = %30
%33 = add nsw i64 %13, -1
%34 = getelementptr inbounds double, double* %3, i64 %33
%35 = load double, double* %34
%36 = getelementptr inbounds double, double* %3, i64 %13
%37 = insertelement <2 x double> poison, double %35, i64 0
%38 = shufflevector <2 x double> %37, <2 x double> poison, <2 x i32> zeroinitializer
%39 = fmul <2 x double> %38, <double 5.000000e-01, double 5.200000e-01>
%40 = insertelement <2 x double> poison, double %12, i64 0
%41 = shufflevector <2 x double> %40, <2 x double> poison, <2 x i32> zeroinitializer
%42 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %41, <2 x double> <double -4.500000e-01, double 4.300000e-01>, <2 x double> %39)
%43 = fadd <2 x double> %42, <double -7.500000e-01, double 1.490000e+00>
%44 = extractelement <2 x double> %43, i64 1
store double %44, double* %36
br label %70
45: ; preds = %30
%46 = icmp ult i32 %15, 80
%47 = add nsw i64 %13, -1
%48 = getelementptr inbounds double, double* %3, i64 %47
%49 = load double, double* %48
br i1 %46, label %50, label %60
50: ; preds = %45
%51 = getelementptr inbounds double, double* %3, i64 %13
%52 = insertelement <2 x double> poison, double %49, i64 0
%53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
%54 = fmul <2 x double> %53, <double 4.700000e-01, double -4.900000e-01>
%55 = insertelement <2 x double> poison, double %12, i64 0
%56 = shufflevector <2 x double> %55, <2 x double> poison, <2 x i32> zeroinitializer
%57 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %56, <2 x double> <double 4.700000e-01, double 4.500000e-01>, <2 x double> %54)
%58 = fadd <2 x double> %57, <double 0xBFE7AE147AE147AE, double -1.620000e+00>
%59 = extractelement <2 x double> %58, i64 1
store double %59, double* %51
br label %70
60: ; preds = %45
%61 = getelementptr inbounds double, double* %3, i64 %13
%62 = insertelement <2 x double> poison, double %49, i64 0
%63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> zeroinitializer
%64 = fmul <2 x double> %63, <double 5.100000e-01, double 0.000000e+00>
%65 = insertelement <2 x double> poison, double %12, i64 0
%66 = shufflevector <2 x double> %65, <2 x double> poison, <2 x i32> zeroinitializer
%67 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %66, <2 x double> <double 0.000000e+00, double 4.900000e-01>, <2 x double> %64)
%68 = fadd <2 x double> %67, <double 1.620000e+00, double 2.000000e-02>
%69 = extractelement <2 x double> %68, i64 1
store double %69, double* %61
br label %70
70: ; preds = %17, %50, %60, %32
%71 = phi <2 x double> [ %28, %17 ], [ %58, %50 ], [ %68, %60 ], [ %43, %32 ]
%72 = or i64 %13, 1
%73 = getelementptr inbounds double, double* %3, i64 %72
%74 = extractelement <2 x double> %71, i64 0
store double %74, double* %73
%75 = add nuw nsw i64 %13, 2
%76 = icmp slt i64 %75, %10
%77 = extractelement <2 x double> %71, i64 1
br i1 %76, label %11, label %78
78: ; preds = %70, %1
ret double* %3
}