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

; 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 }

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

65:                                               ; preds = %84, %4
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %68 = load i32, ptr %67, align 8, !tbaa !11
  %69 = icmp slt i32 %66, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  br label %87

71:                                               ; preds = %65
  %72 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 29
  %73 = load ptr, ptr %72, align 8, !tbaa !15
  %74 = load i32, ptr %9, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !16
  %78 = fneg double %77
  %79 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 29
  %80 = load ptr, ptr %79, align 8, !tbaa !15
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  store double %78, ptr %83, align 8, !tbaa !16
  br label %84

84:                                               ; preds = %71
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %9, align 4, !tbaa !9
  br label %65, !llvm.loop !17

87:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %88 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %89 = load i32, ptr %88, align 8, !tbaa !11
  %90 = add nsw i32 %89, 1
  %91 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef %90, i32 noundef 7)
  store ptr %91, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %92 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %92, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  %93 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %93, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %94 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %94, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %95 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %95, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %96 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %96, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %97 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %97, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %98 = call noalias noundef nonnull ptr @_Znam(i64 noundef 56) #12
  store ptr %98, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %99 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %99, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %100 = call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  store ptr %100, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #11
  store i32 0, ptr %22, align 4, !tbaa !9
  %101 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %101, i8 0, i64 56, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #11
  store i32 1, ptr %23, align 4, !tbaa !9
  %102 = load i32, ptr %23, align 4, !tbaa !9
  switch i32 %102, label %129 [
    i32 1, label %103
    i32 0, label %116
  ]

103:                                              ; preds = %87
  %104 = load ptr, ptr %12, 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 3
  store double -2.000000e+00, ptr %107, align 8, !tbaa !16
  %108 = load ptr, ptr %12, 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 !16
  %112 = load ptr, ptr %12, 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 1
  store double -2.000000e+00, ptr %115, align 8, !tbaa !16
  br label %129

116:                                              ; preds = %87
  %117 = load ptr, ptr %12, align 8, !tbaa !5
  %118 = getelementptr inbounds ptr, ptr %117, i64 1
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds double, ptr %119, i64 1
  store double 2.000000e+00, ptr %120, align 8, !tbaa !16
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = getelementptr inbounds ptr, ptr %121, i64 2
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = getelementptr inbounds double, ptr %123, i64 2
  store double 1.000000e+00, ptr %124, align 8, !tbaa !16
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = getelementptr inbounds ptr, ptr %125, i64 3
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds double, ptr %127, i64 3
  store double 2.000000e+00, ptr %128, align 8, !tbaa !16
  br label %129

129:                                              ; preds = %116, %103, %87
  %130 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %131 = load i32, ptr %130, align 8, !tbaa !11
  %132 = icmp slt i32 %131, 6
  br i1 %132, label %133, label %134

133:                                              ; preds = %129
  store i32 1, ptr %24, align 4
  br label %681

134:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #11
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %203, %134
  %136 = load i32, ptr %25, align 4, !tbaa !9
  %137 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %138 = load i32, ptr %137, align 8, !tbaa !11
  %139 = icmp sle i32 %136, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %135
  store i32 6, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  br label %206

141:                                              ; preds = %135
  %142 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 28
  %143 = load ptr, ptr %142, align 8, !tbaa !14
  %144 = load i32, ptr %25, align 4, !tbaa !9
  %145 = sub nsw i32 %144, 1
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds double, ptr %143, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !16
  store double %148, ptr %20, align 8, !tbaa !16
  %149 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 29
  %150 = load ptr, ptr %149, align 8, !tbaa !15
  %151 = load i32, ptr %25, align 4, !tbaa !9
  %152 = sub nsw i32 %151, 1
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds double, ptr %150, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !16
  store double %155, ptr %21, align 8, !tbaa !16
  %156 = load double, ptr %20, align 8, !tbaa !16
  %157 = load double, ptr %20, align 8, !tbaa !16
  %158 = fmul double %156, %157
  %159 = load ptr, ptr %10, align 8, !tbaa !5
  %160 = load i32, ptr %25, 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 1
  store double %158, ptr %164, align 8, !tbaa !16
  %165 = load double, ptr %20, align 8, !tbaa !16
  %166 = load double, ptr %21, align 8, !tbaa !16
  %167 = fmul double %165, %166
  %168 = load ptr, ptr %10, align 8, !tbaa !5
  %169 = load i32, ptr %25, 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 2
  store double %167, ptr %173, align 8, !tbaa !16
  %174 = load double, ptr %21, align 8, !tbaa !16
  %175 = load double, ptr %21, align 8, !tbaa !16
  %176 = fmul double %174, %175
  %177 = load ptr, ptr %10, align 8, !tbaa !5
  %178 = load i32, ptr %25, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds ptr, ptr %177, i64 %179
  %181 = load ptr, ptr %180, align 8, !tbaa !5
  %182 = getelementptr inbounds double, ptr %181, i64 3
  store double %176, ptr %182, align 8, !tbaa !16
  %183 = load double, ptr %20, align 8, !tbaa !16
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = load i32, ptr %25, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds ptr, ptr %184, i64 %186
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds double, ptr %188, i64 4
  store double %183, ptr %189, align 8, !tbaa !16
  %190 = load double, ptr %21, align 8, !tbaa !16
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  %192 = load i32, ptr %25, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds ptr, ptr %191, i64 %193
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  %196 = getelementptr inbounds double, ptr %195, i64 5
  store double %190, ptr %196, align 8, !tbaa !16
  %197 = load ptr, ptr %10, align 8, !tbaa !5
  %198 = load i32, ptr %25, align 4, !tbaa !9
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds ptr, ptr %197, i64 %199
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = getelementptr inbounds double, ptr %201, i64 6
  store double 1.000000e+00, ptr %202, align 8, !tbaa !16
  br label %203

203:                                              ; preds = %141
  %204 = load i32, ptr %25, align 4, !tbaa !9
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %25, align 4, !tbaa !9
  br label %135, !llvm.loop !19

206:                                              ; preds = %140
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = load ptr, ptr %10, align 8, !tbaa !5
  %209 = load ptr, ptr %11, align 8, !tbaa !5
  %210 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %211 = load i32, ptr %210, align 8, !tbaa !11
  %212 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %213 = load i32, ptr %212, align 8, !tbaa !11
  call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %207, ptr noundef %208, ptr noundef %209, i32 noundef %211, i32 noundef 6, i32 noundef %213, i32 noundef 6)
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  %215 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_Z6choldcPPdiS0_(ptr noundef %214, i32 noundef 6, ptr noundef %215)
  %216 = load ptr, ptr %14, align 8, !tbaa !5
  %217 = load ptr, ptr %16, align 8, !tbaa !5
  %218 = call noundef i32 @_Z7inversePPdS0_i(ptr noundef %216, ptr noundef %217, i32 noundef 6)
  %219 = load ptr, ptr %12, align 8, !tbaa !5
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  %221 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_Z7AperB_TPPdS0_S0_iiii(ptr noundef %219, ptr noundef %220, ptr noundef %221, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  %222 = load ptr, ptr %16, align 8, !tbaa !5
  %223 = load ptr, ptr %13, align 8, !tbaa !5
  %224 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %222, ptr noundef %223, ptr noundef %224, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  %225 = load ptr, ptr %15, align 8, !tbaa !5
  %226 = load ptr, ptr %17, align 8, !tbaa !5
  %227 = load ptr, ptr %18, align 8, !tbaa !5
  %228 = load i32, ptr %22, align 4, !tbaa !9
  call void @_Z6jacobiPPdiS_S0_i(ptr noundef %225, i32 noundef 6, ptr noundef %226, ptr noundef %227, i32 noundef %228)
  %229 = load ptr, ptr %16, align 8, !tbaa !5
  %230 = load ptr, ptr %18, align 8, !tbaa !5
  %231 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %229, ptr noundef %230, ptr noundef %231, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #11
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %232

232:                                              ; preds = %287, %206
  %233 = load i32, ptr %26, align 4, !tbaa !9
  %234 = icmp sle i32 %233, 6
  br i1 %234, label %236, label %235

235:                                              ; preds = %232
  store i32 9, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  br label %290

236:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  store double 0.000000e+00, ptr %27, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #11
  store i32 1, ptr %28, align 4, !tbaa !9
  br label %237

237:                                              ; preds = %262, %236
  %238 = load i32, ptr %28, align 4, !tbaa !9
  %239 = icmp sle i32 %238, 6
  br i1 %239, label %241, label %240

240:                                              ; preds = %237
  store i32 12, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #11
  br label %265

241:                                              ; preds = %237
  %242 = load ptr, ptr %19, align 8, !tbaa !5
  %243 = load i32, ptr %28, 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 %26, 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 !16
  %251 = load ptr, ptr %19, align 8, !tbaa !5
  %252 = load i32, ptr %28, align 4, !tbaa !9
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds ptr, ptr %251, i64 %253
  %255 = load ptr, ptr %254, align 8, !tbaa !5
  %256 = load i32, ptr %26, align 4, !tbaa !9
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds double, ptr %255, i64 %257
  %259 = load double, ptr %258, align 8, !tbaa !16
  %260 = load double, ptr %27, align 8, !tbaa !16
  %261 = call double @llvm.fmuladd.f64(double %250, double %259, double %260)
  store double %261, ptr %27, align 8, !tbaa !16
  br label %262

262:                                              ; preds = %241
  %263 = load i32, ptr %28, align 4, !tbaa !9
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %28, align 4, !tbaa !9
  br label %237, !llvm.loop !20

265:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  store i32 1, ptr %29, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %283, %265
  %267 = load i32, ptr %29, align 4, !tbaa !9
  %268 = icmp sle i32 %267, 6
  br i1 %268, label %270, label %269

269:                                              ; preds = %266
  store i32 15, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  br label %286

270:                                              ; preds = %266
  %271 = load double, ptr %27, align 8, !tbaa !16
  %272 = call double @sqrt(double noundef %271) #11
  %273 = load ptr, ptr %19, align 8, !tbaa !5
  %274 = load i32, ptr %29, align 4, !tbaa !9
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds ptr, ptr %273, i64 %275
  %277 = load ptr, ptr %276, align 8, !tbaa !5
  %278 = load i32, ptr %26, align 4, !tbaa !9
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds double, ptr %277, i64 %279
  %281 = load double, ptr %280, align 8, !tbaa !16
  %282 = fdiv double %281, %272
  store double %282, ptr %280, align 8, !tbaa !16
  br label %283

283:                                              ; preds = %270
  %284 = load i32, ptr %29, align 4, !tbaa !9
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %29, align 4, !tbaa !9
  br label %266, !llvm.loop !21

286:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %287

287:                                              ; preds = %286
  %288 = load i32, ptr %26, align 4, !tbaa !9
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %26, align 4, !tbaa !9
  br label %232, !llvm.loop !22

290:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  store double 0x3BFD83C94FB6D2AC, ptr %30, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  store double 1.000000e+21, ptr %31, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #11
  store i32 0, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #11
  %291 = load i32, ptr %23, align 4, !tbaa !9
  switch i32 %291, label %347 [
    i32 0, label %292
    i32 1, label %320
  ]

292:                                              ; preds = %290
  store i32 1, ptr %33, align 4, !tbaa !9
  br label %293

293:                                              ; preds = %316, %292
  %294 = load i32, ptr %33, align 4, !tbaa !9
  %295 = icmp sle i32 %294, 6
  br i1 %295, label %296, label %319

296:                                              ; preds = %293
  %297 = load ptr, ptr %17, align 8, !tbaa !5
  %298 = load i32, ptr %33, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds double, ptr %297, i64 %299
  %301 = load double, ptr %300, align 8, !tbaa !16
  %302 = load double, ptr %31, align 8, !tbaa !16
  %303 = fcmp olt double %301, %302
  br i1 %303, label %304, label %315

304:                                              ; preds = %296
  %305 = load ptr, ptr %17, align 8, !tbaa !5
  %306 = load i32, ptr %33, align 4, !tbaa !9
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds double, ptr %305, i64 %307
  %309 = load double, ptr %308, align 8, !tbaa !16
  %310 = call double @llvm.fabs.f64(double %309)
  %311 = load double, ptr %30, align 8, !tbaa !16
  %312 = fcmp ogt double %310, %311
  br i1 %312, label %313, label %315

313:                                              ; preds = %304
  %314 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %314, ptr %32, align 4, !tbaa !9
  br label %315

315:                                              ; preds = %313, %304, %296
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %33, align 4, !tbaa !9
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %33, align 4, !tbaa !9
  br label %293, !llvm.loop !23

319:                                              ; preds = %293
  br label %347

320:                                              ; preds = %290
  store i32 1, ptr %33, align 4, !tbaa !9
  br label %321

321:                                              ; preds = %343, %320
  %322 = load i32, ptr %33, align 4, !tbaa !9
  %323 = icmp sle i32 %322, 6
  br i1 %323, label %324, label %346

324:                                              ; preds = %321
  %325 = load ptr, ptr %17, align 8, !tbaa !5
  %326 = load i32, ptr %33, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds double, ptr %325, i64 %327
  %329 = load double, ptr %328, align 8, !tbaa !16
  %330 = fcmp olt double %329, 0.000000e+00
  br i1 %330, label %331, label %342

331:                                              ; preds = %324
  %332 = load ptr, ptr %17, align 8, !tbaa !5
  %333 = load i32, ptr %33, align 4, !tbaa !9
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds double, ptr %332, i64 %334
  %336 = load double, ptr %335, align 8, !tbaa !16
  %337 = call double @llvm.fabs.f64(double %336)
  %338 = load double, ptr %30, align 8, !tbaa !16
  %339 = fcmp ogt double %337, %338
  br i1 %339, label %340, label %342

340:                                              ; preds = %331
  %341 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %341, ptr %32, align 4, !tbaa !9
  br label %342

342:                                              ; preds = %340, %331, %324
  br label %343

343:                                              ; preds = %342
  %344 = load i32, ptr %33, align 4, !tbaa !9
  %345 = add nsw i32 %344, 1
  store i32 %345, ptr %33, align 4, !tbaa !9
  br label %321, !llvm.loop !24

346:                                              ; preds = %321
  br label %347

347:                                              ; preds = %346, %319, %290
  %348 = load ptr, ptr %19, 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 %32, 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 !16
  %355 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  store double %354, ptr %355, align 8, !tbaa !25
  %356 = load ptr, ptr %19, align 8, !tbaa !5
  %357 = getelementptr inbounds ptr, ptr %356, i64 2
  %358 = load ptr, ptr %357, align 8, !tbaa !5
  %359 = load i32, ptr %32, align 4, !tbaa !9
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds double, ptr %358, i64 %360
  %362 = load double, ptr %361, align 8, !tbaa !16
  %363 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 1
  store double %362, ptr %363, align 8, !tbaa !26
  %364 = load ptr, ptr %19, align 8, !tbaa !5
  %365 = getelementptr inbounds ptr, ptr %364, i64 3
  %366 = load ptr, ptr %365, align 8, !tbaa !5
  %367 = load i32, ptr %32, align 4, !tbaa !9
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds double, ptr %366, i64 %368
  %370 = load double, ptr %369, align 8, !tbaa !16
  %371 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 2
  store double %370, ptr %371, align 8, !tbaa !27
  %372 = load ptr, ptr %19, align 8, !tbaa !5
  %373 = getelementptr inbounds ptr, ptr %372, i64 4
  %374 = load ptr, ptr %373, align 8, !tbaa !5
  %375 = load i32, ptr %32, align 4, !tbaa !9
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds double, ptr %374, i64 %376
  %378 = load double, ptr %377, align 8, !tbaa !16
  %379 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 3
  store double %378, ptr %379, align 8, !tbaa !28
  %380 = load ptr, ptr %19, align 8, !tbaa !5
  %381 = getelementptr inbounds ptr, ptr %380, i64 5
  %382 = load ptr, ptr %381, align 8, !tbaa !5
  %383 = load i32, ptr %32, align 4, !tbaa !9
  %384 = sext i32 %383 to i64
  %385 = getelementptr inbounds double, ptr %382, i64 %384
  %386 = load double, ptr %385, align 8, !tbaa !16
  %387 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 4
  store double %386, ptr %387, align 8, !tbaa !29
  %388 = load ptr, ptr %19, align 8, !tbaa !5
  %389 = getelementptr inbounds ptr, ptr %388, i64 6
  %390 = load ptr, ptr %389, align 8, !tbaa !5
  %391 = load i32, ptr %32, align 4, !tbaa !9
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds double, ptr %390, i64 %392
  %394 = load double, ptr %393, align 8, !tbaa !16
  %395 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 5
  store double %394, ptr %395, align 8, !tbaa !30
  %396 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %397 = load double, ptr %396, align 8, !tbaa !25
  %398 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 1
  %399 = load double, ptr %398, align 8, !tbaa !26
  %400 = fdiv double %399, %397
  store double %400, ptr %398, align 8, !tbaa !26
  %401 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %402 = load double, ptr %401, align 8, !tbaa !25
  %403 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 2
  %404 = load double, ptr %403, align 8, !tbaa !27
  %405 = fdiv double %404, %402
  store double %405, ptr %403, align 8, !tbaa !27
  %406 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %407 = load double, ptr %406, align 8, !tbaa !25
  %408 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 3
  %409 = load double, ptr %408, align 8, !tbaa !28
  %410 = fdiv double %409, %407
  store double %410, ptr %408, align 8, !tbaa !28
  %411 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %412 = load double, ptr %411, align 8, !tbaa !25
  %413 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 4
  %414 = load double, ptr %413, align 8, !tbaa !29
  %415 = fdiv double %414, %412
  store double %415, ptr %413, align 8, !tbaa !29
  %416 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %417 = load double, ptr %416, align 8, !tbaa !25
  %418 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 5
  %419 = load double, ptr %418, align 8, !tbaa !30
  %420 = fdiv double %419, %417
  store double %420, ptr %418, align 8, !tbaa !30
  %421 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %422 = load double, ptr %421, align 8, !tbaa !25
  %423 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %424 = load double, ptr %423, align 8, !tbaa !25
  %425 = fdiv double %424, %422
  store double %425, ptr %423, align 8, !tbaa !25
  %426 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 1
  %427 = load double, ptr %426, align 8, !tbaa !26
  %428 = fcmp oeq double %427, 0.000000e+00
  br i1 %428, label %429, label %448

429:                                              ; preds = %347
  %430 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 0
  %431 = load double, ptr %430, align 8, !tbaa !25
  %432 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 6
  store double %431, ptr %432, align 8, !tbaa !31
  %433 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 1
  %434 = load double, ptr %433, align 8, !tbaa !26
  %435 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 7
  store double %434, ptr %435, align 8, !tbaa !32
  %436 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 2
  %437 = load double, ptr %436, align 8, !tbaa !27
  %438 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 8
  store double %437, ptr %438, align 8, !tbaa !33
  %439 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 3
  %440 = load double, ptr %439, align 8, !tbaa !28
  %441 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 9
  store double %440, ptr %441, align 8, !tbaa !34
  %442 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 4
  %443 = load double, ptr %442, align 8, !tbaa !29
  %444 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 10
  store double %443, ptr %444, align 8, !tbaa !35
  %445 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 5
  %446 = load double, ptr %445, align 8, !tbaa !30
  %447 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 11
  store double %446, ptr %447, align 8, !tbaa !36
  br label %564

448:                                              ; preds = %347
  %449 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 1
  %450 = load double, ptr %449, align 8, !tbaa !26
  %451 = fcmp une double %450, 0.000000e+00
  br i1 %451, label %452, label %563

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

563:                                              ; preds = %452, %448
  br label %564

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

636:                                              ; preds = %564
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %637 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 18
  %638 = load double, ptr %637, align 8, !tbaa !40
  store double %638, ptr %34, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %639 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 19
  %640 = load double, ptr %639, align 8, !tbaa !41
  store double %640, ptr %35, align 8, !tbaa !16
  %641 = load double, ptr %34, align 8, !tbaa !16
  %642 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 23
  %643 = load double, ptr %642, align 8, !tbaa !37
  %644 = call double @cos(double noundef %643) #11
  %645 = load double, ptr %35, align 8, !tbaa !16
  %646 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 23
  %647 = load double, ptr %646, align 8, !tbaa !37
  %648 = call double @sin(double noundef %647) #11
  %649 = fmul double %645, %648
  %650 = fneg double %649
  %651 = call double @llvm.fmuladd.f64(double %641, double %644, double %650)
  %652 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 18
  store double %651, ptr %652, align 8, !tbaa !40
  %653 = load double, ptr %34, align 8, !tbaa !16
  %654 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 23
  %655 = load double, ptr %654, align 8, !tbaa !37
  %656 = call double @sin(double noundef %655) #11
  %657 = load double, ptr %35, align 8, !tbaa !16
  %658 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 23
  %659 = load double, ptr %658, align 8, !tbaa !37
  %660 = call double @cos(double noundef %659) #11
  %661 = fmul double %657, %660
  %662 = call double @llvm.fmuladd.f64(double %653, double %656, double %661)
  %663 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 19
  store double %662, ptr %663, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  br label %664

664:                                              ; preds = %636, %564
  %665 = load ptr, ptr %10, align 8, !tbaa !5
  %666 = getelementptr inbounds %class.customEllipse, ptr %36, i32 0, i32 27
  %667 = load i32, ptr %666, align 8, !tbaa !11
  %668 = add nsw i32 %667, 1
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %665, i32 noundef %668)
  %669 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %669, i32 noundef 7)
  %670 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %670, i32 noundef 7)
  %671 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %671, i32 noundef 7)
  %672 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %672, i32 noundef 7)
  %673 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %673, i32 noundef 7)
  %674 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %674, i32 noundef 7)
  %675 = load ptr, ptr %17, align 8, !tbaa !5
  %676 = icmp eq ptr %675, null
  br i1 %676, label %678, label %677

677:                                              ; preds = %664
  call void @_ZdaPv(ptr noundef %675) #13
  br label %678

678:                                              ; preds = %677, %664
  %679 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %679, i32 noundef 7)
  %680 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_Z16DeallocateMatrixPPdi(ptr noundef %680, i32 noundef 7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  store i32 0, ptr %24, align 4
  br label %681

681:                                              ; preds = %678, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 8, 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
  %682 = load i32, ptr %24, align 4
  switch i32 %682, label %684 [
    i32 0, label %683
    i32 1, label %683
  ]

683:                                              ; preds = %681, %681
  ret void

684:                                              ; preds = %681
  unreachable
}

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 224}
!15 = !{!12, !6, i64 232}
!16 = !{!13, !13, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = !{!12, !13, i64 0}
!26 = !{!12, !13, i64 8}
!27 = !{!12, !13, i64 16}
!28 = !{!12, !13, i64 24}
!29 = !{!12, !13, i64 32}
!30 = !{!12, !13, i64 40}
!31 = !{!12, !13, i64 48}
!32 = !{!12, !13, i64 56}
!33 = !{!12, !13, i64 64}
!34 = !{!12, !13, i64 72}
!35 = !{!12, !13, i64 80}
!36 = !{!12, !13, i64 88}
!37 = !{!12, !13, i64 184}
!38 = !{!12, !13, i64 120}
!39 = !{!12, !13, i64 128}
!40 = !{!12, !13, i64 144}
!41 = !{!12, !13, i64 152}
!42 = !{!12, !13, i64 136}
!43 = !{!12, !13, i64 160}
!44 = !{!12, !13, i64 168}
!45 = !{!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"

; 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 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 uwtable
define dso_local void @_ZN13customEllipseC2EPdS0_i(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) unnamed_addr #0 align 2 {
  tail call void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272) %0)
  %5 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 %3, ptr %5, align 8, !tbaa !5
  %6 = sext i32 %3 to i64
  %7 = shl nsw i64 %6, 3
  %8 = tail call noalias ptr @malloc(i64 noundef %7) #9
  %9 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %8, ptr %9, align 8, !tbaa !12
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %1, i64 %7, i1 false)
  %10 = tail call noalias ptr @malloc(i64 noundef %7) #9
  %11 = getelementptr inbounds i8, ptr %0, i64 232
  store ptr %10, ptr %11, align 8, !tbaa !13
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %2, i64 %7, i1 false)
  %12 = icmp sgt i32 %3, 0
  br i1 %12, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %4
  %wide.trip.count = zext nneg i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 4
  br i1 %min.iters.check, label %.lr.ph.preheader181, label %vector.ph

.lr.ph.preheader181:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %13 = getelementptr inbounds double, ptr %10, i64 %index
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  %wide.load = load <2 x double>, ptr %13, align 8, !tbaa !14
  %wide.load180 = load <2 x double>, ptr %14, align 8, !tbaa !14
  %15 = fneg <2 x double> %wide.load
  %16 = fneg <2 x double> %wide.load180
  store <2 x double> %15, ptr %13, align 8, !tbaa !14
  store <2 x double> %16, ptr %14, align 8, !tbaa !14
  %index.next = add nuw i64 %index, 4
  %17 = icmp eq i64 %index.next, %n.vec
  br i1 %17, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader181

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %4
  %18 = add nsw i32 %3, 1
  %19 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef %18, 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 noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %23 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %24 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %25 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %26 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znam(i64 noundef 56) #10
  %27 = tail call noundef ptr @_Z14AllocateMatrixii(i32 noundef 7, i32 noundef 7)
  %28 = 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) %26, i8 0, i64 56, i1 false)
  %29 = getelementptr inbounds i8, ptr %21, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !19
  %31 = getelementptr inbounds i8, ptr %30, i64 24
  store double -2.000000e+00, ptr %31, align 8, !tbaa !14
  %32 = getelementptr inbounds i8, ptr %21, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !19
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  store double 1.000000e+00, ptr %34, align 8, !tbaa !14
  %35 = getelementptr inbounds i8, ptr %21, i64 24
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  store double -2.000000e+00, ptr %37, align 8, !tbaa !14
  %38 = load i32, ptr %5, align 8, !tbaa !5
  %39 = icmp slt i32 %38, 6
  br i1 %39, label %341, label %.preheader137

.preheader137:                                    ; preds = %._crit_edge
  %40 = load ptr, ptr %9, align 8, !tbaa !12
  %41 = load ptr, ptr %11, align 8, !tbaa !13
  %42 = add nuw i32 %38, 1
  %wide.trip.count150 = zext i32 %42 to i64
  br label %53

.lr.ph:                                           ; preds = %.lr.ph.preheader181, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader181 ]
  %43 = getelementptr inbounds double, ptr %10, i64 %indvars.iv
  %44 = load double, ptr %43, align 8, !tbaa !14
  %45 = fneg double %44
  store double %45, ptr %43, align 8, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

46:                                               ; preds = %53
  tail call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef nonnull %19, ptr noundef nonnull %19, ptr noundef %20, i32 noundef %38, i32 noundef 6, i32 noundef %38, i32 noundef 6)
  tail call void @_Z6choldcPPdiS0_(ptr noundef %20, i32 noundef 6, ptr noundef %23)
  %47 = tail call noundef i32 @_Z7inversePPdS0_i(ptr noundef %23, ptr noundef %25, i32 noundef 6)
  tail call void @_Z7AperB_TPPdS0_S0_iiii(ptr noundef %21, ptr noundef %25, ptr noundef %22, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  tail call void @_Z5AperBPPdS0_S0_iiii(ptr noundef %25, ptr noundef %22, ptr noundef %24, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  tail call void @_Z6jacobiPPdiS_S0_i(ptr noundef %24, i32 noundef 6, ptr noundef nonnull %26, ptr noundef %27, i32 noundef 0)
  tail call void @_Z7A_TperBPPdS0_S0_iiii(ptr noundef %25, ptr noundef %27, ptr noundef %28, i32 noundef 6, i32 noundef 6, i32 noundef 6, i32 noundef 6)
  %.phi.trans.insert = getelementptr inbounds i8, ptr %28, i64 48
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !19
  %48 = getelementptr inbounds i8, ptr %28, i64 8
  %49 = getelementptr inbounds i8, ptr %28, i64 16
  %50 = getelementptr inbounds i8, ptr %28, i64 24
  %51 = getelementptr inbounds i8, ptr %28, i64 32
  %52 = getelementptr inbounds i8, ptr %28, i64 40
  br label %.preheader136

53:                                               ; preds = %.preheader137, %53
  %indvars.iv147 = phi i64 [ 1, %.preheader137 ], [ %indvars.iv.next148, %53 ]
  %54 = add nsw i64 %indvars.iv147, -1
  %55 = getelementptr inbounds double, ptr %40, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !14
  %57 = getelementptr inbounds double, ptr %41, i64 %54
  %58 = load double, ptr %57, align 8, !tbaa !14
  %59 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv147
  %60 = load ptr, ptr %59, align 8, !tbaa !19
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = insertelement <2 x double> poison, double %56, i64 0
  %63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> zeroinitializer
  %64 = insertelement <2 x double> %62, double %58, i64 1
  %65 = fmul <2 x double> %63, %64
  store <2 x double> %65, ptr %61, align 8, !tbaa !14
  %66 = fmul double %58, %58
  %67 = getelementptr inbounds i8, ptr %60, i64 24
  store double %66, ptr %67, align 8, !tbaa !14
  %68 = getelementptr inbounds i8, ptr %60, i64 32
  store double %56, ptr %68, align 8, !tbaa !14
  %69 = getelementptr inbounds i8, ptr %60, i64 40
  store double %58, ptr %69, align 8, !tbaa !14
  %70 = getelementptr inbounds i8, ptr %60, i64 48
  store double 1.000000e+00, ptr %70, align 8, !tbaa !14
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %exitcond151.not = icmp eq i64 %indvars.iv.next148, %wide.trip.count150
  br i1 %exitcond151.not, label %46, label %53, !llvm.loop !21

.preheader136:                                    ; preds = %46, %.preheader136
  %71 = phi ptr [ %.pre, %46 ], [ %121, %.preheader136 ]
  %indvars.iv160 = phi i64 [ 1, %46 ], [ %indvars.iv.next161, %.preheader136 ]
  %72 = load ptr, ptr %48, align 8, !tbaa !19
  %73 = getelementptr inbounds double, ptr %72, i64 %indvars.iv160
  %74 = load double, ptr %73, align 8, !tbaa !14
  %75 = tail call double @llvm.fmuladd.f64(double %74, double %74, double 0.000000e+00)
  %76 = load ptr, ptr %49, align 8, !tbaa !19
  %77 = getelementptr inbounds double, ptr %76, i64 %indvars.iv160
  %78 = load double, ptr %77, align 8, !tbaa !14
  %79 = tail call double @llvm.fmuladd.f64(double %78, double %78, double %75)
  %80 = load ptr, ptr %50, align 8, !tbaa !19
  %81 = getelementptr inbounds double, ptr %80, i64 %indvars.iv160
  %82 = load double, ptr %81, align 8, !tbaa !14
  %83 = tail call double @llvm.fmuladd.f64(double %82, double %82, double %79)
  %84 = load ptr, ptr %51, align 8, !tbaa !19
  %85 = getelementptr inbounds double, ptr %84, i64 %indvars.iv160
  %86 = load double, ptr %85, align 8, !tbaa !14
  %87 = tail call double @llvm.fmuladd.f64(double %86, double %86, double %83)
  %88 = load ptr, ptr %52, align 8, !tbaa !19
  %89 = getelementptr inbounds double, ptr %88, i64 %indvars.iv160
  %90 = load double, ptr %89, align 8, !tbaa !14
  %91 = tail call double @llvm.fmuladd.f64(double %90, double %90, double %87)
  %92 = getelementptr inbounds double, ptr %71, i64 %indvars.iv160
  %93 = load double, ptr %92, align 8, !tbaa !14
  %94 = tail call double @llvm.fmuladd.f64(double %93, double %93, double %91)
  %95 = tail call double @sqrt(double noundef %94) #11
  %96 = load ptr, ptr %48, align 8, !tbaa !19
  %97 = getelementptr inbounds double, ptr %96, i64 %indvars.iv160
  %98 = load double, ptr %97, align 8, !tbaa !14
  %99 = fdiv double %98, %95
  store double %99, ptr %97, align 8, !tbaa !14
  %100 = tail call double @sqrt(double noundef %94) #11
  %101 = load ptr, ptr %49, align 8, !tbaa !19
  %102 = getelementptr inbounds double, ptr %101, i64 %indvars.iv160
  %103 = load double, ptr %102, align 8, !tbaa !14
  %104 = fdiv double %103, %100
  store double %104, ptr %102, align 8, !tbaa !14
  %105 = tail call double @sqrt(double noundef %94) #11
  %106 = load ptr, ptr %50, align 8, !tbaa !19
  %107 = getelementptr inbounds double, ptr %106, i64 %indvars.iv160
  %108 = load double, ptr %107, align 8, !tbaa !14
  %109 = fdiv double %108, %105
  store double %109, ptr %107, align 8, !tbaa !14
  %110 = tail call double @sqrt(double noundef %94) #11
  %111 = load ptr, ptr %51, align 8, !tbaa !19
  %112 = getelementptr inbounds double, ptr %111, i64 %indvars.iv160
  %113 = load double, ptr %112, align 8, !tbaa !14
  %114 = fdiv double %113, %110
  store double %114, ptr %112, align 8, !tbaa !14
  %115 = tail call double @sqrt(double noundef %94) #11
  %116 = load ptr, ptr %52, align 8, !tbaa !19
  %117 = getelementptr inbounds double, ptr %116, i64 %indvars.iv160
  %118 = load double, ptr %117, align 8, !tbaa !14
  %119 = fdiv double %118, %115
  store double %119, ptr %117, align 8, !tbaa !14
  %120 = tail call double @sqrt(double noundef %94) #11
  %121 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !19
  %122 = getelementptr inbounds double, ptr %121, i64 %indvars.iv160
  %123 = load double, ptr %122, align 8, !tbaa !14
  %124 = fdiv double %123, %120
  store double %124, ptr %122, align 8, !tbaa !14
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %exitcond163.not = icmp eq i64 %indvars.iv.next161, 7
  br i1 %exitcond163.not, label %.preheader.preheader, label %.preheader136, !llvm.loop !22

.preheader.preheader:                             ; preds = %.preheader136
  %125 = getelementptr inbounds i8, ptr %28, i64 8
  %126 = getelementptr inbounds i8, ptr %28, i64 16
  %127 = getelementptr inbounds i8, ptr %28, i64 24
  %128 = getelementptr inbounds i8, ptr %28, i64 32
  %129 = getelementptr inbounds i8, ptr %28, i64 40
  %130 = getelementptr inbounds i8, ptr %26, i64 8
  %131 = load double, ptr %130, align 8, !tbaa !14
  %132 = fcmp olt double %131, 0.000000e+00
  %133 = tail call double @llvm.fabs.f64(double %131)
  %134 = fcmp ogt double %133, 0x3BFD83C94FB6D2AC
  %or.cond = and i1 %132, %134
  %135 = getelementptr inbounds i8, ptr %26, i64 16
  %136 = load double, ptr %135, align 8, !tbaa !14
  %137 = fcmp olt double %136, 0.000000e+00
  %138 = tail call double @llvm.fabs.f64(double %136)
  %139 = fcmp ogt double %138, 0x3BFD83C94FB6D2AC
  %or.cond.1 = and i1 %137, %139
  %140 = zext i1 %or.cond to i64
  %141 = getelementptr inbounds i8, ptr %26, i64 24
  %142 = load double, ptr %141, align 8, !tbaa !14
  %143 = fcmp olt double %142, 0.000000e+00
  %144 = tail call double @llvm.fabs.f64(double %142)
  %145 = fcmp ogt double %144, 0x3BFD83C94FB6D2AC
  %or.cond.2 = and i1 %143, %145
  %146 = select i1 %or.cond.1, i64 2, i64 %140
  %147 = getelementptr inbounds i8, ptr %26, i64 32
  %148 = load double, ptr %147, align 8, !tbaa !14
  %149 = fcmp olt double %148, 0.000000e+00
  %150 = tail call double @llvm.fabs.f64(double %148)
  %151 = fcmp ogt double %150, 0x3BFD83C94FB6D2AC
  %or.cond.3 = and i1 %149, %151
  %152 = select i1 %or.cond.2, i64 3, i64 %146
  %153 = getelementptr inbounds i8, ptr %26, i64 40
  %154 = load double, ptr %153, align 8, !tbaa !14
  %155 = fcmp olt double %154, 0.000000e+00
  %156 = tail call double @llvm.fabs.f64(double %154)
  %157 = fcmp ogt double %156, 0x3BFD83C94FB6D2AC
  %or.cond.4 = and i1 %155, %157
  %158 = select i1 %or.cond.3, i64 4, i64 %152
  %159 = getelementptr inbounds i8, ptr %26, i64 48
  %160 = load double, ptr %159, align 8, !tbaa !14
  %161 = fcmp olt double %160, 0.000000e+00
  %162 = tail call double @llvm.fabs.f64(double %160)
  %163 = fcmp ogt double %162, 0x3BFD83C94FB6D2AC
  %or.cond.5 = and i1 %161, %163
  %164 = select i1 %or.cond.4, i64 5, i64 %158
  %165 = load ptr, ptr %125, align 8, !tbaa !19
  %166 = select i1 %or.cond.5, i64 6, i64 %164
  %167 = getelementptr inbounds double, ptr %165, i64 %166
  %168 = load double, ptr %167, align 8, !tbaa !14
  store double %168, ptr %0, align 8, !tbaa !23
  %169 = load ptr, ptr %126, align 8, !tbaa !19
  %170 = getelementptr inbounds double, ptr %169, i64 %166
  %171 = load double, ptr %170, align 8, !tbaa !14
  %172 = getelementptr inbounds i8, ptr %0, i64 8
  store double %171, ptr %172, align 8, !tbaa !24
  %173 = load ptr, ptr %127, align 8, !tbaa !19
  %174 = getelementptr inbounds double, ptr %173, i64 %166
  %175 = load double, ptr %174, align 8, !tbaa !14
  %176 = getelementptr inbounds i8, ptr %0, i64 16
  store double %175, ptr %176, align 8, !tbaa !25
  %177 = load ptr, ptr %128, align 8, !tbaa !19
  %178 = getelementptr inbounds double, ptr %177, i64 %166
  %179 = load double, ptr %178, align 8, !tbaa !14
  %180 = getelementptr inbounds i8, ptr %0, i64 24
  store double %179, ptr %180, align 8, !tbaa !26
  %181 = load ptr, ptr %129, align 8, !tbaa !19
  %182 = getelementptr inbounds double, ptr %181, i64 %166
  %183 = load double, ptr %182, align 8, !tbaa !14
  %184 = getelementptr inbounds i8, ptr %0, i64 32
  store double %183, ptr %184, align 8, !tbaa !27
  %185 = getelementptr inbounds double, ptr %121, i64 %166
  %186 = load double, ptr %185, align 8, !tbaa !14
  %187 = getelementptr inbounds i8, ptr %0, i64 40
  %188 = fdiv double %171, %168
  store double %188, ptr %172, align 8, !tbaa !24
  %189 = fdiv double %186, %168
  store double %189, ptr %187, align 8, !tbaa !28
  %190 = insertelement <2 x double> poison, double %168, i64 0
  %191 = insertelement <2 x double> %190, double %175, i64 1
  %192 = shufflevector <2 x double> %190, <2 x double> poison, <2 x i32> zeroinitializer
  %193 = fdiv <2 x double> %191, %192
  %194 = insertelement <2 x double> poison, double %179, i64 0
  %195 = insertelement <2 x double> %194, double %183, i64 1
  %196 = fdiv <2 x double> %195, %192
  %197 = shufflevector <2 x double> %193, <2 x double> %196, <2 x i32> <i32 1, i32 2>
  store <2 x double> %197, ptr %176, align 8, !tbaa !14
  %198 = extractelement <2 x double> %196, i64 1
  store double %198, ptr %184, align 8, !tbaa !27
  %199 = extractelement <2 x double> %193, i64 0
  store double %199, ptr %0, align 8, !tbaa !23
  %200 = fcmp oeq double %188, 0.000000e+00
  br i1 %200, label %201, label %205

201:                                              ; preds = %.preheader.preheader
  %202 = getelementptr inbounds i8, ptr %0, i64 48
  store double %199, ptr %202, align 8, !tbaa !29
  %203 = getelementptr inbounds i8, ptr %0, i64 56
  store double %188, ptr %203, align 8, !tbaa !30
  %204 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x double> %197, ptr %204, align 8, !tbaa !14
  br label %286

205:                                              ; preds = %.preheader.preheader
  %shift = shufflevector <2 x double> %193, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %206 = fsub <2 x double> %193, %shift
  %207 = extractelement <2 x double> %206, i64 0
  %208 = fdiv double %188, %207
  %209 = tail call double @atan(double noundef %208) #11
  %210 = fmul double %209, 5.000000e-01
  %211 = getelementptr inbounds i8, ptr %0, i64 184
  store double %210, ptr %211, align 8, !tbaa !31
  %212 = load double, ptr %0, align 8, !tbaa !23
  %213 = fmul double %210, 2.000000e+00
  %214 = tail call double @cos(double noundef %213) #11
  %215 = fadd double %214, 1.000000e+00
  %216 = load double, ptr %172, align 8, !tbaa !24
  %217 = load double, ptr %211, align 8, !tbaa !31
  %218 = fmul double %217, 2.000000e+00
  %219 = tail call double @sin(double noundef %218) #11
  %220 = tail call double @llvm.fmuladd.f64(double %216, double %219, double %215)
  %221 = load double, ptr %176, align 8, !tbaa !25
  %222 = load double, ptr %211, align 8, !tbaa !31
  %223 = fmul double %222, 2.000000e+00
  %224 = tail call double @cos(double noundef %223) #11
  %225 = fsub double 1.000000e+00, %224
  %226 = tail call double @llvm.fmuladd.f64(double %221, double %225, double %220)
  %227 = fmul double %212, %226
  %228 = fmul double %227, 5.000000e-01
  %229 = getelementptr inbounds i8, ptr %0, i64 48
  store double %228, ptr %229, align 8, !tbaa !29
  %230 = load double, ptr %176, align 8, !tbaa !25
  %231 = load double, ptr %0, align 8, !tbaa !23
  %232 = fsub double %230, %231
  %233 = load double, ptr %211, align 8, !tbaa !31
  %234 = fmul double %233, 2.000000e+00
  %235 = tail call double @sin(double noundef %234) #11
  %236 = load double, ptr %172, align 8, !tbaa !24
  %237 = load double, ptr %211, align 8, !tbaa !31
  %238 = fmul double %237, 2.000000e+00
  %239 = tail call double @cos(double noundef %238) #11
  %240 = fmul double %236, %239
  %241 = tail call double @llvm.fmuladd.f64(double %232, double %235, double %240)
  %242 = getelementptr inbounds i8, ptr %0, i64 56
  store double %241, ptr %242, align 8, !tbaa !30
  %243 = load double, ptr %0, align 8, !tbaa !23
  %244 = load double, ptr %211, align 8, !tbaa !31
  %245 = fmul double %244, 2.000000e+00
  %246 = tail call double @cos(double noundef %245) #11
  %247 = fsub double 1.000000e+00, %246
  %248 = load double, ptr %172, align 8, !tbaa !24
  %249 = load double, ptr %211, align 8, !tbaa !31
  %250 = fmul double %249, 2.000000e+00
  %251 = tail call double @sin(double noundef %250) #11
  %252 = fneg double %248
  %253 = tail call double @llvm.fmuladd.f64(double %252, double %251, double %247)
  %254 = load double, ptr %176, align 8, !tbaa !25
  %255 = load double, ptr %211, align 8, !tbaa !31
  %256 = fmul double %255, 2.000000e+00
  %257 = tail call double @cos(double noundef %256) #11
  %258 = fadd double %257, 1.000000e+00
  %259 = tail call double @llvm.fmuladd.f64(double %254, double %258, double %253)
  %260 = fmul double %243, %259
  %261 = fmul double %260, 5.000000e-01
  %262 = getelementptr inbounds i8, ptr %0, i64 64
  store double %261, ptr %262, align 8, !tbaa !32
  %263 = load double, ptr %180, align 8, !tbaa !26
  %264 = load double, ptr %211, align 8, !tbaa !31
  %265 = tail call double @cos(double noundef %264) #11
  %266 = load double, ptr %184, align 8, !tbaa !27
  %267 = load double, ptr %211, align 8, !tbaa !31
  %268 = tail call double @sin(double noundef %267) #11
  %269 = fmul double %266, %268
  %270 = tail call double @llvm.fmuladd.f64(double %263, double %265, double %269)
  %271 = getelementptr inbounds i8, ptr %0, i64 72
  store double %270, ptr %271, align 8, !tbaa !33
  %272 = load double, ptr %180, align 8, !tbaa !26
  %273 = fneg double %272
  %274 = load double, ptr %211, align 8, !tbaa !31
  %275 = tail call double @sin(double noundef %274) #11
  %276 = load double, ptr %184, align 8, !tbaa !27
  %277 = load double, ptr %211, align 8, !tbaa !31
  %278 = tail call double @cos(double noundef %277) #11
  %279 = fmul double %276, %278
  %280 = tail call double @llvm.fmuladd.f64(double %273, double %275, double %279)
  %281 = load double, ptr %187, align 8, !tbaa !28
  %282 = load <2 x double>, ptr %271, align 8
  %283 = load <2 x double>, ptr %229, align 8
  %.pre174 = load double, ptr %262, align 8, !tbaa !32
  %284 = insertelement <2 x double> %282, double %280, i64 1
  %285 = insertelement <2 x double> %283, double %.pre174, i64 1
  br label %286

286:                                              ; preds = %205, %201
  %.sink = phi double [ %189, %201 ], [ %281, %205 ]
  %287 = phi <2 x double> [ %196, %201 ], [ %284, %205 ]
  %288 = phi <2 x double> [ %193, %201 ], [ %285, %205 ]
  %289 = getelementptr inbounds i8, ptr %0, i64 80
  %290 = extractelement <2 x double> %287, i64 1
  store double %290, ptr %289, align 8
  %291 = getelementptr inbounds i8, ptr %0, i64 88
  store double %.sink, ptr %291, align 8
  %292 = fdiv <2 x double> %287, %288
  %293 = getelementptr inbounds i8, ptr %0, i64 120
  %294 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x double> %292, ptr %293, align 8, !tbaa !14
  %295 = getelementptr inbounds i8, ptr %0, i64 144
  %296 = fmul <2 x double> %292, <double -5.000000e-01, double -5.000000e-01>
  store <2 x double> %296, ptr %295, align 8, !tbaa !14
  %297 = fmul <2 x double> %296, %296
  %298 = extractelement <2 x double> %297, i64 0
  %299 = fmul <2 x double> %296, %296
  %300 = fmul <2 x double> %288, %299
  %301 = extractelement <2 x double> %300, i64 1
  %302 = extractelement <2 x double> %288, i64 0
  %303 = tail call double @llvm.fmuladd.f64(double %302, double %298, double %301)
  %304 = fsub double %303, %.sink
  %305 = getelementptr inbounds i8, ptr %0, i64 136
  store double %304, ptr %305, align 8, !tbaa !34
  %306 = fdiv double %304, %302
  %307 = tail call double @sqrt(double noundef %306) #11
  %308 = getelementptr inbounds i8, ptr %0, i64 160
  store double %307, ptr %308, align 8, !tbaa !35
  %309 = load double, ptr %305, align 8, !tbaa !34
  %310 = load double, ptr %294, align 8, !tbaa !32
  %311 = fdiv double %309, %310
  %312 = tail call double @sqrt(double noundef %311) #11
  %313 = getelementptr inbounds i8, ptr %0, i64 168
  store double %312, ptr %313, align 8, !tbaa !36
  %314 = load double, ptr %308, align 8, !tbaa !35
  %315 = fneg double %312
  %316 = fmul double %312, %315
  %317 = tail call double @llvm.fmuladd.f64(double %314, double %314, double %316)
  %318 = getelementptr inbounds i8, ptr %0, i64 208
  store double %317, ptr %318, align 8, !tbaa !37
  %319 = getelementptr inbounds i8, ptr %0, i64 184
  %320 = load double, ptr %319, align 8, !tbaa !31
  %321 = fcmp une double %320, 0.000000e+00
  br i1 %321, label %322, label %338

322:                                              ; preds = %286
  %323 = getelementptr inbounds i8, ptr %0, i64 152
  %324 = load double, ptr %295, align 8, !tbaa !38
  %325 = load double, ptr %323, align 8, !tbaa !39
  %326 = tail call double @cos(double noundef %320) #11
  %327 = load double, ptr %319, align 8, !tbaa !31
  %328 = tail call double @sin(double noundef %327) #11
  %329 = fneg double %325
  %330 = fmul double %328, %329
  %331 = tail call double @llvm.fmuladd.f64(double %324, double %326, double %330)
  store double %331, ptr %295, align 8, !tbaa !38
  %332 = load double, ptr %319, align 8, !tbaa !31
  %333 = tail call double @sin(double noundef %332) #11
  %334 = load double, ptr %319, align 8, !tbaa !31
  %335 = tail call double @cos(double noundef %334) #11
  %336 = fmul double %325, %335
  %337 = tail call double @llvm.fmuladd.f64(double %324, double %333, double %336)
  store double %337, ptr %323, align 8, !tbaa !39
  br label %338

338:                                              ; preds = %322, %286
  %339 = load i32, ptr %5, align 8, !tbaa !5
  %340 = add nsw i32 %339, 1
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %19, i32 noundef %340)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %20, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %21, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %22, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %23, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %24, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %25, i32 noundef 7)
  tail call void @_ZdaPv(ptr noundef nonnull %26) #12
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef %27, i32 noundef 7)
  tail call void @_Z16DeallocateMatrixPPdi(ptr noundef nonnull %28, i32 noundef 7)
  br label %341

341:                                              ; preds = %._crit_edge, %338
  ret void
}

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 = { 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, !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 224}
!13 = !{!6, !11, i64 232}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !16, !18, !17}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = !{!6, !7, i64 0}
!24 = !{!6, !7, i64 8}
!25 = !{!6, !7, i64 16}
!26 = !{!6, !7, i64 24}
!27 = !{!6, !7, i64 32}
!28 = !{!6, !7, i64 40}
!29 = !{!6, !7, i64 48}
!30 = !{!6, !7, i64 56}
!31 = !{!6, !7, i64 184}
!32 = !{!6, !7, i64 64}
!33 = !{!6, !7, i64 72}
!34 = !{!6, !7, i64 136}
!35 = !{!6, !7, i64 160}
!36 = !{!6, !7, i64 168}
!37 = !{!6, !7, i64 208}
!38 = !{!6, !7, i64 144}
!39 = !{!6, !7, i64 152}


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