; LLVM IR from zeux/meshoptimizer :: demo/main.ll (Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb)

; 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::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Vertex = type { float, float, float, float, float, float, float, float }

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"class.std::vector.5", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %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 ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %34 = zext i1 %2 to i8
  store i8 %34, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %35 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %216

37:                                               ; preds = %3
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #5
  %40 = mul i64 %39, 3
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %40)
          to label %41 unwind label %48

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !13
  br label %42

42:                                               ; preds = %212, %41
  %43 = load i64, ptr %10, align 8, !tbaa !13
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %46 = icmp ult i64 %43, %45
  br i1 %46, label %52, label %47

47:                                               ; preds = %42
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %215

48:                                               ; preds = %37
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %8, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %9, align 4
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %347

52:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = load i64, ptr %10, align 8, !tbaa !13
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %54) #5
  %56 = load i32, ptr %55, align 4, !tbaa !15
  store i32 %56, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = load i64, ptr %10, align 8, !tbaa !13
  %59 = add i64 %58, 1
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %59) #5
  %61 = load i32, ptr %60, align 4, !tbaa !15
  store i32 %61, ptr %13, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load i64, ptr %10, align 8, !tbaa !13
  %64 = add i64 %63, 2
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %64) #5
  %66 = load i32, ptr %65, align 4, !tbaa !15
  store i32 %66, ptr %14, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = load i32, ptr %12, align 4, !tbaa !15
  %69 = zext i32 %68 to i64
  %70 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #5
  store ptr %70, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = load i32, ptr %13, align 4, !tbaa !15
  %73 = zext i32 %72 to i64
  %74 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %73) #5
  store ptr %74, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = load i32, ptr %14, align 4, !tbaa !15
  %77 = zext i32 %76 to i64
  %78 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %77) #5
  store ptr %78, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.Vertex, ptr %79, i32 0, i32 1
  %81 = load float, ptr %80, align 4, !tbaa !17
  %82 = load ptr, ptr %15, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.Vertex, ptr %82, i32 0, i32 1
  %84 = load float, ptr %83, align 4, !tbaa !17
  %85 = fsub float %81, %84
  %86 = load ptr, ptr %17, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.Vertex, ptr %86, i32 0, i32 2
  %88 = load float, ptr %87, align 4, !tbaa !20
  %89 = load ptr, ptr %15, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.Vertex, ptr %89, i32 0, i32 2
  %91 = load float, ptr %90, align 4, !tbaa !20
  %92 = fsub float %88, %91
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.Vertex, ptr %93, i32 0, i32 2
  %95 = load float, ptr %94, align 4, !tbaa !20
  %96 = load ptr, ptr %15, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.Vertex, ptr %96, i32 0, i32 2
  %98 = load float, ptr %97, align 4, !tbaa !20
  %99 = fsub float %95, %98
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.Vertex, ptr %100, i32 0, i32 1
  %102 = load float, ptr %101, align 4, !tbaa !17
  %103 = load ptr, ptr %15, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.Vertex, ptr %103, i32 0, i32 1
  %105 = load float, ptr %104, align 4, !tbaa !17
  %106 = fsub float %102, %105
  %107 = fmul float %99, %106
  %108 = fneg float %107
  %109 = call float @llvm.fmuladd.f32(float %85, float %92, float %108)
  store float %109, ptr %18, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %110 = load ptr, ptr %16, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.Vertex, ptr %110, i32 0, i32 2
  %112 = load float, ptr %111, align 4, !tbaa !20
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.Vertex, ptr %113, i32 0, i32 2
  %115 = load float, ptr %114, align 4, !tbaa !20
  %116 = fsub float %112, %115
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.Vertex, ptr %117, i32 0, i32 0
  %119 = load float, ptr %118, align 4, !tbaa !22
  %120 = load ptr, ptr %15, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.Vertex, ptr %120, i32 0, i32 0
  %122 = load float, ptr %121, align 4, !tbaa !22
  %123 = fsub float %119, %122
  %124 = load ptr, ptr %16, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.Vertex, ptr %124, i32 0, i32 0
  %126 = load float, ptr %125, align 4, !tbaa !22
  %127 = load ptr, ptr %15, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.Vertex, ptr %127, i32 0, i32 0
  %129 = load float, ptr %128, align 4, !tbaa !22
  %130 = fsub float %126, %129
  %131 = load ptr, ptr %17, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.Vertex, ptr %131, i32 0, i32 2
  %133 = load float, ptr %132, align 4, !tbaa !20
  %134 = load ptr, ptr %15, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.Vertex, ptr %134, i32 0, i32 2
  %136 = load float, ptr %135, align 4, !tbaa !20
  %137 = fsub float %133, %136
  %138 = fmul float %130, %137
  %139 = fneg float %138
  %140 = call float @llvm.fmuladd.f32(float %116, float %123, float %139)
  store float %140, ptr %19, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %141 = load ptr, ptr %16, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.Vertex, ptr %141, i32 0, i32 0
  %143 = load float, ptr %142, align 4, !tbaa !22
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.Vertex, ptr %144, i32 0, i32 0
  %146 = load float, ptr %145, align 4, !tbaa !22
  %147 = fsub float %143, %146
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.Vertex, ptr %148, i32 0, i32 1
  %150 = load float, ptr %149, align 4, !tbaa !17
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.Vertex, ptr %151, i32 0, i32 1
  %153 = load float, ptr %152, align 4, !tbaa !17
  %154 = fsub float %150, %153
  %155 = load ptr, ptr %16, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.Vertex, ptr %155, i32 0, i32 1
  %157 = load float, ptr %156, align 4, !tbaa !17
  %158 = load ptr, ptr %15, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.Vertex, ptr %158, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !17
  %161 = fsub float %157, %160
  %162 = load ptr, ptr %17, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.Vertex, ptr %162, i32 0, i32 0
  %164 = load float, ptr %163, align 4, !tbaa !22
  %165 = load ptr, ptr %15, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.Vertex, ptr %165, i32 0, i32 0
  %167 = load float, ptr %166, align 4, !tbaa !22
  %168 = fsub float %164, %167
  %169 = fmul float %161, %168
  %170 = fneg float %169
  %171 = call float @llvm.fmuladd.f32(float %147, float %154, float %170)
  store float %171, ptr %20, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !15
  br label %172

