; LLVM IR from bbenligiray/stag :: src/Ellipse.ll (ZN13customEllipse11DrawEllipseEi)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.customEllipse = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.pix = type { i32, i32 }

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14AllocateMatrixii(i32 noundef, i32 noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z16DeallocateMatrixPPdi(ptr noundef, i32 noundef) #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z7inversePPdS0_i(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5AperBPPdS0_S0_iiii(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #8

; Function Attrs: nounwind
declare double @cos(double noundef) #7

; Function Attrs: nounwind
declare double @sin(double noundef) #7

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN13customEllipse11DrawEllipseEi(ptr noundef nonnull align 8 dereferenceable(272) %0, i32 noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %33 = load ptr, ptr %4, align 8
  %34 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %40

37:                                               ; preds = %2
  %38 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  store ptr %39, ptr %3, align 8
  br label %640

40:                                               ; preds = %2
  %41 = load i32, ptr %5, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = mul i64 %42, 8
  %44 = call noalias ptr @malloc(i64 noundef %43) #9
  %45 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  store ptr %44, ptr %45, align 8, !tbaa !11
  %46 = load i32, ptr %5, align 4, !tbaa !9
  %47 = srem i32 %46, 2
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %40
  %50 = load i32, ptr %5, align 4, !tbaa !9
  %51 = add nsw i32 %50, -1
  store i32 %51, ptr %5, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %49, %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = sdiv i32 %53, 2
  store i32 %54, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %55 = load i32, ptr %6, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  %57 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %56)
  store ptr %57, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  %60 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %59)
  store ptr %60, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  %63 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %62)
  store ptr %63, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %64 = load i32, ptr %6, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  %66 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %65)
  store ptr %66, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %67 = load i32, ptr %6, align 4, !tbaa !9
  %68 = add nsw i32 %67, 1
  %69 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %68)
  store ptr %69, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %70 = load i32, ptr %6, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  %72 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %71)
  store ptr %72, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %73 = load i32, ptr %6, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  %75 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %74)
  store ptr %75, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %76 = load i32, ptr %6, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  %78 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %77)
  store ptr %78, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %79 = load i32, ptr %6, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %81, i64 8)
  %83 = extractvalue { i64, i1 } %82, 1
  %84 = extractvalue { i64, i1 } %82, 0
  %85 = select i1 %83, i64 -1, i64 %84
  %86 = call noalias noundef nonnull ptr @_Znam(i64 noundef %85) #11
  store ptr %86, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %87 = load i32, ptr %6, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  %89 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %88)
  store ptr %89, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %90 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 3)
  store ptr %90, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %91 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 3)
  store ptr %91, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %92 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 2)
  store ptr %92, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %93 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 2)
  store ptr %93, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %94 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 2, i32 noundef 2)
  store ptr %94, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %95 = load ptr, ptr %15, align 8, !tbaa !5
  %96 = load i32, ptr %6, align 4, !tbaa !9
  %97 = add nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = mul i64 8, %98
  call void @llvm.memset.p0.i64(ptr align 8 %95, i8 0, i64 %99, i1 false)
  %100 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 5
  %101 = load double, ptr %100, align 8, !tbaa !14
  store double %101, ptr %22, align 8, !tbaa !15
  %102 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 3
  %103 = load double, ptr %102, align 8, !tbaa !16
  store double %103, ptr %23, align 8, !tbaa !15
  %104 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 4
  %105 = load double, ptr %104, align 8, !tbaa !17
  store double %105, ptr %24, align 8, !tbaa !15
  %106 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 0
  %107 = load double, ptr %106, align 8, !tbaa !18
  store double %107, ptr %25, align 8, !tbaa !15
  %108 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 2
  %109 = load double, ptr %108, align 8, !tbaa !19
  store double %109, ptr %26, align 8, !tbaa !15
  %110 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 1
  %111 = load double, ptr %110, align 8, !tbaa !20
  store double %111, ptr %27, align 8, !tbaa !15
  %112 = load double, ptr %25, align 8, !tbaa !15
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds ptr, ptr %113, i64 1
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = getelementptr inbounds double, ptr %115, i64 1
  store double %112, ptr %116, align 8, !tbaa !15
  %117 = load double, ptr %27, align 8, !tbaa !15
  %118 = fdiv double %117, 2.000000e+00
  %119 = load ptr, ptr %17, align 8, !tbaa !5
  %120 = getelementptr inbounds ptr, ptr %119, i64 1
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %121, i64 2
  store double %118, ptr %122, align 8, !tbaa !15
  %123 = load double, ptr %27, align 8, !tbaa !15
  %124 = fdiv double %123, 2.000000e+00
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  %126 = getelementptr inbounds ptr, ptr %125, i64 2
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds double, ptr %127, i64 1
  store double %124, ptr %128, align 8, !tbaa !15
  %129 = load double, ptr %26, align 8, !tbaa !15
  %130 = load ptr, ptr %17, align 8, !tbaa !5
  %131 = getelementptr inbounds ptr, ptr %130, i64 2
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = getelementptr inbounds double, ptr %132, i64 2
  store double %129, ptr %133, align 8, !tbaa !15
  %134 = load double, ptr %23, align 8, !tbaa !15
  %135 = load ptr, ptr %20, align 8, !tbaa !5
  %136 = getelementptr inbounds ptr, ptr %135, i64 1
  %137 = load ptr, ptr %136, align 8, !tbaa !5
  %138 = getelementptr inbounds double, ptr %137, i64 1
  store double %134, ptr %138, align 8, !tbaa !15
  %139 = load double, ptr %24, align 8, !tbaa !15
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  %141 = getelementptr inbounds ptr, ptr %140, i64 2
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  %143 = getelementptr inbounds double, ptr %142, i64 1
  store double %139, ptr %143, align 8, !tbaa !15
  store i32 1, ptr %29, align 4, !tbaa !9
  store double 0.000000e+00, ptr %28, align 8, !tbaa !15
  br label %144

144:                                              ; preds = %165, %52
  %145 = load i32, ptr %29, align 4, !tbaa !9
  %146 = load i32, ptr %6, align 4, !tbaa !9
  %147 = icmp sle i32 %145, %146
  br i1 %147, label %148, label %173

148:                                              ; preds = %144
  %149 = load double, ptr %28, align 8, !tbaa !15
  %150 = call double @cos(double noundef %149) #10
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds ptr, ptr %151, i64 1
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = load i32, ptr %29, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds double, ptr %153, i64 %155
  store double %150, ptr %156, align 8, !tbaa !15
  %157 = load double, ptr %28, align 8, !tbaa !15
  %158 = call double @sin(double noundef %157) #10
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = getelementptr inbounds ptr, ptr %159, i64 2
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = load i32, ptr %29, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds double, ptr %161, i64 %163
  store double %158, ptr %164, align 8, !tbaa !15
  br label %165

165:                                              ; preds = %148
  %166 = load i32, ptr %29, align 4, !tbaa !9
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %29, align 4, !tbaa !9
  %168 = load i32, ptr %6, align 4, !tbaa !9
  %169 = sitofp i32 %168 to double
  %170 = fdiv double 0x400921FB53C8D4F1, %169
  %171 = load double, ptr %28, align 8, !tbaa !15
  %172 = fadd double %171, %170
  store double %172, ptr %28, align 8, !tbaa !15
  br label %144, !llvm.loop !21

173:                                              ; preds = %144
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = load ptr, ptr %18, align 8, !tbaa !5
  %176 = call noundef i32 @_Z7inversePPdS0_i(ptr noundef %174, ptr noundef %175, i32 noundef 2)
  %177 = load ptr, ptr %18, align 8, !tbaa !5
  %178 = load ptr, ptr %20, align 8, !tbaa !5
  %179 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %177, ptr noundef %178, ptr noundef %179, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef 1)
  %180 = load ptr, ptr %20, align 8, !tbaa !5
  %181 = load ptr, ptr %19, align 8, !tbaa !5
  %182 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %180, ptr noundef %181, ptr noundef %182, i32 noundef 2, i32 noundef 1, i32 noundef 2, i32 noundef 1)
  %183 = load ptr, ptr %21, align 8, !tbaa !5
  %184 = getelementptr inbounds ptr, ptr %183, i64 1
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = getelementptr inbounds double, ptr %185, i64 1
  %187 = load double, ptr %186, align 8, !tbaa !15
  %188 = load double, ptr %22, align 8, !tbaa !15
  %189 = call double @llvm.fmuladd.f64(double -4.000000e+00, double %188, double %187)
  %190 = load ptr, ptr %21, align 8, !tbaa !5
  %191 = getelementptr inbounds ptr, ptr %190, i64 1
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  %193 = getelementptr inbounds double, ptr %192, i64 1
  store double %189, ptr %193, align 8, !tbaa !15
  %194 = load ptr, ptr %18, align 8, !tbaa !5
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = load ptr, ptr %8, align 8, !tbaa !5
  %197 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %194, ptr noundef %195, ptr noundef %196, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %197)
  store i32 1, ptr %29, align 4, !tbaa !9
  br label %198

198:                                              ; preds = %238, %173
  %199 = load i32, ptr %29, align 4, !tbaa !9
  %200 = icmp sle i32 %199, 2
  br i1 %200, label %201, label %241

201:                                              ; preds = %198
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %234, %201
  %203 = load i32, ptr %30, align 4, !tbaa !9
  %204 = load i32, ptr %6, align 4, !tbaa !9
  %205 = icmp sle i32 %203, %204
  br i1 %205, label %206, label %237

206:                                              ; preds = %202
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  %208 = load i32, ptr %29, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds ptr, ptr %207, i64 %209
  %211 = load ptr, ptr %210, align 8, !tbaa !5
  %212 = load i32, ptr %30, align 4, !tbaa !9
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds double, ptr %211, i64 %213
  %215 = load double, ptr %214, align 8, !tbaa !15
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  %217 = load i32, ptr %29, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds ptr, ptr %216, i64 %218
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  %221 = load i32, ptr %30, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds double, ptr %220, i64 %222
  %224 = load double, ptr %223, align 8, !tbaa !15
  %225 = fmul double %215, %224
  %226 = load ptr, ptr %16, align 8, !tbaa !5
  %227 = load i32, ptr %29, align 4, !tbaa !9
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds ptr, ptr %226, i64 %228
  %230 = load ptr, ptr %229, align 8, !tbaa !5
  %231 = load i32, ptr %30, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds double, ptr %230, i64 %232
  store double %225, ptr %233, align 8, !tbaa !15
  br label %234

234:                                              ; preds = %206
  %235 = load i32, ptr %30, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %30, align 4, !tbaa !9
  br label %202, !llvm.loop !23

237:                                              ; preds = %202
  br label %238

238:                                              ; preds = %237
  %239 = load i32, ptr %29, align 4, !tbaa !9
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %29, align 4, !tbaa !9
  br label %198, !llvm.loop !24

241:                                              ; preds = %198
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %242

242:                                              ; preds = %282, %241
  %243 = load i32, ptr %30, align 4, !tbaa !9
  %244 = load i32, ptr %6, align 4, !tbaa !9
  %245 = icmp sle i32 %243, %244
  br i1 %245, label %246, label %285

246:                                              ; preds = %242
  %247 = load ptr, ptr %21, align 8, !tbaa !5
  %248 = getelementptr inbounds ptr, ptr %247, i64 1
  %249 = load ptr, ptr %248, align 8, !tbaa !5
  %250 = getelementptr inbounds double, ptr %249, i64 1
  %251 = load double, ptr %250, align 8, !tbaa !15
  %252 = load ptr, ptr %16, align 8, !tbaa !5
  %253 = getelementptr inbounds ptr, ptr %252, i64 1
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = load i32, ptr %30, align 4, !tbaa !9
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds double, ptr %254, i64 %256
  %258 = load double, ptr %257, align 8, !tbaa !15
  %259 = load ptr, ptr %16, align 8, !tbaa !5
  %260 = getelementptr inbounds ptr, ptr %259, i64 2
  %261 = load ptr, ptr %260, align 8, !tbaa !5
  %262 = load i32, ptr %30, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds double, ptr %261, i64 %263
  %265 = load double, ptr %264, align 8, !tbaa !15
  %266 = fadd double %258, %265
  %267 = fdiv double %251, %266
  store double %267, ptr %31, align 8, !tbaa !15
  %268 = fcmp oge double %267, 0.000000e+00
  br i1 %268, label %269, label %276

269:                                              ; preds = %246
  %270 = load double, ptr %31, align 8, !tbaa !15
  %271 = call double @sqrt(double noundef %270) #10
  %272 = load ptr, ptr %15, align 8, !tbaa !5
  %273 = load i32, ptr %30, align 4, !tbaa !9
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds double, ptr %272, i64 %274
  store double %271, ptr %275, align 8, !tbaa !15
  br label %281

276:                                              ; preds = %246
  %277 = load ptr, ptr %15, align 8, !tbaa !5
  %278 = load i32, ptr %30, align 4, !tbaa !9
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds double, ptr %277, i64 %279
  store double -1.000000e+00, ptr %280, align 8, !tbaa !15
  br label %281

281:                                              ; preds = %276, %269
  br label %282

282:                                              ; preds = %281
  %283 = load i32, ptr %30, align 4, !tbaa !9
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %30, align 4, !tbaa !9
  br label %242, !llvm.loop !25

285:                                              ; preds = %242
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %286

286:                                              ; preds = %308, %285
  %287 = load i32, ptr %30, align 4, !tbaa !9
  %288 = load i32, ptr %6, align 4, !tbaa !9
  %289 = icmp sle i32 %287, %288
  br i1 %289, label %290, label %311

290:                                              ; preds = %286
  %291 = load ptr, ptr %15, align 8, !tbaa !5
  %292 = load i32, ptr %30, align 4, !tbaa !9
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds double, ptr %291, i64 %293
  %295 = load double, ptr %294, align 8, !tbaa !15
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = getelementptr inbounds ptr, ptr %296, i64 2
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  %299 = load i32, ptr %30, align 4, !tbaa !9
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds double, ptr %298, i64 %300
  store double %295, ptr %301, align 8, !tbaa !15
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds ptr, ptr %302, i64 1
  %304 = load ptr, ptr %303, align 8, !tbaa !5
  %305 = load i32, ptr %30, align 4, !tbaa !9
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds double, ptr %304, i64 %306
  store double %295, ptr %307, align 8, !tbaa !15
  br label %308

308:                                              ; preds = %290
  %309 = load i32, ptr %30, align 4, !tbaa !9
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr %30, align 4, !tbaa !9
  br label %286, !llvm.loop !26

311:                                              ; preds = %286
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %312

312:                                              ; preds = %339, %311
  %313 = load i32, ptr %30, align 4, !tbaa !9
  %314 = load i32, ptr %6, align 4, !tbaa !9
  %315 = icmp sle i32 %313, %314
  br i1 %315, label %316, label %342

316:                                              ; preds = %312
  %317 = load ptr, ptr %20, align 8, !tbaa !5
  %318 = getelementptr inbounds ptr, ptr %317, i64 1
  %319 = load ptr, ptr %318, align 8, !tbaa !5
  %320 = getelementptr inbounds double, ptr %319, i64 1
  %321 = load double, ptr %320, align 8, !tbaa !15
  %322 = load ptr, ptr %10, align 8, !tbaa !5
  %323 = getelementptr inbounds ptr, ptr %322, i64 1
  %324 = load ptr, ptr %323, align 8, !tbaa !5
  %325 = load i32, ptr %30, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds double, ptr %324, i64 %326
  store double %321, ptr %327, align 8, !tbaa !15
  %328 = load ptr, ptr %20, align 8, !tbaa !5
  %329 = getelementptr inbounds ptr, ptr %328, i64 2
  %330 = load ptr, ptr %329, align 8, !tbaa !5
  %331 = getelementptr inbounds double, ptr %330, i64 1
  %332 = load double, ptr %331, align 8, !tbaa !15
  %333 = load ptr, ptr %10, align 8, !tbaa !5
  %334 = getelementptr inbounds ptr, ptr %333, i64 2
  %335 = load ptr, ptr %334, align 8, !tbaa !5
  %336 = load i32, ptr %30, align 4, !tbaa !9
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds double, ptr %335, i64 %337
  store double %332, ptr %338, align 8, !tbaa !15
  br label %339

339:                                              ; preds = %316
  %340 = load i32, ptr %30, align 4, !tbaa !9
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %30, align 4, !tbaa !9
  br label %312, !llvm.loop !27

342:                                              ; preds = %312
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %343

343:                                              ; preds = %470, %342
  %344 = load i32, ptr %30, align 4, !tbaa !9
  %345 = load i32, ptr %6, align 4, !tbaa !9
  %346 = icmp sle i32 %344, %345
  br i1 %346, label %347, label %473

347:                                              ; preds = %343
  %348 = load ptr, ptr %9, align 8, !tbaa !5
  %349 = getelementptr inbounds ptr, ptr %348, i64 1
  %350 = load ptr, ptr %349, align 8, !tbaa !5
  %351 = load i32, ptr %30, align 4, !tbaa !9
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds double, ptr %350, i64 %352
  %354 = load double, ptr %353, align 8, !tbaa !15
  %355 = load ptr, ptr %7, align 8, !tbaa !5
  %356 = getelementptr inbounds ptr, ptr %355, i64 1
  %357 = load ptr, ptr %356, align 8, !tbaa !5
  %358 = load i32, ptr %30, align 4, !tbaa !9
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds double, ptr %357, i64 %359
  %361 = load double, ptr %360, align 8, !tbaa !15
  %362 = load ptr, ptr %10, align 8, !tbaa !5
  %363 = getelementptr inbounds ptr, ptr %362, i64 1
  %364 = load ptr, ptr %363, align 8, !tbaa !5
  %365 = load i32, ptr %30, align 4, !tbaa !9
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds double, ptr %364, i64 %366
  %368 = load double, ptr %367, align 8, !tbaa !15
  %369 = fneg double %368
  %370 = call double @llvm.fmuladd.f64(double %354, double %361, double %369)
  %371 = fmul double 5.000000e-01, %370
  %372 = load ptr, ptr %13, align 8, !tbaa !5
  %373 = getelementptr inbounds ptr, ptr %372, i64 1
  %374 = load ptr, ptr %373, align 8, !tbaa !5
  %375 = load i32, ptr %30, align 4, !tbaa !9
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds double, ptr %374, i64 %376
  store double %371, ptr %377, align 8, !tbaa !15
  %378 = load ptr, ptr %9, align 8, !tbaa !5
  %379 = getelementptr inbounds ptr, ptr %378, i64 2
  %380 = load ptr, ptr %379, align 8, !tbaa !5
  %381 = load i32, ptr %30, align 4, !tbaa !9
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds double, ptr %380, i64 %382
  %384 = load double, ptr %383, align 8, !tbaa !15
  %385 = load ptr, ptr %7, align 8, !tbaa !5
  %386 = getelementptr inbounds ptr, ptr %385, i64 2
  %387 = load ptr, ptr %386, align 8, !tbaa !5
  %388 = load i32, ptr %30, align 4, !tbaa !9
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds double, ptr %387, i64 %389
  %391 = load double, ptr %390, align 8, !tbaa !15
  %392 = load ptr, ptr %10, align 8, !tbaa !5
  %393 = getelementptr inbounds ptr, ptr %392, i64 2
  %394 = load ptr, ptr %393, align 8, !tbaa !5
  %395 = load i32, ptr %30, align 4, !tbaa !9
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds double, ptr %394, i64 %396
  %398 = load double, ptr %397, align 8, !tbaa !15
  %399 = fneg double %398
  %400 = call double @llvm.fmuladd.f64(double %384, double %391, double %399)
  %401 = fmul double 5.000000e-01, %400
  %402 = load ptr, ptr %13, align 8, !tbaa !5
  %403 = getelementptr inbounds ptr, ptr %402, i64 2
  %404 = load ptr, ptr %403, align 8, !tbaa !5
  %405 = load i32, ptr %30, align 4, !tbaa !9
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds double, ptr %404, i64 %406
  store double %401, ptr %407, align 8, !tbaa !15
  %408 = load ptr, ptr %9, align 8, !tbaa !5
  %409 = getelementptr inbounds ptr, ptr %408, i64 1
  %410 = load ptr, ptr %409, align 8, !tbaa !5
  %411 = load i32, ptr %30, align 4, !tbaa !9
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds double, ptr %410, i64 %412
  %414 = load double, ptr %413, align 8, !tbaa !15
  %415 = fneg double %414
  %416 = load ptr, ptr %7, align 8, !tbaa !5
  %417 = getelementptr inbounds ptr, ptr %416, i64 1
  %418 = load ptr, ptr %417, align 8, !tbaa !5
  %419 = load i32, ptr %30, align 4, !tbaa !9
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds double, ptr %418, i64 %420
  %422 = load double, ptr %421, align 8, !tbaa !15
  %423 = load ptr, ptr %10, align 8, !tbaa !5
  %424 = getelementptr inbounds ptr, ptr %423, i64 1
  %425 = load ptr, ptr %424, align 8, !tbaa !5
  %426 = load i32, ptr %30, align 4, !tbaa !9
  %427 = sext i32 %426 to i64
  %428 = getelementptr inbounds double, ptr %425, i64 %427
  %429 = load double, ptr %428, align 8, !tbaa !15
  %430 = fneg double %429
  %431 = call double @llvm.fmuladd.f64(double %415, double %422, double %430)
  %432 = fmul double 5.000000e-01, %431
  %433 = load ptr, ptr %14, align 8, !tbaa !5
  %434 = getelementptr inbounds ptr, ptr %433, i64 1
  %435 = load ptr, ptr %434, align 8, !tbaa !5
  %436 = load i32, ptr %30, align 4, !tbaa !9
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds double, ptr %435, i64 %437
  store double %432, ptr %438, align 8, !tbaa !15
  %439 = load ptr, ptr %9, align 8, !tbaa !5
  %440 = getelementptr inbounds ptr, ptr %439, i64 2
  %441 = load ptr, ptr %440, align 8, !tbaa !5
  %442 = load i32, ptr %30, align 4, !tbaa !9
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds double, ptr %441, i64 %443
  %445 = load double, ptr %444, align 8, !tbaa !15
  %446 = fneg double %445
  %447 = load ptr, ptr %7, align 8, !tbaa !5
  %448 = getelementptr inbounds ptr, ptr %447, i64 2
  %449 = load ptr, ptr %448, align 8, !tbaa !5
  %450 = load i32, ptr %30, align 4, !tbaa !9
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds double, ptr %449, i64 %451
  %453 = load double, ptr %452, align 8, !tbaa !15
  %454 = load ptr, ptr %10, align 8, !tbaa !5
  %455 = getelementptr inbounds ptr, ptr %454, i64 2
  %456 = load ptr, ptr %455, align 8, !tbaa !5
  %457 = load i32, ptr %30, align 4, !tbaa !9
  %458 = sext i32 %457 to i64
  %459 = getelementptr inbounds double, ptr %456, i64 %458
  %460 = load double, ptr %459, align 8, !tbaa !15
  %461 = fneg double %460
  %462 = call double @llvm.fmuladd.f64(double %446, double %453, double %461)
  %463 = fmul double 5.000000e-01, %462
  %464 = load ptr, ptr %14, align 8, !tbaa !5
  %465 = getelementptr inbounds ptr, ptr %464, i64 2
  %466 = load ptr, ptr %465, align 8, !tbaa !5
  %467 = load i32, ptr %30, align 4, !tbaa !9
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds double, ptr %466, i64 %468
  store double %463, ptr %469, align 8, !tbaa !15
  br label %470

470:                                              ; preds = %347
  %471 = load i32, ptr %30, align 4, !tbaa !9
  %472 = add nsw i32 %471, 1
  store i32 %472, ptr %30, align 4, !tbaa !9
  br label %343, !llvm.loop !28

473:                                              ; preds = %343
  %474 = load ptr, ptr %18, align 8, !tbaa !5
  %475 = load ptr, ptr %13, align 8, !tbaa !5
  %476 = load ptr, ptr %11, align 8, !tbaa !5
  %477 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %474, ptr noundef %475, ptr noundef %476, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %477)
  %478 = load ptr, ptr %18, align 8, !tbaa !5
  %479 = load ptr, ptr %14, align 8, !tbaa !5
  %480 = load ptr, ptr %12, align 8, !tbaa !5
  %481 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %478, ptr noundef %479, ptr noundef %480, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %481)
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %482

482:                                              ; preds = %592, %473
  %483 = load i32, ptr %30, align 4, !tbaa !9
  %484 = load i32, ptr %6, align 4, !tbaa !9
  %485 = icmp sle i32 %483, %484
  br i1 %485, label %486, label %595

486:                                              ; preds = %482
  %487 = load ptr, ptr %15, align 8, !tbaa !5
  %488 = load i32, ptr %30, align 4, !tbaa !9
  %489 = sext i32 %488 to i64
  %490 = getelementptr inbounds double, ptr %487, i64 %489
  %491 = load double, ptr %490, align 8, !tbaa !15
  %492 = fcmp oeq double %491, -1.000000e+00
  br i1 %492, label %493, label %526

493:                                              ; preds = %486
  %494 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %495 = load ptr, ptr %494, align 8, !tbaa !11
  %496 = load i32, ptr %30, align 4, !tbaa !9
  %497 = sub nsw i32 %496, 1
  %498 = sext i32 %497 to i64
  %499 = getelementptr inbounds %struct.pix, ptr %495, i64 %498
  %500 = getelementptr inbounds %struct.pix, ptr %499, i32 0, i32 0
  store i32 -1, ptr %500, align 4, !tbaa !29
  %501 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %502 = load ptr, ptr %501, align 8, !tbaa !11
  %503 = load i32, ptr %30, align 4, !tbaa !9
  %504 = sub nsw i32 %503, 1
  %505 = sext i32 %504 to i64
  %506 = getelementptr inbounds %struct.pix, ptr %502, i64 %505
  %507 = getelementptr inbounds %struct.pix, ptr %506, i32 0, i32 1
  store i32 -1, ptr %507, align 4, !tbaa !31
  %508 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %509 = load ptr, ptr %508, align 8, !tbaa !11
  %510 = load i32, ptr %30, align 4, !tbaa !9
  %511 = sub nsw i32 %510, 1
  %512 = load i32, ptr %6, align 4, !tbaa !9
  %513 = add nsw i32 %511, %512
  %514 = sext i32 %513 to i64
  %515 = getelementptr inbounds %struct.pix, ptr %509, i64 %514
  %516 = getelementptr inbounds %struct.pix, ptr %515, i32 0, i32 0
  store i32 -1, ptr %516, align 4, !tbaa !29
  %517 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %518 = load ptr, ptr %517, align 8, !tbaa !11
  %519 = load i32, ptr %30, align 4, !tbaa !9
  %520 = sub nsw i32 %519, 1
  %521 = load i32, ptr %6, align 4, !tbaa !9
  %522 = add nsw i32 %520, %521
  %523 = sext i32 %522 to i64
  %524 = getelementptr inbounds %struct.pix, ptr %518, i64 %523
  %525 = getelementptr inbounds %struct.pix, ptr %524, i32 0, i32 1
  store i32 -1, ptr %525, align 4, !tbaa !31
  br label %591

526:                                              ; preds = %486
  %527 = load ptr, ptr %11, align 8, !tbaa !5
  %528 = getelementptr inbounds ptr, ptr %527, i64 1
  %529 = load ptr, ptr %528, align 8, !tbaa !5
  %530 = load i32, ptr %30, align 4, !tbaa !9
  %531 = sext i32 %530 to i64
  %532 = getelementptr inbounds double, ptr %529, i64 %531
  %533 = load double, ptr %532, align 8, !tbaa !15
  %534 = fptosi double %533 to i32
  %535 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %536 = load ptr, ptr %535, align 8, !tbaa !11
  %537 = load i32, ptr %30, align 4, !tbaa !9
  %538 = sub nsw i32 %537, 1
  %539 = sext i32 %538 to i64
  %540 = getelementptr inbounds %struct.pix, ptr %536, i64 %539
  %541 = getelementptr inbounds %struct.pix, ptr %540, i32 0, i32 0
  store i32 %534, ptr %541, align 4, !tbaa !29
  %542 = load ptr, ptr %11, align 8, !tbaa !5
  %543 = getelementptr inbounds ptr, ptr %542, i64 2
  %544 = load ptr, ptr %543, align 8, !tbaa !5
  %545 = load i32, ptr %30, align 4, !tbaa !9
  %546 = sext i32 %545 to i64
  %547 = getelementptr inbounds double, ptr %544, i64 %546
  %548 = load double, ptr %547, align 8, !tbaa !15
  %549 = fptosi double %548 to i32
  %550 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %551 = load ptr, ptr %550, align 8, !tbaa !11
  %552 = load i32, ptr %30, align 4, !tbaa !9
  %553 = sub nsw i32 %552, 1
  %554 = sext i32 %553 to i64
  %555 = getelementptr inbounds %struct.pix, ptr %551, i64 %554
  %556 = getelementptr inbounds %struct.pix, ptr %555, i32 0, i32 1
  store i32 %549, ptr %556, align 4, !tbaa !31
  %557 = load ptr, ptr %12, align 8, !tbaa !5
  %558 = getelementptr inbounds ptr, ptr %557, i64 1
  %559 = load ptr, ptr %558, align 8, !tbaa !5
  %560 = load i32, ptr %30, align 4, !tbaa !9
  %561 = sext i32 %560 to i64
  %562 = getelementptr inbounds double, ptr %559, i64 %561
  %563 = load double, ptr %562, align 8, !tbaa !15
  %564 = fptosi double %563 to i32
  %565 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %566 = load ptr, ptr %565, align 8, !tbaa !11
  %567 = load i32, ptr %30, align 4, !tbaa !9
  %568 = sub nsw i32 %567, 1
  %569 = load i32, ptr %6, align 4, !tbaa !9
  %570 = add nsw i32 %568, %569
  %571 = sext i32 %570 to i64
  %572 = getelementptr inbounds %struct.pix, ptr %566, i64 %571
  %573 = getelementptr inbounds %struct.pix, ptr %572, i32 0, i32 0
  store i32 %564, ptr %573, align 4, !tbaa !29
  %574 = load ptr, ptr %12, align 8, !tbaa !5
  %575 = getelementptr inbounds ptr, ptr %574, i64 2
  %576 = load ptr, ptr %575, align 8, !tbaa !5
  %577 = load i32, ptr %30, align 4, !tbaa !9
  %578 = sext i32 %577 to i64
  %579 = getelementptr inbounds double, ptr %576, i64 %578
  %580 = load double, ptr %579, align 8, !tbaa !15
  %581 = fptosi double %580 to i32
  %582 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %583 = load ptr, ptr %582, align 8, !tbaa !11
  %584 = load i32, ptr %30, align 4, !tbaa !9
  %585 = sub nsw i32 %584, 1
  %586 = load i32, ptr %6, align 4, !tbaa !9
  %587 = add nsw i32 %585, %586
  %588 = sext i32 %587 to i64
  %589 = getelementptr inbounds %struct.pix, ptr %583, i64 %588
  %590 = getelementptr inbounds %struct.pix, ptr %589, i32 0, i32 1
  store i32 %581, ptr %590, align 4, !tbaa !31
  br label %591

591:                                              ; preds = %526, %493
  br label %592

592:                                              ; preds = %591
  %593 = load i32, ptr %30, align 4, !tbaa !9
  %594 = add nsw i32 %593, 1
  store i32 %594, ptr %30, align 4, !tbaa !9
  br label %482, !llvm.loop !32

595:                                              ; preds = %482
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %596

596:                                              ; preds = %616, %595
  %597 = load i32, ptr %32, align 4, !tbaa !9
  %598 = load i32, ptr %5, align 4, !tbaa !9
  %599 = icmp slt i32 %597, %598
  br i1 %599, label %601, label %600

600:                                              ; preds = %596
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %619

601:                                              ; preds = %596
  %602 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %603 = load ptr, ptr %602, align 8, !tbaa !11
  %604 = load i32, ptr %32, align 4, !tbaa !9
  %605 = sext i32 %604 to i64
  %606 = getelementptr inbounds %struct.pix, ptr %603, i64 %605
  %607 = getelementptr inbounds %struct.pix, ptr %606, i32 0, i32 1
  %608 = load i32, ptr %607, align 4, !tbaa !31
  %609 = sub nsw i32 0, %608
  %610 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %611 = load ptr, ptr %610, align 8, !tbaa !11
  %612 = load i32, ptr %32, align 4, !tbaa !9
  %613 = sext i32 %612 to i64
  %614 = getelementptr inbounds %struct.pix, ptr %611, i64 %613
  %615 = getelementptr inbounds %struct.pix, ptr %614, i32 0, i32 1
  store i32 %609, ptr %615, align 4, !tbaa !31
  br label %616

616:                                              ; preds = %601
  %617 = load i32, ptr %32, align 4, !tbaa !9
  %618 = add nsw i32 %617, 1
  store i32 %618, ptr %32, align 4, !tbaa !9
  br label %596, !llvm.loop !33

619:                                              ; preds = %600
  %620 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %620, i32 noundef 3)
  %621 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %621, i32 noundef 3)
  %622 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %622, i32 noundef 3)
  %623 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %623, i32 noundef 3)
  %624 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %624, i32 noundef 3)
  %625 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %625, i32 noundef 3)
  %626 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %626, i32 noundef 3)
  %627 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %627, i32 noundef 3)
  %628 = load ptr, ptr %15, align 8, !tbaa !5
  %629 = icmp eq ptr %628, null
  br i1 %629, label %631, label %630

630:                                              ; preds = %619
  call void @_ZdaPv(ptr noundef %628) #12
  br label %631

631:                                              ; preds = %630, %619
  %632 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %632, i32 noundef 3)
  %633 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %633, i32 noundef 3)
  %634 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %634, i32 noundef 3)
  %635 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %635, i32 noundef 3)
  %636 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %636, i32 noundef 3)
  %637 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %637, i32 noundef 2)
  %638 = getelementptr inbounds %class.customEllipse, ptr %33, i32 0, i32 32
  %639 = load ptr, ptr %638, align 8, !tbaa !11
  store ptr %639, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  br label %640

640:                                              ; preds = %631, %37
  %641 = load ptr, ptr %3, align 8
  ret ptr %641
}

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 256}
!12 = !{!"_ZTS13customEllipse", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !10, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !13, i64 40}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 24}
!17 = !{!12, !13, i64 32}
!18 = !{!12, !13, i64 0}
!19 = !{!12, !13, i64 16}
!20 = !{!12, !13, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !22}
!28 = distinct !{!28, !22}
!29 = !{!30, !10, i64 0}
!30 = !{!"_ZTS3pix", !10, i64 0, !10, i64 4}
!31 = !{!30, !10, i64 4}
!32 = distinct !{!32, !22}
!33 = distinct !{!33, !22}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.pix = type { i32, i32 }

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14AllocateMatrixii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z16DeallocateMatrixPPdi(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z7inversePPdS0_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5AperBPPdS0_S0_iiii(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN13customEllipse11DrawEllipseEi(ptr nocapture noundef nonnull align 8 dereferenceable(272) %0, i32 noundef %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 256
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %5, label %432

5:                                                ; preds = %2
  %6 = sext i32 %1 to i64
  %7 = shl nsw i64 %6, 3
  %8 = tail call noalias ptr @malloc(i64 noundef %7) #9
  store ptr %8, ptr %3, align 8, !tbaa !5
  %spec.select = and i32 %1, -2
  %9 = ashr i32 %1, 1
  %10 = add nsw i32 %9, 1
  %11 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %12 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %13 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %14 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %15 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %16 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %17 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %18 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %19 = sext i32 %10 to i64
  %20 = icmp slt i32 %spec.select, -3
  %21 = shl nsw i64 %19, 3
  %22 = select i1 %20, i64 -1, i64 %21
  %23 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %22) #10
  %24 = ptrtoint ptr %23 to i64
  %25 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef %10)
  %26 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 3)
  %27 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 3)
  %28 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 2)
  %29 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 3, i32 noundef 2)
  %30 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 2, i32 noundef 2)
  tail call void @llvm.memset.p0.i64(ptr nonnull align 8 %23, i8 0, i64 %21, i1 false)
  %31 = getelementptr inbounds i8, ptr %0, i64 40
  %32 = load double, ptr %31, align 8, !tbaa !12
  %33 = getelementptr inbounds i8, ptr %0, i64 24
  %34 = load double, ptr %33, align 8, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %0, i64 32
  %36 = load double, ptr %35, align 8, !tbaa !14
  %37 = load double, ptr %0, align 8, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  %39 = load double, ptr %38, align 8, !tbaa !16
  %40 = getelementptr inbounds i8, ptr %0, i64 8
  %41 = load double, ptr %40, align 8, !tbaa !17
  %42 = getelementptr inbounds i8, ptr %26, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !18
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  store double %37, ptr %44, align 8, !tbaa !19
  %45 = fmul double %41, 5.000000e-01
  %46 = getelementptr inbounds i8, ptr %43, i64 16
  store double %45, ptr %46, align 8, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %26, i64 16
  %48 = load ptr, ptr %47, align 8, !tbaa !18
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  store double %45, ptr %49, align 8, !tbaa !19
  %50 = getelementptr inbounds i8, ptr %48, i64 16
  store double %39, ptr %50, align 8, !tbaa !19
  %51 = getelementptr inbounds i8, ptr %29, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  store double %34, ptr %53, align 8, !tbaa !19
  %54 = getelementptr inbounds i8, ptr %29, i64 16
  %55 = load ptr, ptr %54, align 8, !tbaa !18
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  store double %36, ptr %56, align 8, !tbaa !19
  %.not199211 = icmp slt i32 %9, 1
  br i1 %.not199211, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %57 = getelementptr inbounds i8, ptr %11, i64 8
  %58 = getelementptr inbounds i8, ptr %11, i64 16
  %59 = uitofp nneg i32 %9 to double
  %60 = fdiv double 0x400921FB53C8D4F1, %59
  %61 = zext nneg i32 %9 to i64
  %xtraiter = and i64 %61, 1
  %62 = icmp eq i32 %10, 2
  br i1 %62, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %61, 2147483646
  br label %63

63:                                               ; preds = %63, %.lr.ph.new
  %indvars.iv = phi i64 [ 1, %.lr.ph.new ], [ %indvars.iv.next.1, %63 ]
  %.0192212 = phi double [ 0.000000e+00, %.lr.ph.new ], [ %77, %63 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %63 ]
  %64 = tail call double @cos(double noundef %.0192212) #11
  %65 = load ptr, ptr %57, align 8, !tbaa !18
  %66 = getelementptr inbounds double, ptr %65, i64 %indvars.iv
  store double %64, ptr %66, align 8, !tbaa !19
  %67 = tail call double @sin(double noundef %.0192212) #11
  %68 = load ptr, ptr %58, align 8, !tbaa !18
  %69 = getelementptr inbounds double, ptr %68, i64 %indvars.iv
  store double %67, ptr %69, align 8, !tbaa !19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %70 = fadd double %60, %.0192212
  %71 = tail call double @cos(double noundef %70) #11
  %72 = load ptr, ptr %57, align 8, !tbaa !18
  %73 = getelementptr inbounds double, ptr %72, i64 %indvars.iv.next
  store double %71, ptr %73, align 8, !tbaa !19
  %74 = tail call double @sin(double noundef %70) #11
  %75 = load ptr, ptr %58, align 8, !tbaa !18
  %76 = getelementptr inbounds double, ptr %75, i64 %indvars.iv.next
  store double %74, ptr %76, align 8, !tbaa !19
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %77 = fadd double %60, %70
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %63, !llvm.loop !20

._crit_edge.loopexit.unr-lcssa:                   ; preds = %63, %.lr.ph
  %indvars.iv.unr = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next.1, %63 ]
  %.0192212.unr = phi double [ 0.000000e+00, %.lr.ph ], [ %77, %63 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %78 = tail call double @cos(double noundef %.0192212.unr) #11
  %79 = load ptr, ptr %57, align 8, !tbaa !18
  %80 = getelementptr inbounds double, ptr %79, i64 %indvars.iv.unr
  store double %78, ptr %80, align 8, !tbaa !19
  %81 = tail call double @sin(double noundef %.0192212.unr) #11
  %82 = load ptr, ptr %58, align 8, !tbaa !18
  %83 = getelementptr inbounds double, ptr %82, i64 %indvars.iv.unr
  store double %81, ptr %83, align 8, !tbaa !19
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %5
  %84 = tail call noundef i32 @_Z7inversePPdS0_i(ptr noundef %26, ptr noundef %27, i32 noundef 2)
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %27, ptr noundef %29, ptr noundef %28, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef 1)
  tail call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %29, ptr noundef %28, ptr noundef %30, i32 noundef 2, i32 noundef 1, i32 noundef 2, i32 noundef 1)
  %85 = getelementptr inbounds i8, ptr %30, i64 8
  %86 = load ptr, ptr %85, align 8, !tbaa !18
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  %88 = load double, ptr %87, align 8, !tbaa !19
  %89 = tail call double @llvm.fmuladd.f64(double %32, double -4.000000e+00, double %88)
  store double %89, ptr %87, align 8, !tbaa !19
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %27, ptr noundef %11, ptr noundef %12, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %9)
  br i1 %.not199211, label %.preheader.critedge, label %.preheader210.preheader

.preheader210.preheader:                          ; preds = %._crit_edge
  %90 = getelementptr inbounds i8, ptr %11, i64 8
  %91 = load ptr, ptr %90, align 8, !tbaa !18
  %92 = getelementptr inbounds i8, ptr %12, i64 8
  %93 = load ptr, ptr %92, align 8, !tbaa !18
  %94 = getelementptr inbounds i8, ptr %25, i64 8
  %95 = load ptr, ptr %94, align 8, !tbaa !18
  %wide.trip.count244 = zext nneg i32 %10 to i64
  %96 = add nsw i64 %wide.trip.count244, -1
  %min.iters.check = icmp ult i32 %10, 9
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader210.preheader
  %indvars.iv241.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.preheader210.preheader ], [ %ind.end, %middle.block ]
  %97 = sub nsw i64 %wide.trip.count244, %indvars.iv241.ph
  %xtraiter535 = and i64 %97, 3
  %lcmp.mod536.not = icmp eq i64 %xtraiter535, 0
  br i1 %lcmp.mod536.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv241.prol = phi i64 [ %indvars.iv.next242.prol, %scalar.ph.prol ], [ %indvars.iv241.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %98 = getelementptr inbounds double, ptr %91, i64 %indvars.iv241.prol
  %99 = load double, ptr %98, align 8, !tbaa !19
  %100 = getelementptr inbounds double, ptr %93, i64 %indvars.iv241.prol
  %101 = load double, ptr %100, align 8, !tbaa !19
  %102 = fmul double %99, %101
  %103 = getelementptr inbounds double, ptr %95, i64 %indvars.iv241.prol
  store double %102, ptr %103, align 8, !tbaa !19
  %indvars.iv.next242.prol = add nuw nsw i64 %indvars.iv241.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter535
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !22

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv241.unr = phi i64 [ %indvars.iv241.ph, %scalar.ph.preheader ], [ %indvars.iv.next242.prol, %scalar.ph.prol ]
  %104 = sub nsw i64 %indvars.iv241.ph, %wide.trip.count244
  %105 = icmp ugt i64 %104, -4
  br i1 %105, label %._crit_edge217, label %scalar.ph

vector.memcheck:                                  ; preds = %.preheader210.preheader
  %106 = ptrtoint ptr %95 to i64
  %107 = ptrtoint ptr %93 to i64
  %108 = ptrtoint ptr %91 to i64
  %109 = sub i64 %106, %108
  %diff.check = icmp ult i64 %109, 32
  %110 = sub i64 %106, %107
  %diff.check283 = icmp ult i64 %110, 32
  %conflict.rdx = or i1 %diff.check, %diff.check283
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %96, -4
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %111 = getelementptr inbounds double, ptr %91, i64 %offset.idx
  %112 = getelementptr inbounds i8, ptr %111, i64 16
  %wide.load = load <2 x double>, ptr %111, align 8, !tbaa !19
  %wide.load284 = load <2 x double>, ptr %112, align 8, !tbaa !19
  %113 = getelementptr inbounds double, ptr %93, i64 %offset.idx
  %114 = getelementptr inbounds i8, ptr %113, i64 16
  %wide.load285 = load <2 x double>, ptr %113, align 8, !tbaa !19
  %wide.load286 = load <2 x double>, ptr %114, align 8, !tbaa !19
  %115 = fmul <2 x double> %wide.load, %wide.load285
  %116 = fmul <2 x double> %wide.load284, %wide.load286
  %117 = getelementptr inbounds double, ptr %95, i64 %offset.idx
  %118 = getelementptr inbounds i8, ptr %117, i64 16
  store <2 x double> %115, ptr %117, align 8, !tbaa !19
  store <2 x double> %116, ptr %118, align 8, !tbaa !19
  %index.next = add nuw i64 %index, 4
  %119 = icmp eq i64 %index.next, %n.vec
  br i1 %119, label %middle.block, label %vector.body, !llvm.loop !24

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %96, %n.vec
  br i1 %cmp.n, label %._crit_edge217, label %scalar.ph.preheader

.preheader209:                                    ; preds = %scalar.ph292.prol.loopexit, %scalar.ph292, %middle.block291
  br i1 %.not199211, label %.preheader.critedge, label %.lr.ph221

.lr.ph221:                                        ; preds = %.preheader209
  %120 = getelementptr inbounds i8, ptr %25, i64 8
  %121 = getelementptr inbounds i8, ptr %25, i64 16
  %wide.trip.count253 = zext nneg i32 %10 to i64
  br label %224

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv241 = phi i64 [ %indvars.iv.next242.3, %scalar.ph ], [ %indvars.iv241.unr, %scalar.ph.prol.loopexit ]
  %122 = getelementptr inbounds double, ptr %91, i64 %indvars.iv241
  %123 = load double, ptr %122, align 8, !tbaa !19
  %124 = getelementptr inbounds double, ptr %93, i64 %indvars.iv241
  %125 = load double, ptr %124, align 8, !tbaa !19
  %126 = fmul double %123, %125
  %127 = getelementptr inbounds double, ptr %95, i64 %indvars.iv241
  store double %126, ptr %127, align 8, !tbaa !19
  %indvars.iv.next242 = add nuw nsw i64 %indvars.iv241, 1
  %128 = getelementptr inbounds double, ptr %91, i64 %indvars.iv.next242
  %129 = load double, ptr %128, align 8, !tbaa !19
  %130 = getelementptr inbounds double, ptr %93, i64 %indvars.iv.next242
  %131 = load double, ptr %130, align 8, !tbaa !19
  %132 = fmul double %129, %131
  %133 = getelementptr inbounds double, ptr %95, i64 %indvars.iv.next242
  store double %132, ptr %133, align 8, !tbaa !19
  %indvars.iv.next242.1538 = add nuw nsw i64 %indvars.iv241, 2
  %134 = getelementptr inbounds double, ptr %91, i64 %indvars.iv.next242.1538
  %135 = load double, ptr %134, align 8, !tbaa !19
  %136 = getelementptr inbounds double, ptr %93, i64 %indvars.iv.next242.1538
  %137 = load double, ptr %136, align 8, !tbaa !19
  %138 = fmul double %135, %137
  %139 = getelementptr inbounds double, ptr %95, i64 %indvars.iv.next242.1538
  store double %138, ptr %139, align 8, !tbaa !19
  %indvars.iv.next242.2 = add nuw nsw i64 %indvars.iv241, 3
  %140 = getelementptr inbounds double, ptr %91, i64 %indvars.iv.next242.2
  %141 = load double, ptr %140, align 8, !tbaa !19
  %142 = getelementptr inbounds double, ptr %93, i64 %indvars.iv.next242.2
  %143 = load double, ptr %142, align 8, !tbaa !19
  %144 = fmul double %141, %143
  %145 = getelementptr inbounds double, ptr %95, i64 %indvars.iv.next242.2
  store double %144, ptr %145, align 8, !tbaa !19
  %indvars.iv.next242.3 = add nuw nsw i64 %indvars.iv241, 4
  %exitcond245.not.3 = icmp eq i64 %indvars.iv.next242.3, %wide.trip.count244
  br i1 %exitcond245.not.3, label %._crit_edge217, label %scalar.ph, !llvm.loop !27

._crit_edge217:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %146 = getelementptr inbounds i8, ptr %11, i64 16
  %147 = load ptr, ptr %146, align 8, !tbaa !18
  %148 = getelementptr inbounds i8, ptr %12, i64 16
  %149 = load ptr, ptr %148, align 8, !tbaa !18
  %150 = getelementptr inbounds i8, ptr %25, i64 16
  %151 = load ptr, ptr %150, align 8, !tbaa !18
  %152 = add nsw i64 %wide.trip.count244, -1
  %min.iters.check293 = icmp ult i32 %10, 9
  br i1 %min.iters.check293, label %scalar.ph292.preheader, label %vector.memcheck287

vector.memcheck287:                               ; preds = %._crit_edge217
  %153 = ptrtoint ptr %151 to i64
  %154 = ptrtoint ptr %149 to i64
  %155 = ptrtoint ptr %147 to i64
  %156 = sub i64 %153, %155
  %diff.check288 = icmp ult i64 %156, 32
  %157 = sub i64 %153, %154
  %diff.check289 = icmp ult i64 %157, 32
  %conflict.rdx290 = or i1 %diff.check288, %diff.check289
  br i1 %conflict.rdx290, label %scalar.ph292.preheader, label %vector.ph294

vector.ph294:                                     ; preds = %vector.memcheck287
  %n.vec296 = and i64 %152, -4
  %ind.end297 = or disjoint i64 %n.vec296, 1
  br label %vector.body299

vector.body299:                                   ; preds = %vector.body299, %vector.ph294
  %index300 = phi i64 [ 0, %vector.ph294 ], [ %index.next306, %vector.body299 ]
  %offset.idx301 = or disjoint i64 %index300, 1
  %158 = getelementptr inbounds double, ptr %147, i64 %offset.idx301
  %159 = getelementptr inbounds i8, ptr %158, i64 16
  %wide.load302 = load <2 x double>, ptr %158, align 8, !tbaa !19
  %wide.load303 = load <2 x double>, ptr %159, align 8, !tbaa !19
  %160 = getelementptr inbounds double, ptr %149, i64 %offset.idx301
  %161 = getelementptr inbounds i8, ptr %160, i64 16
  %wide.load304 = load <2 x double>, ptr %160, align 8, !tbaa !19
  %wide.load305 = load <2 x double>, ptr %161, align 8, !tbaa !19
  %162 = fmul <2 x double> %wide.load302, %wide.load304
  %163 = fmul <2 x double> %wide.load303, %wide.load305
  %164 = getelementptr inbounds double, ptr %151, i64 %offset.idx301
  %165 = getelementptr inbounds i8, ptr %164, i64 16
  store <2 x double> %162, ptr %164, align 8, !tbaa !19
  store <2 x double> %163, ptr %165, align 8, !tbaa !19
  %index.next306 = add nuw i64 %index300, 4
  %166 = icmp eq i64 %index.next306, %n.vec296
  br i1 %166, label %middle.block291, label %vector.body299, !llvm.loop !28

middle.block291:                                  ; preds = %vector.body299
  %cmp.n307 = icmp eq i64 %152, %n.vec296
  br i1 %cmp.n307, label %.preheader209, label %scalar.ph292.preheader

scalar.ph292.preheader:                           ; preds = %middle.block291, %vector.memcheck287, %._crit_edge217
  %indvars.iv241.1.ph = phi i64 [ 1, %vector.memcheck287 ], [ 1, %._crit_edge217 ], [ %ind.end297, %middle.block291 ]
  %167 = sub nsw i64 %wide.trip.count244, %indvars.iv241.1.ph
  %xtraiter539 = and i64 %167, 3
  %lcmp.mod540.not = icmp eq i64 %xtraiter539, 0
  br i1 %lcmp.mod540.not, label %scalar.ph292.prol.loopexit, label %scalar.ph292.prol

scalar.ph292.prol:                                ; preds = %scalar.ph292.preheader, %scalar.ph292.prol
  %indvars.iv241.1.prol = phi i64 [ %indvars.iv.next242.1.prol, %scalar.ph292.prol ], [ %indvars.iv241.1.ph, %scalar.ph292.preheader ]
  %prol.iter541 = phi i64 [ %prol.iter541.next, %scalar.ph292.prol ], [ 0, %scalar.ph292.preheader ]
  %168 = getelementptr inbounds double, ptr %147, i64 %indvars.iv241.1.prol
  %169 = load double, ptr %168, align 8, !tbaa !19
  %170 = getelementptr inbounds double, ptr %149, i64 %indvars.iv241.1.prol
  %171 = load double, ptr %170, align 8, !tbaa !19
  %172 = fmul double %169, %171
  %173 = getelementptr inbounds double, ptr %151, i64 %indvars.iv241.1.prol
  store double %172, ptr %173, align 8, !tbaa !19
  %indvars.iv.next242.1.prol = add nuw nsw i64 %indvars.iv241.1.prol, 1
  %prol.iter541.next = add i64 %prol.iter541, 1
  %prol.iter541.cmp.not = icmp eq i64 %prol.iter541.next, %xtraiter539
  br i1 %prol.iter541.cmp.not, label %scalar.ph292.prol.loopexit, label %scalar.ph292.prol, !llvm.loop !29

scalar.ph292.prol.loopexit:                       ; preds = %scalar.ph292.prol, %scalar.ph292.preheader
  %indvars.iv241.1.unr = phi i64 [ %indvars.iv241.1.ph, %scalar.ph292.preheader ], [ %indvars.iv.next242.1.prol, %scalar.ph292.prol ]
  %174 = sub nsw i64 %indvars.iv241.1.ph, %wide.trip.count244
  %175 = icmp ugt i64 %174, -4
  br i1 %175, label %.preheader209, label %scalar.ph292

scalar.ph292:                                     ; preds = %scalar.ph292.prol.loopexit, %scalar.ph292
  %indvars.iv241.1 = phi i64 [ %indvars.iv.next242.1.3, %scalar.ph292 ], [ %indvars.iv241.1.unr, %scalar.ph292.prol.loopexit ]
  %176 = getelementptr inbounds double, ptr %147, i64 %indvars.iv241.1
  %177 = load double, ptr %176, align 8, !tbaa !19
  %178 = getelementptr inbounds double, ptr %149, i64 %indvars.iv241.1
  %179 = load double, ptr %178, align 8, !tbaa !19
  %180 = fmul double %177, %179
  %181 = getelementptr inbounds double, ptr %151, i64 %indvars.iv241.1
  store double %180, ptr %181, align 8, !tbaa !19
  %indvars.iv.next242.1 = add nuw nsw i64 %indvars.iv241.1, 1
  %182 = getelementptr inbounds double, ptr %147, i64 %indvars.iv.next242.1
  %183 = load double, ptr %182, align 8, !tbaa !19
  %184 = getelementptr inbounds double, ptr %149, i64 %indvars.iv.next242.1
  %185 = load double, ptr %184, align 8, !tbaa !19
  %186 = fmul double %183, %185
  %187 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next242.1
  store double %186, ptr %187, align 8, !tbaa !19
  %indvars.iv.next242.1.1 = add nuw nsw i64 %indvars.iv241.1, 2
  %188 = getelementptr inbounds double, ptr %147, i64 %indvars.iv.next242.1.1
  %189 = load double, ptr %188, align 8, !tbaa !19
  %190 = getelementptr inbounds double, ptr %149, i64 %indvars.iv.next242.1.1
  %191 = load double, ptr %190, align 8, !tbaa !19
  %192 = fmul double %189, %191
  %193 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next242.1.1
  store double %192, ptr %193, align 8, !tbaa !19
  %indvars.iv.next242.1.2 = add nuw nsw i64 %indvars.iv241.1, 3
  %194 = getelementptr inbounds double, ptr %147, i64 %indvars.iv.next242.1.2
  %195 = load double, ptr %194, align 8, !tbaa !19
  %196 = getelementptr inbounds double, ptr %149, i64 %indvars.iv.next242.1.2
  %197 = load double, ptr %196, align 8, !tbaa !19
  %198 = fmul double %195, %197
  %199 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next242.1.2
  store double %198, ptr %199, align 8, !tbaa !19
  %indvars.iv.next242.1.3 = add nuw nsw i64 %indvars.iv241.1, 4
  %exitcond245.1.not.3 = icmp eq i64 %indvars.iv.next242.1.3, %wide.trip.count244
  br i1 %exitcond245.1.not.3, label %.preheader209, label %scalar.ph292, !llvm.loop !30

.preheader208:                                    ; preds = %239
  br i1 %.not199211, label %.preheader.critedge, label %.lr.ph224

.lr.ph224:                                        ; preds = %.preheader208
  %200 = getelementptr inbounds i8, ptr %13, i64 16
  %201 = load ptr, ptr %200, align 8, !tbaa !18
  %202 = getelementptr inbounds i8, ptr %13, i64 8
  %203 = load ptr, ptr %202, align 8, !tbaa !18
  %wide.trip.count258 = zext nneg i32 %10 to i64
  %204 = add nsw i64 %wide.trip.count244, -1
  %min.iters.check316 = icmp ult i32 %10, 17
  br i1 %min.iters.check316, label %scalar.ph315.preheader, label %vector.memcheck308

scalar.ph315.preheader:                           ; preds = %middle.block314, %vector.memcheck308, %.lr.ph224
  %indvars.iv255.ph = phi i64 [ 1, %vector.memcheck308 ], [ 1, %.lr.ph224 ], [ %ind.end320, %middle.block314 ]
  %205 = sub nsw i64 %wide.trip.count244, %indvars.iv255.ph
  %xtraiter542 = and i64 %205, 3
  %lcmp.mod543.not = icmp eq i64 %xtraiter542, 0
  br i1 %lcmp.mod543.not, label %scalar.ph315.prol.loopexit, label %scalar.ph315.prol

scalar.ph315.prol:                                ; preds = %scalar.ph315.preheader, %scalar.ph315.prol
  %indvars.iv255.prol = phi i64 [ %indvars.iv.next256.prol, %scalar.ph315.prol ], [ %indvars.iv255.ph, %scalar.ph315.preheader ]
  %prol.iter544 = phi i64 [ %prol.iter544.next, %scalar.ph315.prol ], [ 0, %scalar.ph315.preheader ]
  %206 = getelementptr inbounds double, ptr %23, i64 %indvars.iv255.prol
  %207 = load double, ptr %206, align 8, !tbaa !19
  %208 = getelementptr inbounds double, ptr %201, i64 %indvars.iv255.prol
  store double %207, ptr %208, align 8, !tbaa !19
  %209 = getelementptr inbounds double, ptr %203, i64 %indvars.iv255.prol
  store double %207, ptr %209, align 8, !tbaa !19
  %indvars.iv.next256.prol = add nuw nsw i64 %indvars.iv255.prol, 1
  %prol.iter544.next = add i64 %prol.iter544, 1
  %prol.iter544.cmp.not = icmp eq i64 %prol.iter544.next, %xtraiter542
  br i1 %prol.iter544.cmp.not, label %scalar.ph315.prol.loopexit, label %scalar.ph315.prol, !llvm.loop !31

scalar.ph315.prol.loopexit:                       ; preds = %scalar.ph315.prol, %scalar.ph315.preheader
  %indvars.iv255.unr = phi i64 [ %indvars.iv255.ph, %scalar.ph315.preheader ], [ %indvars.iv.next256.prol, %scalar.ph315.prol ]
  %210 = sub nsw i64 %indvars.iv255.ph, %wide.trip.count244
  %211 = icmp ugt i64 %210, -4
  br i1 %211, label %.preheader207, label %scalar.ph315

vector.memcheck308:                               ; preds = %.lr.ph224
  %212 = ptrtoint ptr %203 to i64
  %213 = ptrtoint ptr %201 to i64
  %214 = sub i64 %212, %213
  %diff.check309 = icmp ult i64 %214, 32
  %215 = sub i64 %213, %24
  %diff.check310 = icmp ult i64 %215, 32
  %conflict.rdx311 = or i1 %diff.check309, %diff.check310
  %216 = sub i64 %212, %24
  %diff.check312 = icmp ult i64 %216, 32
  %conflict.rdx313 = or i1 %conflict.rdx311, %diff.check312
  br i1 %conflict.rdx313, label %scalar.ph315.preheader, label %vector.ph317

vector.ph317:                                     ; preds = %vector.memcheck308
  %n.vec319 = and i64 %204, -4
  %ind.end320 = or disjoint i64 %n.vec319, 1
  br label %vector.body322

vector.body322:                                   ; preds = %vector.body322, %vector.ph317
  %index323 = phi i64 [ 0, %vector.ph317 ], [ %index.next327, %vector.body322 ]
  %offset.idx324 = or disjoint i64 %index323, 1
  %217 = getelementptr inbounds double, ptr %23, i64 %offset.idx324
  %218 = getelementptr inbounds i8, ptr %217, i64 16
  %wide.load325 = load <2 x double>, ptr %217, align 8, !tbaa !19
  %wide.load326 = load <2 x double>, ptr %218, align 8, !tbaa !19
  %219 = getelementptr inbounds double, ptr %201, i64 %offset.idx324
  %220 = getelementptr inbounds i8, ptr %219, i64 16
  store <2 x double> %wide.load325, ptr %219, align 8, !tbaa !19
  store <2 x double> %wide.load326, ptr %220, align 8, !tbaa !19
  %221 = getelementptr inbounds double, ptr %203, i64 %offset.idx324
  %222 = getelementptr inbounds i8, ptr %221, i64 16
  store <2 x double> %wide.load325, ptr %221, align 8, !tbaa !19
  store <2 x double> %wide.load326, ptr %222, align 8, !tbaa !19
  %index.next327 = add nuw i64 %index323, 4
  %223 = icmp eq i64 %index.next327, %n.vec319
  br i1 %223, label %middle.block314, label %vector.body322, !llvm.loop !32

middle.block314:                                  ; preds = %vector.body322
  %cmp.n328 = icmp eq i64 %204, %n.vec319
  br i1 %cmp.n328, label %.preheader207, label %scalar.ph315.preheader

224:                                              ; preds = %.lr.ph221, %239
  %indvars.iv250 = phi i64 [ 1, %.lr.ph221 ], [ %indvars.iv.next251, %239 ]
  %225 = load ptr, ptr %85, align 8, !tbaa !18
  %226 = getelementptr inbounds i8, ptr %225, i64 8
  %227 = load double, ptr %226, align 8, !tbaa !19
  %228 = load ptr, ptr %120, align 8, !tbaa !18
  %229 = getelementptr inbounds double, ptr %228, i64 %indvars.iv250
  %230 = load double, ptr %229, align 8, !tbaa !19
  %231 = load ptr, ptr %121, align 8, !tbaa !18
  %232 = getelementptr inbounds double, ptr %231, i64 %indvars.iv250
  %233 = load double, ptr %232, align 8, !tbaa !19
  %234 = fadd double %230, %233
  %235 = fdiv double %227, %234
  %236 = fcmp ult double %235, 0.000000e+00
  br i1 %236, label %239, label %237

237:                                              ; preds = %224
  %238 = tail call double @sqrt(double noundef %235) #11
  br label %239

239:                                              ; preds = %224, %237
  %.sink = phi double [ %238, %237 ], [ -1.000000e+00, %224 ]
  %240 = getelementptr inbounds double, ptr %23, i64 %indvars.iv250
  store double %.sink, ptr %240, align 8
  %indvars.iv.next251 = add nuw nsw i64 %indvars.iv250, 1
  %exitcond254.not = icmp eq i64 %indvars.iv.next251, %wide.trip.count253
  br i1 %exitcond254.not, label %.preheader208, label %224, !llvm.loop !33

.preheader207:                                    ; preds = %scalar.ph315.prol.loopexit, %scalar.ph315, %middle.block314
  br i1 %.not199211, label %.preheader.critedge, label %.lr.ph227

.lr.ph227:                                        ; preds = %.preheader207
  %241 = load ptr, ptr %51, align 8, !tbaa !18
  %242 = getelementptr inbounds i8, ptr %241, i64 8
  %243 = getelementptr inbounds i8, ptr %14, i64 8
  %244 = load ptr, ptr %243, align 8, !tbaa !18
  %245 = load ptr, ptr %54, align 8, !tbaa !18
  %246 = getelementptr inbounds i8, ptr %245, i64 8
  %247 = getelementptr inbounds i8, ptr %14, i64 16
  %248 = load ptr, ptr %247, align 8, !tbaa !18
  %wide.trip.count263 = zext nneg i32 %10 to i64
  %249 = add nsw i64 %wide.trip.count244, -1
  %min.iters.check353 = icmp ult i32 %10, 35
  br i1 %min.iters.check353, label %scalar.ph352.preheader, label %vector.memcheck329

scalar.ph352.preheader:                           ; preds = %middle.block351, %vector.memcheck329, %.lr.ph227
  %indvars.iv260.ph = phi i64 [ 1, %vector.memcheck329 ], [ 1, %.lr.ph227 ], [ %ind.end357, %middle.block351 ]
  %250 = and i64 %wide.trip.count244, 1
  %lcmp.mod546.not.not = icmp eq i64 %250, 0
  br i1 %lcmp.mod546.not.not, label %scalar.ph352.prol, label %scalar.ph352.prol.loopexit

scalar.ph352.prol:                                ; preds = %scalar.ph352.preheader
  %251 = load double, ptr %242, align 8, !tbaa !19
  %252 = getelementptr inbounds double, ptr %244, i64 %indvars.iv260.ph
  store double %251, ptr %252, align 8, !tbaa !19
  %253 = load double, ptr %246, align 8, !tbaa !19
  %254 = getelementptr inbounds double, ptr %248, i64 %indvars.iv260.ph
  store double %253, ptr %254, align 8, !tbaa !19
  %indvars.iv.next261.prol = add nuw nsw i64 %indvars.iv260.ph, 1
  br label %scalar.ph352.prol.loopexit

scalar.ph352.prol.loopexit:                       ; preds = %scalar.ph352.prol, %scalar.ph352.preheader
  %indvars.iv260.unr = phi i64 [ %indvars.iv260.ph, %scalar.ph352.preheader ], [ %indvars.iv.next261.prol, %scalar.ph352.prol ]
  %255 = add nsw i64 %wide.trip.count244, -1
  %256 = icmp eq i64 %indvars.iv260.ph, %255
  br i1 %256, label %.preheader206, label %scalar.ph352

vector.memcheck329:                               ; preds = %.lr.ph227
  %scevgep = getelementptr i8, ptr %244, i64 8
  %257 = shl nuw nsw i64 %wide.trip.count244, 3
  %scevgep330 = getelementptr i8, ptr %244, i64 %257
  %scevgep331 = getelementptr i8, ptr %248, i64 8
  %scevgep332 = getelementptr i8, ptr %248, i64 %257
  %scevgep333 = getelementptr i8, ptr %241, i64 16
  %scevgep334 = getelementptr i8, ptr %245, i64 16
  %bound0 = icmp ult ptr %scevgep, %scevgep332
  %bound1 = icmp ult ptr %scevgep331, %scevgep330
  %found.conflict = and i1 %bound0, %bound1
  %bound0335 = icmp ult ptr %scevgep, %scevgep333
  %bound1336 = icmp ult ptr %242, %scevgep330
  %found.conflict337 = and i1 %bound0335, %bound1336
  %conflict.rdx338 = or i1 %found.conflict, %found.conflict337
  %bound0339 = icmp ult ptr %scevgep, %scevgep334
  %bound1340 = icmp ult ptr %246, %scevgep330
  %found.conflict341 = and i1 %bound0339, %bound1340
  %conflict.rdx342 = or i1 %conflict.rdx338, %found.conflict341
  %bound0343 = icmp ult ptr %scevgep331, %scevgep333
  %bound1344 = icmp ult ptr %242, %scevgep332
  %found.conflict345 = and i1 %bound0343, %bound1344
  %conflict.rdx346 = or i1 %conflict.rdx342, %found.conflict345
  %bound0347 = icmp ult ptr %scevgep331, %scevgep334
  %bound1348 = icmp ult ptr %246, %scevgep332
  %found.conflict349 = and i1 %bound0347, %bound1348
  %conflict.rdx350 = or i1 %conflict.rdx346, %found.conflict349
  br i1 %conflict.rdx350, label %scalar.ph352.preheader, label %vector.ph354

vector.ph354:                                     ; preds = %vector.memcheck329
  %n.vec356 = and i64 %249, -4
  %ind.end357 = or disjoint i64 %n.vec356, 1
  %258 = load double, ptr %242, align 8, !tbaa !19, !alias.scope !34
  %broadcast.splatinsert362 = insertelement <2 x double> poison, double %258, i64 0
  %broadcast.splat363 = shufflevector <2 x double> %broadcast.splatinsert362, <2 x double> poison, <2 x i32> zeroinitializer
  %259 = load double, ptr %246, align 8, !tbaa !19, !alias.scope !37
  %broadcast.splatinsert366 = insertelement <2 x double> poison, double %259, i64 0
  %broadcast.splat367 = shufflevector <2 x double> %broadcast.splatinsert366, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body359

vector.body359:                                   ; preds = %vector.body359, %vector.ph354
  %index360 = phi i64 [ 0, %vector.ph354 ], [ %index.next368, %vector.body359 ]
  %offset.idx361 = or disjoint i64 %index360, 1
  %260 = getelementptr inbounds double, ptr %244, i64 %offset.idx361
  %261 = getelementptr inbounds i8, ptr %260, i64 16
  store <2 x double> %broadcast.splat363, ptr %260, align 8, !tbaa !19, !alias.scope !39, !noalias !41
  store <2 x double> %broadcast.splat363, ptr %261, align 8, !tbaa !19, !alias.scope !39, !noalias !41
  %262 = getelementptr inbounds double, ptr %248, i64 %offset.idx361
  %263 = getelementptr inbounds i8, ptr %262, i64 16
  store <2 x double> %broadcast.splat367, ptr %262, align 8, !tbaa !19, !alias.scope !43, !noalias !44
  store <2 x double> %broadcast.splat367, ptr %263, align 8, !tbaa !19, !alias.scope !43, !noalias !44
  %index.next368 = add nuw i64 %index360, 4
  %264 = icmp eq i64 %index.next368, %n.vec356
  br i1 %264, label %middle.block351, label %vector.body359, !llvm.loop !45

middle.block351:                                  ; preds = %vector.body359
  %cmp.n369 = icmp eq i64 %249, %n.vec356
  br i1 %cmp.n369, label %.preheader206, label %scalar.ph352.preheader

scalar.ph315:                                     ; preds = %scalar.ph315.prol.loopexit, %scalar.ph315
  %indvars.iv255 = phi i64 [ %indvars.iv.next256.3, %scalar.ph315 ], [ %indvars.iv255.unr, %scalar.ph315.prol.loopexit ]
  %265 = getelementptr inbounds double, ptr %23, i64 %indvars.iv255
  %266 = load double, ptr %265, align 8, !tbaa !19
  %267 = getelementptr inbounds double, ptr %201, i64 %indvars.iv255
  store double %266, ptr %267, align 8, !tbaa !19
  %268 = getelementptr inbounds double, ptr %203, i64 %indvars.iv255
  store double %266, ptr %268, align 8, !tbaa !19
  %indvars.iv.next256 = add nuw nsw i64 %indvars.iv255, 1
  %269 = getelementptr inbounds double, ptr %23, i64 %indvars.iv.next256
  %270 = load double, ptr %269, align 8, !tbaa !19
  %271 = getelementptr inbounds double, ptr %201, i64 %indvars.iv.next256
  store double %270, ptr %271, align 8, !tbaa !19
  %272 = getelementptr inbounds double, ptr %203, i64 %indvars.iv.next256
  store double %270, ptr %272, align 8, !tbaa !19
  %indvars.iv.next256.1 = add nuw nsw i64 %indvars.iv255, 2
  %273 = getelementptr inbounds double, ptr %23, i64 %indvars.iv.next256.1
  %274 = load double, ptr %273, align 8, !tbaa !19
  %275 = getelementptr inbounds double, ptr %201, i64 %indvars.iv.next256.1
  store double %274, ptr %275, align 8, !tbaa !19
  %276 = getelementptr inbounds double, ptr %203, i64 %indvars.iv.next256.1
  store double %274, ptr %276, align 8, !tbaa !19
  %indvars.iv.next256.2 = add nuw nsw i64 %indvars.iv255, 3
  %277 = getelementptr inbounds double, ptr %23, i64 %indvars.iv.next256.2
  %278 = load double, ptr %277, align 8, !tbaa !19
  %279 = getelementptr inbounds double, ptr %201, i64 %indvars.iv.next256.2
  store double %278, ptr %279, align 8, !tbaa !19
  %280 = getelementptr inbounds double, ptr %203, i64 %indvars.iv.next256.2
  store double %278, ptr %280, align 8, !tbaa !19
  %indvars.iv.next256.3 = add nuw nsw i64 %indvars.iv255, 4
  %exitcond259.not.3 = icmp eq i64 %indvars.iv.next256.3, %wide.trip.count258
  br i1 %exitcond259.not.3, label %.preheader207, label %scalar.ph315, !llvm.loop !46

.preheader206:                                    ; preds = %scalar.ph352.prol.loopexit, %scalar.ph352, %middle.block351
  br i1 %.not199211, label %.preheader.critedge, label %.lr.ph230

.lr.ph230:                                        ; preds = %.preheader206
  %281 = getelementptr inbounds i8, ptr %13, i64 8
  %282 = load ptr, ptr %281, align 8, !tbaa !18
  %283 = getelementptr inbounds i8, ptr %11, i64 8
  %284 = load ptr, ptr %283, align 8, !tbaa !18
  %285 = getelementptr inbounds i8, ptr %14, i64 8
  %286 = load ptr, ptr %285, align 8, !tbaa !18
  %287 = getelementptr inbounds i8, ptr %17, i64 8
  %288 = load ptr, ptr %287, align 8, !tbaa !18
  %289 = getelementptr inbounds i8, ptr %13, i64 16
  %290 = load ptr, ptr %289, align 8, !tbaa !18
  %291 = getelementptr inbounds i8, ptr %11, i64 16
  %292 = load ptr, ptr %291, align 8, !tbaa !18
  %293 = getelementptr inbounds i8, ptr %14, i64 16
  %294 = load ptr, ptr %293, align 8, !tbaa !18
  %295 = getelementptr inbounds i8, ptr %17, i64 16
  %296 = load ptr, ptr %295, align 8, !tbaa !18
  %297 = getelementptr inbounds i8, ptr %18, i64 8
  %298 = load ptr, ptr %297, align 8, !tbaa !18
  %299 = getelementptr inbounds i8, ptr %18, i64 16
  %300 = load ptr, ptr %299, align 8, !tbaa !18
  %wide.trip.count268 = zext nneg i32 %10 to i64
  %301 = add nsw i64 %wide.trip.count244, -1
  %min.iters.check512 = icmp ult i32 %10, 27
  br i1 %min.iters.check512, label %scalar.ph511.preheader, label %vector.memcheck370

scalar.ph511.preheader:                           ; preds = %middle.block510, %vector.memcheck370, %.lr.ph230
  %indvars.iv265.ph = phi i64 [ 1, %vector.memcheck370 ], [ 1, %.lr.ph230 ], [ %ind.end516, %middle.block510 ]
  br label %scalar.ph511

vector.memcheck370:                               ; preds = %.lr.ph230
  %scevgep371 = getelementptr i8, ptr %288, i64 8
  %302 = shl nuw nsw i64 %wide.trip.count244, 3
  %scevgep372 = getelementptr i8, ptr %288, i64 %302
  %scevgep373 = getelementptr i8, ptr %296, i64 8
  %scevgep374 = getelementptr i8, ptr %296, i64 %302
  %scevgep375 = getelementptr i8, ptr %298, i64 8
  %scevgep376 = getelementptr i8, ptr %298, i64 %302
  %scevgep377 = getelementptr i8, ptr %300, i64 8
  %scevgep378 = getelementptr i8, ptr %300, i64 %302
  %scevgep379 = getelementptr i8, ptr %282, i64 8
  %scevgep380 = getelementptr i8, ptr %282, i64 %302
  %scevgep381 = getelementptr i8, ptr %284, i64 8
  %scevgep382 = getelementptr i8, ptr %284, i64 %302
  %scevgep383 = getelementptr i8, ptr %286, i64 8
  %scevgep384 = getelementptr i8, ptr %286, i64 %302
  %scevgep385 = getelementptr i8, ptr %290, i64 8
  %scevgep386 = getelementptr i8, ptr %290, i64 %302
  %scevgep387 = getelementptr i8, ptr %292, i64 8
  %scevgep388 = getelementptr i8, ptr %292, i64 %302
  %scevgep389 = getelementptr i8, ptr %294, i64 8
  %scevgep390 = getelementptr i8, ptr %294, i64 %302
  %bound0391 = icmp ult ptr %scevgep371, %scevgep374
  %bound1392 = icmp ult ptr %scevgep373, %scevgep372
  %found.conflict393 = and i1 %bound0391, %bound1392
  %bound0394 = icmp ult ptr %scevgep371, %scevgep376
  %bound1395 = icmp ult ptr %scevgep375, %scevgep372
  %found.conflict396 = and i1 %bound0394, %bound1395
  %conflict.rdx397 = or i1 %found.conflict393, %found.conflict396
  %bound0398 = icmp ult ptr %scevgep371, %scevgep378
  %bound1399 = icmp ult ptr %scevgep377, %scevgep372
  %found.conflict400 = and i1 %bound0398, %bound1399
  %conflict.rdx401 = or i1 %conflict.rdx397, %found.conflict400
  %bound0402 = icmp ult ptr %scevgep371, %scevgep380
  %bound1403 = icmp ult ptr %scevgep379, %scevgep372
  %found.conflict404 = and i1 %bound0402, %bound1403
  %conflict.rdx405 = or i1 %conflict.rdx401, %found.conflict404
  %bound0406 = icmp ult ptr %scevgep371, %scevgep382
  %bound1407 = icmp ult ptr %scevgep381, %scevgep372
  %found.conflict408 = and i1 %bound0406, %bound1407
  %conflict.rdx409 = or i1 %conflict.rdx405, %found.conflict408
  %bound0410 = icmp ult ptr %scevgep371, %scevgep384
  %bound1411 = icmp ult ptr %scevgep383, %scevgep372
  %found.conflict412 = and i1 %bound0410, %bound1411
  %conflict.rdx413 = or i1 %conflict.rdx409, %found.conflict412
  %bound0414 = icmp ult ptr %scevgep371, %scevgep386
  %bound1415 = icmp ult ptr %scevgep385, %scevgep372
  %found.conflict416 = and i1 %bound0414, %bound1415
  %conflict.rdx417 = or i1 %conflict.rdx413, %found.conflict416
  %bound0418 = icmp ult ptr %scevgep371, %scevgep388
  %bound1419 = icmp ult ptr %scevgep387, %scevgep372
  %found.conflict420 = and i1 %bound0418, %bound1419
  %conflict.rdx421 = or i1 %conflict.rdx417, %found.conflict420
  %bound0422 = icmp ult ptr %scevgep371, %scevgep390
  %bound1423 = icmp ult ptr %scevgep389, %scevgep372
  %found.conflict424 = and i1 %bound0422, %bound1423
  %conflict.rdx425 = or i1 %conflict.rdx421, %found.conflict424
  %bound0426 = icmp ult ptr %scevgep373, %scevgep376
  %bound1427 = icmp ult ptr %scevgep375, %scevgep374
  %found.conflict428 = and i1 %bound0426, %bound1427
  %conflict.rdx429 = or i1 %conflict.rdx425, %found.conflict428
  %bound0430 = icmp ult ptr %scevgep373, %scevgep378
  %bound1431 = icmp ult ptr %scevgep377, %scevgep374
  %found.conflict432 = and i1 %bound0430, %bound1431
  %conflict.rdx433 = or i1 %conflict.rdx429, %found.conflict432
  %bound0434 = icmp ult ptr %scevgep373, %scevgep380
  %bound1435 = icmp ult ptr %scevgep379, %scevgep374
  %found.conflict436 = and i1 %bound0434, %bound1435
  %conflict.rdx437 = or i1 %conflict.rdx433, %found.conflict436
  %bound0438 = icmp ult ptr %scevgep373, %scevgep382
  %bound1439 = icmp ult ptr %scevgep381, %scevgep374
  %found.conflict440 = and i1 %bound0438, %bound1439
  %conflict.rdx441 = or i1 %conflict.rdx437, %found.conflict440
  %bound0442 = icmp ult ptr %scevgep373, %scevgep384
  %bound1443 = icmp ult ptr %scevgep383, %scevgep374
  %found.conflict444 = and i1 %bound0442, %bound1443
  %conflict.rdx445 = or i1 %conflict.rdx441, %found.conflict444
  %bound0446 = icmp ult ptr %scevgep373, %scevgep386
  %bound1447 = icmp ult ptr %scevgep385, %scevgep374
  %found.conflict448 = and i1 %bound0446, %bound1447
  %conflict.rdx449 = or i1 %conflict.rdx445, %found.conflict448
  %bound0450 = icmp ult ptr %scevgep373, %scevgep388
  %bound1451 = icmp ult ptr %scevgep387, %scevgep374
  %found.conflict452 = and i1 %bound0450, %bound1451
  %conflict.rdx453 = or i1 %conflict.rdx449, %found.conflict452
  %bound0454 = icmp ult ptr %scevgep373, %scevgep390
  %bound1455 = icmp ult ptr %scevgep389, %scevgep374
  %found.conflict456 = and i1 %bound0454, %bound1455
  %conflict.rdx457 = or i1 %conflict.rdx453, %found.conflict456
  %bound0458 = icmp ult ptr %scevgep375, %scevgep378
  %bound1459 = icmp ult ptr %scevgep377, %scevgep376
  %found.conflict460 = and i1 %bound0458, %bound1459
  %conflict.rdx461 = or i1 %conflict.rdx457, %found.conflict460
  %bound0462 = icmp ult ptr %scevgep375, %scevgep380
  %bound1463 = icmp ult ptr %scevgep379, %scevgep376
  %found.conflict464 = and i1 %bound0462, %bound1463
  %conflict.rdx465 = or i1 %conflict.rdx461, %found.conflict464
  %bound0466 = icmp ult ptr %scevgep375, %scevgep382
  %bound1467 = icmp ult ptr %scevgep381, %scevgep376
  %found.conflict468 = and i1 %bound0466, %bound1467
  %conflict.rdx469 = or i1 %conflict.rdx465, %found.conflict468
  %bound0470 = icmp ult ptr %scevgep375, %scevgep384
  %bound1471 = icmp ult ptr %scevgep383, %scevgep376
  %found.conflict472 = and i1 %bound0470, %bound1471
  %conflict.rdx473 = or i1 %conflict.rdx469, %found.conflict472
  %bound0474 = icmp ult ptr %scevgep375, %scevgep386
  %bound1475 = icmp ult ptr %scevgep385, %scevgep376
  %found.conflict476 = and i1 %bound0474, %bound1475
  %conflict.rdx477 = or i1 %conflict.rdx473, %found.conflict476
  %bound0478 = icmp ult ptr %scevgep375, %scevgep388
  %bound1479 = icmp ult ptr %scevgep387, %scevgep376
  %found.conflict480 = and i1 %bound0478, %bound1479
  %conflict.rdx481 = or i1 %conflict.rdx477, %found.conflict480
  %bound0482 = icmp ult ptr %scevgep375, %scevgep390
  %bound1483 = icmp ult ptr %scevgep389, %scevgep376
  %found.conflict484 = and i1 %bound0482, %bound1483
  %conflict.rdx485 = or i1 %conflict.rdx481, %found.conflict484
  %bound0486 = icmp ult ptr %scevgep377, %scevgep380
  %bound1487 = icmp ult ptr %scevgep379, %scevgep378
  %found.conflict488 = and i1 %bound0486, %bound1487
  %conflict.rdx489 = or i1 %conflict.rdx485, %found.conflict488
  %bound0490 = icmp ult ptr %scevgep377, %scevgep382
  %bound1491 = icmp ult ptr %scevgep381, %scevgep378
  %found.conflict492 = and i1 %bound0490, %bound1491
  %conflict.rdx493 = or i1 %conflict.rdx489, %found.conflict492
  %bound0494 = icmp ult ptr %scevgep377, %scevgep384
  %bound1495 = icmp ult ptr %scevgep383, %scevgep378
  %found.conflict496 = and i1 %bound0494, %bound1495
  %conflict.rdx497 = or i1 %conflict.rdx493, %found.conflict496
  %bound0498 = icmp ult ptr %scevgep377, %scevgep386
  %bound1499 = icmp ult ptr %scevgep385, %scevgep378
  %found.conflict500 = and i1 %bound0498, %bound1499
  %conflict.rdx501 = or i1 %conflict.rdx497, %found.conflict500
  %bound0502 = icmp ult ptr %scevgep377, %scevgep388
  %bound1503 = icmp ult ptr %scevgep387, %scevgep378
  %found.conflict504 = and i1 %bound0502, %bound1503
  %conflict.rdx505 = or i1 %conflict.rdx501, %found.conflict504
  %bound0506 = icmp ult ptr %scevgep377, %scevgep390
  %bound1507 = icmp ult ptr %scevgep389, %scevgep378
  %found.conflict508 = and i1 %bound0506, %bound1507
  %conflict.rdx509 = or i1 %conflict.rdx505, %found.conflict508
  br i1 %conflict.rdx509, label %scalar.ph511.preheader, label %vector.ph513

vector.ph513:                                     ; preds = %vector.memcheck370
  %n.vec515 = and i64 %301, -2
  %ind.end516 = or i64 %301, 1
  br label %vector.body518

vector.body518:                                   ; preds = %vector.body518, %vector.ph513
  %index519 = phi i64 [ 0, %vector.ph513 ], [ %index.next533, %vector.body518 ]
  %offset.idx520 = or disjoint i64 %index519, 1
  %303 = getelementptr inbounds double, ptr %282, i64 %offset.idx520
  %wide.load521 = load <2 x double>, ptr %303, align 8, !tbaa !19, !alias.scope !47
  %304 = getelementptr inbounds double, ptr %284, i64 %offset.idx520
  %wide.load522 = load <2 x double>, ptr %304, align 8, !tbaa !19, !alias.scope !50
  %305 = getelementptr inbounds double, ptr %286, i64 %offset.idx520
  %wide.load523 = load <2 x double>, ptr %305, align 8, !tbaa !19, !alias.scope !52
  %306 = fneg <2 x double> %wide.load523
  %307 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load521, <2 x double> %wide.load522, <2 x double> %306)
  %308 = fmul <2 x double> %307, <double 5.000000e-01, double 5.000000e-01>
  %309 = getelementptr inbounds double, ptr %288, i64 %offset.idx520
  store <2 x double> %308, ptr %309, align 8, !tbaa !19, !alias.scope !54, !noalias !56
  %310 = getelementptr inbounds double, ptr %290, i64 %offset.idx520
  %wide.load524 = load <2 x double>, ptr %310, align 8, !tbaa !19, !alias.scope !63
  %311 = getelementptr inbounds double, ptr %292, i64 %offset.idx520
  %wide.load525 = load <2 x double>, ptr %311, align 8, !tbaa !19, !alias.scope !64
  %312 = getelementptr inbounds double, ptr %294, i64 %offset.idx520
  %wide.load526 = load <2 x double>, ptr %312, align 8, !tbaa !19, !alias.scope !65
  %313 = fneg <2 x double> %wide.load526
  %314 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load524, <2 x double> %wide.load525, <2 x double> %313)
  %315 = fmul <2 x double> %314, <double 5.000000e-01, double 5.000000e-01>
  %316 = getelementptr inbounds double, ptr %296, i64 %offset.idx520
  store <2 x double> %315, ptr %316, align 8, !tbaa !19, !alias.scope !66, !noalias !67
  %wide.load527 = load <2 x double>, ptr %303, align 8, !tbaa !19, !alias.scope !47
  %317 = fneg <2 x double> %wide.load527
  %wide.load528 = load <2 x double>, ptr %304, align 8, !tbaa !19, !alias.scope !50
  %wide.load529 = load <2 x double>, ptr %305, align 8, !tbaa !19, !alias.scope !52
  %318 = fneg <2 x double> %wide.load529
  %319 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %317, <2 x double> %wide.load528, <2 x double> %318)
  %320 = fmul <2 x double> %319, <double 5.000000e-01, double 5.000000e-01>
  %321 = getelementptr inbounds double, ptr %298, i64 %offset.idx520
  store <2 x double> %320, ptr %321, align 8, !tbaa !19, !alias.scope !68, !noalias !69
  %wide.load530 = load <2 x double>, ptr %310, align 8, !tbaa !19, !alias.scope !63
  %322 = fneg <2 x double> %wide.load530
  %wide.load531 = load <2 x double>, ptr %311, align 8, !tbaa !19, !alias.scope !64
  %wide.load532 = load <2 x double>, ptr %312, align 8, !tbaa !19, !alias.scope !65
  %323 = fneg <2 x double> %wide.load532
  %324 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %322, <2 x double> %wide.load531, <2 x double> %323)
  %325 = fmul <2 x double> %324, <double 5.000000e-01, double 5.000000e-01>
  %326 = getelementptr inbounds double, ptr %300, i64 %offset.idx520
  store <2 x double> %325, ptr %326, align 8, !tbaa !19, !alias.scope !70, !noalias !71
  %index.next533 = add nuw i64 %index519, 2
  %327 = icmp eq i64 %index.next533, %n.vec515
  br i1 %327, label %middle.block510, label %vector.body518, !llvm.loop !72

middle.block510:                                  ; preds = %vector.body518
  %cmp.n534 = icmp eq i64 %301, %n.vec515
  br i1 %cmp.n534, label %._crit_edge231, label %scalar.ph511.preheader

scalar.ph352:                                     ; preds = %scalar.ph352.prol.loopexit, %scalar.ph352
  %indvars.iv260 = phi i64 [ %indvars.iv.next261.1, %scalar.ph352 ], [ %indvars.iv260.unr, %scalar.ph352.prol.loopexit ]
  %328 = load double, ptr %242, align 8, !tbaa !19
  %329 = getelementptr inbounds double, ptr %244, i64 %indvars.iv260
  store double %328, ptr %329, align 8, !tbaa !19
  %330 = load double, ptr %246, align 8, !tbaa !19
  %331 = getelementptr inbounds double, ptr %248, i64 %indvars.iv260
  store double %330, ptr %331, align 8, !tbaa !19
  %indvars.iv.next261 = add nuw nsw i64 %indvars.iv260, 1
  %332 = load double, ptr %242, align 8, !tbaa !19
  %333 = getelementptr inbounds double, ptr %244, i64 %indvars.iv.next261
  store double %332, ptr %333, align 8, !tbaa !19
  %334 = load double, ptr %246, align 8, !tbaa !19
  %335 = getelementptr inbounds double, ptr %248, i64 %indvars.iv.next261
  store double %334, ptr %335, align 8, !tbaa !19
  %indvars.iv.next261.1 = add nuw nsw i64 %indvars.iv260, 2
  %exitcond264.not.1 = icmp eq i64 %indvars.iv.next261.1, %wide.trip.count263
  br i1 %exitcond264.not.1, label %.preheader206, label %scalar.ph352, !llvm.loop !73

scalar.ph511:                                     ; preds = %scalar.ph511.preheader, %scalar.ph511
  %indvars.iv265 = phi i64 [ %indvars.iv.next266, %scalar.ph511 ], [ %indvars.iv265.ph, %scalar.ph511.preheader ]
  %336 = getelementptr inbounds double, ptr %282, i64 %indvars.iv265
  %337 = load double, ptr %336, align 8, !tbaa !19
  %338 = getelementptr inbounds double, ptr %284, i64 %indvars.iv265
  %339 = load double, ptr %338, align 8, !tbaa !19
  %340 = getelementptr inbounds double, ptr %286, i64 %indvars.iv265
  %341 = load double, ptr %340, align 8, !tbaa !19
  %342 = fneg double %341
  %343 = tail call double @llvm.fmuladd.f64(double %337, double %339, double %342)
  %344 = fmul double %343, 5.000000e-01
  %345 = getelementptr inbounds double, ptr %288, i64 %indvars.iv265
  store double %344, ptr %345, align 8, !tbaa !19
  %346 = getelementptr inbounds double, ptr %290, i64 %indvars.iv265
  %347 = load double, ptr %346, align 8, !tbaa !19
  %348 = getelementptr inbounds double, ptr %292, i64 %indvars.iv265
  %349 = load double, ptr %348, align 8, !tbaa !19
  %350 = getelementptr inbounds double, ptr %294, i64 %indvars.iv265
  %351 = load double, ptr %350, align 8, !tbaa !19
  %352 = fneg double %351
  %353 = tail call double @llvm.fmuladd.f64(double %347, double %349, double %352)
  %354 = fmul double %353, 5.000000e-01
  %355 = getelementptr inbounds double, ptr %296, i64 %indvars.iv265
  store double %354, ptr %355, align 8, !tbaa !19
  %356 = load double, ptr %336, align 8, !tbaa !19
  %357 = fneg double %356
  %358 = load double, ptr %338, align 8, !tbaa !19
  %359 = load double, ptr %340, align 8, !tbaa !19
  %360 = fneg double %359
  %361 = tail call double @llvm.fmuladd.f64(double %357, double %358, double %360)
  %362 = fmul double %361, 5.000000e-01
  %363 = getelementptr inbounds double, ptr %298, i64 %indvars.iv265
  store double %362, ptr %363, align 8, !tbaa !19
  %364 = load double, ptr %346, align 8, !tbaa !19
  %365 = fneg double %364
  %366 = load double, ptr %348, align 8, !tbaa !19
  %367 = load double, ptr %350, align 8, !tbaa !19
  %368 = fneg double %367
  %369 = tail call double @llvm.fmuladd.f64(double %365, double %366, double %368)
  %370 = fmul double %369, 5.000000e-01
  %371 = getelementptr inbounds double, ptr %300, i64 %indvars.iv265
  store double %370, ptr %371, align 8, !tbaa !19
  %indvars.iv.next266 = add nuw nsw i64 %indvars.iv265, 1
  %exitcond269.not = icmp eq i64 %indvars.iv.next266, %wide.trip.count268
  br i1 %exitcond269.not, label %._crit_edge231, label %scalar.ph511, !llvm.loop !74

._crit_edge231:                                   ; preds = %scalar.ph511, %middle.block510
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %27, ptr noundef %17, ptr noundef %15, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %9)
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %27, ptr noundef %18, ptr noundef %16, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %9)
  br i1 %.not199211, label %.preheader, label %.lr.ph235

.lr.ph235:                                        ; preds = %._crit_edge231
  %372 = getelementptr inbounds i8, ptr %15, i64 8
  %373 = load ptr, ptr %3, align 8
  %374 = getelementptr inbounds i8, ptr %15, i64 16
  %375 = getelementptr inbounds i8, ptr %16, i64 8
  %376 = getelementptr inbounds i8, ptr %16, i64 16
  %377 = zext nneg i32 %9 to i64
  %wide.trip.count273 = zext nneg i32 %10 to i64
  br label %381

.preheader.critedge:                              ; preds = %.preheader206, %.preheader207, %.preheader208, %.preheader209, %._crit_edge
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %27, ptr noundef %17, ptr noundef %15, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %9)
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %27, ptr noundef %18, ptr noundef %16, i32 noundef 2, i32 noundef 2, i32 noundef 2, i32 noundef %9)
  br label %.preheader

.preheader:                                       ; preds = %413, %.preheader.critedge, %._crit_edge231
  %378 = icmp sgt i32 %spec.select, 0
  br i1 %378, label %.lr.ph237, label %._crit_edge238

.lr.ph237:                                        ; preds = %.preheader
  %379 = load ptr, ptr %3, align 8, !tbaa !5
  %wide.trip.count278 = zext nneg i32 %spec.select to i64
  %xtraiter549 = and i64 %wide.trip.count278, 2
  %380 = icmp ult i32 %1, 4
  br i1 %380, label %._crit_edge238.loopexit.unr-lcssa, label %.lr.ph237.new

.lr.ph237.new:                                    ; preds = %.lr.ph237
  %unroll_iter551 = and i64 %wide.trip.count278, 2147483644
  br label %419

381:                                              ; preds = %.lr.ph235, %413
  %indvars.iv270 = phi i64 [ 1, %.lr.ph235 ], [ %indvars.iv.next271, %413 ]
  %382 = getelementptr inbounds double, ptr %23, i64 %indvars.iv270
  %383 = load double, ptr %382, align 8, !tbaa !19
  %384 = fcmp oeq double %383, -1.000000e+00
  br i1 %384, label %385, label %391

385:                                              ; preds = %381
  %386 = add nsw i64 %indvars.iv270, -1
  %387 = getelementptr inbounds %struct.pix, ptr %373, i64 %386
  store i32 -1, ptr %387, align 4, !tbaa !75
  %388 = getelementptr inbounds %struct.pix, ptr %373, i64 %386, i32 1
  store i32 -1, ptr %388, align 4, !tbaa !77
  %389 = add nsw i64 %386, %377
  %390 = getelementptr inbounds %struct.pix, ptr %373, i64 %389
  store i32 -1, ptr %390, align 4, !tbaa !75
  br label %413

391:                                              ; preds = %381
  %392 = load ptr, ptr %372, align 8, !tbaa !18
  %393 = getelementptr inbounds double, ptr %392, i64 %indvars.iv270
  %394 = load double, ptr %393, align 8, !tbaa !19
  %395 = add nsw i64 %indvars.iv270, -1
  %396 = getelementptr inbounds %struct.pix, ptr %373, i64 %395
  %397 = load ptr, ptr %374, align 8, !tbaa !18
  %398 = getelementptr inbounds double, ptr %397, i64 %indvars.iv270
  %399 = load double, ptr %398, align 8, !tbaa !19
  %400 = insertelement <2 x double> poison, double %394, i64 0
  %401 = insertelement <2 x double> %400, double %399, i64 1
  %402 = fptosi <2 x double> %401 to <2 x i32>
  store <2 x i32> %402, ptr %396, align 4, !tbaa !78
  %403 = load ptr, ptr %375, align 8, !tbaa !18
  %404 = getelementptr inbounds double, ptr %403, i64 %indvars.iv270
  %405 = load double, ptr %404, align 8, !tbaa !19
  %406 = fptosi double %405 to i32
  %407 = add nsw i64 %395, %377
  %408 = getelementptr inbounds %struct.pix, ptr %373, i64 %407
  store i32 %406, ptr %408, align 4, !tbaa !75
  %409 = load ptr, ptr %376, align 8, !tbaa !18
  %410 = getelementptr inbounds double, ptr %409, i64 %indvars.iv270
  %411 = load double, ptr %410, align 8, !tbaa !19
  %412 = fptosi double %411 to i32
  br label %413

413:                                              ; preds = %385, %391
  %.sink282 = phi i64 [ %389, %385 ], [ %407, %391 ]
  %.sink280 = phi i32 [ -1, %385 ], [ %412, %391 ]
  %414 = getelementptr inbounds %struct.pix, ptr %373, i64 %.sink282, i32 1
  store i32 %.sink280, ptr %414, align 4, !tbaa !77
  %indvars.iv.next271 = add nuw nsw i64 %indvars.iv270, 1
  %exitcond274.not = icmp eq i64 %indvars.iv.next271, %wide.trip.count273
  br i1 %exitcond274.not, label %.preheader, label %381, !llvm.loop !79

._crit_edge238.loopexit.unr-lcssa:                ; preds = %419, %.lr.ph237
  %indvars.iv275.unr = phi i64 [ 0, %.lr.ph237 ], [ %indvars.iv.next276.3, %419 ]
  %lcmp.mod550.not = icmp eq i64 %xtraiter549, 0
  br i1 %lcmp.mod550.not, label %._crit_edge238, label %.epil.preheader548

.epil.preheader548:                               ; preds = %._crit_edge238.loopexit.unr-lcssa, %.epil.preheader548
  %indvars.iv275.epil = phi i64 [ %indvars.iv.next276.epil, %.epil.preheader548 ], [ %indvars.iv275.unr, %._crit_edge238.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader548 ], [ 0, %._crit_edge238.loopexit.unr-lcssa ]
  %415 = getelementptr inbounds %struct.pix, ptr %379, i64 %indvars.iv275.epil, i32 1
  %416 = load i32, ptr %415, align 4, !tbaa !77
  %417 = sub nsw i32 0, %416
  store i32 %417, ptr %415, align 4, !tbaa !77
  %indvars.iv.next276.epil = add nuw nsw i64 %indvars.iv275.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter549
  br i1 %epil.iter.cmp.not, label %._crit_edge238, label %.epil.preheader548, !llvm.loop !80

._crit_edge238:                                   ; preds = %._crit_edge238.loopexit.unr-lcssa, %.epil.preheader548, %.preheader
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %11, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %12, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %13, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %14, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %15, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %16, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %17, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %18, i32 noundef 3)
  tail call void @_ZdaPv(ptr noundef nonnull %23) #12
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %25, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %26, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %27, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %28, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %29, i32 noundef 3)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %30, i32 noundef 2)
  %418 = load ptr, ptr %3, align 8, !tbaa !5
  br label %432

419:                                              ; preds = %419, %.lr.ph237.new
  %indvars.iv275 = phi i64 [ 0, %.lr.ph237.new ], [ %indvars.iv.next276.3, %419 ]
  %niter552 = phi i64 [ 0, %.lr.ph237.new ], [ %niter552.next.3, %419 ]
  %420 = getelementptr inbounds %struct.pix, ptr %379, i64 %indvars.iv275, i32 1
  %421 = load i32, ptr %420, align 4, !tbaa !77
  %422 = sub nsw i32 0, %421
  store i32 %422, ptr %420, align 4, !tbaa !77
  %indvars.iv.next276 = or disjoint i64 %indvars.iv275, 1
  %423 = getelementptr inbounds %struct.pix, ptr %379, i64 %indvars.iv.next276, i32 1
  %424 = load i32, ptr %423, align 4, !tbaa !77
  %425 = sub nsw i32 0, %424
  store i32 %425, ptr %423, align 4, !tbaa !77
  %indvars.iv.next276.1 = or disjoint i64 %indvars.iv275, 2
  %426 = getelementptr inbounds %struct.pix, ptr %379, i64 %indvars.iv.next276.1, i32 1
  %427 = load i32, ptr %426, align 4, !tbaa !77
  %428 = sub nsw i32 0, %427
  store i32 %428, ptr %426, align 4, !tbaa !77
  %indvars.iv.next276.2 = or disjoint i64 %indvars.iv275, 3
  %429 = getelementptr inbounds %struct.pix, ptr %379, i64 %indvars.iv.next276.2, i32 1
  %430 = load i32, ptr %429, align 4, !tbaa !77
  %431 = sub nsw i32 0, %430
  store i32 %431, ptr %429, align 4, !tbaa !77
  %indvars.iv.next276.3 = add nuw nsw i64 %indvars.iv275, 4
  %niter552.next.3 = add i64 %niter552, 4
  %niter552.ncmp.3 = icmp eq i64 %niter552.next.3, %unroll_iter551
  br i1 %niter552.ncmp.3, label %._crit_edge238.loopexit.unr-lcssa, label %419, !llvm.loop !81

432:                                              ; preds = %2, %._crit_edge238
  %.0188 = phi ptr [ %418, %._crit_edge238 ], [ %4, %2 ]
  ret ptr %.0188
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #8

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { nounwind }
attributes #12 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 256}
!6 = !{!"_ZTS13customEllipse", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !10, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 40}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !7, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !21, !25, !26}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !21, !25}
!28 = distinct !{!28, !21, !25, !26}
!29 = distinct !{!29, !23}
!30 = distinct !{!30, !21, !25}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !21, !25, !26}
!33 = distinct !{!33, !21}
!34 = !{!35}
!35 = distinct !{!35, !36}
!36 = distinct !{!36, !"LVerDomain"}
!37 = !{!38}
!38 = distinct !{!38, !36}
!39 = !{!40}
!40 = distinct !{!40, !36}
!41 = !{!42, !35, !38}
!42 = distinct !{!42, !36}
!43 = !{!42}
!44 = !{!35, !38}
!45 = distinct !{!45, !21, !25, !26}
!46 = distinct !{!46, !21, !25}
!47 = !{!48}
!48 = distinct !{!48, !49}
!49 = distinct !{!49, !"LVerDomain"}
!50 = !{!51}
!51 = distinct !{!51, !49}
!52 = !{!53}
!53 = distinct !{!53, !49}
!54 = !{!55}
!55 = distinct !{!55, !49}
!56 = !{!57, !58, !59, !48, !51, !53, !60, !61, !62}
!57 = distinct !{!57, !49}
!58 = distinct !{!58, !49}
!59 = distinct !{!59, !49}
!60 = distinct !{!60, !49}
!61 = distinct !{!61, !49}
!62 = distinct !{!62, !49}
!63 = !{!60}
!64 = !{!61}
!65 = !{!62}
!66 = !{!57}
!67 = !{!58, !59, !48, !51, !53, !60, !61, !62}
!68 = !{!58}
!69 = !{!59, !48, !51, !53, !60, !61, !62}
!70 = !{!59}
!71 = !{!48, !51, !53, !60, !61, !62}
!72 = distinct !{!72, !21, !25, !26}
!73 = distinct !{!73, !21, !25}
!74 = distinct !{!74, !21, !25}
!75 = !{!76, !10, i64 0}
!76 = !{!"_ZTS3pix", !10, i64 0, !10, i64 4}
!77 = !{!76, !10, i64 4}
!78 = !{!10, !10, i64 0}
!79 = distinct !{!79, !21}
!80 = distinct !{!80, !23}
!81 = distinct !{!81, !21}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass