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

; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

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

; 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) #4

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

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

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

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

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

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

; 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) #4

; 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) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13customEllipseC2EP3pixi(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1, i32 noundef %2) unnamed_addr #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %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 double, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %34 = load ptr, ptr %4, align 8
  call void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272) %34)
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  store i32 %35, ptr %36, align 8, !tbaa !11
  %37 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %38 = load i32, ptr %37, align 8, !tbaa !11
  %39 = sext i32 %38 to i64
  %40 = mul i64 %39, 8
  %41 = call noalias ptr @malloc(i64 noundef %40) #10
  %42 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  store ptr %41, ptr %42, align 8, !tbaa !14
  %43 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %47 = load i32, ptr %46, align 8, !tbaa !11
  %48 = sext i32 %47 to i64
  %49 = mul i64 %48, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %45, i64 %49, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %71, %3
  %51 = load i32, ptr %7, align 4, !tbaa !9
  %52 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %53 = load i32, ptr %52, align 8, !tbaa !11
  %54 = icmp slt i32 %51, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  br label %74

56:                                               ; preds = %50
  %57 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  %58 = load ptr, ptr %57, align 8, !tbaa !14
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds %struct.pix, ptr %58, i64 %60
  %62 = getelementptr inbounds %struct.pix, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !15
  %64 = sub nsw i32 0, %63
  %65 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  %66 = load ptr, ptr %65, align 8, !tbaa !14
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds %struct.pix, ptr %66, i64 %68
  %70 = getelementptr inbounds %struct.pix, ptr %69, i32 0, i32 1
  store i32 %64, ptr %70, align 4, !tbaa !15
  br label %71

71:                                               ; preds = %56
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %7, align 4, !tbaa !9
  br label %50, !llvm.loop !17

74:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %75 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %76 = load i32, ptr %75, align 8, !tbaa !11
  %77 = add nsw i32 %76, 1
  %78 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef %77, i32 noundef 7)
  store ptr %78, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  %79 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %79, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %80 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %80, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %81 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %81, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  %82 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %82, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %83 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %83, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %84 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %84, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %85 = call noalias noundef nonnull ptr @_Znam(i64 noundef 56) #12
  store ptr %85, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %86 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %86, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %87 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %87, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #11
  store i32 0, ptr %20, align 4, !tbaa !9
  %88 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %88, i8 0, i64 56, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  store i32 1, ptr %21, align 4, !tbaa !9
  %89 = load i32, ptr %21, align 4, !tbaa !9
  switch i32 %89, label %116 [
    i32 1, label %90
    i32 0, label %103
  ]

90:                                               ; preds = %74
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds ptr, ptr %91, i64 1
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  %94 = getelementptr inbounds double, ptr %93, i64 3
  store double -2.000000e+00, ptr %94, align 8, !tbaa !19
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds ptr, ptr %95, i64 2
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = getelementptr inbounds double, ptr %97, i64 2
  store double 1.000000e+00, ptr %98, align 8, !tbaa !19
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = getelementptr inbounds ptr, ptr %99, i64 3
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds double, ptr %101, i64 1
  store double -2.000000e+00, ptr %102, align 8, !tbaa !19
  br label %116

103:                                              ; preds = %74
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds ptr, ptr %104, i64 1
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = getelementptr inbounds double, ptr %106, i64 1
  store double 2.000000e+00, ptr %107, align 8, !tbaa !19
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds ptr, ptr %108, i64 2
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %110, i64 2
  store double 1.000000e+00, ptr %111, align 8, !tbaa !19
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = getelementptr inbounds ptr, ptr %112, i64 3
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  %115 = getelementptr inbounds double, ptr %114, i64 3
  store double 2.000000e+00, ptr %115, align 8, !tbaa !19
  br label %116

116:                                              ; preds = %103, %90, %74
  %117 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %118 = load i32, ptr %117, align 8, !tbaa !11
  %119 = icmp slt i32 %118, 6
  br i1 %119, label %120, label %121

120:                                              ; preds = %116
  store i32 1, ptr %22, align 4
  br label %674

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #11
  store i32 1, ptr %23, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %194, %121
  %123 = load i32, ptr %23, align 4, !tbaa !9
  %124 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %125 = load i32, ptr %124, align 8, !tbaa !11
  %126 = icmp sle i32 %123, %125
  br i1 %126, label %128, label %127

127:                                              ; preds = %122
  store i32 6, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  br label %197

128:                                              ; preds = %122
  %129 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  %130 = load ptr, ptr %129, align 8, !tbaa !14
  %131 = load i32, ptr %23, align 4, !tbaa !9
  %132 = sub nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %struct.pix, ptr %130, i64 %133
  %135 = getelementptr inbounds %struct.pix, ptr %134, i32 0, i32 0
  %136 = load i32, ptr %135, align 4, !tbaa !20
  %137 = sitofp i32 %136 to double
  store double %137, ptr %18, align 8, !tbaa !19
  %138 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  %139 = load ptr, ptr %138, align 8, !tbaa !14
  %140 = load i32, ptr %23, align 4, !tbaa !9
  %141 = sub nsw i32 %140, 1
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds %struct.pix, ptr %139, i64 %142
  %144 = getelementptr inbounds %struct.pix, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 4, !tbaa !15
  %146 = sitofp i32 %145 to double
  store double %146, ptr %19, align 8, !tbaa !19
  %147 = load double, ptr %18, align 8, !tbaa !19
  %148 = load double, ptr %18, align 8, !tbaa !19
  %149 = fmul double %147, %148
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = load i32, ptr %23, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds ptr, ptr %150, i64 %152
  %154 = load ptr, ptr %153, align 8, !tbaa !5
  %155 = getelementptr inbounds double, ptr %154, i64 1
  store double %149, ptr %155, align 8, !tbaa !19
  %156 = load double, ptr %18, align 8, !tbaa !19
  %157 = load double, ptr %19, align 8, !tbaa !19
  %158 = fmul double %156, %157
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load i32, ptr %23, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds ptr, ptr %159, i64 %161
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  %164 = getelementptr inbounds double, ptr %163, i64 2
  store double %158, ptr %164, align 8, !tbaa !19
  %165 = load double, ptr %19, align 8, !tbaa !19
  %166 = load double, ptr %19, align 8, !tbaa !19
  %167 = fmul double %165, %166
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = load i32, ptr %23, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds ptr, ptr %168, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = getelementptr inbounds double, ptr %172, i64 3
  store double %167, ptr %173, align 8, !tbaa !19
  %174 = load double, ptr %18, align 8, !tbaa !19
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = load i32, ptr %23, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds ptr, ptr %175, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  %180 = getelementptr inbounds double, ptr %179, i64 4
  store double %174, ptr %180, align 8, !tbaa !19
  %181 = load double, ptr %19, align 8, !tbaa !19
  %182 = load ptr, ptr %8, align 8, !tbaa !5
  %183 = load i32, ptr %23, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds ptr, ptr %182, i64 %184
  %186 = load ptr, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 5
  store double %181, ptr %187, align 8, !tbaa !19
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  %189 = load i32, ptr %23, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds ptr, ptr %188, i64 %190
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  %193 = getelementptr inbounds double, ptr %192, i64 6
  store double 1.000000e+00, ptr %193, align 8, !tbaa !19
  br label %194

194:                                              ; preds = %128
  %195 = load i32, ptr %23, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %23, align 4, !tbaa !9
  br label %122, !llvm.loop !21

197:                                              ; preds = %127
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %202 = load i32, ptr %201, align 8, !tbaa !11
  %203 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %204 = load i32, ptr %203, align 8, !tbaa !11
  call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %198, ptr noundef %199, ptr noundef %200, i32 noundef %202, i32 noundef 6, i32 noundef %204, i32 noundef 6)
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_Z6choldcPPdiS0_(ptr noundef %205, i32 noundef 6, ptr noundef %206)
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = load ptr, ptr %14, align 8, !tbaa !5
  %209 = call noundef i32 @_Z7inversePPdS0_i(ptr noundef %207, ptr noundef %208, i32 noundef 6)
  %210 = load ptr, ptr %10, align 8, !tbaa !5
  %211 = load ptr, ptr %14, align 8, !tbaa !5
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_Z7AperB_TPPdS0_S0_iiii(ptr noundef %210, ptr noundef %211, ptr noundef %212, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  %213 = load ptr, ptr %14, align 8, !tbaa !5
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  %215 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %213, ptr noundef %214, ptr noundef %215, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = load ptr, ptr %15, align 8, !tbaa !5
  %218 = load ptr, ptr %16, align 8, !tbaa !5
  %219 = load i32, ptr %20, align 4, !tbaa !9
  call void @_Z6jacobiPPdiS_S0_i(ptr noundef %216, i32 noundef 6, ptr noundef %217, ptr noundef %218, i32 noundef %219)
  %220 = load ptr, ptr %14, align 8, !tbaa !5
  %221 = load ptr, ptr %16, align 8, !tbaa !5
  %222 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %220, ptr noundef %221, ptr noundef %222, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  store i32 1, ptr %24, align 4, !tbaa !9
  br label %223

223:                                              ; preds = %278, %197
  %224 = load i32, ptr %24, align 4, !tbaa !9
  %225 = icmp sle i32 %224, 6
  br i1 %225, label %227, label %226

226:                                              ; preds = %223
  store i32 9, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %281

227:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  store double 0.000000e+00, ptr %25, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #11
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %228

228:                                              ; preds = %253, %227
  %229 = load i32, ptr %26, align 4, !tbaa !9
  %230 = icmp sle i32 %229, 6
  br i1 %230, label %232, label %231

231:                                              ; preds = %228
  store i32 12, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  br label %256

232:                                              ; preds = %228
  %233 = load ptr, ptr %17, align 8, !tbaa !5
  %234 = load i32, ptr %26, align 4, !tbaa !9
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds ptr, ptr %233, i64 %235
  %237 = load ptr, ptr %236, align 8, !tbaa !5
  %238 = load i32, ptr %24, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %237, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !19
  %242 = load ptr, ptr %17, align 8, !tbaa !5
  %243 = load i32, ptr %26, align 4, !tbaa !9
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds ptr, ptr %242, i64 %244
  %246 = load ptr, ptr %245, align 8, !tbaa !5
  %247 = load i32, ptr %24, align 4, !tbaa !9
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds double, ptr %246, i64 %248
  %250 = load double, ptr %249, align 8, !tbaa !19
  %251 = load double, ptr %25, align 8, !tbaa !19
  %252 = call double @llvm.fmuladd.f64(double %241, double %250, double %251)
  store double %252, ptr %25, align 8, !tbaa !19
  br label %253

253:                                              ; preds = %232
  %254 = load i32, ptr %26, align 4, !tbaa !9
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %26, align 4, !tbaa !9
  br label %228, !llvm.loop !22

256:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #11
  store i32 1, ptr %27, align 4, !tbaa !9
  br label %257

257:                                              ; preds = %274, %256
  %258 = load i32, ptr %27, align 4, !tbaa !9
  %259 = icmp sle i32 %258, 6
  br i1 %259, label %261, label %260

260:                                              ; preds = %257
  store i32 15, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #11
  br label %277

261:                                              ; preds = %257
  %262 = load double, ptr %25, align 8, !tbaa !19
  %263 = call double @sqrt(double noundef %262) #11
  %264 = load ptr, ptr %17, align 8, !tbaa !5
  %265 = load i32, ptr %27, align 4, !tbaa !9
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds ptr, ptr %264, i64 %266
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = load i32, ptr %24, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds double, ptr %268, i64 %270
  %272 = load double, ptr %271, align 8, !tbaa !19
  %273 = fdiv double %272, %263
  store double %273, ptr %271, align 8, !tbaa !19
  br label %274

274:                                              ; preds = %261
  %275 = load i32, ptr %27, align 4, !tbaa !9
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %27, align 4, !tbaa !9
  br label %257, !llvm.loop !23

277:                                              ; preds = %260
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  br label %278

278:                                              ; preds = %277
  %279 = load i32, ptr %24, align 4, !tbaa !9
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %24, align 4, !tbaa !9
  br label %223, !llvm.loop !24

281:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  store double 0x3BFD83C94FB6D2AC, ptr %28, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  store double 1.000000e+21, ptr %29, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #11
  store i32 0, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #11
  %282 = load i32, ptr %21, align 4, !tbaa !9
  switch i32 %282, label %338 [
    i32 0, label %283
    i32 1, label %311
  ]

283:                                              ; preds = %281
  store i32 1, ptr %31, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %307, %283
  %285 = load i32, ptr %31, align 4, !tbaa !9
  %286 = icmp sle i32 %285, 6
  br i1 %286, label %287, label %310

287:                                              ; preds = %284
  %288 = load ptr, ptr %15, align 8, !tbaa !5
  %289 = load i32, ptr %31, align 4, !tbaa !9
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds double, ptr %288, i64 %290
  %292 = load double, ptr %291, align 8, !tbaa !19
  %293 = load double, ptr %29, align 8, !tbaa !19
  %294 = fcmp olt double %292, %293
  br i1 %294, label %295, label %306

295:                                              ; preds = %287
  %296 = load ptr, ptr %15, align 8, !tbaa !5
  %297 = load i32, ptr %31, align 4, !tbaa !9
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds double, ptr %296, i64 %298
  %300 = load double, ptr %299, align 8, !tbaa !19
  %301 = call double @llvm.fabs.f64(double %300)
  %302 = load double, ptr %28, align 8, !tbaa !19
  %303 = fcmp ogt double %301, %302
  br i1 %303, label %304, label %306

304:                                              ; preds = %295
  %305 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %305, ptr %30, align 4, !tbaa !9
  br label %306

306:                                              ; preds = %304, %295, %287
  br label %307

307:                                              ; preds = %306
  %308 = load i32, ptr %31, align 4, !tbaa !9
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %31, align 4, !tbaa !9
  br label %284, !llvm.loop !25

310:                                              ; preds = %284
  br label %338

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

312:                                              ; preds = %334, %311
  %313 = load i32, ptr %31, align 4, !tbaa !9
  %314 = icmp sle i32 %313, 6
  br i1 %314, label %315, label %337

315:                                              ; preds = %312
  %316 = load ptr, ptr %15, align 8, !tbaa !5
  %317 = load i32, ptr %31, align 4, !tbaa !9
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds double, ptr %316, i64 %318
  %320 = load double, ptr %319, align 8, !tbaa !19
  %321 = fcmp olt double %320, 0.000000e+00
  br i1 %321, label %322, label %333

322:                                              ; preds = %315
  %323 = load ptr, ptr %15, align 8, !tbaa !5
  %324 = load i32, ptr %31, align 4, !tbaa !9
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds double, ptr %323, i64 %325
  %327 = load double, ptr %326, align 8, !tbaa !19
  %328 = call double @llvm.fabs.f64(double %327)
  %329 = load double, ptr %28, align 8, !tbaa !19
  %330 = fcmp ogt double %328, %329
  br i1 %330, label %331, label %333

331:                                              ; preds = %322
  %332 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %332, ptr %30, align 4, !tbaa !9
  br label %333

333:                                              ; preds = %331, %322, %315
  br label %334

334:                                              ; preds = %333
  %335 = load i32, ptr %31, align 4, !tbaa !9
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr %31, align 4, !tbaa !9
  br label %312, !llvm.loop !26

337:                                              ; preds = %312
  br label %338

338:                                              ; preds = %337, %310, %281
  %339 = load ptr, ptr %17, align 8, !tbaa !5
  %340 = getelementptr inbounds ptr, ptr %339, i64 1
  %341 = load ptr, ptr %340, align 8, !tbaa !5
  %342 = load i32, ptr %30, align 4, !tbaa !9
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds double, ptr %341, i64 %343
  %345 = load double, ptr %344, align 8, !tbaa !19
  %346 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  store double %345, ptr %346, align 8, !tbaa !27
  %347 = load ptr, ptr %17, align 8, !tbaa !5
  %348 = getelementptr inbounds ptr, ptr %347, i64 2
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  %350 = load i32, ptr %30, align 4, !tbaa !9
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds double, ptr %349, i64 %351
  %353 = load double, ptr %352, align 8, !tbaa !19
  %354 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  store double %353, ptr %354, align 8, !tbaa !28
  %355 = load ptr, ptr %17, align 8, !tbaa !5
  %356 = getelementptr inbounds ptr, ptr %355, i64 3
  %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 !19
  %362 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  store double %361, ptr %362, align 8, !tbaa !29
  %363 = load ptr, ptr %17, align 8, !tbaa !5
  %364 = getelementptr inbounds ptr, ptr %363, i64 4
  %365 = load ptr, ptr %364, align 8, !tbaa !5
  %366 = load i32, ptr %30, align 4, !tbaa !9
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds double, ptr %365, i64 %367
  %369 = load double, ptr %368, align 8, !tbaa !19
  %370 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 3
  store double %369, ptr %370, align 8, !tbaa !30
  %371 = load ptr, ptr %17, align 8, !tbaa !5
  %372 = getelementptr inbounds ptr, ptr %371, i64 5
  %373 = load ptr, ptr %372, align 8, !tbaa !5
  %374 = load i32, ptr %30, align 4, !tbaa !9
  %375 = sext i32 %374 to i64
  %376 = getelementptr inbounds double, ptr %373, i64 %375
  %377 = load double, ptr %376, align 8, !tbaa !19
  %378 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 4
  store double %377, ptr %378, align 8, !tbaa !31
  %379 = load ptr, ptr %17, align 8, !tbaa !5
  %380 = getelementptr inbounds ptr, ptr %379, i64 6
  %381 = load ptr, ptr %380, align 8, !tbaa !5
  %382 = load i32, ptr %30, align 4, !tbaa !9
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds double, ptr %381, i64 %383
  %385 = load double, ptr %384, align 8, !tbaa !19
  %386 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 5
  store double %385, ptr %386, align 8, !tbaa !32
  %387 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %388 = load double, ptr %387, align 8, !tbaa !27
  %389 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %390 = load double, ptr %389, align 8, !tbaa !28
  %391 = fdiv double %390, %388
  store double %391, ptr %389, align 8, !tbaa !28
  %392 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %393 = load double, ptr %392, align 8, !tbaa !27
  %394 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  %395 = load double, ptr %394, align 8, !tbaa !29
  %396 = fdiv double %395, %393
  store double %396, ptr %394, align 8, !tbaa !29
  %397 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %398 = load double, ptr %397, align 8, !tbaa !27
  %399 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 3
  %400 = load double, ptr %399, align 8, !tbaa !30
  %401 = fdiv double %400, %398
  store double %401, ptr %399, align 8, !tbaa !30
  %402 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %403 = load double, ptr %402, align 8, !tbaa !27
  %404 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 4
  %405 = load double, ptr %404, align 8, !tbaa !31
  %406 = fdiv double %405, %403
  store double %406, ptr %404, align 8, !tbaa !31
  %407 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %408 = load double, ptr %407, align 8, !tbaa !27
  %409 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 5
  %410 = load double, ptr %409, align 8, !tbaa !32
  %411 = fdiv double %410, %408
  store double %411, ptr %409, align 8, !tbaa !32
  %412 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %413 = load double, ptr %412, align 8, !tbaa !27
  %414 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %415 = load double, ptr %414, align 8, !tbaa !27
  %416 = fdiv double %415, %413
  store double %416, ptr %414, align 8, !tbaa !27
  %417 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %418 = load double, ptr %417, align 8, !tbaa !28
  %419 = fcmp oeq double %418, 0.000000e+00
  br i1 %419, label %420, label %439

420:                                              ; preds = %338
  %421 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %422 = load double, ptr %421, align 8, !tbaa !27
  %423 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 6
  store double %422, ptr %423, align 8, !tbaa !33
  %424 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %425 = load double, ptr %424, align 8, !tbaa !28
  %426 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 7
  store double %425, ptr %426, align 8, !tbaa !34
  %427 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  %428 = load double, ptr %427, align 8, !tbaa !29
  %429 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 8
  store double %428, ptr %429, align 8, !tbaa !35
  %430 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 3
  %431 = load double, ptr %430, align 8, !tbaa !30
  %432 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 9
  store double %431, ptr %432, align 8, !tbaa !36
  %433 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 4
  %434 = load double, ptr %433, align 8, !tbaa !31
  %435 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 10
  store double %434, ptr %435, align 8, !tbaa !37
  %436 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 5
  %437 = load double, ptr %436, align 8, !tbaa !32
  %438 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 11
  store double %437, ptr %438, align 8, !tbaa !38
  br label %555

439:                                              ; preds = %338
  %440 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %441 = load double, ptr %440, align 8, !tbaa !28
  %442 = fcmp une double %441, 0.000000e+00
  br i1 %442, label %443, label %554

443:                                              ; preds = %439
  %444 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %445 = load double, ptr %444, align 8, !tbaa !28
  %446 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %447 = load double, ptr %446, align 8, !tbaa !27
  %448 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  %449 = load double, ptr %448, align 8, !tbaa !29
  %450 = fsub double %447, %449
  %451 = fdiv double %445, %450
  %452 = call double @atan(double noundef %451) #11
  %453 = fdiv double %452, 2.000000e+00
  %454 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  store double %453, ptr %454, align 8, !tbaa !39
  %455 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %456 = load double, ptr %455, align 8, !tbaa !27
  %457 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %458 = load double, ptr %457, align 8, !tbaa !39
  %459 = fmul double 2.000000e+00, %458
  %460 = call double @cos(double noundef %459) #11
  %461 = fadd double 1.000000e+00, %460
  %462 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %463 = load double, ptr %462, align 8, !tbaa !28
  %464 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %465 = load double, ptr %464, align 8, !tbaa !39
  %466 = fmul double 2.000000e+00, %465
  %467 = call double @sin(double noundef %466) #11
  %468 = call double @llvm.fmuladd.f64(double %463, double %467, double %461)
  %469 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  %470 = load double, ptr %469, align 8, !tbaa !29
  %471 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %472 = load double, ptr %471, align 8, !tbaa !39
  %473 = fmul double 2.000000e+00, %472
  %474 = call double @cos(double noundef %473) #11
  %475 = fsub double 1.000000e+00, %474
  %476 = call double @llvm.fmuladd.f64(double %470, double %475, double %468)
  %477 = fmul double %456, %476
  %478 = fmul double 5.000000e-01, %477
  %479 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 6
  store double %478, ptr %479, align 8, !tbaa !33
  %480 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  %481 = load double, ptr %480, align 8, !tbaa !29
  %482 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %483 = load double, ptr %482, align 8, !tbaa !27
  %484 = fsub double %481, %483
  %485 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %486 = load double, ptr %485, align 8, !tbaa !39
  %487 = fmul double 2.000000e+00, %486
  %488 = call double @sin(double noundef %487) #11
  %489 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %490 = load double, ptr %489, align 8, !tbaa !28
  %491 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %492 = load double, ptr %491, align 8, !tbaa !39
  %493 = fmul double 2.000000e+00, %492
  %494 = call double @cos(double noundef %493) #11
  %495 = fmul double %490, %494
  %496 = call double @llvm.fmuladd.f64(double %484, double %488, double %495)
  %497 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 7
  store double %496, ptr %497, align 8, !tbaa !34
  %498 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 0
  %499 = load double, ptr %498, align 8, !tbaa !27
  %500 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %501 = load double, ptr %500, align 8, !tbaa !39
  %502 = fmul double 2.000000e+00, %501
  %503 = call double @cos(double noundef %502) #11
  %504 = fsub double 1.000000e+00, %503
  %505 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 1
  %506 = load double, ptr %505, align 8, !tbaa !28
  %507 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %508 = load double, ptr %507, align 8, !tbaa !39
  %509 = fmul double 2.000000e+00, %508
  %510 = call double @sin(double noundef %509) #11
  %511 = fneg double %506
  %512 = call double @llvm.fmuladd.f64(double %511, double %510, double %504)
  %513 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 2
  %514 = load double, ptr %513, align 8, !tbaa !29
  %515 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %516 = load double, ptr %515, align 8, !tbaa !39
  %517 = fmul double 2.000000e+00, %516
  %518 = call double @cos(double noundef %517) #11
  %519 = fadd double 1.000000e+00, %518
  %520 = call double @llvm.fmuladd.f64(double %514, double %519, double %512)
  %521 = fmul double %499, %520
  %522 = fmul double 5.000000e-01, %521
  %523 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 8
  store double %522, ptr %523, align 8, !tbaa !35
  %524 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 3
  %525 = load double, ptr %524, align 8, !tbaa !30
  %526 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %527 = load double, ptr %526, align 8, !tbaa !39
  %528 = call double @cos(double noundef %527) #11
  %529 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 4
  %530 = load double, ptr %529, align 8, !tbaa !31
  %531 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %532 = load double, ptr %531, align 8, !tbaa !39
  %533 = call double @sin(double noundef %532) #11
  %534 = fmul double %530, %533
  %535 = call double @llvm.fmuladd.f64(double %525, double %528, double %534)
  %536 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 9
  store double %535, ptr %536, align 8, !tbaa !36
  %537 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 3
  %538 = load double, ptr %537, align 8, !tbaa !30
  %539 = fneg double %538
  %540 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %541 = load double, ptr %540, align 8, !tbaa !39
  %542 = call double @sin(double noundef %541) #11
  %543 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 4
  %544 = load double, ptr %543, align 8, !tbaa !31
  %545 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %546 = load double, ptr %545, align 8, !tbaa !39
  %547 = call double @cos(double noundef %546) #11
  %548 = fmul double %544, %547
  %549 = call double @llvm.fmuladd.f64(double %539, double %542, double %548)
  %550 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 10
  store double %549, ptr %550, align 8, !tbaa !37
  %551 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 5
  %552 = load double, ptr %551, align 8, !tbaa !32
  %553 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 11
  store double %552, ptr %553, align 8, !tbaa !38
  br label %554

554:                                              ; preds = %443, %439
  br label %555

555:                                              ; preds = %554, %420
  %556 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 9
  %557 = load double, ptr %556, align 8, !tbaa !36
  %558 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 6
  %559 = load double, ptr %558, align 8, !tbaa !33
  %560 = fdiv double %557, %559
  %561 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 15
  store double %560, ptr %561, align 8, !tbaa !40
  %562 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 10
  %563 = load double, ptr %562, align 8, !tbaa !37
  %564 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 8
  %565 = load double, ptr %564, align 8, !tbaa !35
  %566 = fdiv double %563, %565
  %567 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 16
  store double %566, ptr %567, align 8, !tbaa !41
  %568 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 15
  %569 = load double, ptr %568, align 8, !tbaa !40
  %570 = fdiv double %569, 2.000000e+00
  %571 = fneg double %570
  %572 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 18
  store double %571, ptr %572, align 8, !tbaa !42
  %573 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 16
  %574 = load double, ptr %573, align 8, !tbaa !41
  %575 = fdiv double %574, 2.000000e+00
  %576 = fneg double %575
  %577 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 19
  store double %576, ptr %577, align 8, !tbaa !43
  %578 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 6
  %579 = load double, ptr %578, align 8, !tbaa !33
  %580 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 18
  %581 = load double, ptr %580, align 8, !tbaa !42
  %582 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 18
  %583 = load double, ptr %582, align 8, !tbaa !42
  %584 = fmul double %581, %583
  %585 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 8
  %586 = load double, ptr %585, align 8, !tbaa !35
  %587 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 19
  %588 = load double, ptr %587, align 8, !tbaa !43
  %589 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 19
  %590 = load double, ptr %589, align 8, !tbaa !43
  %591 = fmul double %588, %590
  %592 = fmul double %586, %591
  %593 = call double @llvm.fmuladd.f64(double %579, double %584, double %592)
  %594 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 11
  %595 = load double, ptr %594, align 8, !tbaa !38
  %596 = fsub double %593, %595
  %597 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 17
  store double %596, ptr %597, align 8, !tbaa !44
  %598 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 17
  %599 = load double, ptr %598, align 8, !tbaa !44
  %600 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 6
  %601 = load double, ptr %600, align 8, !tbaa !33
  %602 = fdiv double %599, %601
  %603 = call double @sqrt(double noundef %602) #11
  %604 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 20
  store double %603, ptr %604, align 8, !tbaa !45
  %605 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 17
  %606 = load double, ptr %605, align 8, !tbaa !44
  %607 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 8
  %608 = load double, ptr %607, align 8, !tbaa !35
  %609 = fdiv double %606, %608
  %610 = call double @sqrt(double noundef %609) #11
  %611 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 21
  store double %610, ptr %611, align 8, !tbaa !46
  %612 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 20
  %613 = load double, ptr %612, align 8, !tbaa !45
  %614 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 20
  %615 = load double, ptr %614, align 8, !tbaa !45
  %616 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 21
  %617 = load double, ptr %616, align 8, !tbaa !46
  %618 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 21
  %619 = load double, ptr %618, align 8, !tbaa !46
  %620 = fmul double %617, %619
  %621 = fneg double %620
  %622 = call double @llvm.fmuladd.f64(double %613, double %615, double %621)
  %623 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 26
  store double %622, ptr %623, align 8, !tbaa !47
  %624 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %625 = load double, ptr %624, align 8, !tbaa !39
  %626 = fcmp une double %625, 0.000000e+00
  br i1 %626, label %627, label %655

627:                                              ; preds = %555
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #11
  %628 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 18
  %629 = load double, ptr %628, align 8, !tbaa !42
  store double %629, ptr %32, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #11
  %630 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 19
  %631 = load double, ptr %630, align 8, !tbaa !43
  store double %631, ptr %33, align 8, !tbaa !19
  %632 = load double, ptr %32, align 8, !tbaa !19
  %633 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %634 = load double, ptr %633, align 8, !tbaa !39
  %635 = call double @cos(double noundef %634) #11
  %636 = load double, ptr %33, align 8, !tbaa !19
  %637 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %638 = load double, ptr %637, align 8, !tbaa !39
  %639 = call double @sin(double noundef %638) #11
  %640 = fmul double %636, %639
  %641 = fneg double %640
  %642 = call double @llvm.fmuladd.f64(double %632, double %635, double %641)
  %643 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 18
  store double %642, ptr %643, align 8, !tbaa !42
  %644 = load double, ptr %32, align 8, !tbaa !19
  %645 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %646 = load double, ptr %645, align 8, !tbaa !39
  %647 = call double @sin(double noundef %646) #11
  %648 = load double, ptr %33, align 8, !tbaa !19
  %649 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 23
  %650 = load double, ptr %649, align 8, !tbaa !39
  %651 = call double @cos(double noundef %650) #11
  %652 = fmul double %648, %651
  %653 = call double @llvm.fmuladd.f64(double %644, double %647, double %652)
  %654 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 19
  store double %653, ptr %654, align 8, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #11
  br label %655

655:                                              ; preds = %627, %555
  %656 = load ptr, ptr %8, align 8, !tbaa !5
  %657 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 27
  %658 = load i32, ptr %657, align 8, !tbaa !11
  %659 = add nsw i32 %658, 1
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %656, i32 noundef %659)
  %660 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %660, i32 noundef 7)
  %661 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %661, i32 noundef 7)
  %662 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %662, i32 noundef 7)
  %663 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %663, i32 noundef 7)
  %664 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %664, i32 noundef 7)
  %665 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %665, i32 noundef 7)
  %666 = load ptr, ptr %15, align 8, !tbaa !5
  %667 = icmp eq ptr %666, null
  br i1 %667, label %669, label %668