172:                                              ; preds = %208, %52
  %173 = load i32, ptr %21, align 4, !tbaa !15
  %174 = icmp slt i32 %173, 3
  br i1 %174, label %176, label %175

175:                                              ; preds = %172
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %211

176:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = load i64, ptr %10, align 8, !tbaa !13
  %179 = load i32, ptr %21, align 4, !tbaa !15
  %180 = sext i32 %179 to i64
  %181 = add i64 %178, %180
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %177, i64 noundef %181) #5
  %183 = load i32, ptr %182, align 4, !tbaa !15
  store i32 %183, ptr %22, align 4, !tbaa !15
  %184 = load float, ptr %18, align 4, !tbaa !21
  %185 = load i32, ptr %22, align 4, !tbaa !15
  %186 = mul i32 %185, 3
  %187 = add i32 %186, 0
  %188 = zext i32 %187 to i64
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %188) #5
  %190 = load float, ptr %189, align 4, !tbaa !21
  %191 = fadd float %190, %184
  store float %191, ptr %189, align 4, !tbaa !21
  %192 = load float, ptr %19, align 4, !tbaa !21
  %193 = load i32, ptr %22, align 4, !tbaa !15
  %194 = mul i32 %193, 3
  %195 = add i32 %194, 1
  %196 = zext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %196) #5
  %198 = load float, ptr %197, align 4, !tbaa !21
  %199 = fadd float %198, %192
  store float %199, ptr %197, align 4, !tbaa !21
  %200 = load float, ptr %20, align 4, !tbaa !21
  %201 = load i32, ptr %22, align 4, !tbaa !15
  %202 = mul i32 %201, 3
  %203 = add i32 %202, 2
  %204 = zext i32 %203 to i64
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %204) #5
  %206 = load float, ptr %205, align 4, !tbaa !21
  %207 = fadd float %206, %200
  store float %207, ptr %205, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %208

208:                                              ; preds = %176
  %209 = load i32, ptr %21, align 4, !tbaa !15
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %21, align 4, !tbaa !15
  br label %172, !llvm.loop !23

211:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %212

212:                                              ; preds = %211
  %213 = load i64, ptr %10, align 8, !tbaa !13
  %214 = add i64 %213, 3
  store i64 %214, ptr %10, align 8, !tbaa !13
  br label %42, !llvm.loop !25

215:                                              ; preds = %47
  br label %216

216:                                              ; preds = %215, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  store i64 0, ptr %23, align 8, !tbaa !13
  br label %217

217:                                              ; preds = %304, %216
  %218 = load i64, ptr %23, align 8, !tbaa !13
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #5
  %221 = icmp ult i64 %218, %220
  br i1 %221, label %223, label %222

222:                                              ; preds = %217
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %307

223:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = load i64, ptr %23, align 8, !tbaa !13
  %226 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %224, i64 noundef %225) #5
  store ptr %226, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %227 = load ptr, ptr %24, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.Vertex, ptr %227, i32 0, i32 3
  %229 = load float, ptr %228, align 4, !tbaa !26
  store float %229, ptr %25, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %230 = load ptr, ptr %24, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.Vertex, ptr %230, i32 0, i32 4
  %232 = load float, ptr %231, align 4, !tbaa !27
  store float %232, ptr %26, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %233 = load ptr, ptr %24, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.Vertex, ptr %233, i32 0, i32 5
  %235 = load float, ptr %234, align 4, !tbaa !28
  store float %235, ptr %27, align 4, !tbaa !21
  %236 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %237 = trunc i8 %236 to i1
  br i1 %237, label %238, label %281

238:                                              ; preds = %223
  %239 = load i64, ptr %23, align 8, !tbaa !13
  %240 = mul i64 %239, 3
  %241 = add i64 %240, 0
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %241) #5
  %243 = load float, ptr %242, align 4, !tbaa !21
  store float %243, ptr %25, align 4, !tbaa !21
  %244 = load i64, ptr %23, align 8, !tbaa !13
  %245 = mul i64 %244, 3
  %246 = add i64 %245, 1
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %246) #5
  %248 = load float, ptr %247, align 4, !tbaa !21
  store float %248, ptr %26, align 4, !tbaa !21
  %249 = load i64, ptr %23, align 8, !tbaa !13
  %250 = mul i64 %249, 3
  %251 = add i64 %250, 2
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %251) #5
  %253 = load float, ptr %252, align 4, !tbaa !21
  store float %253, ptr %27, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %254 = load float, ptr %25, align 4, !tbaa !21
  %255 = load float, ptr %25, align 4, !tbaa !21
  %256 = load float, ptr %26, align 4, !tbaa !21
  %257 = load float, ptr %26, align 4, !tbaa !21
  %258 = fmul float %256, %257
  %259 = call float @llvm.fmuladd.f32(float %254, float %255, float %258)
  %260 = load float, ptr %27, align 4, !tbaa !21
  %261 = load float, ptr %27, align 4, !tbaa !21
  %262 = call float @llvm.fmuladd.f32(float %260, float %261, float %259)
  %263 = call float @sqrtf(float noundef %262) #5
  store float %263, ptr %28, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %264 = load float, ptr %28, align 4, !tbaa !21
  %265 = fcmp oeq float %264, 0.000000e+00
  br i1 %265, label %266, label %267

266:                                              ; preds = %238
  br label %270

267:                                              ; preds = %238
  %268 = load float, ptr %28, align 4, !tbaa !21
  %269 = fdiv float 1.000000e+00, %268
  br label %270

270:                                              ; preds = %267, %266
  %271 = phi float [ 0.000000e+00, %266 ], [ %269, %267 ]
  store float %271, ptr %29, align 4, !tbaa !21
  %272 = load float, ptr %29, align 4, !tbaa !21
  %273 = load float, ptr %25, align 4, !tbaa !21
  %274 = fmul float %273, %272
  store float %274, ptr %25, align 4, !tbaa !21
  %275 = load float, ptr %29, align 4, !tbaa !21
  %276 = load float, ptr %26, align 4, !tbaa !21
  %277 = fmul float %276, %275
  store float %277, ptr %26, align 4, !tbaa !21
  %278 = load float, ptr %29, align 4, !tbaa !21
  %279 = load float, ptr %27, align 4, !tbaa !21
  %280 = fmul float %279, %278
  store float %280, ptr %27, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %281

281:                                              ; preds = %270, %223
  %282 = load ptr, ptr @stderr, align 8, !tbaa !5
  %283 = load ptr, ptr %24, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.Vertex, ptr %283, i32 0, i32 0
  %285 = load float, ptr %284, align 4, !tbaa !22
  %286 = fpext float %285 to double
  %287 = load ptr, ptr %24, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.Vertex, ptr %287, i32 0, i32 1
  %289 = load float, ptr %288, align 4, !tbaa !17
  %290 = fpext float %289 to double
  %291 = load ptr, ptr %24, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.Vertex, ptr %291, i32 0, i32 2
  %293 = load float, ptr %292, align 4, !tbaa !20
  %294 = fpext float %293 to double
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %282, ptr noundef @.str.1, double noundef %286, double noundef %290, double noundef %294) #5
  %296 = load ptr, ptr @stderr, align 8, !tbaa !5
  %297 = load float, ptr %25, align 4, !tbaa !21
  %298 = fpext float %297 to double
  %299 = load float, ptr %26, align 4, !tbaa !21
  %300 = fpext float %299 to double
  %301 = load float, ptr %27, align 4, !tbaa !21
  %302 = fpext float %301 to double
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %296, ptr noundef @.str.2, double noundef %298, double noundef %300, double noundef %302) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %304

304:                                              ; preds = %281
  %305 = load i64, ptr %23, align 8, !tbaa !13
  %306 = add i64 %305, 1
  store i64 %306, ptr %23, align 8, !tbaa !13
  br label %217, !llvm.loop !29

307:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  store i64 0, ptr %30, align 8, !tbaa !13
  br label %308

308:                                              ; preds = %343, %307
  %309 = load i64, ptr %30, align 8, !tbaa !13
  %310 = load ptr, ptr %5, align 8, !tbaa !5
  %311 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %310) #5
  %312 = icmp ult i64 %309, %311
  br i1 %312, label %314, label %313

313:                                              ; preds = %308
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %346

314:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = load i64, ptr %30, align 8, !tbaa !13
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %315, i64 noundef %316) #5
  %318 = load i32, ptr %317, align 4, !tbaa !15
  store i32 %318, ptr %31, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %319 = load ptr, ptr %5, align 8, !tbaa !5
  %320 = load i64, ptr %30, align 8, !tbaa !13
  %321 = add i64 %320, 1
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %319, i64 noundef %321) #5
  %323 = load i32, ptr %322, align 4, !tbaa !15
  store i32 %323, ptr %32, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %324 = load ptr, ptr %5, align 8, !tbaa !5
  %325 = load i64, ptr %30, align 8, !tbaa !13
  %326 = add i64 %325, 2
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %324, i64 noundef %326) #5
  %328 = load i32, ptr %327, align 4, !tbaa !15
  store i32 %328, ptr %33, align 4, !tbaa !15
  %329 = load ptr, ptr @stderr, align 8, !tbaa !5
  %330 = load i32, ptr %31, align 4, !tbaa !15
  %331 = add i32 %330, 1
  %332 = load i32, ptr %31, align 4, !tbaa !15
  %333 = add i32 %332, 1
  %334 = load i32, ptr %32, align 4, !tbaa !15
  %335 = add i32 %334, 1
  %336 = load i32, ptr %32, align 4, !tbaa !15
  %337 = add i32 %336, 1
  %338 = load i32, ptr %33, align 4, !tbaa !15
  %339 = add i32 %338, 1
  %340 = load i32, ptr %33, align 4, !tbaa !15
  %341 = add i32 %340, 1
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.3, i32 noundef %331, i32 noundef %333, i32 noundef %335, i32 noundef %337, i32 noundef %339, i32 noundef %341) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %343

343:                                              ; preds = %314
  %344 = load i64, ptr %30, align 8, !tbaa !13
  %345 = add i64 %344, 3
  store i64 %345, ptr %30, align 8, !tbaa !13
  br label %308, !llvm.loop !30

346:                                              ; preds = %313
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  ret void

347:                                              ; preds = %48
  %348 = load ptr, ptr %8, align 8
  %349 = load i32, ptr %9, align 4
  %350 = insertvalue { ptr, i32 } poison, ptr %348, 0
  %351 = insertvalue { ptr, i32 } %350, i32 %349, 1
  resume { ptr, i32 } %351
}

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

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

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 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !19, i64 4}
!18 = !{!"_ZTS6Vertex", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28}
!19 = !{!"float", !7, i64 0}
!20 = !{!18, !19, i64 8}
!21 = !{!19, !19, i64 0}
!22 = !{!18, !19, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!18, !19, i64 12}
!27 = !{!18, !19, i64 16}
!28 = !{!18, !19, i64 20}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}


; 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::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7dumpObjRKSt6vectorI6VertexSaIS0_EERKS_IjSaIjEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i1 noundef zeroext %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.5", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %5 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br i1 %2, label %6, label %.loopexit.thread

6:                                                ; preds = %3
  %7 = mul i64 %5, 3
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %7)
          to label %.preheader106 unwind label %9

.preheader106:                                    ; preds = %6
  %8 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %.loopexit.thread118, label %.lr.ph

9:                                                ; preds = %6
  %10 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  resume { ptr, i32 } %10

.lr.ph:                                           ; preds = %.preheader106, %.lr.ph
  %.0108 = phi i64 [ %106, %.lr.ph ], [ 0, %.preheader106 ]
  %11 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0108) #6
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = add nuw i64 %.0108, 1
  %14 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %13) #6
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = add i64 %.0108, 2
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %16) #6
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = zext i32 %12 to i64
  %20 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %19) #6
  %21 = zext i32 %15 to i64
  %22 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %21) #6
  %23 = zext i32 %18 to i64
  %24 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %23) #6
  %25 = getelementptr inbounds i8, ptr %22, i64 4
  %26 = load float, ptr %25, align 4, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %20, i64 4
  %28 = load float, ptr %27, align 4, !tbaa !9
  %29 = fsub float %26, %28
  %30 = getelementptr inbounds i8, ptr %24, i64 8
  %31 = load float, ptr %30, align 4, !tbaa !12
  %32 = getelementptr inbounds i8, ptr %20, i64 8
  %33 = load float, ptr %32, align 4, !tbaa !12
  %34 = fsub float %31, %33
  %35 = getelementptr inbounds i8, ptr %22, i64 8
  %36 = load float, ptr %35, align 4, !tbaa !12
  %37 = fsub float %36, %33
  %38 = getelementptr inbounds i8, ptr %24, i64 4
  %39 = load float, ptr %38, align 4, !tbaa !9
  %40 = fsub float %39, %28
  %41 = fneg float %37
  %42 = fmul float %40, %41
  %43 = call float @llvm.fmuladd.f32(float %29, float %34, float %42)
  %44 = load float, ptr %24, align 4, !tbaa !13
  %45 = load float, ptr %20, align 4, !tbaa !13
  %46 = fsub float %44, %45
  %47 = load float, ptr %22, align 4, !tbaa !13
  %48 = fsub float %47, %45
  %49 = fneg float %48
  %50 = fmul float %34, %49
  %51 = call float @llvm.fmuladd.f32(float %37, float %46, float %50)
  %52 = fneg float %29
  %53 = fmul float %46, %52
  %54 = call float @llvm.fmuladd.f32(float %48, float %40, float %53)
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0108) #6
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = mul i32 %56, 3
  %58 = zext i32 %57 to i64
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %58) #6
  %60 = load float, ptr %59, align 4, !tbaa !14
  %61 = fadd float %43, %60
  store float %61, ptr %59, align 4, !tbaa !14
  %62 = add i32 %57, 1
  %63 = zext i32 %62 to i64
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %63) #6
  %65 = load float, ptr %64, align 4, !tbaa !14
  %66 = fadd float %51, %65
  store float %66, ptr %64, align 4, !tbaa !14
  %67 = add i32 %57, 2
  %68 = zext i32 %67 to i64
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %68) #6
  %70 = load float, ptr %69, align 4, !tbaa !14
  %71 = fadd float %54, %70
  store float %71, ptr %69, align 4, !tbaa !14
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %13) #6
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = mul i32 %73, 3
  %75 = zext i32 %74 to i64
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %75) #6
  %77 = load float, ptr %76, align 4, !tbaa !14
  %78 = fadd float %43, %77
  store float %78, ptr %76, align 4, !tbaa !14
  %79 = add i32 %74, 1
  %80 = zext i32 %79 to i64
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %80) #6
  %82 = load float, ptr %81, align 4, !tbaa !14
  %83 = fadd float %51, %82
  store float %83, ptr %81, align 4, !tbaa !14
  %84 = add i32 %74, 2
  %85 = zext i32 %84 to i64
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %85) #6
  %87 = load float, ptr %86, align 4, !tbaa !14
  %88 = fadd float %54, %87
  store float %88, ptr %86, align 4, !tbaa !14
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %16) #6
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = mul i32 %90, 3
  %92 = zext i32 %91 to i64
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %92) #6
  %94 = load float, ptr %93, align 4, !tbaa !14
  %95 = fadd float %43, %94
  store float %95, ptr %93, align 4, !tbaa !14
  %96 = add i32 %91, 1
  %97 = zext i32 %96 to i64
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %97) #6
  %99 = load float, ptr %98, align 4, !tbaa !14
  %100 = fadd float %51, %99
  store float %100, ptr %98, align 4, !tbaa !14
  %101 = add i32 %91, 2
  %102 = zext i32 %101 to i64
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %102) #6
  %104 = load float, ptr %103, align 4, !tbaa !14
  %105 = fadd float %54, %104
  store float %105, ptr %103, align 4, !tbaa !14
  %106 = add i64 %.0108, 3
  %107 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %108 = icmp ult i64 %106, %107
  br i1 %108, label %.lr.ph, label %.loopexit, !llvm.loop !15

