#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 */
scalar_t__ u_realloc(double *, int, char *, int, char *);
void mortar_prefrd(int *ne, int *nslavs, int *mi, int *nk, int *nkon,
                   double **stxp, double *cdisp, double *fn, double *cfs,
                   double *cfm) {
  int i, k, l, mt = mi[1] + 1;
  double *stx = NULL;
  stx = *stxp;
  stx = (double *)u_realloc(
      (double *)(stx), (6 * mi[0] * (*ne + *nslavs)) * sizeof(double),
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/prool/ccx_prool/refs/heads/master/CalculiX/"
      "ccx_2.17/src/mortar_prefrd.c",
      48, "stx");
  for (k = 0; k < *nslavs; k++) {
    for (l = 0; l < 6; l++) {
      stx[6 * mi[0] * (*ne + k) + l] = cdisp[6 * k + l];
    }
  }
  *ne += *nslavs;
  *nkon += *nslavs;
  for (i = 0; i < mt * *nk; i++) {
    fn[i] = fn[i] + cfs[i];
  }
  *stxp = stx;
  return;
}


x86 assembly (clang, -O0):
<mortar_prefrd>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
movq   $0x0,-0x48(%rbp)
mov    -0x30(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rdi
mov    -0x18(%rbp),%rax
imul   $0x6,(%rax),%eax
mov    -0x8(%rbp),%rcx
mov    (%rcx),%ecx
mov    -0x10(%rbp),%rdx
add    (%rdx),%ecx
imul   %ecx,%eax
cltq
shl    $0x3,%rax
mov    %eax,%esi
lea    0xe77(%rip),%rdx
mov    $0x30,%ecx
lea    0xf0d(%rip),%r8
call   1030 <u_realloc@plt>
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x10(%rbp),%rcx
cmp    (%rcx),%eax
jge    121b <mortar_prefrd+0x10b>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x6,-0x3c(%rbp)
jge    1208 <mortar_prefrd+0xf8>
mov    0x10(%rbp),%rax
imul   $0x6,-0x38(%rbp),%ecx
add    -0x3c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x48(%rbp),%rax
mov    -0x18(%rbp),%rcx
imul   $0x6,(%rcx),%ecx
mov    -0x8(%rbp),%rdx
mov    (%rdx),%edx
add    -0x38(%rbp),%edx
imul   %edx,%ecx
add    -0x3c(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11bb <mortar_prefrd+0xab>
jmp    120d <mortar_prefrd+0xfd>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11a5 <mortar_prefrd+0x95>
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
mov    -0x8(%rbp),%rax
add    (%rax),%ecx
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
mov    -0x28(%rbp),%rax
add    (%rax),%ecx
mov    %ecx,(%rax)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x40(%rbp),%ecx
mov    -0x20(%rbp),%rdx
imul   (%rdx),%ecx
cmp    %ecx,%eax
jge    1288 <mortar_prefrd+0x178>
mov    0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    123e <mortar_prefrd+0x12e>
mov    -0x48(%rbp),%rcx
mov    -0x30(%rbp),%rax
mov    %rcx,(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mortar_prefrd>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r9,%rbx
mov    %r8,%r12
mov    %rcx,(%rsp)
mov    %rdx,%rbp
mov    %rsi,%r13
mov    %rdi,%r15
mov    0x4(%rdx),%r14d
add    $0x1,%r14d
mov    (%r9),%rdi
mov    (%rsi),%eax
add    (%r15),%eax
imul   (%rdx),%eax
shl    $0x4,%eax
lea    (%rax,%rax,2),%esi
lea    0xeb2(%rip),%rdx
lea    0xf4d(%rip),%r8
mov    $0x30,%ecx
call   1030 <u_realloc@plt>
mov    0x0(%r13),%ecx
test   %ecx,%ecx
jle    1202 <mortar_prefrd+0xf2>
mov    %rbx,%r9
mov    0x40(%rsp),%rsi
movslq 0x0(%rbp),%rdx
add    %rdx,%rdx
lea    (%rdx,%rdx,2),%rdi
movslq (%r15),%r8
mov    %r8,%rdx
imul   %rdi,%rdx
lea    (%rax,%rdx,8),%rbp
add    $0x28,%rbp
shl    $0x3,%rdi
mov    %rcx,%rdx
shl    $0x4,%rdx
lea    (%rdx,%rdx,2),%rbx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rsi,%rdx,1),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0x8(%rsi,%rdx,1),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0x10(%rsi,%rdx,1),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x18(%rsi,%rdx,1),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x20(%rsi,%rdx,1),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  0x28(%rsi,%rdx,1),%xmm0
movsd  %xmm0,0x0(%rbp)
add    %rdi,%rbp
add    $0x30,%rdx
cmp    %rdx,%rbx
jne    11b0 <mortar_prefrd+0xa0>
mov    %r9,%rbx
jmp    1205 <mortar_prefrd+0xf5>
mov    (%r15),%r8d
add    %r8d,%ecx
mov    %ecx,(%r15)
mov    0x0(%r13),%ecx
add    %ecx,(%r12)
mov    (%rsp),%rcx
imul   (%rcx),%r14d
test   %r14d,%r14d
jle    13ba <mortar_prefrd+0x2aa>
mov    0x50(%rsp),%rcx
mov    0x48(%rsp),%rdx
mov    %r14d,%r9d
cmp    $0x4,%r14d
jb     1251 <mortar_prefrd+0x141>
lea    (%rcx,%r9,8),%rsi
cmp    %rdx,%rsi
jbe    12f3 <mortar_prefrd+0x1e3>
lea    (%rdx,%r9,8),%rsi
cmp    %rcx,%rsi
jbe    12f3 <mortar_prefrd+0x1e3>
xor    %edi,%edi
mov    %rdi,%rbp
not    %rbp
add    %r9,%rbp
mov    %r9,%rsi
and    $0x3,%rsi
je     1289 <mortar_prefrd+0x179>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%rdx,%rdi,8),%xmm0
addsd  (%rcx,%rdi,8),%xmm0
movsd  %xmm0,(%rdx,%rdi,8)
add    $0x1,%rdi
add    $0xffffffffffffffff,%rsi
jne    1270 <mortar_prefrd+0x160>
cmp    $0x3,%rbp
jb     13ba <mortar_prefrd+0x2aa>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%rdx,%rdi,8),%xmm0
addsd  (%rcx,%rdi,8),%xmm0
movsd  0x8(%rdx,%rdi,8),%xmm1
movsd  %xmm0,(%rdx,%rdi,8)
addsd  0x8(%rcx,%rdi,8),%xmm1
movsd  %xmm1,0x8(%rdx,%rdi,8)
movsd  0x10(%rdx,%rdi,8),%xmm0
addsd  0x10(%rcx,%rdi,8),%xmm0
movsd  %xmm0,0x10(%rdx,%rdi,8)
movsd  0x18(%rdx,%rdi,8),%xmm0
addsd  0x18(%rcx,%rdi,8),%xmm0
movsd  %xmm0,0x18(%rdx,%rdi,8)
add    $0x4,%rdi
cmp    %rdi,%r9
jne    12a0 <mortar_prefrd+0x190>
jmp    13ba <mortar_prefrd+0x2aa>
mov    %r9d,%edi
and    $0xfffffffc,%edi
lea    -0x4(%rdi),%rsi
mov    %rsi,%r8
shr    $0x2,%r8
add    $0x1,%r8
test   %rsi,%rsi
je     13cc <mortar_prefrd+0x2bc>
mov    %rbx,%rsi
mov    %r8,%rbx
and    $0xfffffffffffffffe,%rbx
xor    %ebp,%ebp
nopl   (%rax)
movupd (%rcx,%rbp,8),%xmm0
movupd 0x10(%rcx,%rbp,8),%xmm1
movupd (%rdx,%rbp,8),%xmm2
addpd  %xmm0,%xmm2
movupd 0x10(%rdx,%rbp,8),%xmm0
addpd  %xmm1,%xmm0
movupd 0x20(%rdx,%rbp,8),%xmm1
movupd 0x30(%rdx,%rbp,8),%xmm3
movupd %xmm2,(%rdx,%rbp,8)
movupd %xmm0,0x10(%rdx,%rbp,8)
movupd 0x20(%rcx,%rbp,8),%xmm0
addpd  %xmm1,%xmm0
movupd 0x30(%rcx,%rbp,8),%xmm1
addpd  %xmm3,%xmm1
movupd %xmm0,0x20(%rdx,%rbp,8)
movupd %xmm1,0x30(%rdx,%rbp,8)
add    $0x8,%rbp
add    $0xfffffffffffffffe,%rbx
jne    1320 <mortar_prefrd+0x210>
test   $0x1,%r8b
je     13ae <mortar_prefrd+0x29e>
movupd (%rdx,%rbp,8),%xmm0
movupd 0x10(%rdx,%rbp,8),%xmm1
movupd (%rcx,%rbp,8),%xmm2
addpd  %xmm0,%xmm2
movupd 0x10(%rcx,%rbp,8),%xmm0
addpd  %xmm1,%xmm0
movupd %xmm2,(%rdx,%rbp,8)
movupd %xmm0,0x10(%rdx,%rbp,8)
cmp    %r9,%rdi
mov    %rsi,%rbx
jne    1253 <mortar_prefrd+0x143>
mov    %rax,(%rbx)
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %rbx,%rsi
xor    %ebp,%ebp
test   $0x1,%r8b
jne    1385 <mortar_prefrd+0x275>
jmp    13ae <mortar_prefrd+0x29e>

LLVM IR (-O0):
@.str = [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/prool/ccx_prool/refs/heads/master/CalculiX/ccx_2.17/src/mortar_prefrd.c\00"
@.str.1 = [4 x i8] c"stx\00"
define void @mortar_prefrd(i32* %0, i32* %1, i32* %2, i32* %3, i32* %4, double** %5, double* %6, double* %7, double* %8, double* %9) {
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca double**
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca double*
store i32* %0, i32** %11
store i32* %1, i32** %12
store i32* %2, i32** %13
store i32* %3, i32** %14
store i32* %4, i32** %15
store double** %5, double*** %16
store double* %6, double** %17
store double* %7, double** %18
store double* %8, double** %19
store double* %9, double** %20
%26 = load i32*, i32** %13
%27 = getelementptr inbounds i32, i32* %26, i64 1
%28 = load i32, i32* %27
%29 = add nsw i32 %28, 1
store i32 %29, i32* %24
store double* null, double** %25
%30 = load double**, double*** %16
%31 = load double*, double** %30
store double* %31, double** %25
%32 = load double*, double** %25
%33 = load i32*, i32** %13
%34 = getelementptr inbounds i32, i32* %33, i64 0
%35 = load i32, i32* %34
%36 = mul nsw i32 6, %35
%37 = load i32*, i32** %11
%38 = load i32, i32* %37
%39 = load i32*, i32** %12
%40 = load i32, i32* %39
%41 = add nsw i32 %38, %40
%42 = mul nsw i32 %36, %41
%43 = sext i32 %42 to i64
%44 = mul i64 %43, 8
%45 = trunc i64 %44 to i32
%46 = call i64 @u_realloc(double* %32, i32 %45, i8* getelementptr inbounds ([162 x i8], [162 x i8]* @.str, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%47 = inttoptr i64 %46 to double*
store double* %47, double** %25
store i32 0, i32* %22
br label %48
48: ; preds = %84, %10
%49 = load i32, i32* %22
%50 = load i32*, i32** %12
%51 = load i32, i32* %50
%52 = icmp slt i32 %49, %51
br i1 %52, label %53, label %87
53: ; preds = %48
store i32 0, i32* %23
br label %54
54: ; preds = %80, %53
%55 = load i32, i32* %23
%56 = icmp slt i32 %55, 6
br i1 %56, label %57, label %83
57: ; preds = %54
%58 = load double*, double** %17
%59 = load i32, i32* %22
%60 = mul nsw i32 6, %59
%61 = load i32, i32* %23
%62 = add nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, double* %58, i64 %63
%65 = load double, double* %64
%66 = load double*, double** %25
%67 = load i32*, i32** %13
%68 = getelementptr inbounds i32, i32* %67, i64 0
%69 = load i32, i32* %68
%70 = mul nsw i32 6, %69
%71 = load i32*, i32** %11
%72 = load i32, i32* %71
%73 = load i32, i32* %22
%74 = add nsw i32 %72, %73
%75 = mul nsw i32 %70, %74
%76 = load i32, i32* %23
%77 = add nsw i32 %75, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %66, i64 %78
store double %65, double* %79
br label %80
80: ; preds = %57
%81 = load i32, i32* %23
%82 = add nsw i32 %81, 1
store i32 %82, i32* %23
br label %54
83: ; preds = %54
br label %84
84: ; preds = %83
%85 = load i32, i32* %22
%86 = add nsw i32 %85, 1
store i32 %86, i32* %22
br label %48
87: ; preds = %48
%88 = load i32*, i32** %12
%89 = load i32, i32* %88
%90 = load i32*, i32** %11
%91 = load i32, i32* %90
%92 = add nsw i32 %91, %89
store i32 %92, i32* %90
%93 = load i32*, i32** %12
%94 = load i32, i32* %93
%95 = load i32*, i32** %15
%96 = load i32, i32* %95
%97 = add nsw i32 %96, %94
store i32 %97, i32* %95
store i32 0, i32* %21
br label %98
98: ; preds = %121, %87
%99 = load i32, i32* %21
%100 = load i32, i32* %24
%101 = load i32*, i32** %14
%102 = load i32, i32* %101
%103 = mul nsw i32 %100, %102
%104 = icmp slt i32 %99, %103
br i1 %104, label %105, label %124
105: ; preds = %98
%106 = load double*, double** %18
%107 = load i32, i32* %21
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %106, i64 %108
%110 = load double, double* %109
%111 = load double*, double** %19
%112 = load i32, i32* %21
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, double* %111, i64 %113
%115 = load double, double* %114
%116 = fadd double %110, %115
%117 = load double*, double** %18
%118 = load i32, i32* %21
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, double* %117, i64 %119
store double %116, double* %120
br label %121
121: ; preds = %105
%122 = load i32, i32* %21
%123 = add nsw i32 %122, 1
store i32 %123, i32* %21
br label %98
124: ; preds = %98
%125 = load double*, double** %25
%126 = load double**, double*** %16
store double* %125, double** %126
ret void
}

LLVM IR (-O2):
@.str = [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/prool/ccx_prool/refs/heads/master/CalculiX/ccx_2.17/src/mortar_prefrd.c\00"
@.str.1 = [4 x i8] c"stx\00"
define void @mortar_prefrd(i32* nocapture %0, i32* nocapture %1, i32* nocapture %2, i32* nocapture %3, i32* nocapture %4, double** nocapture %5, double* nocapture %6, double* nocapture %7, double* nocapture %8, double* nocapture readnone %9) {
%11 = getelementptr inbounds i32, i32* %2, i64 1
%12 = load i32, i32* %11
%13 = add nsw i32 %12, 1
%14 = load double*, double** %5
%15 = load i32, i32* %2
%16 = load i32, i32* %0
%17 = load i32, i32* %1
%18 = add nsw i32 %17, %16
%19 = mul i32 %15, 48
%20 = mul i32 %19, %18
%21 = tail call i64 @u_realloc(double* %14, i32 %20, i8* getelementptr inbounds ([162 x i8], [162 x i8]* @.str, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%22 = inttoptr i64 %21 to double*
%23 = load i32, i32* %1
%24 = icmp sgt i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %10
%26 = load i32, i32* %0
br label %69
27: ; preds = %10
%28 = load i32, i32* %2
%29 = mul nsw i32 %28, 6
%30 = load i32, i32* %0
%31 = sext i32 %30 to i64
%32 = sext i32 %29 to i64
%33 = zext i32 %23 to i64
br label %34
34: ; preds = %27, %34
%35 = phi i64 [ 0, %27 ], [ %67, %34 ]
%36 = mul nuw nsw i64 %35, 6
%37 = add nsw i64 %35, %31
%38 = mul nsw i64 %37, %32
%39 = getelementptr inbounds double, double* %6, i64 %36
%40 = load double, double* %39
%41 = getelementptr inbounds double, double* %22, i64 %38
store double %40, double* %41
%42 = or i64 %36, 1
%43 = getelementptr inbounds double, double* %6, i64 %42
%44 = load double, double* %43
%45 = or i64 %38, 1
%46 = getelementptr inbounds double, double* %22, i64 %45
store double %44, double* %46
%47 = add nuw nsw i64 %36, 2
%48 = getelementptr inbounds double, double* %6, i64 %47
%49 = load double, double* %48
%50 = add nsw i64 %38, 2
%51 = getelementptr inbounds double, double* %22, i64 %50
store double %49, double* %51
%52 = add nuw nsw i64 %36, 3
%53 = getelementptr inbounds double, double* %6, i64 %52
%54 = load double, double* %53
%55 = add nsw i64 %38, 3
%56 = getelementptr inbounds double, double* %22, i64 %55
store double %54, double* %56
%57 = add nuw nsw i64 %36, 4
%58 = getelementptr inbounds double, double* %6, i64 %57
%59 = load double, double* %58
%60 = add nsw i64 %38, 4
%61 = getelementptr inbounds double, double* %22, i64 %60
store double %59, double* %61
%62 = add nuw nsw i64 %36, 5
%63 = getelementptr inbounds double, double* %6, i64 %62
%64 = load double, double* %63
%65 = add nsw i64 %38, 5
%66 = getelementptr inbounds double, double* %22, i64 %65
store double %64, double* %66
%67 = add nuw nsw i64 %35, 1
%68 = icmp eq i64 %67, %33
br i1 %68, label %69, label %34
69: ; preds = %34, %25
%70 = phi i32 [ %26, %25 ], [ %30, %34 ]
%71 = add nsw i32 %70, %23
store i32 %71, i32* %0
%72 = load i32, i32* %1
%73 = load i32, i32* %4
%74 = add nsw i32 %73, %72
store i32 %74, i32* %4
%75 = load i32, i32* %3
%76 = mul i32 %75, %13
%77 = icmp sgt i32 %76, 0
br i1 %77, label %78, label %204
78: ; preds = %69
%79 = zext i32 %76 to i64
%80 = icmp ult i32 %76, 4
br i1 %80, label %157, label %81
81: ; preds = %78
%82 = getelementptr double, double* %7, i64 %79
%83 = getelementptr double, double* %8, i64 %79
%84 = icmp ugt double* %83, %7
%85 = icmp ugt double* %82, %8
%86 = and i1 %84, %85
br i1 %86, label %157, label %87
87: ; preds = %81
%88 = and i64 %79, 4294967292
%89 = add nsw i64 %88, -4
%90 = lshr exact i64 %89, 2
%91 = add nuw nsw i64 %90, 1
%92 = and i64 %91, 1
%93 = icmp eq i64 %89, 0
br i1 %93, label %135, label %94
94: ; preds = %87
%95 = and i64 %91, 9223372036854775806
br label %96
96: ; preds = %96, %94
%97 = phi i64 [ 0, %94 ], [ %132, %96 ]
%98 = phi i64 [ 0, %94 ], [ %133, %96 ]
%99 = getelementptr inbounds double, double* %7, i64 %97
%100 = bitcast double* %99 to <2 x double>*
%101 = load <2 x double>, <2 x double>* %100
%102 = getelementptr inbounds double, double* %99, i64 2
%103 = bitcast double* %102 to <2 x double>*
%104 = load <2 x double>, <2 x double>* %103
%105 = getelementptr inbounds double, double* %8, i64 %97
%106 = bitcast double* %105 to <2 x double>*
%107 = load <2 x double>, <2 x double>* %106
%108 = getelementptr inbounds double, double* %105, i64 2
%109 = bitcast double* %108 to <2 x double>*
%110 = load <2 x double>, <2 x double>* %109
%111 = fadd <2 x double> %101, %107
%112 = fadd <2 x double> %104, %110
%113 = bitcast double* %99 to <2 x double>*
store <2 x double> %111, <2 x double>* %113
%114 = bitcast double* %102 to <2 x double>*
store <2 x double> %112, <2 x double>* %114
%115 = or i64 %97, 4
%116 = getelementptr inbounds double, double* %7, i64 %115
%117 = bitcast double* %116 to <2 x double>*
%118 = load <2 x double>, <2 x double>* %117
%119 = getelementptr inbounds double, double* %116, i64 2
%120 = bitcast double* %119 to <2 x double>*
%121 = load <2 x double>, <2 x double>* %120
%122 = getelementptr inbounds double, double* %8, i64 %115
%123 = bitcast double* %122 to <2 x double>*
%124 = load <2 x double>, <2 x double>* %123
%125 = getelementptr inbounds double, double* %122, i64 2
%126 = bitcast double* %125 to <2 x double>*
%127 = load <2 x double>, <2 x double>* %126
%128 = fadd <2 x double> %118, %124
%129 = fadd <2 x double> %121, %127
%130 = bitcast double* %116 to <2 x double>*
store <2 x double> %128, <2 x double>* %130
%131 = bitcast double* %119 to <2 x double>*
store <2 x double> %129, <2 x double>* %131
%132 = add nuw i64 %97, 8
%133 = add i64 %98, 2
%134 = icmp eq i64 %133, %95
br i1 %134, label %135, label %96
135: ; preds = %96, %87
%136 = phi i64 [ 0, %87 ], [ %132, %96 ]
%137 = icmp eq i64 %92, 0
br i1 %137, label %155, label %138
138: ; preds = %135
%139 = getelementptr inbounds double, double* %7, i64 %136
%140 = bitcast double* %139 to <2 x double>*
%141 = load <2 x double>, <2 x double>* %140
%142 = getelementptr inbounds double, double* %139, i64 2
%143 = bitcast double* %142 to <2 x double>*
%144 = load <2 x double>, <2 x double>* %143
%145 = getelementptr inbounds double, double* %8, i64 %136
%146 = bitcast double* %145 to <2 x double>*
%147 = load <2 x double>, <2 x double>* %146
%148 = getelementptr inbounds double, double* %145, i64 2
%149 = bitcast double* %148 to <2 x double>*
%150 = load <2 x double>, <2 x double>* %149
%151 = fadd <2 x double> %141, %147
%152 = fadd <2 x double> %144, %150
%153 = bitcast double* %139 to <2 x double>*
store <2 x double> %151, <2 x double>* %153
%154 = bitcast double* %142 to <2 x double>*
store <2 x double> %152, <2 x double>* %154
br label %155
155: ; preds = %135, %138
%156 = icmp eq i64 %88, %79
br i1 %156, label %204, label %157
157: ; preds = %81, %78, %155
%158 = phi i64 [ 0, %81 ], [ 0, %78 ], [ %88, %155 ]
%159 = xor i64 %158, -1
%160 = add nsw i64 %159, %79
%161 = and i64 %79, 3
%162 = icmp eq i64 %161, 0
br i1 %162, label %174, label %163
163: ; preds = %157, %163
%164 = phi i64 [ %171, %163 ], [ %158, %157 ]
%165 = phi i64 [ %172, %163 ], [ 0, %157 ]
%166 = getelementptr inbounds double, double* %7, i64 %164
%167 = load double, double* %166
%168 = getelementptr inbounds double, double* %8, i64 %164
%169 = load double, double* %168
%170 = fadd double %167, %169
store double %170, double* %166
%171 = add nuw nsw i64 %164, 1
%172 = add i64 %165, 1
%173 = icmp eq i64 %172, %161
br i1 %173, label %174, label %163
174: ; preds = %163, %157
%175 = phi i64 [ %158, %157 ], [ %171, %163 ]
%176 = icmp ult i64 %160, 3
br i1 %176, label %204, label %177
177: ; preds = %174, %177
%178 = phi i64 [ %202, %177 ], [ %175, %174 ]
%179 = getelementptr inbounds double, double* %7, i64 %178
%180 = load double, double* %179
%181 = getelementptr inbounds double, double* %8, i64 %178
%182 = load double, double* %181
%183 = fadd double %180, %182
store double %183, double* %179
%184 = add nuw nsw i64 %178, 1
%185 = getelementptr inbounds double, double* %7, i64 %184
%186 = load double, double* %185
%187 = getelementptr inbounds double, double* %8, i64 %184
%188 = load double, double* %187
%189 = fadd double %186, %188
store double %189, double* %185
%190 = add nuw nsw i64 %178, 2
%191 = getelementptr inbounds double, double* %7, i64 %190
%192 = load double, double* %191
%193 = getelementptr inbounds double, double* %8, i64 %190
%194 = load double, double* %193
%195 = fadd double %192, %194
store double %195, double* %191
%196 = add nuw nsw i64 %178, 3
%197 = getelementptr inbounds double, double* %7, i64 %196
%198 = load double, double* %197
%199 = getelementptr inbounds double, double* %8, i64 %196
%200 = load double, double* %199
%201 = fadd double %198, %200
store double %201, double* %197
%202 = add nuw nsw i64 %178, 4
%203 = icmp eq i64 %202, %79
br i1 %203, label %204, label %177
204: ; preds = %174, %177, %155, %69
store double* %22, double** %5
ret void
}