; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/preprocessing (colour_sift)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [41 x i8], align 1
@__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [40 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca [16 x i8], align 16
  %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 ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call noalias ptr @fopen(ptr noundef %27, ptr noundef @.str.4)
  store ptr %28, ptr %15, align 8, !tbaa !5
  %29 = load ptr, ptr %15, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %36

31:                                               ; preds = %5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorI7ellipseSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #10
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %33, align 4, !tbaa !9
  %34 = call noalias noundef nonnull ptr @_Znam(i64 noundef 0) #11
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %34, ptr %35, align 8, !tbaa !5
  store i32 1, ptr %16, align 4
  br label %214

36:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #10
  %37 = getelementptr inbounds [16 x i8], ptr %17, i64 0, i64 0
  %38 = load ptr, ptr %15, align 8, !tbaa !5
  %39 = call i64 @fread(ptr noundef %37, i64 noundef 1, i64 noundef 16, ptr noundef %38)
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  %41 = load ptr, ptr %15, align 8, !tbaa !5
  %42 = call i64 @fread(ptr noundef %13, i64 noundef 4, i64 noundef 1, ptr noundef %41)
  %43 = trunc i64 %42 to i32
  store i32 %43, ptr %11, align 4, !tbaa !9
  %44 = load i32, ptr %13, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 5
  br i1 %45, label %52, label %46

46:                                               ; preds = %36
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.5)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef @__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @.str.6)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %49, i32 noundef 44)
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef @.str.7)
  call void @exit(i32 noundef 1) #12
  unreachable

52:                                               ; preds = %36
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  %54 = call i64 @fread(ptr noundef %12, i64 noundef 4, i64 noundef 1, ptr noundef %53)
  %55 = trunc i64 %54 to i32
  store i32 %55, ptr %11, align 4, !tbaa !9
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  %58 = call i64 @fread(ptr noundef %56, i64 noundef 4, i64 noundef 1, ptr noundef %57)
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %11, align 4, !tbaa !9
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %63, label %69

63:                                               ; preds = %52
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorI7ellipseSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #10
  %65 = call noalias noundef nonnull ptr @_Znam(i64 noundef 0) #11
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %65, ptr %66, align 8, !tbaa !5
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = call i32 @fclose(ptr noundef %67)
  store i32 1, ptr %16, align 4
  br label %214

69:                                               ; preds = %52
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = icmp eq i32 %70, %71
  br i1 %72, label %79, label %73

73:                                               ; preds = %69
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.8)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef @__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef @.str.6)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %76, i32 noundef 53)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @.str.7)
  call void @exit(i32 noundef 1) #12
  unreachable

79:                                               ; preds = %69
  %80 = load ptr, ptr %15, align 8, !tbaa !5
  %81 = call i64 @fread(ptr noundef %14, i64 noundef 4, i64 noundef 1, ptr noundef %80)
  %82 = trunc i64 %81 to i32
  store i32 %82, ptr %11, align 4, !tbaa !9
  %83 = load i32, ptr %14, align 4, !tbaa !9
  %84 = icmp eq i32 %83, 8
  br i1 %84, label %91, label %85

85:                                               ; preds = %79
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.9)
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef @__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj)
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef @.str.6)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %88, i32 noundef 55)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef @.str.7)
  call void @exit(i32 noundef 1) #12
  unreachable

91:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %92 = load i32, ptr %13, align 4, !tbaa !9
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = mul i32 %92, %94
  %96 = zext i32 %95 to i64
  %97 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %96, i64 8)
  %98 = extractvalue { i64, i1 } %97, 1
  %99 = extractvalue { i64, i1 } %97, 0
  %100 = select i1 %98, i64 -1, i64 %99
  %101 = call noalias noundef nonnull ptr @_Znam(i64 noundef %100) #11
  store ptr %101, ptr %18, align 8, !tbaa !5
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = mul i32 %103, %105
  %107 = zext i32 %106 to i64
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = call i64 @fread(ptr noundef %102, i64 noundef 8, i64 noundef %107, ptr noundef %108)
  %110 = trunc i64 %109 to i32
  store i32 %110, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %111 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %111, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  call void @_ZNSt6vectorI7ellipseSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %115)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %141, %91
  %117 = load i32, ptr %22, align 4, !tbaa !9
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = icmp ult i32 %117, %119
  br i1 %120, label %122, label %121