.loopexit:                                        ; preds = %.lr.ph
  %109 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %.not113 = icmp eq i64 %109, 0
  br i1 %.not113, label %.preheader, label %.lr.ph110

.loopexit.thread118:                              ; preds = %.preheader106
  %110 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %.not113119 = icmp eq i64 %110, 0
  br i1 %.not113119, label %.preheader, label %.lr.ph110.split.us.preheader

.loopexit.thread:                                 ; preds = %3
  %.not113117 = icmp eq i64 %5, 0
  br i1 %.not113117, label %.preheader, label %.lr.ph110.split.preheader

.lr.ph110:                                        ; preds = %.loopexit
  br i1 %2, label %.lr.ph110.split.us.preheader, label %.lr.ph110.split.preheader

.lr.ph110.split.preheader:                        ; preds = %.loopexit.thread, %.lr.ph110
  br label %.lr.ph110.split

.lr.ph110.split.us.preheader:                     ; preds = %.loopexit.thread118, %.lr.ph110
  br label %.lr.ph110.split.us

.lr.ph110.split.us:                               ; preds = %.lr.ph110.split.us.preheader, %.lr.ph110.split.us
  %.0102109.us = phi i64 [ %145, %.lr.ph110.split.us ], [ 0, %.lr.ph110.split.us.preheader ]
  %111 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.0102109.us) #6
  %112 = mul i64 %.0102109.us, 3
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %112) #6
  %114 = load float, ptr %113, align 4, !tbaa !14
  %115 = add i64 %112, 1
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %115) #6
  %117 = load float, ptr %116, align 4, !tbaa !14
  %118 = add i64 %112, 2
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %118) #6
  %120 = load float, ptr %119, align 4, !tbaa !14
  %121 = fmul float %117, %117
  %122 = call float @llvm.fmuladd.f32(float %114, float %114, float %121)
  %123 = call float @llvm.fmuladd.f32(float %120, float %120, float %122)
  %sqrt.us = call float @llvm.sqrt.f32(float %123)
  %124 = fcmp oeq float %sqrt.us, 0.000000e+00
  %125 = fdiv float 1.000000e+00, %sqrt.us
  %126 = select i1 %124, float 0.000000e+00, float %125
  %127 = fmul float %114, %126
  %128 = fmul float %117, %126
  %129 = fmul float %120, %126
  %130 = load ptr, ptr @stderr, align 8, !tbaa !17
  %131 = load float, ptr %111, align 4, !tbaa !13
  %132 = fpext float %131 to double
  %133 = getelementptr inbounds i8, ptr %111, i64 4
  %134 = load float, ptr %133, align 4, !tbaa !9
  %135 = fpext float %134 to double
  %136 = getelementptr inbounds i8, ptr %111, i64 8
  %137 = load float, ptr %136, align 4, !tbaa !12
  %138 = fpext float %137 to double
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef nonnull @.str.1, double noundef %132, double noundef %135, double noundef %138) #7
  %140 = load ptr, ptr @stderr, align 8, !tbaa !17
  %141 = fpext float %127 to double
  %142 = fpext float %128 to double
  %143 = fpext float %129 to double
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef nonnull @.str.2, double noundef %141, double noundef %142, double noundef %143) #7
  %145 = add nuw i64 %.0102109.us, 1
  %146 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %147 = icmp ult i64 %145, %146
  br i1 %147, label %.lr.ph110.split.us, label %.preheader, !llvm.loop !19

.preheader:                                       ; preds = %.lr.ph110.split, %.lr.ph110.split.us, %.loopexit.thread118, %.loopexit.thread, %.loopexit
  %148 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not114 = icmp eq i64 %148, 0
  br i1 %.not114, label %._crit_edge, label %.lr.ph112

.lr.ph110.split:                                  ; preds = %.lr.ph110.split.preheader, %.lr.ph110.split
  %.0102109 = phi i64 [ %171, %.lr.ph110.split ], [ 0, %.lr.ph110.split.preheader ]
  %149 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZNKSt6vectorI6VertexSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.0102109) #6
  %150 = getelementptr inbounds i8, ptr %149, i64 12
  %151 = load float, ptr %150, align 4, !tbaa !20
  %152 = getelementptr inbounds i8, ptr %149, i64 16
  %153 = load float, ptr %152, align 4, !tbaa !21
  %154 = getelementptr inbounds i8, ptr %149, i64 20
  %155 = load float, ptr %154, align 4, !tbaa !22
  %156 = load ptr, ptr @stderr, align 8, !tbaa !17
  %157 = load float, ptr %149, align 4, !tbaa !13
  %158 = fpext float %157 to double
  %159 = getelementptr inbounds i8, ptr %149, i64 4
  %160 = load float, ptr %159, align 4, !tbaa !9
  %161 = fpext float %160 to double
  %162 = getelementptr inbounds i8, ptr %149, i64 8
  %163 = load float, ptr %162, align 4, !tbaa !12
  %164 = fpext float %163 to double
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %156, ptr noundef nonnull @.str.1, double noundef %158, double noundef %161, double noundef %164) #7
  %166 = load ptr, ptr @stderr, align 8, !tbaa !17
  %167 = fpext float %151 to double
  %168 = fpext float %153 to double
  %169 = fpext float %155 to double
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef nonnull @.str.2, double noundef %167, double noundef %168, double noundef %169) #7
  %171 = add nuw i64 %.0102109, 1
  %172 = call noundef i64 @_ZNKSt6vectorI6VertexSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %173 = icmp ult i64 %171, %172
  br i1 %173, label %.lr.ph110.split, label %.preheader, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph112, %.preheader
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  ret void

.lr.ph112:                                        ; preds = %.preheader, %.lr.ph112
  %.0101111 = phi i64 [ %187, %.lr.ph112 ], [ 0, %.preheader ]
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.0101111) #6
  %175 = load i32, ptr %174, align 4, !tbaa !5
  %176 = add nuw i64 %.0101111, 1
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %176) #6
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = add i64 %.0101111, 2
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %179) #6
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = load ptr, ptr @stderr, align 8, !tbaa !17
  %183 = add i32 %175, 1
  %184 = add i32 %178, 1
  %185 = add i32 %181, 1
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef nonnull @.str.3, i32 noundef %183, i32 noundef %183, i32 noundef %184, i32 noundef %184, i32 noundef %185, i32 noundef %185) #7
  %187 = add i64 %.0101111, 3
  %188 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %189 = icmp ult i64 %187, %188
  br i1 %189, label %.lr.ph112, label %._crit_edge, !llvm.loop !23
}

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.sqrt.f32(float) #5

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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { cold 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, !11, i64 4}
!10 = !{!"_ZTS6Vertex", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!11 = !{!"float", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !11, i64 0}
!14 = !{!11, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = distinct !{!19, !16}
!20 = !{!10, !11, i64 12}
!21 = !{!10, !11, i64 16}
!22 = !{!10, !11, i64 20}
!23 = distinct !{!23, !16}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass