; LLVM IR from jasonlmfong/Model-Modifier :: Model-Modifier/src/scene/surface/Surface_Loop.ll (ZN7Surface4LoopEv)

; 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.Object = type { %"struct.glm::vec", %"struct.glm::vec", %"class.std::vector", %"class.std::vector.2", %"class.std::vector.2", %"class.std::unordered_map" }
%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::allocator" = type { i8 }
%struct.EdgeRecord = type { i32, i32, %"struct.glm::vec", %"class.std::vector.61" }
%"class.std::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.VertexRecord = type { %"struct.glm::vec", %"class.std::vector.61", %"class.std::vector.61" }
%"class.__gnu_cxx::__normal_iterator.83" = type { ptr }
%class.Surface = type { %"class.std::vector.32", %"class.std::vector.37", %"class.std::vector.42", %"struct.glm::vec", %"struct.glm::vec", %"class.std::unordered_map.47" }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<VertexRecord, std::allocator<VertexRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<EdgeRecord, std::allocator<EdgeRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FaceRecord, std::allocator<FaceRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.47" = type { %"class.std::_Hashtable.48" }
%"class.std::_Hashtable.48" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.FaceRecord = type { %"struct.glm::vec", %"class.std::vector.61", %"class.std::unordered_map.66", %"class.std::vector.61" }
%"class.std::unordered_map.66" = type { %"class.std::_Hashtable.67" }
%"class.std::_Hashtable.67" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Surface11LoOutputOBJESt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EE(ptr dead_on_unwind noalias writable sret(%class.Object) align 8, ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) #0 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(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(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Surface4LoopEv(ptr dead_on_unwind noalias writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %struct.EdgeRecord, align 8
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca %"struct.glm::vec", align 4
  %14 = alloca %"struct.glm::vec", align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca %"struct.glm::vec", align 4
  %17 = alloca { <2 x float>, float }, align 8
  %18 = alloca { <2 x float>, float }, align 8
  %19 = alloca %"struct.glm::vec", align 4
  %20 = alloca { <2 x float>, float }, align 8
  %21 = alloca { <2 x float>, float }, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %struct.VertexRecord, align 8
  %26 = alloca %"struct.glm::vec", align 4
  %27 = alloca float, align 4
  %28 = alloca %"struct.glm::vec", align 4
  %29 = alloca ptr, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.83", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.83", align 8
  %32 = alloca i32, align 4
  %33 = alloca %"struct.glm::vec", align 4
  %34 = alloca %"struct.glm::vec", align 4
  %35 = alloca { <2 x float>, float }, align 8
  %36 = alloca { <2 x float>, float }, align 8
  %37 = alloca i32, align 4
  %38 = alloca %"struct.glm::vec", align 4
  %39 = alloca %"struct.glm::vec", align 4
  %40 = alloca { <2 x float>, float }, align 8
  %41 = alloca %"struct.glm::vec", align 4
  %42 = alloca { <2 x float>, float }, align 8
  %43 = alloca { <2 x float>, float }, align 8
  %44 = alloca float, align 4
  %45 = alloca %"struct.glm::vec", align 4
  %46 = alloca %"struct.glm::vec", align 4
  %47 = alloca %"struct.glm::vec", align 4
  %48 = alloca { <2 x float>, float }, align 8
  %49 = alloca { <2 x float>, float }, align 8
  %50 = alloca %"struct.glm::vec", align 4
  %51 = alloca { <2 x float>, float }, align 8
  %52 = alloca { <2 x float>, float }, align 8
  %53 = alloca %"class.std::vector", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %54 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %55 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 1
  %56 = call noundef i64 @_ZNKSt6vectorI10EdgeRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  %57 = trunc i64 %56 to i32
  store i32 %57, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #8
  %58 = load i32, ptr %5, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  call void @_ZNSaIN3glm3vecILi3EfLNS_9qualifierE0EEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEC2EmRKS4_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %59, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %60 unwind label %66

60:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIN3glm3vecILi3EfLNS0_9qualifierE0EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %132, %60
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = load i32, ptr %5, align 4, !tbaa !9
  %64 = icmp ult i32 %62, %63
  br i1 %64, label %70, label %65

65:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %136

66:                                               ; preds = %2
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIN3glm3vecILi3EfLNS0_9qualifierE0EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  br label %263

70:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #8
  %71 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 1
  %72 = load i32, ptr %10, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %73) #8
  invoke void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %74)
          to label %75 unwind label %84

75:                                               ; preds = %70
  %76 = getelementptr inbounds %struct.EdgeRecord, ptr %11, i32 0, i32 3
  %77 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #8
  %78 = icmp eq i64 %77, 1
  br i1 %78, label %79, label %88

79:                                               ; preds = %75
  %80 = getelementptr inbounds %struct.EdgeRecord, ptr %11, i32 0, i32 2
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %82) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 8 %80, i64 12, i1 false), !tbaa.struct !11
  br label %131

84:                                               ; preds = %70
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %8, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %9, align 4
  br label %135

88:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #8
  %89 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 2
  %90 = getelementptr inbounds %struct.EdgeRecord, ptr %11, i32 0, i32 3
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef 0) #8
  %92 = load i32, ptr %91, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %93) #8
  %95 = getelementptr inbounds %struct.FaceRecord, ptr %94, i32 0, i32 0
  %96 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 3.750000e-01, ptr noundef nonnull align 4 dereferenceable(12) %95)
          to label %97 unwind label %117

97:                                               ; preds = %88
  store { <2 x float>, float } %96, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  %98 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 2
  %99 = getelementptr inbounds %struct.EdgeRecord, ptr %11, i32 0, i32 3
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef 1) #8
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %102) #8
  %104 = getelementptr inbounds %struct.FaceRecord, ptr %103, i32 0, i32 0
  %105 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 3.750000e-01, ptr noundef nonnull align 4 dereferenceable(12) %104)
          to label %106 unwind label %121

106:                                              ; preds = %97
  store { <2 x float>, float } %105, ptr %17, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %17, i64 12, i1 false)
  %107 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %108 unwind label %121

108:                                              ; preds = %106
  store { <2 x float>, float } %107, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %18, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #8
  %109 = getelementptr inbounds %struct.EdgeRecord, ptr %11, i32 0, i32 2
  %110 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %109)
          to label %111 unwind label %125

111:                                              ; preds = %108
  store { <2 x float>, float } %110, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 8 %20, i64 12, i1 false)
  %112 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %19)
          to label %113 unwind label %125

113:                                              ; preds = %111
  store { <2 x float>, float } %112, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 8 %21, i64 12, i1 false)
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %115) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %116, ptr align 4 %12, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  br label %131

117:                                              ; preds = %88
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %8, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %9, align 4
  br label %130

121:                                              ; preds = %106, %97
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %8, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %9, align 4
  br label %129

125:                                              ; preds = %111, %108
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %8, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #8
  br label %129

129:                                              ; preds = %125, %121
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  br label %130

130:                                              ; preds = %129, %117
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #8
  br label %135

131:                                              ; preds = %113, %79
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #8
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = add i32 %133, 1
  store i32 %134, ptr %10, align 4, !tbaa !9
  br label %61, !llvm.loop !13

135:                                              ; preds = %130, %84
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %262

136:                                              ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %137 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 0
  %138 = call noundef i64 @_ZNKSt6vectorI12VertexRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #8
  %139 = trunc i64 %138 to i32
  store i32 %139, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %244, %136
  %141 = load i32, ptr %23, align 4, !tbaa !9
  %142 = load i32, ptr %22, align 4, !tbaa !9
  %143 = icmp ult i32 %141, %142
  br i1 %143, label %145, label %144

144:                                              ; preds = %140
  store i32 5, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %250

145:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #8
  %146 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 0
  %147 = load i32, ptr %23, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %148) #8
  invoke void @_ZN12VertexRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(64) %149)
          to label %150 unwind label %162

150:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #8
  %151 = getelementptr inbounds %struct.VertexRecord, ptr %25, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 8 %151, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store float 6.250000e-01, ptr %27, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #8
  call void @llvm.memset.p0.i64(ptr align 4 %28, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %152 = getelementptr inbounds %struct.VertexRecord, ptr %25, i32 0, i32 1
  store ptr %152, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %153 = load ptr, ptr %29, align 8, !tbaa !5
  %154 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #8
  %155 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.83", ptr %30, i32 0, i32 0
  store ptr %154, ptr %155, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %156 = load ptr, ptr %29, align 8, !tbaa !5
  %157 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #8
  %158 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.83", ptr %31, i32 0, i32 0
  store ptr %157, ptr %158, align 8
  br label %159

159:                                              ; preds = %180, %150
  %160 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br i1 %160, label %166, label %161

161:                                              ; preds = %159
  store i32 8, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %186

162:                                              ; preds = %145
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %8, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %9, align 4
  br label %249

166:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  %168 = load i32, ptr %167, align 4, !tbaa !9
  store i32 %168, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #8
  %169 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 1
  %170 = load i32, ptr %32, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %171) #8
  %173 = getelementptr inbounds %struct.EdgeRecord, ptr %172, i32 0, i32 2
  %174 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %173)
          to label %175 unwind label %182

175:                                              ; preds = %166
  store { <2 x float>, float } %174, ptr %35, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %35, i64 12, i1 false)
  %176 = invoke { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %34, ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %177 unwind label %182

177:                                              ; preds = %175
  store { <2 x float>, float } %176, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 8 %36, i64 12, i1 false)
  %178 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEpLIfEERS2_RKNS0_ILi3ET_LS1_0EEE(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(12) %33)
          to label %179 unwind label %182

179:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %180

180:                                              ; preds = %179
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br label %159

182:                                              ; preds = %177, %175, %166
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %8, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %248

186:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %187 = getelementptr inbounds %struct.VertexRecord, ptr %25, i32 0, i32 1
  %188 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %187) #8
  %189 = trunc i64 %188 to i32
  store i32 %189, ptr %37, align 4, !tbaa !9
  %190 = load i32, ptr %37, align 4, !tbaa !9
  %191 = icmp eq i32 %190, 2
  br i1 %191, label %192, label %213

192:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 12, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #8
  %193 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 7.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %194 unwind label %204

194:                                              ; preds = %192
  store { <2 x float>, float } %193, ptr %40, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 8 %40, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #8
  %195 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 1.250000e-01, ptr noundef nonnull align 4 dereferenceable(12) %28)
          to label %196 unwind label %208

196:                                              ; preds = %194
  store { <2 x float>, float } %195, ptr %42, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %42, i64 12, i1 false)
  %197 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %198 unwind label %208

198:                                              ; preds = %196
  store { <2 x float>, float } %197, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 8 %43, i64 12, i1 false)
  %199 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 0
  %200 = load i32, ptr %23, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #8
  %203 = getelementptr inbounds %struct.VertexRecord, ptr %202, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %203, ptr align 4 %38, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #8
  br label %243

204:                                              ; preds = %192
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %8, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %9, align 4
  br label %212

208:                                              ; preds = %196, %194
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %8, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  br label %212

212:                                              ; preds = %208, %204
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %38) #8
  br label %247

213:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  %214 = load i32, ptr %37, align 4, !tbaa !9
  %215 = uitofp i32 %214 to float
  %216 = fdiv float 1.000000e+00, %215
  store float %216, ptr %44, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 12, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #8
  %217 = load float, ptr %27, align 4, !tbaa !15
  %218 = fsub float 1.000000e+00, %217
  %219 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef %218, ptr noundef nonnull align 4 dereferenceable(12) %28)
          to label %220 unwind label %234

220:                                              ; preds = %213
  store { <2 x float>, float } %219, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 8 %48, i64 12, i1 false)
  %221 = load float, ptr %44, align 4, !tbaa !15
  %222 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12) %47, float noundef %221)
          to label %223 unwind label %234

223:                                              ; preds = %220
  store { <2 x float>, float } %222, ptr %49, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 8 %49, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #8
  %224 = load float, ptr %27, align 4, !tbaa !15
  %225 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef %224, ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %226 unwind label %238