121:                                              ; preds = %116
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %146

122:                                              ; preds = %116
  %123 = load ptr, ptr %19, align 8, !tbaa !5
  %124 = getelementptr inbounds double, ptr %123, i64 2
  %125 = load double, ptr %124, align 8, !tbaa !11
  store double %125, ptr %20, align 8, !tbaa !11
  %126 = load double, ptr %20, align 8, !tbaa !11
  %127 = load double, ptr %20, align 8, !tbaa !11
  %128 = fmul double %126, %127
  %129 = fdiv double 1.000000e+00, %128
  store double %129, ptr %21, align 8, !tbaa !11
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = load i32, ptr %22, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI7ellipseSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %132) #10
  %134 = load ptr, ptr %19, align 8, !tbaa !5
  %135 = load double, ptr %134, align 8, !tbaa !11
  %136 = load ptr, ptr %19, align 8, !tbaa !5
  %137 = getelementptr inbounds double, ptr %136, i64 1
  %138 = load double, ptr %137, align 8, !tbaa !11
  %139 = load double, ptr %21, align 8, !tbaa !11
  %140 = load double, ptr %21, align 8, !tbaa !11
  call void @_ZN7ellipse3setEddddd(ptr noundef nonnull align 8 dereferenceable(40) %133, double noundef %135, double noundef %138, double noundef %139, double noundef 0.000000e+00, double noundef %140)
  br label %141

141:                                              ; preds = %122
  %142 = load i32, ptr %22, align 4, !tbaa !9
  %143 = add i32 %142, 1
  store i32 %143, ptr %22, align 4, !tbaa !9
  %144 = load ptr, ptr %19, align 8, !tbaa !5
  %145 = getelementptr inbounds double, ptr %144, i64 5
  store ptr %145, ptr %19, align 8, !tbaa !5
  br label %116, !llvm.loop !13

146:                                              ; preds = %121
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %148 = icmp eq ptr %147, null
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  call void @_ZdaPv(ptr noundef %147) #13
  br label %150

150:                                              ; preds = %149, %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = mul i32 %151, %153
  %155 = zext i32 %154 to i64
  %156 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %155, i64 8)
  %157 = extractvalue { i64, i1 } %156, 1
  %158 = extractvalue { i64, i1 } %156, 0
  %159 = select i1 %157, i64 -1, i64 %158
  %160 = call noalias noundef nonnull ptr @_Znam(i64 noundef %159) #11
  store ptr %160, ptr %23, align 8, !tbaa !5
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  %162 = load i32, ptr %12, align 4, !tbaa !9
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = load i32, ptr %163, align 4, !tbaa !9
  %165 = mul i32 %162, %164
  %166 = zext i32 %165 to i64
  %167 = load ptr, ptr %15, align 8, !tbaa !5
  %168 = call i64 @fread(ptr noundef %161, i64 noundef 8, i64 noundef %166, ptr noundef %167)
  %169 = trunc i64 %168 to i32
  store i32 %169, ptr %11, align 4, !tbaa !9
  %170 = load ptr, ptr %15, align 8, !tbaa !5
  %171 = call i32 @fclose(ptr noundef %170)
  %172 = load i32, ptr %12, align 4, !tbaa !9
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = load i32, ptr %173, align 4, !tbaa !9
  %175 = mul i32 %172, %174
  %176 = zext i32 %175 to i64
  %177 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %176, i64 4)
  %178 = extractvalue { i64, i1 } %177, 1
  %179 = extractvalue { i64, i1 } %177, 0
  %180 = select i1 %178, i64 -1, i64 %179
  %181 = call noalias noundef nonnull ptr @_Znam(i64 noundef %180) #11
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %181, ptr %182, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = load ptr, ptr %183, align 8, !tbaa !5
  %185 = load i32, ptr %12, align 4, !tbaa !9
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = mul i32 %185, %187
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds float, ptr %184, i64 %189
  store ptr %190, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %191 = load ptr, ptr %23, align 8, !tbaa !5
  store ptr %191, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = load ptr, ptr %192, align 8, !tbaa !5
  store ptr %193, ptr %26, align 8, !tbaa !5
  br label %194

194:                                              ; preds = %204, %150
  %195 = load ptr, ptr %26, align 8, !tbaa !5
  %196 = load ptr, ptr %24, align 8, !tbaa !5
  %197 = icmp ne ptr %195, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %194
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %209

199:                                              ; preds = %194
  %200 = load ptr, ptr %25, align 8, !tbaa !5
  %201 = load double, ptr %200, align 8, !tbaa !11
  %202 = fptrunc double %201 to float
  %203 = load ptr, ptr %26, align 8, !tbaa !5
  store float %202, ptr %203, align 4, !tbaa !15
  br label %204

204:                                              ; preds = %199
  %205 = load ptr, ptr %26, align 8, !tbaa !5
  %206 = getelementptr inbounds float, ptr %205, i32 1
  store ptr %206, ptr %26, align 8, !tbaa !5
  %207 = load ptr, ptr %25, align 8, !tbaa !5
  %208 = getelementptr inbounds double, ptr %207, i32 1
  store ptr %208, ptr %25, align 8, !tbaa !5
  br label %194, !llvm.loop !17

209:                                              ; preds = %198
  %210 = load ptr, ptr %23, align 8, !tbaa !5
  %211 = icmp eq ptr %210, null
  br i1 %211, label %213, label %212

212:                                              ; preds = %209
  call void @_ZdaPv(ptr noundef %210) #13
  br label %213

213:                                              ; preds = %212, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  store i32 0, ptr %16, align 4
  br label %214

214:                                              ; preds = %213, %63, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  %215 = load i32, ptr %16, align 4
  switch i32 %215, label %217 [
    i32 0, label %216
    i32 1, label %216
  ]

216:                                              ; preds = %214, %214
  ret void

217:                                              ; preds = %214
  unreachable
}

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI7ellipseSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

declare i32 @fclose(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7ellipseSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI7ellipseSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7ellipse3setEddddd(ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef, double noundef) #8 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { 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 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 #5 = { inlinehint 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 #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { inlinehint 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { noreturn 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, !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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !14}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [41 x i8], align 1
@__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [40 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj(ptr nocapture noundef readonly %0, ptr nocapture noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca [16 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #10
  %10 = tail call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.4)
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %14

12:                                               ; preds = %5
  tail call void @_ZNSt6vectorI7ellipseSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  store i32 0, ptr %1, align 4, !tbaa !5
  %13 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef 0) #11
  store ptr %13, ptr %3, align 8, !tbaa !9
  br label %101

14:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #10
  %15 = call i64 @fread(ptr noundef nonnull %9, i64 noundef 1, i64 noundef 16, ptr noundef nonnull %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #10
  %16 = call i64 @fread(ptr noundef nonnull %7, i64 noundef 4, i64 noundef 1, ptr noundef nonnull %10)
  %17 = load i32, ptr %7, align 4, !tbaa !5
  %18 = icmp eq i32 %17, 5
  br i1 %18, label %25, label %19

19:                                               ; preds = %14
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.5)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj)
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @.str.6)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 44)
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @.str.7)
  tail call void @exit(i32 noundef 1) #12
  unreachable

25:                                               ; preds = %14
  %26 = call i64 @fread(ptr noundef nonnull %6, i64 noundef 4, i64 noundef 1, ptr noundef nonnull %10)
  %27 = tail call i64 @fread(ptr noundef nonnull %1, i64 noundef 4, i64 noundef 1, ptr noundef nonnull %10)
  %28 = load i32, ptr %1, align 4, !tbaa !5
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %33

30:                                               ; preds = %25
  tail call void @_ZNSt6vectorI7ellipseSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  %31 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef 0) #11
  store ptr %31, ptr %3, align 8, !tbaa !9
  %32 = tail call i32 @fclose(ptr noundef nonnull %10)
  br label %101

33:                                               ; preds = %25
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = icmp eq i32 %34, %4
  br i1 %35, label %42, label %36

36:                                               ; preds = %33
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.8)
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj)
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @.str.6)
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %39, i32 noundef 53)
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @.str.7)
  tail call void @exit(i32 noundef 1) #12
  unreachable

42:                                               ; preds = %33
  %43 = call i64 @fread(ptr noundef nonnull %8, i64 noundef 4, i64 noundef 1, ptr noundef nonnull %10)
  %44 = load i32, ptr %8, align 4, !tbaa !5
  %45 = icmp eq i32 %44, 8
  br i1 %45, label %52, label %46

46:                                               ; preds = %42
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.9)
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @__FUNCTION__._Z16readRegsAndDescsPKcRjRSt6vectorI7ellipseSaIS3_EERPfj)
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @.str.6)
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %49, i32 noundef 55)
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.7)
  tail call void @exit(i32 noundef 1) #12
  unreachable

52:                                               ; preds = %42
  %53 = load i32, ptr %1, align 4, !tbaa !5
  %54 = mul i32 %53, 5
  %55 = zext i32 %54 to i64
  %56 = shl nuw nsw i64 %55, 3
  %57 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %56) #11
  %58 = tail call i64 @fread(ptr noundef nonnull %57, i64 noundef 8, i64 noundef %55, ptr noundef nonnull %10)
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = zext i32 %59 to i64
  tail call void @_ZNSt6vectorI7ellipseSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %60)
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %.not66 = icmp eq i32 %61, 0
  br i1 %.not66, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %52, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %52 ]
  %.05658 = phi ptr [ %70, %.lr.ph ], [ %57, %52 ]
  %62 = getelementptr inbounds i8, ptr %.05658, i64 16
  %63 = load double, ptr %62, align 8, !tbaa !11
  %64 = fmul double %63, %63
  %65 = fdiv double 1.000000e+00, %64
  %66 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI7ellipseSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #10
  %67 = load double, ptr %.05658, align 8, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %.05658, i64 8
  %69 = load double, ptr %68, align 8, !tbaa !11
  tail call void @_ZN7ellipse3setEddddd(ptr noundef nonnull align 8 dereferenceable(40) %66, double noundef %67, double noundef %69, double noundef %65, double noundef 0.000000e+00, double noundef %65)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %70 = getelementptr inbounds i8, ptr %.05658, i64 40
  %71 = load i32, ptr %1, align 4, !tbaa !5
  %72 = zext i32 %71 to i64
  %73 = icmp ult i64 %indvars.iv.next, %72
  br i1 %73, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %52
  tail call void @_ZdaPv(ptr noundef nonnull %57) #13
  %74 = load i32, ptr %1, align 4, !tbaa !5
  %75 = mul i32 %74, %4
  %76 = zext i32 %75 to i64
  %77 = shl nuw nsw i64 %76, 3
  %78 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %77) #11
  %79 = tail call i64 @fread(ptr noundef nonnull %78, i64 noundef 8, i64 noundef %76, ptr noundef nonnull %10)
  %80 = tail call i32 @fclose(ptr noundef nonnull %10)
  %81 = load i32, ptr %1, align 4, !tbaa !5
  %82 = mul i32 %81, %4
  %83 = zext i32 %82 to i64
  %84 = shl nuw nsw i64 %83, 2
  %85 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %84) #11
  store ptr %85, ptr %3, align 8, !tbaa !9
  %86 = getelementptr inbounds float, ptr %85, i64 %83
  %.not60 = icmp eq i32 %82, 0
  br i1 %.not60, label %._crit_edge65, label %.lr.ph64.preheader

.lr.ph64.preheader:                               ; preds = %._crit_edge
  %87 = add nuw nsw i64 %83, 4611686018427387903
  %88 = and i64 %87, 4611686018427387903
  %89 = add nuw nsw i64 %88, 1
  %min.iters.check = icmp ult i64 %88, 3
  br i1 %min.iters.check, label %.lr.ph64.preheader75, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph64.preheader
  %n.vec = and i64 %89, 9223372036854775804
  %90 = shl i64 %n.vec, 2
  %ind.end = getelementptr i8, ptr %85, i64 %90
  %91 = shl i64 %n.vec, 3
  %ind.end68 = getelementptr i8, ptr %78, i64 %91
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 2
  %next.gep = getelementptr i8, ptr %85, i64 %offset.idx
  %offset.idx71 = shl i64 %index, 3
  %next.gep72 = getelementptr i8, ptr %78, i64 %offset.idx71
  %92 = getelementptr i8, ptr %next.gep72, i64 16
  %wide.load = load <2 x double>, ptr %next.gep72, align 8, !tbaa !11
  %wide.load74 = load <2 x double>, ptr %92, align 8, !tbaa !11
  %93 = fptrunc <2 x double> %wide.load to <2 x float>
  %94 = fptrunc <2 x double> %wide.load74 to <2 x float>
  %95 = getelementptr i8, ptr %next.gep, i64 8
  store <2 x float> %93, ptr %next.gep, align 4, !tbaa !15
  store <2 x float> %94, ptr %95, align 4, !tbaa !15
  %index.next = add nuw i64 %index, 4
  %96 = icmp eq i64 %index.next, %n.vec
  br i1 %96, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %89, %n.vec
  br i1 %cmp.n, label %._crit_edge65, label %.lr.ph64.preheader75

.lr.ph64.preheader75:                             ; preds = %middle.block, %.lr.ph64.preheader
  %.062.ph = phi ptr [ %85, %.lr.ph64.preheader ], [ %ind.end, %middle.block ]
  %.05461.ph = phi ptr [ %78, %.lr.ph64.preheader ], [ %ind.end68, %middle.block ]
  br label %.lr.ph64

.lr.ph64:                                         ; preds = %.lr.ph64.preheader75, %.lr.ph64
  %.062 = phi ptr [ %99, %.lr.ph64 ], [ %.062.ph, %.lr.ph64.preheader75 ]
  %.05461 = phi ptr [ %100, %.lr.ph64 ], [ %.05461.ph, %.lr.ph64.preheader75 ]
  %97 = load double, ptr %.05461, align 8, !tbaa !11
  %98 = fptrunc double %97 to float
  store float %98, ptr %.062, align 4, !tbaa !15
  %99 = getelementptr inbounds i8, ptr %.062, i64 4
  %100 = getelementptr inbounds i8, ptr %.05461, i64 8
  %.not = icmp eq ptr %99, %86
  br i1 %.not, label %._crit_edge65, label %.lr.ph64, !llvm.loop !20

._crit_edge65:                                    ; preds = %.lr.ph64, %middle.block, %._crit_edge
  tail call void @_ZdaPv(ptr noundef nonnull %78) #13
  br label %101

101:                                              ; preds = %._crit_edge65, %30, %12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #10
  ret void
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI7ellipseSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #6

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7ellipseSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI7ellipseSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7ellipse3setEddddd(ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #8 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nofree 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 #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 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 #5 = { inlinehint 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 #6 = { "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 = { noreturn 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 = { inlinehint 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { noreturn 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !14, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !14, !19, !18}


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