#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__ malloc(int);
double ****aml_array_dbl_4d_variable_2nd_and_4th(int s1, int *s2, int s3,
                                                 int *s4, double val) {
  int i, j, k, l;
  double ****arr = (double ****)malloc(s1 * sizeof(double ***));
  for (i = 0; i < s1; i++) {
    arr[i] = (double ***)malloc(s2[i] * sizeof(double **));
    for (j = 0; j < s2[i]; j++) {
      arr[i][j] = (double **)malloc(s3 * sizeof(double *));
      for (k = 0; k < s3; k++) {
        arr[i][j][k] = (double *)malloc(s4[k] * sizeof(double));
        for (l = 0; l < s4[k]; l++)
          arr[i][j][k][l] = val;
      }
    }
  }
  return arr;
}


x86 assembly (clang, -O0):
<aml_array_dbl_4d_variable_2nd_and_4th>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
movslq -0x4(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1030 <malloc@plt>
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    128d <aml_array_dbl_4d_variable_2nd_and_4th+0x17d>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movslq (%rax,%rcx,4),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1030 <malloc@plt>
mov    %rax,%rdx
mov    -0x40(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
mov    -0x10(%rbp),%rcx
movslq -0x2c(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jge    127a <aml_array_dbl_4d_variable_2nd_and_4th+0x16a>
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1030 <malloc@plt>
mov    %rax,%rdx
mov    -0x40(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1267 <aml_array_dbl_4d_variable_2nd_and_4th+0x157>
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movslq (%rax,%rcx,4),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1030 <malloc@plt>
mov    %rax,%rdx
mov    -0x40(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x20(%rbp),%rcx
movslq -0x34(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jge    1254 <aml_array_dbl_4d_variable_2nd_and_4th+0x144>
movsd  -0x28(%rbp),%xmm0
mov    -0x40(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1208 <aml_array_dbl_4d_variable_2nd_and_4th+0xf8>
jmp    1259 <aml_array_dbl_4d_variable_2nd_and_4th+0x149>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11bf <aml_array_dbl_4d_variable_2nd_and_4th+0xaf>
jmp    126c <aml_array_dbl_4d_variable_2nd_and_4th+0x15c>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    117e <aml_array_dbl_4d_variable_2nd_and_4th+0x6e>
jmp    127f <aml_array_dbl_4d_variable_2nd_and_4th+0x16f>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1145 <aml_array_dbl_4d_variable_2nd_and_4th+0x35>
mov    -0x40(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<aml_array_dbl_4d_variable_2nd_and_4th>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
movaps %xmm0,0x30(%rsp)
mov    %rcx,%r13
mov    %rdx,0x10(%rsp)
mov    %rsi,0x18(%rsp)
mov    %edi,%ebx
lea    0x0(,%rbx,8),%edi
call   1030 <malloc@plt>
mov    %rax,%r12
test   %ebx,%ebx
jle    1333 <aml_array_dbl_4d_variable_2nd_and_4th+0x223>
mov    0x10(%rsp),%rax
lea    0x0(,%rax,8),%ecx
mov    %ecx,0xc(%rsp)
mov    %ebx,%ecx
mov    %rcx,0x28(%rsp)
mov    %eax,%ebx
movaps 0x30(%rsp),%xmm0
movlhps %xmm0,%xmm0
movaps %xmm0,0x40(%rsp)
xor    %r14d,%r14d
mov    %rbx,0x20(%rsp)
jmp    118f <aml_array_dbl_4d_variable_2nd_and_4th+0x7f>
nopl   0x0(%rax)
add    $0x1,%r14
cmp    0x28(%rsp),%r14
je     1333 <aml_array_dbl_4d_variable_2nd_and_4th+0x223>
mov    0x18(%rsp),%rbx
mov    (%rbx,%r14,4),%edi
shl    $0x3,%edi
call   1030 <malloc@plt>
mov    %rax,(%r12,%r14,8)
cmpl   $0x0,(%rbx,%r14,4)
mov    0x20(%rsp),%rbx
jle    1180 <aml_array_dbl_4d_variable_2nd_and_4th+0x70>
xor    %ebp,%ebp
jmp    11d2 <aml_array_dbl_4d_variable_2nd_and_4th+0xc2>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rbp
mov    0x18(%rsp),%rax
movslq (%rax,%r14,4),%rax
cmp    %rax,%rbp
jge    1180 <aml_array_dbl_4d_variable_2nd_and_4th+0x70>
mov    0xc(%rsp),%edi
call   1030 <malloc@plt>
mov    (%r12,%r14,8),%rcx
mov    %rax,(%rcx,%rbp,8)
cmpl   $0x0,0x10(%rsp)
jle    11c0 <aml_array_dbl_4d_variable_2nd_and_4th+0xb0>
xor    %r15d,%r15d
jmp    11f9 <aml_array_dbl_4d_variable_2nd_and_4th+0xe9>
nop
add    $0x1,%r15
cmp    %rbx,%r15
je     11c0 <aml_array_dbl_4d_variable_2nd_and_4th+0xb0>
mov    0x0(%r13,%r15,4),%edi
shl    $0x3,%edi
call   1030 <malloc@plt>
mov    (%r12,%r14,8),%rcx
mov    (%rcx,%rbp,8),%rcx
mov    %rax,(%rcx,%r15,8)
mov    0x0(%r13,%r15,4),%eax
test   %eax,%eax
movaps 0x30(%rsp),%xmm0
movaps 0x40(%rsp),%xmm1
jle    11f0 <aml_array_dbl_4d_variable_2nd_and_4th+0xe0>
mov    (%r12,%r14,8),%rcx
mov    (%rcx,%rbp,8),%rcx
mov    (%rcx,%r15,8),%rcx
cmp    $0x4,%eax
jae    1240 <aml_array_dbl_4d_variable_2nd_and_4th+0x130>
xor    %edx,%edx
jmp    1320 <aml_array_dbl_4d_variable_2nd_and_4th+0x210>
nopl   (%rax)
mov    %eax,%edx
and    $0xfffffffc,%edx
lea    -0x4(%rdx),%rbx
mov    %rbx,%rdi
shr    $0x2,%rdi
add    $0x1,%rdi
mov    %edi,%esi
and    $0x7,%esi
cmp    $0x1c,%rbx
jae    1263 <aml_array_dbl_4d_variable_2nd_and_4th+0x153>
xor    %ebx,%ebx
jmp    12e1 <aml_array_dbl_4d_variable_2nd_and_4th+0x1d1>
and    $0xfffffffffffffff8,%rdi
xor    %ebx,%ebx
nopl   0x0(%rax)
movups %xmm1,(%rcx,%rbx,8)
movups %xmm1,0x10(%rcx,%rbx,8)
movups %xmm1,0x20(%rcx,%rbx,8)
movups %xmm1,0x30(%rcx,%rbx,8)
movups %xmm1,0x40(%rcx,%rbx,8)
movups %xmm1,0x50(%rcx,%rbx,8)
movups %xmm1,0x60(%rcx,%rbx,8)
movups %xmm1,0x70(%rcx,%rbx,8)
movups %xmm1,0x80(%rcx,%rbx,8)
movups %xmm1,0x90(%rcx,%rbx,8)
movups %xmm1,0xa0(%rcx,%rbx,8)
movups %xmm1,0xb0(%rcx,%rbx,8)
movups %xmm1,0xc0(%rcx,%rbx,8)
movups %xmm1,0xd0(%rcx,%rbx,8)
movups %xmm1,0xe0(%rcx,%rbx,8)
movups %xmm1,0xf0(%rcx,%rbx,8)
add    $0x20,%rbx
add    $0xfffffffffffffff8,%rdi
jne    1270 <aml_array_dbl_4d_variable_2nd_and_4th+0x160>
test   %rsi,%rsi
je     1312 <aml_array_dbl_4d_variable_2nd_and_4th+0x202>
lea    (%rcx,%rbx,8),%rdi
add    $0x10,%rdi
shl    $0x5,%rsi
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movups %xmm1,-0x10(%rdi,%rbx,1)
movups %xmm1,(%rdi,%rbx,1)
add    $0x20,%rbx
cmp    %rbx,%rsi
jne    1300 <aml_array_dbl_4d_variable_2nd_and_4th+0x1f0>
cmp    %rax,%rdx
mov    0x20(%rsp),%rbx
je     11f0 <aml_array_dbl_4d_variable_2nd_and_4th+0xe0>
movsd  %xmm0,(%rcx,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%rax
jne    1320 <aml_array_dbl_4d_variable_2nd_and_4th+0x210>
jmp    11f0 <aml_array_dbl_4d_variable_2nd_and_4th+0xe0>
mov    %r12,%rax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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