226:                                              ; preds = %223
  store { <2 x float>, float } %225, ptr %51, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %51, i64 12, i1 false)
  %227 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %46, ptr noundef nonnull align 4 dereferenceable(12) %50)
          to label %228 unwind label %238

228:                                              ; preds = %226
  store { <2 x float>, float } %227, ptr %52, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 8 %52, i64 12, i1 false)
  %229 = getelementptr inbounds %class.Surface, ptr %54, i32 0, i32 0
  %230 = load i32, ptr %23, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef %231) #8
  %233 = getelementptr inbounds %struct.VertexRecord, ptr %232, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %233, ptr align 4 %45, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %243

234:                                              ; preds = %220, %213
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %8, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %9, align 4
  br label %242

238:                                              ; preds = %226, %223
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %8, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #8
  br label %242

242:                                              ; preds = %238, %234
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %247

243:                                              ; preds = %228, %198
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  call void @_ZN12VertexRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #8
  br label %244

244:                                              ; preds = %243
  %245 = load i32, ptr %23, align 4, !tbaa !9
  %246 = add i32 %245, 1
  store i32 %246, ptr %23, align 4, !tbaa !9
  br label %140, !llvm.loop !17

247:                                              ; preds = %242, %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %248

248:                                              ; preds = %247, %182
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  call void @_ZN12VertexRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #8
  br label %249

249:                                              ; preds = %248, %162
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %261

250:                                              ; preds = %144
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %251 unwind label %253

251:                                              ; preds = %250
  invoke void @_ZN7Surface11LoOutputOBJESt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EE(ptr dead_on_unwind writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %54, ptr noundef %53)
          to label %252 unwind label %257

252:                                              ; preds = %251
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  store i32 1, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret void

253:                                              ; preds = %250
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %8, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %9, align 4
  br label %261

257:                                              ; preds = %251
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %8, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %9, align 4
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  br label %261

261:                                              ; preds = %257, %253, %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %262

262:                                              ; preds = %261, %135
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %263

263:                                              ; preds = %262, %66
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %264

264:                                              ; preds = %263
  %265 = load ptr, ptr %8, align 8
  %266 = load i32, ptr %9, align 4
  %267 = insertvalue { ptr, i32 } poison, ptr %265, 0
  %268 = insertvalue { ptr, i32 } %267, i32 %266, 1
  resume { ptr, i32 } %268
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12VertexRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEpLIfEERS2_RKNS0_ILi3ET_LS1_0EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12VertexRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12}
!12 = !{!7, !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.Object = type { %"struct.glm::vec", %"struct.glm::vec", %"class.std::vector", %"class.std::vector.2", %"class.std::vector.2", %"class.std::unordered_map" }
%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::vec<3, float>, std::allocator<glm::vec<3, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned int>, std::allocator<std::vector<unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::allocator" = type { i8 }
%struct.EdgeRecord = type { i32, i32, %"struct.glm::vec", %"class.std::vector.61" }
%"class.std::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.VertexRecord = type { %"struct.glm::vec", %"class.std::vector.61", %"class.std::vector.61" }
%"class.__gnu_cxx::__normal_iterator.83" = type { ptr }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Surface11LoOutputOBJESt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EE(ptr dead_on_unwind noalias writable sret(%class.Object) align 8, ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) local_unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(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(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Surface4LoopEv(ptr dead_on_unwind noalias writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %struct.EdgeRecord, align 8
  %6 = alloca %"struct.glm::vec", align 8
  %7 = alloca %"struct.glm::vec", align 8
  %8 = alloca %"struct.glm::vec", align 8
  %9 = alloca %"struct.glm::vec", align 8
  %10 = alloca %struct.VertexRecord, align 8
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.83", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.83", align 8
  %15 = alloca %"struct.glm::vec", align 8
  %16 = alloca %"struct.glm::vec", align 8
  %17 = alloca %"struct.glm::vec", align 8
  %18 = alloca %"struct.glm::vec", align 8
  %19 = alloca %"struct.glm::vec", align 8
  %20 = alloca %"struct.glm::vec", align 8
  %21 = alloca %"struct.glm::vec", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = getelementptr inbounds i8, ptr %1, i64 24
  %24 = tail call noundef i64 @_ZNKSt6vectorI10EdgeRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  %25 = and i64 %24, 4294967295
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  call void @_ZNSaIN3glm3vecILi3EfLNS_9qualifierE0EEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEC2EmRKS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %25, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %26 unwind label %34

26:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIN3glm3vecILi3EfLNS0_9qualifierE0EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  %27 = and i64 %24, 4294967295
  %.not = icmp eq i64 %27, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %26
  %28 = getelementptr inbounds i8, ptr %5, i64 24
  %29 = getelementptr inbounds i8, ptr %1, i64 48
  %.sroa.267.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.263.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.259.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %30 = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.255.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %wide.trip.count = and i64 %24, 4294967295
  br label %36

._crit_edge:                                      ; preds = %73, %26
  %31 = call noundef i64 @_ZNKSt6vectorI12VertexRecordSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  %32 = and i64 %31, 4294967295
  %.not116 = icmp eq i64 %32, 0
  br i1 %.not116, label %._crit_edge115, label %.lr.ph114

.lr.ph114:                                        ; preds = %._crit_edge
  %33 = getelementptr inbounds i8, ptr %10, i64 16
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  %.sroa.232.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %19, i64 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  %wide.trip.count121 = and i64 %31, 4294967295
  br label %75

34:                                               ; preds = %2
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN3glm3vecILi3EfLNS0_9qualifierE0EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  br label %140

36:                                               ; preds = %.lr.ph, %73
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %73 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #8
  %37 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv) #8
  invoke void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %38 unwind label %43

38:                                               ; preds = %36
  %39 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  %40 = icmp eq i64 %39, 1
  br i1 %40, label %41, label %45

41:                                               ; preds = %38
  %42 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 8 dereferenceable(12) %30, i64 12, i1 false), !tbaa.struct !5
  br label %73

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %74

45:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 0) #8
  %47 = load i32, ptr %46, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %48) #8
  %50 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 3.750000e-01, ptr noundef nonnull align 4 dereferenceable(12) %49)
          to label %51 unwind label %65

51:                                               ; preds = %45
  %.fca.0.extract64 = extractvalue { <2 x float>, float } %50, 0
  %.fca.1.extract65 = extractvalue { <2 x float>, float } %50, 1
  store <2 x float> %.fca.0.extract64, ptr %7, align 8
  store float %.fca.1.extract65, ptr %.sroa.267.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #8
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 1) #8
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI10FaceRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %54) #8
  %56 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 3.750000e-01, ptr noundef nonnull align 4 dereferenceable(12) %55)
          to label %57 unwind label %67

57:                                               ; preds = %51
  %.fca.0.extract60 = extractvalue { <2 x float>, float } %56, 0
  %.fca.1.extract61 = extractvalue { <2 x float>, float } %56, 1
  store <2 x float> %.fca.0.extract60, ptr %8, align 8
  store float %.fca.1.extract61, ptr %.sroa.263.0..sroa_idx, align 8
  %58 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %59 unwind label %67

59:                                               ; preds = %57
  %.fca.0.extract56 = extractvalue { <2 x float>, float } %58, 0
  %.fca.1.extract57 = extractvalue { <2 x float>, float } %58, 1
  store <2 x float> %.fca.0.extract56, ptr %6, align 8
  store float %.fca.1.extract57, ptr %.sroa.259.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #8
  %60 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %30)
          to label %61 unwind label %69

61:                                               ; preds = %59
  %.fca.0.extract52 = extractvalue { <2 x float>, float } %60, 0
  %.fca.1.extract53 = extractvalue { <2 x float>, float } %60, 1
  store <2 x float> %.fca.0.extract52, ptr %9, align 8
  store float %.fca.1.extract53, ptr %.sroa.255.0..sroa_idx, align 8
  %62 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %9)
          to label %63 unwind label %69

