#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 *calloc(int, int);
scalar_t__ fmod(double, double);
int /*<<< orphan*/ free(double *);
int /*<<< orphan*/ memcpy(double *, double *, int);
double row_zero(double *row1, double *row2, int col, int cols) {
  double r1c = 1, r2c = 1;
  double *temp;
  if (!row1[col]) {
    temp = calloc(cols, sizeof(*temp));
    memcpy(temp, row2, cols * sizeof(*temp));
    memcpy(row2, row1, cols * sizeof(*temp));
    memcpy(row1, temp, cols * sizeof(*temp));
    free(temp);
  } else if (row2[col]) {
    if (fmod(row2[col], row1[col]) == 0)
      r1c = row2[col] / row1[col];
    else if (fmod(row1[col], row2[col]) == 0)
      r2c = row1[col] / row2[col];
    else {
      r1c = row2[col];
      r2c = row1[col];
    }
    while (cols--)
      row2[cols] = r2c * row2[cols] - r1c * row1[cols];
  }
  return r2c;
}


x86 assembly (clang, -O0):
<row_zero>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
movsd  0xea2(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe95(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    11f4 <row_zero+0xb4>
jp     11f4 <row_zero+0xb4>
mov    -0x18(%rbp),%edi
mov    $0x8,%esi
call   1050 <calloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x10(%rbp),%rsi
movslq -0x18(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edx
call   1060 <memcpy@plt>
mov    -0x10(%rbp),%rdi
mov    -0x8(%rbp),%rsi
movslq -0x18(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edx
call   1060 <memcpy@plt>
mov    -0x8(%rbp),%rdi
mov    -0x30(%rbp),%rsi
movslq -0x18(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edx
call   1060 <memcpy@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
jmp    1354 <row_zero+0x214>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1219 <row_zero+0xd9>
jp     1219 <row_zero+0xd9>
jmp    134f <row_zero+0x20f>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
call   1040 <fmod@plt>
cmp    $0x0,%rax
jne    1266 <row_zero+0x126>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x20(%rbp)
jmp    12dc <row_zero+0x19c>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
call   1040 <fmod@plt>
cmp    $0x0,%rax
jne    12b3 <row_zero+0x173>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x28(%rbp)
jmp    12d7 <row_zero+0x197>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x28(%rbp)
jmp    12dc <row_zero+0x19c>
jmp    12e1 <row_zero+0x1a1>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x18(%rbp)
cmp    $0x0,%eax
je     134a <row_zero+0x20a>
movsd  -0x28(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x20(%rbp),%xmm1
mov    -0x8(%rbp),%rax
movslq -0x18(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    12e1 <row_zero+0x1a1>
jmp    134f <row_zero+0x20f>
jmp    1354 <row_zero+0x214>
movsd  -0x28(%rbp),%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<row_zero>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %ecx,%r15d
mov    %rsi,%rbx
mov    %rdi,%r14
movslq %edx,%r12
movsd  (%rdi,%r12,8),%xmm1
xorpd  %xmm2,%xmm2
ucomisd %xmm2,%xmm1
jne    1166 <row_zero+0x26>
jnp    11b7 <row_zero+0x77>
movsd  (%rbx,%r12,8),%xmm0
ucomisd %xmm2,%xmm0
jne    1178 <row_zero+0x38>
jnp    11fd <row_zero+0xbd>
call   1040 <fmod@plt>
test   %rax,%rax
je     1211 <row_zero+0xd1>
movsd  (%r14,%r12,8),%xmm0
movsd  (%rbx,%r12,8),%xmm1
call   1040 <fmod@plt>
test   %rax,%rax
je     122c <row_zero+0xec>
movsd  (%rbx,%r12,8),%xmm1
movsd  (%r14,%r12,8),%xmm0
test   %r15d,%r15d
jne    1245 <row_zero+0x105>
jmp    1205 <row_zero+0xc5>
mov    %r15d,%edi
mov    $0x8,%esi
call   1050 <calloc@plt>
mov    %rax,%r12
shl    $0x3,%r15d
mov    %rax,%rdi
mov    %rbx,%rsi
mov    %r15d,%edx
call   1060 <memcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r15d,%edx
call   1060 <memcpy@plt>
mov    %r14,%rdi
mov    %r12,%rsi
mov    %r15d,%edx
call   1060 <memcpy@plt>
mov    %r12,%rdi
call   1030 <free@plt>
movsd  0xdfb(%rip),%xmm0
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
movsd  (%rbx,%r12,8),%xmm1
divsd  (%r14,%r12,8),%xmm1
movsd  0xddb(%rip),%xmm0
test   %r15d,%r15d
jne    1245 <row_zero+0x105>
jmp    1205 <row_zero+0xc5>
movsd  (%r14,%r12,8),%xmm0
divsd  (%rbx,%r12,8),%xmm0
movsd  0xdc0(%rip),%xmm1
test   %r15d,%r15d
je     1205 <row_zero+0xc5>
xorpd  0xdc3(%rip),%xmm1
movslq %r15d,%rcx
add    $0xffffffff,%r15d
cmp    $0x3,%r15d
jb     1285 <row_zero+0x145>
mov    %r15,%rax
not    %rax
add    %rcx,%rax
lea    (%rbx,%rax,8),%rdx
lea    (%r14,%rcx,8),%rsi
cmp    %rsi,%rdx
jae    131e <row_zero+0x1de>
lea    (%rbx,%rcx,8),%rdx
lea    (%r14,%rax,8),%rax
cmp    %rdx,%rax
jae    131e <row_zero+0x1de>
mov    %rcx,%rax
test   $0x1,%al
jne    1299 <row_zero+0x159>
mov    %rax,%rcx
cmp    $0x1,%eax
jne    12d0 <row_zero+0x190>
jmp    1205 <row_zero+0xc5>
lea    -0x1(%rax),%rcx
movsd  -0x8(%r14,%rax,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  -0x8(%rbx,%rax,8),%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm2,%xmm3
movsd  %xmm3,-0x8(%rbx,%rax,8)
cmp    $0x1,%eax
je     1205 <row_zero+0xc5>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  -0x8(%r14,%rcx,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  -0x8(%rbx,%rcx,8),%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm2,%xmm3
movsd  %xmm3,-0x8(%rbx,%rcx,8)
movsd  -0x10(%r14,%rcx,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  -0x10(%rbx,%rcx,8),%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm2,%xmm3
movsd  %xmm3,-0x10(%rbx,%rcx,8)
lea    -0x2(%rcx),%rax
mov    %rax,%rcx
test   %eax,%eax
jne    12d0 <row_zero+0x190>
jmp    1205 <row_zero+0xc5>
add    $0x1,%r15
mov    %r15,%r8
and    $0xfffffffffffffffc,%r8
mov    %rcx,%rax
sub    %r8,%rax
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
movapd %xmm0,%xmm3
unpcklpd %xmm0,%xmm3
lea    (%rbx,%rcx,8),%rdx
add    $0xfffffffffffffff0,%rdx
lea    (%r14,%rcx,8),%rsi
add    $0xfffffffffffffff0,%rsi
mov    %r8,%rdi
neg    %rdi
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movupd -0x10(%rdx,%rcx,8),%xmm4
movupd (%rdx,%rcx,8),%xmm5
shufpd $0x1,%xmm5,%xmm5
shufpd $0x1,%xmm4,%xmm4
movupd -0x10(%rsi,%rcx,8),%xmm6
movupd (%rsi,%rcx,8),%xmm7
shufpd $0x1,%xmm7,%xmm7
shufpd $0x1,%xmm6,%xmm6
mulpd  %xmm2,%xmm7
mulpd  %xmm2,%xmm6
mulpd  %xmm3,%xmm5
addpd  %xmm7,%xmm5
mulpd  %xmm3,%xmm4
addpd  %xmm6,%xmm4
shufpd $0x1,%xmm5,%xmm5
movupd %xmm5,(%rdx,%rcx,8)
shufpd $0x1,%xmm4,%xmm4
movupd %xmm4,-0x10(%rdx,%rcx,8)
add    $0xfffffffffffffffc,%rcx
cmp    %rcx,%rdi
jne    1360 <row_zero+0x220>
cmp    %r8,%r15
je     1205 <row_zero+0xc5>
jmp    1288 <row_zero+0x148>

LLVM IR (-O0):
define double @row_zero(double* %0, double* %1, i32 %2, i32 %3) {
%5 = alloca double*
%6 = alloca double*
%7 = alloca i32
%8 = alloca i32
%9 = alloca double
%10 = alloca double
%11 = alloca double*
store double* %0, double** %5
store double* %1, double** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
store double 1.000000e+00, double* %9
store double 1.000000e+00, double* %10
%12 = load double*, double** %5
%13 = load i32, i32* %7
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, double* %12, i64 %14
%16 = load double, double* %15
%17 = fcmp une double %16, 0.000000e+00
br i1 %17, label %44, label %18
18: ; preds = %4
%19 = load i32, i32* %8
%20 = call double* @calloc(i32 %19, i32 8)
store double* %20, double** %11
%21 = load double*, double** %11
%22 = load double*, double** %6
%23 = load i32, i32* %8
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 8
%26 = trunc i64 %25 to i32
%27 = call i32 @memcpy(double* %21, double* %22, i32 %26)
%28 = load double*, double** %6
%29 = load double*, double** %5
%30 = load i32, i32* %8
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call i32 @memcpy(double* %28, double* %29, i32 %33)
%35 = load double*, double** %5
%36 = load double*, double** %11
%37 = load i32, i32* %8
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 8
%40 = trunc i64 %39 to i32
%41 = call i32 @memcpy(double* %35, double* %36, i32 %40)
%42 = load double*, double** %11
%43 = call i32 @free(double* %42)
br label %140
44: ; preds = %4
%45 = load double*, double** %6
%46 = load i32, i32* %7
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, double* %45, i64 %47
%49 = load double, double* %48
%50 = fcmp une double %49, 0.000000e+00
br i1 %50, label %51, label %139
51: ; preds = %44
%52 = load double*, double** %6
%53 = load i32, i32* %7
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %52, i64 %54
%56 = load double, double* %55
%57 = load double*, double** %5
%58 = load i32, i32* %7
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, double* %57, i64 %59
%61 = load double, double* %60
%62 = call i64 @fmod(double %56, double %61)
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %76
64: ; preds = %51
%65 = load double*, double** %6
%66 = load i32, i32* %7
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, double* %65, i64 %67
%69 = load double, double* %68
%70 = load double*, double** %5
%71 = load i32, i32* %7
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, double* %70, i64 %72
%74 = load double, double* %73
%75 = fdiv double %69, %74
store double %75, double* %9
br label %113
76: ; preds = %51
%77 = load double*, double** %5
%78 = load i32, i32* %7
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, double* %77, i64 %79
%81 = load double, double* %80
%82 = load double*, double** %6
%83 = load i32, i32* %7
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, double* %82, i64 %84
%86 = load double, double* %85
%87 = call i64 @fmod(double %81, double %86)
%88 = icmp eq i64 %87, 0
br i1 %88, label %89, label %101
89: ; preds = %76
%90 = load double*, double** %5
%91 = load i32, i32* %7
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, double* %90, i64 %92
%94 = load double, double* %93
%95 = load double*, double** %6
%96 = load i32, i32* %7
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %95, i64 %97
%99 = load double, double* %98
%100 = fdiv double %94, %99
store double %100, double* %10
br label %112
101: ; preds = %76
%102 = load double*, double** %6
%103 = load i32, i32* %7
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, double* %102, i64 %104
%106 = load double, double* %105
store double %106, double* %9
%107 = load double*, double** %5
%108 = load i32, i32* %7
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, double* %107, i64 %109
%111 = load double, double* %110
store double %111, double* %10
br label %112
112: ; preds = %101, %89
br label %113
113: ; preds = %112, %64
br label %114
114: ; preds = %118, %113
%115 = load i32, i32* %8
%116 = add nsw i32 %115, -1
store i32 %116, i32* %8
%117 = icmp ne i32 %115, 0
br i1 %117, label %118, label %138
118: ; preds = %114
%119 = load double, double* %10
%120 = load double*, double** %6
%121 = load i32, i32* %8
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, double* %120, i64 %122
%124 = load double, double* %123
%125 = load double, double* %9
%126 = load double*, double** %5
%127 = load i32, i32* %8
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, double* %126, i64 %128
%130 = load double, double* %129
%131 = fmul double %125, %130
%132 = fneg double %131
%133 = call double @llvm.fmuladd.f64(double %119, double %124, double %132)
%134 = load double*, double** %6
%135 = load i32, i32* %8
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, double* %134, i64 %136
store double %133, double* %137
br label %114
138: ; preds = %114
br label %139
139: ; preds = %138, %44
br label %140
140: ; preds = %139, %18
%141 = load double, double* %10
ret double %141
}

LLVM IR (-O2):
define double @row_zero(double* %0, double* %1, i32 %2, i32 %3) {
%5 = sext i32 %2 to i64
%6 = getelementptr inbounds double, double* %0, i64 %5
%7 = load double, double* %6
%8 = fcmp une double %7, 0.000000e+00
br i1 %8, label %16, label %9
9: ; preds = %4
%10 = tail call double* @calloc(i32 %3, i32 8)
%11 = shl i32 %3, 3
%12 = tail call i32 @memcpy(double* %10, double* %1, i32 %11)
%13 = tail call i32 @memcpy(double* %1, double* %0, i32 %11)
%14 = tail call i32 @memcpy(double* %0, double* %10, i32 %11)
%15 = tail call i32 @free(double* %10)
br label %143
16: ; preds = %4
%17 = getelementptr inbounds double, double* %1, i64 %5
%18 = load double, double* %17
%19 = fcmp une double %18, 0.000000e+00
br i1 %19, label %20, label %143
20: ; preds = %16
%21 = tail call i64 @fmod(double %18, double %7)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load double, double* %17
%25 = load double, double* %6
%26 = fdiv double %24, %25
br label %39
27: ; preds = %20
%28 = load double, double* %6
%29 = load double, double* %17
%30 = tail call i64 @fmod(double %28, double %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = load double, double* %6
%34 = load double, double* %17
%35 = fdiv double %33, %34
br label %39
36: ; preds = %27
%37 = load double, double* %17
%38 = load double, double* %6
br label %39
39: ; preds = %32, %36, %23
%40 = phi double [ %26, %23 ], [ 1.000000e+00, %32 ], [ %37, %36 ]
%41 = phi double [ 1.000000e+00, %23 ], [ %35, %32 ], [ %38, %36 ]
%42 = icmp eq i32 %3, 0
br i1 %42, label %143, label %43
43: ; preds = %39
%44 = fneg double %40
%45 = sext i32 %3 to i64
%46 = add i32 %3, -1
%47 = zext i32 %46 to i64
%48 = add nuw nsw i64 %47, 1
%49 = icmp ult i32 %46, 3
br i1 %49, label %109, label %50
50: ; preds = %43
%51 = add i32 %3, -1
%52 = zext i32 %51 to i64
%53 = xor i64 %52, -1
%54 = add nsw i64 %53, %45
%55 = getelementptr double, double* %1, i64 %54
%56 = getelementptr double, double* %1, i64 %45
%57 = getelementptr double, double* %0, i64 %54
%58 = getelementptr double, double* %0, i64 %45
%59 = icmp ult double* %55, %58
%60 = icmp ult double* %57, %56
%61 = and i1 %59, %60
br i1 %61, label %109, label %62
62: ; preds = %50
%63 = and i64 %48, 8589934588
%64 = sub nsw i64 %45, %63
%65 = insertelement <2 x double> poison, double %44, i64 0
%66 = shufflevector <2 x double> %65, <2 x double> poison, <2 x i32> zeroinitializer
%67 = insertelement <2 x double> poison, double %44, i64 0
%68 = shufflevector <2 x double> %67, <2 x double> poison, <2 x i32> zeroinitializer
%69 = insertelement <2 x double> poison, double %41, i64 0
%70 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> zeroinitializer
%71 = insertelement <2 x double> poison, double %41, i64 0
%72 = shufflevector <2 x double> %71, <2 x double> poison, <2 x i32> zeroinitializer
br label %73
73: ; preds = %73, %62
%74 = phi i64 [ 0, %62 ], [ %105, %73 ]
%75 = xor i64 %74, -1
%76 = add i64 %75, %45
%77 = getelementptr inbounds double, double* %1, i64 %76
%78 = getelementptr inbounds double, double* %77, i64 -1
%79 = bitcast double* %78 to <2 x double>*
%80 = load <2 x double>, <2 x double>* %79
%81 = shufflevector <2 x double> %80, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%82 = getelementptr inbounds double, double* %77, i64 -2
%83 = getelementptr inbounds double, double* %82, i64 -1
%84 = bitcast double* %83 to <2 x double>*
%85 = load <2 x double>, <2 x double>* %84
%86 = shufflevector <2 x double> %85, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%87 = getelementptr inbounds double, double* %0, i64 %76
%88 = getelementptr inbounds double, double* %87, i64 -1
%89 = bitcast double* %88 to <2 x double>*
%90 = load <2 x double>, <2 x double>* %89
%91 = shufflevector <2 x double> %90, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%92 = getelementptr inbounds double, double* %87, i64 -2
%93 = getelementptr inbounds double, double* %92, i64 -1
%94 = bitcast double* %93 to <2 x double>*
%95 = load <2 x double>, <2 x double>* %94
%96 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%97 = fmul <2 x double> %91, %66
%98 = fmul <2 x double> %96, %68
%99 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %70, <2 x double> %81, <2 x double> %97)
%100 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %72, <2 x double> %86, <2 x double> %98)
%101 = shufflevector <2 x double> %99, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%102 = bitcast double* %78 to <2 x double>*
store <2 x double> %101, <2 x double>* %102
%103 = shufflevector <2 x double> %100, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%104 = bitcast double* %83 to <2 x double>*
store <2 x double> %103, <2 x double>* %104
%105 = add nuw i64 %74, 4
%106 = icmp eq i64 %105, %63
br i1 %106, label %107, label %73
107: ; preds = %73
%108 = icmp eq i64 %48, %63
br i1 %108, label %143, label %109
109: ; preds = %50, %43, %107
%110 = phi i64 [ %45, %50 ], [ %45, %43 ], [ %64, %107 ]
%111 = trunc i64 %110 to i32
%112 = and i32 %111, 1
%113 = icmp eq i32 %112, 0
br i1 %113, label %122, label %114
114: ; preds = %109
%115 = add nsw i64 %110, -1
%116 = getelementptr inbounds double, double* %1, i64 %115
%117 = load double, double* %116
%118 = getelementptr inbounds double, double* %0, i64 %115
%119 = load double, double* %118
%120 = fmul double %119, %44
%121 = tail call double @llvm.fmuladd.f64(double %41, double %117, double %120)
store double %121, double* %116
br label %122
122: ; preds = %114, %109
%123 = phi i64 [ %110, %109 ], [ %115, %114 ]
%124 = icmp eq i32 %111, 1
br i1 %124, label %143, label %125
125: ; preds = %122, %125
%126 = phi i64 [ %134, %125 ], [ %123, %122 ]
%127 = add nsw i64 %126, -1
%128 = getelementptr inbounds double, double* %1, i64 %127
%129 = load double, double* %128
%130 = getelementptr inbounds double, double* %0, i64 %127
%131 = load double, double* %130
%132 = fmul double %131, %44
%133 = tail call double @llvm.fmuladd.f64(double %41, double %129, double %132)
store double %133, double* %128
%134 = add nsw i64 %126, -2
%135 = getelementptr inbounds double, double* %1, i64 %134
%136 = load double, double* %135
%137 = getelementptr inbounds double, double* %0, i64 %134
%138 = load double, double* %137
%139 = fmul double %138, %44
%140 = tail call double @llvm.fmuladd.f64(double %41, double %136, double %139)
store double %140, double* %135
%141 = trunc i64 %134 to i32
%142 = icmp eq i32 %141, 0
br i1 %142, label %143, label %125
143: ; preds = %122, %125, %107, %39, %16, %9
%144 = phi double [ 1.000000e+00, %16 ], [ 1.000000e+00, %9 ], [ %41, %39 ], [ %41, %107 ], [ %41, %125 ], [ %41, %122 ]
ret double %144
}