668:                                              ; preds = %655
  call void @_ZdaPv(ptr noundef %666) #13
  br label %669

669:                                              ; preds = %668, %655
  %670 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %670, i32 noundef 7)
  %671 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %671, i32 noundef 7)
  %672 = getelementptr inbounds %class.customEllipse, ptr %34, i32 0, i32 31
  %673 = load ptr, ptr %672, align 8, !tbaa !14
  call void @free(ptr noundef %673) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  store i32 0, ptr %22, align 4
  br label %674

674:                                              ; preds = %669, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  %675 = load i32, ptr %22, align 4
  switch i32 %675, label %677 [
    i32 0, label %676
    i32 1, label %676
  ]

676:                                              ; preds = %674, %674
  ret void

677:                                              ; preds = %674
  unreachable
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9

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

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #7

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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #10 = { nounwind allocsize(0) }
attributes #11 = { nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { 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, !10, i64 216}
!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, !6, i64 248}
!15 = !{!16, !10, i64 4}
!16 = !{!"_ZTS3pix", !10, i64 0, !10, i64 4}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!13, !13, i64 0}
!20 = !{!16, !10, i64 0}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = !{!12, !13, i64 0}
!28 = !{!12, !13, i64 8}
!29 = !{!12, !13, i64 16}
!30 = !{!12, !13, i64 24}
!31 = !{!12, !13, i64 32}
!32 = !{!12, !13, i64 40}
!33 = !{!12, !13, i64 48}
!34 = !{!12, !13, i64 56}
!35 = !{!12, !13, i64 64}
!36 = !{!12, !13, i64 72}
!37 = !{!12, !13, i64 80}
!38 = !{!12, !13, i64 88}
!39 = !{!12, !13, i64 184}
!40 = !{!12, !13, i64 120}
!41 = !{!12, !13, i64 128}
!42 = !{!12, !13, i64 144}
!43 = !{!12, !13, i64 152}
!44 = !{!12, !13, i64 136}
!45 = !{!12, !13, i64 160}
!46 = !{!12, !13, i64 168}
!47 = !{!12, !13, i64 208}


; 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 uwtable
declare dso_local void @_Z6jacobiPPdiS_S0_i(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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 void @_Z6choldcPPdiS0_(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; 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 nounwind uwtable
declare dso_local void @_Z7AperB_TPPdS0_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 @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13customEllipseC2EP3pixi(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr nocapture noundef readonly %1, i32 noundef %2) unnamed_addr #0 align 2 {
  tail call void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272) %0)
  %4 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 %2, ptr %4, align 8, !tbaa !5
  %5 = sext i32 %2 to i64
  %6 = shl nsw i64 %5, 3
  %7 = tail call noalias ptr @malloc(i64 noundef %6) #10
  %8 = getelementptr inbounds i8, ptr %0, i64 248
  store ptr %7, ptr %8, align 8, !tbaa !12
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %1, i64 %6, i1 false)
  %9 = icmp sgt i32 %2, 0
  br i1 %9, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %3
  %wide.trip.count = zext nneg i32 %2 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %10 = icmp ult i32 %2, 4
  br i1 %10, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %.lr.ph

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.3, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %11 = getelementptr inbounds %struct.pix, ptr %7, i64 %indvars.iv.epil, i32 1
  %12 = load i32, ptr %11, align 4, !tbaa !13
  %13 = sub nsw i32 0, %12
  store i32 %13, ptr %11, align 4, !tbaa !13
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !15

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %3
  %14 = add nsw i32 %2, 1
  %15 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef %14, i32 noundef 7)
  %16 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %17 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %18 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %19 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %20 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %21 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %22 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znam(i64 noundef 56) #11
  %23 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %24 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %22, i8 0, i64 56, i1 false)
  %25 = getelementptr inbounds i8, ptr %17, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %26, i64 24
  store double -2.000000e+00, ptr %27, align 8, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %17, i64 16
  %29 = load ptr, ptr %28, align 8, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  store double 1.000000e+00, ptr %30, align 8, !tbaa !18
  %31 = getelementptr inbounds i8, ptr %17, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  store double -2.000000e+00, ptr %33, align 8, !tbaa !18
  %34 = load i32, ptr %4, align 8, !tbaa !5
  %35 = icmp slt i32 %34, 6
  br i1 %35, label %367, label %.preheader136

.preheader136:                                    ; preds = %._crit_edge
  %36 = load ptr, ptr %8, align 8, !tbaa !12
  %37 = zext nneg i32 %34 to i64
  %xtraiter179 = and i64 %37, 1
  %unroll_iter182 = and i64 %37, 2147483646
  %invariant.gep = getelementptr i8, ptr %36, i64 -8
  %invariant.gep184 = getelementptr i8, ptr %36, i64 -8
  br label %71

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.3, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %38 = getelementptr inbounds %struct.pix, ptr %7, i64 %indvars.iv, i32 1
  %39 = load i32, ptr %38, align 4, !tbaa !13
  %40 = sub nsw i32 0, %39
  store i32 %40, ptr %38, align 4, !tbaa !13
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %41 = getelementptr inbounds %struct.pix, ptr %7, i64 %indvars.iv.next, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !13
  %43 = sub nsw i32 0, %42
  store i32 %43, ptr %41, align 4, !tbaa !13
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %44 = getelementptr inbounds %struct.pix, ptr %7, i64 %indvars.iv.next.1, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !13
  %46 = sub nsw i32 0, %45
  store i32 %46, ptr %44, align 4, !tbaa !13
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %47 = getelementptr inbounds %struct.pix, ptr %7, i64 %indvars.iv.next.2, i32 1
  %48 = load i32, ptr %47, align 4, !tbaa !13
  %49 = sub nsw i32 0, %48
  store i32 %49, ptr %47, align 4, !tbaa !13
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !19

.unr-lcssa:                                       ; preds = %71
  %lcmp.mod181.not = icmp eq i64 %xtraiter179, 0
  br i1 %lcmp.mod181.not, label %64, label %.epilog-lcssa

.epilog-lcssa:                                    ; preds = %.unr-lcssa
  %50 = getelementptr %struct.pix, ptr %36, i64 %indvars.iv.next147.1
  %51 = getelementptr i8, ptr %50, i64 -8
  %52 = getelementptr inbounds ptr, ptr %15, i64 %indvars.iv.next147.1
  %53 = load ptr, ptr %52, align 8, !tbaa !17
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = load <2 x i32>, ptr %51, align 4, !tbaa !21
  %56 = sitofp <2 x i32> %55 to <2 x double>
  %57 = shufflevector <2 x double> %56, <2 x double> poison, <2 x i32> zeroinitializer
  %58 = fmul <2 x double> %57, %56
  store <2 x double> %58, ptr %54, align 8, !tbaa !18
  %59 = fmul <2 x double> %56, %56
  %60 = extractelement <2 x double> %59, i64 1
  %61 = getelementptr inbounds i8, ptr %53, i64 24
  store double %60, ptr %61, align 8, !tbaa !18
  %62 = getelementptr inbounds i8, ptr %53, i64 32
  store <2 x double> %56, ptr %62, align 8, !tbaa !18
  %63 = getelementptr inbounds i8, ptr %53, i64 48
  store double 1.000000e+00, ptr %63, align 8, !tbaa !18
  br label %64

64:                                               ; preds = %.unr-lcssa, %.epilog-lcssa
  tail call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef nonnull %15, ptr noundef nonnull %15, ptr noundef %16, i32 noundef %34, i32 noundef 6, i32 noundef %34, i32 noundef 6)
  tail call void @_Z6choldcPPdiS0_(ptr noundef %16, i32 noundef 6, ptr noundef %19)
  %65 = tail call noundef i32 @_Z7inversePPdS0_i(ptr noundef %19, ptr noundef %21, i32 noundef 6)
  tail call void @_Z7AperB_TPPdS0_S0_iiii(ptr noundef %17, ptr noundef %21, ptr noundef %18, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %21, ptr noundef %18, ptr noundef %20, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  tail call void @_Z6jacobiPPdiS_S0_i(ptr noundef %20, i32 noundef 6, ptr noundef nonnull %22, ptr noundef %23, i32 noundef 0)
  tail call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %21, ptr noundef %23, ptr noundef %24, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  %.phi.trans.insert = getelementptr inbounds i8, ptr %24, i64 48
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !17
  %66 = getelementptr inbounds i8, ptr %24, i64 8
  %67 = getelementptr inbounds i8, ptr %24, i64 16
  %68 = getelementptr inbounds i8, ptr %24, i64 24
  %69 = getelementptr inbounds i8, ptr %24, i64 32
  %70 = getelementptr inbounds i8, ptr %24, i64 40
  br label %.preheader135

71:                                               ; preds = %71, %.preheader136
  %indvars.iv146 = phi i64 [ 1, %.preheader136 ], [ %indvars.iv.next147.1, %71 ]
  %niter183 = phi i64 [ 0, %.preheader136 ], [ %niter183.next.1, %71 ]
  %gep = getelementptr %struct.pix, ptr %invariant.gep, i64 %indvars.iv146
  %72 = getelementptr inbounds ptr, ptr %15, i64 %indvars.iv146
  %73 = load ptr, ptr %72, align 8, !tbaa !17
  %74 = getelementptr inbounds i8, ptr %73, i64 8
  %75 = load <2 x i32>, ptr %gep, align 4, !tbaa !21
  %76 = sitofp <2 x i32> %75 to <2 x double>
  %77 = shufflevector <2 x double> %76, <2 x double> poison, <2 x i32> zeroinitializer
  %78 = fmul <2 x double> %77, %76
  store <2 x double> %78, ptr %74, align 8, !tbaa !18
  %79 = fmul <2 x double> %76, %76
  %80 = extractelement <2 x double> %79, i64 1
  %81 = getelementptr inbounds i8, ptr %73, i64 24
  store double %80, ptr %81, align 8, !tbaa !18
  %82 = getelementptr inbounds i8, ptr %73, i64 32
  store <2 x double> %76, ptr %82, align 8, !tbaa !18
  %83 = getelementptr inbounds i8, ptr %73, i64 48
  store double 1.000000e+00, ptr %83, align 8, !tbaa !18
  %indvars.iv.next147 = add nuw nsw i64 %indvars.iv146, 1
  %gep185 = getelementptr %struct.pix, ptr %invariant.gep184, i64 %indvars.iv.next147
  %84 = getelementptr inbounds ptr, ptr %15, i64 %indvars.iv.next147
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = load <2 x i32>, ptr %gep185, align 4, !tbaa !21
  %88 = sitofp <2 x i32> %87 to <2 x double>
  %89 = shufflevector <2 x double> %88, <2 x double> poison, <2 x i32> zeroinitializer
  %90 = fmul <2 x double> %89, %88
  store <2 x double> %90, ptr %86, align 8, !tbaa !18
  %91 = fmul <2 x double> %88, %88
  %92 = extractelement <2 x double> %91, i64 1
  %93 = getelementptr inbounds i8, ptr %85, i64 24
  store double %92, ptr %93, align 8, !tbaa !18
  %94 = getelementptr inbounds i8, ptr %85, i64 32
  store <2 x double> %88, ptr %94, align 8, !tbaa !18
  %95 = getelementptr inbounds i8, ptr %85, i64 48
  store double 1.000000e+00, ptr %95, align 8, !tbaa !18
  %indvars.iv.next147.1 = add nuw nsw i64 %indvars.iv146, 2
  %niter183.next.1 = add nuw nsw i64 %niter183, 2
  %niter183.ncmp.1 = icmp eq i64 %niter183.next.1, %unroll_iter182
  br i1 %niter183.ncmp.1, label %.unr-lcssa, label %71, !llvm.loop !22

.preheader135:                                    ; preds = %64, %.preheader135
  %96 = phi ptr [ %.pre, %64 ], [ %146, %.preheader135 ]
  %indvars.iv159 = phi i64 [ 1, %64 ], [ %indvars.iv.next160, %.preheader135 ]
  %97 = load ptr, ptr %66, align 8, !tbaa !17
  %98 = getelementptr inbounds double, ptr %97, i64 %indvars.iv159
  %99 = load double, ptr %98, align 8, !tbaa !18
  %100 = tail call double @llvm.fmuladd.f64(double %99, double %99, double 0.000000e+00)
  %101 = load ptr, ptr %67, align 8, !tbaa !17
  %102 = getelementptr inbounds double, ptr %101, i64 %indvars.iv159
  %103 = load double, ptr %102, align 8, !tbaa !18
  %104 = tail call double @llvm.fmuladd.f64(double %103, double %103, double %100)
  %105 = load ptr, ptr %68, align 8, !tbaa !17
  %106 = getelementptr inbounds double, ptr %105, i64 %indvars.iv159
  %107 = load double, ptr %106, align 8, !tbaa !18
  %108 = tail call double @llvm.fmuladd.f64(double %107, double %107, double %104)
  %109 = load ptr, ptr %69, align 8, !tbaa !17
  %110 = getelementptr inbounds double, ptr %109, i64 %indvars.iv159
  %111 = load double, ptr %110, align 8, !tbaa !18
  %112 = tail call double @llvm.fmuladd.f64(double %111, double %111, double %108)
  %113 = load ptr, ptr %70, align 8, !tbaa !17
  %114 = getelementptr inbounds double, ptr %113, i64 %indvars.iv159
  %115 = load double, ptr %114, align 8, !tbaa !18
  %116 = tail call double @llvm.fmuladd.f64(double %115, double %115, double %112)
  %117 = getelementptr inbounds double, ptr %96, i64 %indvars.iv159
  %118 = load double, ptr %117, align 8, !tbaa !18
  %119 = tail call double @llvm.fmuladd.f64(double %118, double %118, double %116)
  %120 = tail call double @sqrt(double noundef %119) #12
  %121 = load ptr, ptr %66, align 8, !tbaa !17
  %122 = getelementptr inbounds double, ptr %121, i64 %indvars.iv159
  %123 = load double, ptr %122, align 8, !tbaa !18
  %124 = fdiv double %123, %120
  store double %124, ptr %122, align 8, !tbaa !18
  %125 = tail call double @sqrt(double noundef %119) #12
  %126 = load ptr, ptr %67, align 8, !tbaa !17
  %127 = getelementptr inbounds double, ptr %126, i64 %indvars.iv159
  %128 = load double, ptr %127, align 8, !tbaa !18
  %129 = fdiv double %128, %125
  store double %129, ptr %127, align 8, !tbaa !18
  %130 = tail call double @sqrt(double noundef %119) #12
  %131 = load ptr, ptr %68, align 8, !tbaa !17
  %132 = getelementptr inbounds double, ptr %131, i64 %indvars.iv159
  %133 = load double, ptr %132, align 8, !tbaa !18
  %134 = fdiv double %133, %130
  store double %134, ptr %132, align 8, !tbaa !18
  %135 = tail call double @sqrt(double noundef %119) #12
  %136 = load ptr, ptr %69, align 8, !tbaa !17
  %137 = getelementptr inbounds double, ptr %136, i64 %indvars.iv159
  %138 = load double, ptr %137, align 8, !tbaa !18
  %139 = fdiv double %138, %135
  store double %139, ptr %137, align 8, !tbaa !18
  %140 = tail call double @sqrt(double noundef %119) #12
  %141 = load ptr, ptr %70, align 8, !tbaa !17
  %142 = getelementptr inbounds double, ptr %141, i64 %indvars.iv159
  %143 = load double, ptr %142, align 8, !tbaa !18
  %144 = fdiv double %143, %140
  store double %144, ptr %142, align 8, !tbaa !18
  %145 = tail call double @sqrt(double noundef %119) #12
  %146 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !17
  %147 = getelementptr inbounds double, ptr %146, i64 %indvars.iv159
  %148 = load double, ptr %147, align 8, !tbaa !18
  %149 = fdiv double %148, %145
  store double %149, ptr %147, align 8, !tbaa !18
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next160, 7
  br i1 %exitcond162.not, label %.preheader.preheader, label %.preheader135, !llvm.loop !23

.preheader.preheader:                             ; preds = %.preheader135
  %150 = getelementptr inbounds i8, ptr %24, i64 8
  %151 = getelementptr inbounds i8, ptr %24, i64 16
  %152 = getelementptr inbounds i8, ptr %24, i64 24
  %153 = getelementptr inbounds i8, ptr %24, i64 32
  %154 = getelementptr inbounds i8, ptr %24, i64 40
  %155 = getelementptr inbounds i8, ptr %22, i64 8
  %156 = load double, ptr %155, align 8, !tbaa !18
  %157 = fcmp olt double %156, 0.000000e+00
  %158 = tail call double @llvm.fabs.f64(double %156)
  %159 = fcmp ogt double %158, 0x3BFD83C94FB6D2AC
  %or.cond = and i1 %157, %159
  %160 = getelementptr inbounds i8, ptr %22, i64 16
  %161 = load double, ptr %160, align 8, !tbaa !18
  %162 = fcmp olt double %161, 0.000000e+00
  %163 = tail call double @llvm.fabs.f64(double %161)
  %164 = fcmp ogt double %163, 0x3BFD83C94FB6D2AC
  %or.cond.1 = and i1 %162, %164
  %165 = zext i1 %or.cond to i64
  %166 = getelementptr inbounds i8, ptr %22, i64 24
  %167 = load double, ptr %166, align 8, !tbaa !18
  %168 = fcmp olt double %167, 0.000000e+00
  %169 = tail call double @llvm.fabs.f64(double %167)
  %170 = fcmp ogt double %169, 0x3BFD83C94FB6D2AC
  %or.cond.2 = and i1 %168, %170
  %171 = select i1 %or.cond.1, i64 2, i64 %165
  %172 = getelementptr inbounds i8, ptr %22, i64 32
  %173 = load double, ptr %172, align 8, !tbaa !18
  %174 = fcmp olt double %173, 0.000000e+00
  %175 = tail call double @llvm.fabs.f64(double %173)
  %176 = fcmp ogt double %175, 0x3BFD83C94FB6D2AC
  %or.cond.3 = and i1 %174, %176
  %177 = select i1 %or.cond.2, i64 3, i64 %171
  %178 = getelementptr inbounds i8, ptr %22, i64 40
  %179 = load double, ptr %178, align 8, !tbaa !18
  %180 = fcmp olt double %179, 0.000000e+00
  %181 = tail call double @llvm.fabs.f64(double %179)
  %182 = fcmp ogt double %181, 0x3BFD83C94FB6D2AC
  %or.cond.4 = and i1 %180, %182
  %183 = select i1 %or.cond.3, i64 4, i64 %177
  %184 = getelementptr inbounds i8, ptr %22, i64 48
  %185 = load double, ptr %184, align 8, !tbaa !18
  %186 = fcmp olt double %185, 0.000000e+00
  %187 = tail call double @llvm.fabs.f64(double %185)
  %188 = fcmp ogt double %187, 0x3BFD83C94FB6D2AC
  %or.cond.5 = and i1 %186, %188
  %189 = select i1 %or.cond.4, i64 5, i64 %183
  %190 = load ptr, ptr %150, align 8, !tbaa !17
  %191 = select i1 %or.cond.5, i64 6, i64 %189
  %192 = getelementptr inbounds double, ptr %190, i64 %191
  %193 = load double, ptr %192, align 8, !tbaa !18
  store double %193, ptr %0, align 8, !tbaa !24
  %194 = load ptr, ptr %151, align 8, !tbaa !17
  %195 = getelementptr inbounds double, ptr %194, i64 %191
  %196 = load double, ptr %195, align 8, !tbaa !18
  %197 = getelementptr inbounds i8, ptr %0, i64 8
  store double %196, ptr %197, align 8, !tbaa !25
  %198 = load ptr, ptr %152, align 8, !tbaa !17
  %199 = getelementptr inbounds double, ptr %198, i64 %191
  %200 = load double, ptr %199, align 8, !tbaa !18
  %201 = getelementptr inbounds i8, ptr %0, i64 16
  store double %200, ptr %201, align 8, !tbaa !26
  %202 = load ptr, ptr %153, align 8, !tbaa !17
  %203 = getelementptr inbounds double, ptr %202, i64 %191
  %204 = load double, ptr %203, align 8, !tbaa !18
  %205 = getelementptr inbounds i8, ptr %0, i64 24
  store double %204, ptr %205, align 8, !tbaa !27
  %206 = load ptr, ptr %154, align 8, !tbaa !17
  %207 = getelementptr inbounds double, ptr %206, i64 %191
  %208 = load double, ptr %207, align 8, !tbaa !18
  %209 = getelementptr inbounds i8, ptr %0, i64 32
  store double %208, ptr %209, align 8, !tbaa !28
  %210 = getelementptr inbounds double, ptr %146, i64 %191
  %211 = load double, ptr %210, align 8, !tbaa !18
  %212 = getelementptr inbounds i8, ptr %0, i64 40
  %213 = fdiv double %196, %193
  store double %213, ptr %197, align 8, !tbaa !25
  %214 = fdiv double %211, %193
  store double %214, ptr %212, align 8, !tbaa !29
  %215 = insertelement <2 x double> poison, double %193, i64 0
  %216 = insertelement <2 x double> %215, double %200, i64 1
  %217 = shufflevector <2 x double> %215, <2 x double> poison, <2 x i32> zeroinitializer
  %218 = fdiv <2 x double> %216, %217
  %219 = insertelement <2 x double> poison, double %204, i64 0
  %220 = insertelement <2 x double> %219, double %208, i64 1
  %221 = fdiv <2 x double> %220, %217
  %222 = shufflevector <2 x double> %218, <2 x double> %221, <2 x i32> <i32 1, i32 2>
  store <2 x double> %222, ptr %201, align 8, !tbaa !18
  %223 = extractelement <2 x double> %221, i64 1
  store double %223, ptr %209, align 8, !tbaa !28
  %224 = extractelement <2 x double> %218, i64 0
  store double %224, ptr %0, align 8, !tbaa !24
  %225 = fcmp oeq double %213, 0.000000e+00
  br i1 %225, label %226, label %230

226:                                              ; preds = %.preheader.preheader
  %227 = getelementptr inbounds i8, ptr %0, i64 48
  store double %224, ptr %227, align 8, !tbaa !30
  %228 = getelementptr inbounds i8, ptr %0, i64 56
  store double %213, ptr %228, align 8, !tbaa !31
  %229 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x double> %222, ptr %229, align 8, !tbaa !18
  br label %311

230:                                              ; preds = %.preheader.preheader
  %shift = shufflevector <2 x double> %218, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %231 = fsub <2 x double> %218, %shift
  %232 = extractelement <2 x double> %231, i64 0
  %233 = fdiv double %213, %232
  %234 = tail call double @atan(double noundef %233) #12
  %235 = fmul double %234, 5.000000e-01
  %236 = getelementptr inbounds i8, ptr %0, i64 184
  store double %235, ptr %236, align 8, !tbaa !32
  %237 = load double, ptr %0, align 8, !tbaa !24
  %238 = fmul double %235, 2.000000e+00
  %239 = tail call double @cos(double noundef %238) #12
  %240 = fadd double %239, 1.000000e+00
  %241 = load double, ptr %197, align 8, !tbaa !25
  %242 = load double, ptr %236, align 8, !tbaa !32
  %243 = fmul double %242, 2.000000e+00
  %244 = tail call double @sin(double noundef %243) #12
  %245 = tail call double @llvm.fmuladd.f64(double %241, double %244, double %240)
  %246 = load double, ptr %201, align 8, !tbaa !26
  %247 = load double, ptr %236, align 8, !tbaa !32
  %248 = fmul double %247, 2.000000e+00
  %249 = tail call double @cos(double noundef %248) #12
  %250 = fsub double 1.000000e+00, %249
  %251 = tail call double @llvm.fmuladd.f64(double %246, double %250, double %245)
  %252 = fmul double %237, %251
  %253 = fmul double %252, 5.000000e-01
  %254 = getelementptr inbounds i8, ptr %0, i64 48
  store double %253, ptr %254, align 8, !tbaa !30
  %255 = load double, ptr %201, align 8, !tbaa !26
  %256 = load double, ptr %0, align 8, !tbaa !24
  %257 = fsub double %255, %256
  %258 = load double, ptr %236, align 8, !tbaa !32
  %259 = fmul double %258, 2.000000e+00
  %260 = tail call double @sin(double noundef %259) #12
  %261 = load double, ptr %197, align 8, !tbaa !25
  %262 = load double, ptr %236, align 8, !tbaa !32
  %263 = fmul double %262, 2.000000e+00
  %264 = tail call double @cos(double noundef %263) #12
  %265 = fmul double %261, %264
  %266 = tail call double @llvm.fmuladd.f64(double %257, double %260, double %265)
  %267 = getelementptr inbounds i8, ptr %0, i64 56
  store double %266, ptr %267, align 8, !tbaa !31
  %268 = load double, ptr %0, align 8, !tbaa !24
  %269 = load double, ptr %236, align 8, !tbaa !32
  %270 = fmul double %269, 2.000000e+00
  %271 = tail call double @cos(double noundef %270) #12
  %272 = fsub double 1.000000e+00, %271
  %273 = load double, ptr %197, align 8, !tbaa !25
  %274 = load double, ptr %236, align 8, !tbaa !32
  %275 = fmul double %274, 2.000000e+00
  %276 = tail call double @sin(double noundef %275) #12
  %277 = fneg double %273
  %278 = tail call double @llvm.fmuladd.f64(double %277, double %276, double %272)
  %279 = load double, ptr %201, align 8, !tbaa !26
  %280 = load double, ptr %236, align 8, !tbaa !32
  %281 = fmul double %280, 2.000000e+00
  %282 = tail call double @cos(double noundef %281) #12
  %283 = fadd double %282, 1.000000e+00
  %284 = tail call double @llvm.fmuladd.f64(double %279, double %283, double %278)
  %285 = fmul double %268, %284
  %286 = fmul double %285, 5.000000e-01
  %287 = getelementptr inbounds i8, ptr %0, i64 64
  store double %286, ptr %287, align 8, !tbaa !33
  %288 = load double, ptr %205, align 8, !tbaa !27
  %289 = load double, ptr %236, align 8, !tbaa !32
  %290 = tail call double @cos(double noundef %289) #12
  %291 = load double, ptr %209, align 8, !tbaa !28
  %292 = load double, ptr %236, align 8, !tbaa !32
  %293 = tail call double @sin(double noundef %292) #12
  %294 = fmul double %291, %293
  %295 = tail call double @llvm.fmuladd.f64(double %288, double %290, double %294)
  %296 = getelementptr inbounds i8, ptr %0, i64 72
  store double %295, ptr %296, align 8, !tbaa !34
  %297 = load double, ptr %205, align 8, !tbaa !27
  %298 = fneg double %297
  %299 = load double, ptr %236, align 8, !tbaa !32
  %300 = tail call double @sin(double noundef %299) #12
  %301 = load double, ptr %209, align 8, !tbaa !28
  %302 = load double, ptr %236, align 8, !tbaa !32
  %303 = tail call double @cos(double noundef %302) #12
  %304 = fmul double %301, %303
  %305 = tail call double @llvm.fmuladd.f64(double %298, double %300, double %304)
  %306 = load double, ptr %212, align 8, !tbaa !29
  %307 = load <2 x double>, ptr %296, align 8
  %308 = load <2 x double>, ptr %254, align 8
  %.pre173 = load double, ptr %287, align 8, !tbaa !33
  %309 = insertelement <2 x double> %307, double %305, i64 1
  %310 = insertelement <2 x double> %308, double %.pre173, i64 1
  br label %311

311:                                              ; preds = %230, %226
  %.sink = phi double [ %214, %226 ], [ %306, %230 ]
  %312 = phi <2 x double> [ %221, %226 ], [ %309, %230 ]
  %313 = phi <2 x double> [ %218, %226 ], [ %310, %230 ]
  %314 = getelementptr inbounds i8, ptr %0, i64 80
  %315 = extractelement <2 x double> %312, i64 1
  store double %315, ptr %314, align 8
  %316 = getelementptr inbounds i8, ptr %0, i64 88
  store double %.sink, ptr %316, align 8
  %317 = fdiv <2 x double> %312, %313
  %318 = getelementptr inbounds i8, ptr %0, i64 120
  %319 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x double> %317, ptr %318, align 8, !tbaa !18
  %320 = getelementptr inbounds i8, ptr %0, i64 144
  %321 = fmul <2 x double> %317, <double -5.000000e-01, double -5.000000e-01>
  store <2 x double> %321, ptr %320, align 8, !tbaa !18
  %322 = fmul <2 x double> %321, %321
  %323 = extractelement <2 x double> %322, i64 0
  %324 = fmul <2 x double> %321, %321
  %325 = fmul <2 x double> %313, %324
  %326 = extractelement <2 x double> %325, i64 1
  %327 = extractelement <2 x double> %313, i64 0
  %328 = tail call double @llvm.fmuladd.f64(double %327, double %323, double %326)
  %329 = fsub double %328, %.sink
  %330 = getelementptr inbounds i8, ptr %0, i64 136
  store double %329, ptr %330, align 8, !tbaa !35
  %331 = fdiv double %329, %327
  %332 = tail call double @sqrt(double noundef %331) #12
  %333 = getelementptr inbounds i8, ptr %0, i64 160
  store double %332, ptr %333, align 8, !tbaa !36
  %334 = load double, ptr %330, align 8, !tbaa !35
  %335 = load double, ptr %319, align 8, !tbaa !33
  %336 = fdiv double %334, %335
  %337 = tail call double @sqrt(double noundef %336) #12
  %338 = getelementptr inbounds i8, ptr %0, i64 168
  store double %337, ptr %338, align 8, !tbaa !37
  %339 = load double, ptr %333, align 8, !tbaa !36
  %340 = fneg double %337
  %341 = fmul double %337, %340
  %342 = tail call double @llvm.fmuladd.f64(double %339, double %339, double %341)
  %343 = getelementptr inbounds i8, ptr %0, i64 208
  store double %342, ptr %343, align 8, !tbaa !38
  %344 = getelementptr inbounds i8, ptr %0, i64 184
  %345 = load double, ptr %344, align 8, !tbaa !32
  %346 = fcmp une double %345, 0.000000e+00
  br i1 %346, label %347, label %363

347:                                              ; preds = %311
  %348 = getelementptr inbounds i8, ptr %0, i64 152
  %349 = load double, ptr %320, align 8, !tbaa !39
  %350 = load double, ptr %348, align 8, !tbaa !40
  %351 = tail call double @cos(double noundef %345) #12
  %352 = load double, ptr %344, align 8, !tbaa !32
  %353 = tail call double @sin(double noundef %352) #12
  %354 = fneg double %350
  %355 = fmul double %353, %354
  %356 = tail call double @llvm.fmuladd.f64(double %349, double %351, double %355)
  store double %356, ptr %320, align 8, !tbaa !39
  %357 = load double, ptr %344, align 8, !tbaa !32
  %358 = tail call double @sin(double noundef %357) #12
  %359 = load double, ptr %344, align 8, !tbaa !32
  %360 = tail call double @cos(double noundef %359) #12
  %361 = fmul double %350, %360
  %362 = tail call double @llvm.fmuladd.f64(double %349, double %358, double %361)
  store double %362, ptr %348, align 8, !tbaa !40
  br label %363

363:                                              ; preds = %347, %311
  %364 = load i32, ptr %4, align 8, !tbaa !5
  %365 = add nsw i32 %364, 1
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %15, i32 noundef %365)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %16, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %17, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %18, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %19, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %20, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %21, i32 noundef 7)
  tail call void @_ZdaPv(ptr noundef nonnull %22) #13
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %23, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef nonnull %24, i32 noundef 7)
  %366 = load ptr, ptr %8, align 8, !tbaa !12
  tail call void @free(ptr noundef %366) #12
  br label %367

367:                                              ; preds = %._crit_edge, %363
  ret void
}

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8

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

; 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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #9

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, 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 #10 = { nounwind allocsize(0) }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { nounwind }
attributes #13 = { 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, !10, i64 216}
!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, !11, i64 248}
!13 = !{!14, !10, i64 4}
!14 = !{!"_ZTS3pix", !10, i64 0, !10, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = !{!6, !7, i64 0}
!25 = !{!6, !7, i64 8}
!26 = !{!6, !7, i64 16}
!27 = !{!6, !7, i64 24}
!28 = !{!6, !7, i64 32}
!29 = !{!6, !7, i64 40}
!30 = !{!6, !7, i64 48}
!31 = !{!6, !7, i64 56}
!32 = !{!6, !7, i64 184}
!33 = !{!6, !7, i64 64}
!34 = !{!6, !7, i64 72}
!35 = !{!6, !7, i64 136}
!36 = !{!6, !7, i64 160}
!37 = !{!6, !7, i64 168}
!38 = !{!6, !7, i64 208}
!39 = !{!6, !7, i64 144}
!40 = !{!6, !7, i64 152}


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