63:                                               ; preds = %61
  %.fca.0.extract48 = extractvalue { <2 x float>, float } %62, 0
  %.fca.1.extract49 = extractvalue { <2 x float>, float } %62, 1
  %64 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #8
  store <2 x float> %.fca.0.extract48, ptr %64, align 4
  %.sroa.569.0..sroa_idx = getelementptr inbounds i8, ptr %64, i64 8
  store float %.fca.1.extract49, ptr %.sroa.569.0..sroa_idx, align 4, !tbaa !6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  br label %73

65:                                               ; preds = %45
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %72

67:                                               ; preds = %57, %51
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %61, %59
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #8
  br label %71

71:                                               ; preds = %69, %67
  %.pn102 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #8
  br label %72

72:                                               ; preds = %71, %65
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %71 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  br label %74

73:                                               ; preds = %63, %41
  call void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %36, !llvm.loop !11

74:                                               ; preds = %72, %43
  %.pn102.pn.pn = phi { ptr, i32 } [ %.pn102.pn, %72 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  br label %139

._crit_edge115:                                   ; preds = %130, %._crit_edge
  invoke void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %133 unwind label %135

75:                                               ; preds = %.lr.ph114, %130
  %indvars.iv118 = phi i64 [ 0, %.lr.ph114 ], [ %indvars.iv.next119, %130 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #8
  %76 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv118) #8
  invoke void @_ZN12VertexRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64) %10, ptr noundef nonnull align 8 dereferenceable(64) %76)
          to label %77 unwind label %84

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(12) %10, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %12, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %78 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %78, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %79 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %79, ptr %14, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br i1 %80, label %.lr.ph110, label %._crit_edge111

._crit_edge111:                                   ; preds = %94, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %81 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %82 = trunc i64 %81 to i32
  %83 = icmp eq i32 %82, 2
  br i1 %83, label %100, label %113

84:                                               ; preds = %75
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %132

.lr.ph110:                                        ; preds = %77, %94
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %87 = load i32, ptr %86, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #8
  %88 = zext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI10EdgeRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %88) #8
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  %91 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 2.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %90)
          to label %92 unwind label %98

92:                                               ; preds = %.lr.ph110
  %.fca.0.extract33 = extractvalue { <2 x float>, float } %91, 0
  %.fca.1.extract34 = extractvalue { <2 x float>, float } %91, 1
  store <2 x float> %.fca.0.extract33, ptr %16, align 8
  store float %.fca.1.extract34, ptr %.sroa.236.0..sroa_idx, align 8
  %93 = invoke { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %94 unwind label %98

94:                                               ; preds = %92
  %.fca.0.extract29 = extractvalue { <2 x float>, float } %93, 0
  %.fca.1.extract30 = extractvalue { <2 x float>, float } %93, 1
  store <2 x float> %.fca.0.extract29, ptr %15, align 8
  store float %.fca.1.extract30, ptr %.sroa.232.0..sroa_idx, align 8
  %95 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEpLIfEERS2_RKNS0_ILi3ET_LS1_0EEE(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %97 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br i1 %97, label %.lr.ph110, label %._crit_edge111

98:                                               ; preds = %92, %.lr.ph110
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %131

100:                                              ; preds = %._crit_edge111
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #8
  %101 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 7.500000e-01, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %102 unwind label %108

102:                                              ; preds = %100
  %.fca.0.extract22 = extractvalue { <2 x float>, float } %101, 0
  %.fca.1.extract23 = extractvalue { <2 x float>, float } %101, 1
  store <2 x float> %.fca.0.extract22, ptr %17, align 8
  store float %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #8
  %103 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 1.250000e-01, ptr noundef nonnull align 4 dereferenceable(12) %12)
          to label %104 unwind label %110

104:                                              ; preds = %102
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %103, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %103, 1
  store <2 x float> %.fca.0.extract18, ptr %18, align 8
  store float %.fca.1.extract19, ptr %.sroa.221.0..sroa_idx, align 8
  %105 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %18)
          to label %106 unwind label %110

106:                                              ; preds = %104
  %.fca.0.extract14 = extractvalue { <2 x float>, float } %105, 0
  %.fca.1.extract15 = extractvalue { <2 x float>, float } %105, 1
  %107 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv118) #8
  store <2 x float> %.fca.0.extract14, ptr %107, align 8
  %.sroa.527.0..sroa_idx = getelementptr inbounds i8, ptr %107, i64 8
  store float %.fca.1.extract15, ptr %.sroa.527.0..sroa_idx, align 8, !tbaa !6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #8
  br label %130

108:                                              ; preds = %100
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %104, %102
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #8
  br label %112

112:                                              ; preds = %110, %108
  %.pn95 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #8
  br label %131

113:                                              ; preds = %._crit_edge111
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #8
  %114 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 3.750000e-01, ptr noundef nonnull align 4 dereferenceable(12) %12)
          to label %115 unwind label %125

115:                                              ; preds = %113
  %116 = uitofp i32 %82 to float
  %117 = fdiv float 1.000000e+00, %116
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %114, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %114, 1
  store <2 x float> %.fca.0.extract9, ptr %20, align 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  %118 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12) %20, float noundef %117)
          to label %119 unwind label %125

119:                                              ; preds = %115
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %118, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %118, 1
  store <2 x float> %.fca.0.extract5, ptr %19, align 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #8
  %120 = invoke { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef 6.250000e-01, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %121 unwind label %127

121:                                              ; preds = %119
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %120, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %120, 1
  store <2 x float> %.fca.0.extract1, ptr %21, align 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %122 = invoke { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %21)
          to label %123 unwind label %127

123:                                              ; preds = %121
  %.fca.0.extract = extractvalue { <2 x float>, float } %122, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %122, 1
  %124 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI12VertexRecordSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv118) #8
  store <2 x float> %.fca.0.extract, ptr %124, align 8
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %124, i64 8
  store float %.fca.1.extract, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #8
  br label %130

125:                                              ; preds = %115, %113
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %129

127:                                              ; preds = %121, %119
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #8
  br label %129

129:                                              ; preds = %127, %125
  %.pn = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #8
  br label %131

130:                                              ; preds = %123, %106
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #8
  call void @_ZN12VertexRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #8
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %exitcond122.not = icmp eq i64 %indvars.iv.next119, %wide.trip.count121
  br i1 %exitcond122.not, label %._crit_edge115, label %75, !llvm.loop !13

131:                                              ; preds = %112, %129, %98
  %.pn98 = phi { ptr, i32 } [ %99, %98 ], [ %.pn95, %112 ], [ %.pn, %129 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #8
  call void @_ZN12VertexRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #8
  br label %132

132:                                              ; preds = %131, %84
  %.pn98.pn = phi { ptr, i32 } [ %.pn98, %131 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #8
  br label %139

133:                                              ; preds = %._crit_edge115
  invoke void @_ZN7Surface11LoOutputOBJESt6vectorIN3glm3vecILi3EfLNS1_9qualifierE0EEESaIS4_EE(ptr dead_on_unwind writable sret(%class.Object) align 8 %0, ptr noundef nonnull align 8 dereferenceable(152) %1, ptr noundef nonnull %22)
          to label %134 unwind label %137

134:                                              ; preds = %133
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  ret void

135:                                              ; preds = %._crit_edge115
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %139

137:                                              ; preds = %133
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %139

139:                                              ; preds = %132, %135, %137, %74
  %.pn102.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn, %74 ], [ %.pn98.pn, %132 ], [ %138, %137 ], [ %136, %135 ]
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  br label %140

140:                                              ; preds = %139, %34
  %.pn102.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn.pn, %139 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn102.pn.pn.pn.pn
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10EdgeRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmplIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEES3_RKS4_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10EdgeRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12VertexRecordC2ERKS_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmiIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3glm3vecILi3EfLNS_9qualifierE0EEpLIfEERS2_RKNS0_ILi3ET_LS1_0EEE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3glmmlIfLNS_9qualifierE0EEENS_3vecILi3ET_XT0_EEERKS4_S3_(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12VertexRecordD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass