; LLVM IR from Lut1n/ImpGears :: src/ImpGears/Renderer (GeometryRenderer)

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

%"struct.imp::Varyings" = type { %"class.std::map.45", %"class.std::vector.50", ptr }
%"class.std::map.45" = type { %"class.std::_Rb_tree.46" }
%"class.std::_Rb_tree.46" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = 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 }
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>
%"class.imp::Object" = type { ptr, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.imp::VertexOperation::Attributes" = type { %"class.imp::Vec3", %"class.imp::Vec3", %"class.imp::Vec3" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.71" = type { i8 }
%"class.imp::Vec" = type <{ %"class.imp::Object", [3 x float], [4 x i8] }>
%"class.imp::GeometryRenderer" = type <{ %"class.imp::Object", %"class.std::map", %"class.std::map.0", %"struct.imp::UniformMap", %"class.std::shared_ptr.16", %"class.std::shared_ptr.19", %"class.imp::Rasterizer", %"class.imp::Matrix4", %"class.imp::Matrix4", %"class.imp::Matrix4", %"class.imp::Vec4", i32, [4 x i8], %"class.std::shared_ptr.25", i8, [7 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::shared_ptr<imp::Image>>, std::_Select1st<std::pair<const int, std::shared_ptr<imp::Image>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::shared_ptr<imp::Image>>, std::_Select1st<std::pair<const int, std::shared_ptr<imp::Image>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.0" = type { %"class.std::_Rb_tree.1" }
%"class.std::_Rb_tree.1" = type { %"struct.std::_Rb_tree<int, std::pair<const int, imp::Vec4>, std::_Select1st<std::pair<const int, imp::Vec4>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, imp::Vec4>, std::_Select1st<std::pair<const int, imp::Vec4>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.imp::UniformMap" = type { %"class.std::map.5", %"class.imp::Matrix3", %"class.imp::Matrix4", %"class.imp::Vec3", %"class.imp::Vec4", %"class.std::shared_ptr.13" }
%"class.std::map.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.imp::Matrix3" = type { %"class.imp::Matrix.base", [4 x i8] }
%"class.imp::Matrix.base" = type <{ %"class.imp::Object", [9 x float] }>
%"class.std::shared_ptr.13" = type { %"class.std::__shared_ptr.14" }
%"class.std::__shared_ptr.14" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.16" = type { %"class.std::__shared_ptr.17" }
%"class.std::__shared_ptr.17" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.imp::Rasterizer" = type { %"class.imp::Object", %"class.std::map", %"class.std::vector", %"class.std::vector", %"struct.imp::UniformMap", %"class.imp::Vec4", %"class.std::shared_ptr.19" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<imp::Varyings, std::allocator<imp::Varyings>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Varyings, std::allocator<imp::Varyings>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Varyings, std::allocator<imp::Varyings>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Varyings, std::allocator<imp::Varyings>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.imp::Matrix4" = type { %"class.imp::Matrix.11" }
%"class.imp::Matrix.11" = type { %"class.imp::Object", [16 x float] }
%"class.imp::Vec4" = type { %"class.imp::Vec.12" }
%"class.imp::Vec.12" = type { %"class.imp::Object", [4 x float] }
%"class.std::shared_ptr.25" = type { %"class.std::__shared_ptr.26" }
%"class.std::__shared_ptr.26" = type { ptr, %"class.std::__shared_count" }
%"class.imp::Geometry" = type <{ %"class.imp::Object", i32, [4 x i8], %"class.std::vector.55", %"class.std::vector.60", %"class.std::vector.60", %"class.std::vector.60", %"class.std::vector.65", i8, i8, i8, i8, [4 x i8] }>
%"class.std::vector.55" = type { %"struct.std::_Vector_base.56" }
%"struct.std::_Vector_base.56" = 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 }
%"class.std::vector.60" = type { %"struct.std::_Vector_base.61" }
%"struct.std::_Vector_base.61" = type { %"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Vec3, std::allocator<imp::Vec3>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::Vec<2, float>, std::allocator<imp::Vec<2, float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp16GeometryRenderer4initEv(ptr noundef nonnull align 8 dereferenceable(1249)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp16GeometryRenderer6renderERKNS_8GeometryE(ptr noundef nonnull align 8 dereferenceable(1249) %0, ptr noundef nonnull align 8 dereferenceable(156) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [3 x %"struct.imp::Varyings"], align 16
  %6 = alloca [3 x %"class.imp::Vec3"], align 16
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.imp::VertexOperation::Attributes", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.imp::Vec3", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.71", align 1
  %16 = alloca %"class.imp::Vec3", align 8
  %17 = alloca %"class.imp::Vec", align 8
  %18 = alloca %"class.imp::Vec3", align 8
  %19 = alloca %"class.imp::Vec", align 8
  %20 = alloca %"class.imp::Vec3", align 8
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca %"class.imp::Vec", align 8
  %24 = alloca %"class.imp::Vec", align 8
  %25 = alloca %"class.imp::Vec", align 8
  %26 = alloca %"class.imp::Vec", align 8
  %27 = alloca %"class.imp::Vec", align 8
  %28 = alloca %"class.imp::Vec3", align 8
  %29 = alloca %"class.imp::Vec3", align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.imp::Vec3", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.71", align 1
  %35 = alloca %"class.imp::Vec", align 8
  %36 = alloca %"class.imp::Vec", align 8
  %37 = alloca %"class.imp::Vec", align 8
  %38 = alloca %"class.imp::Vec", align 8
  %39 = alloca %"class.imp::Vec", align 8
  %40 = alloca %"class.imp::Vec3", align 8
  %41 = alloca %"class.imp::Vec3", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %42 = load ptr, ptr %3, align 8
  call void @_ZN3imp16GeometryRenderer4initEv(ptr noundef nonnull align 8 dereferenceable(1249) %42)
  %43 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 6
  %44 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 3
  call void @_ZN3imp10Rasterizer13setUniformMapERKNS_10UniformMapE(ptr noundef nonnull align 8 dereferenceable(472) %43, ptr noundef nonnull align 8 dereferenceable(296) %44)
  call void @llvm.lifetime.start.p0(i64 240, ptr %5) #5
  %45 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i32 0, i32 0
  %46 = getelementptr inbounds %"struct.imp::Varyings", ptr %45, i64 3
  br label %47

47:                                               ; preds = %47, %2
  %48 = phi ptr [ %45, %2 ], [ %49, %47 ]
  call void @_ZN3imp8VaryingsC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %48) #5
  %49 = getelementptr inbounds %"struct.imp::Varyings", ptr %48, i64 1
  %50 = icmp eq ptr %49, %46
  br i1 %50, label %51, label %47

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 120, ptr %6) #5
  %52 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i32 0, i32 0
  %53 = getelementptr inbounds %"class.imp::Vec3", ptr %52, i64 3
  br label %54

54:                                               ; preds = %56, %51
  %55 = phi ptr [ %52, %51 ], [ %57, %56 ]
  invoke void @_ZN3imp4Vec3C2Ev(ptr noundef nonnull align 8 dereferenceable(36) %55)
          to label %56 unwind label %73

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class.imp::Vec3", ptr %55, i64 1
  %58 = icmp eq ptr %57, %53
  br i1 %58, label %59, label %54

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 120, ptr %9) #5
  invoke void @_ZN3imp15VertexOperation10AttributesC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %9)
          to label %60 unwind label %83

60:                                               ; preds = %59
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = invoke noundef i32 @_ZNK3imp8Geometry12getPrimitiveEv(ptr noundef nonnull align 8 dereferenceable(156) %61)
          to label %63 unwind label %87

63:                                               ; preds = %60
  %64 = icmp eq i32 %62, 0
  br i1 %64, label %65, label %358

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %349, %65
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = invoke noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %68)
          to label %70 unwind label %91

70:                                               ; preds = %66
  %71 = icmp slt i32 %67, %69
  br i1 %71, label %95, label %72

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

73:                                               ; preds = %54
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %7, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %8, align 4
  %77 = icmp eq ptr %52, %55
  br i1 %77, label %82, label %78

78:                                               ; preds = %78, %73
  %79 = phi ptr [ %55, %73 ], [ %80, %78 ]
  %80 = getelementptr inbounds %"class.imp::Vec3", ptr %79, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %80) #5
  %81 = icmp eq ptr %80, %52
  br i1 %81, label %82, label %78

82:                                               ; preds = %78, %73
  br label %575

83:                                               ; preds = %59
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  br label %567

87:                                               ; preds = %358, %60
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %7, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %8, align 4
  br label %566

91:                                               ; preds = %66
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %7, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %8, align 4
  br label %356

95:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %173, %95
  %97 = load i32, ptr %12, align 4, !tbaa !9
  %98 = icmp slt i32 %97, 3
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %186

100:                                              ; preds = %96
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.imp::Geometry", ptr %101, i32 0, i32 10
  %103 = load i8, ptr %102, align 2, !tbaa !11, !range !31, !noundef !32
  %104 = trunc i8 %103 to i1
  br i1 %104, label %105, label %115

105:                                              ; preds = %100
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %"class.imp::Geometry", ptr %106, i32 0, i32 5
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = load i32, ptr %12, align 4, !tbaa !9
  %110 = add nsw i32 %108, %109
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %111) #5
  %113 = getelementptr inbounds %"struct.imp::VertexOperation::Attributes", ptr %9, i32 0, i32 0
  %114 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %113, ptr noundef nonnull align 8 dereferenceable(36) %112) #5
  br label %115

115:                                              ; preds = %105, %100
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %"class.imp::Geometry", ptr %116, i32 0, i32 11
  %118 = load i8, ptr %117, align 1, !tbaa !33, !range !31, !noundef !32
  %119 = trunc i8 %118 to i1
  br i1 %119, label %120, label %130

120:                                              ; preds = %115
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.imp::Geometry", ptr %121, i32 0, i32 6
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = load i32, ptr %12, align 4, !tbaa !9
  %125 = add nsw i32 %123, %124
  %126 = sext i32 %125 to i64
  %127 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %126) #5
  %128 = getelementptr inbounds %"struct.imp::VertexOperation::Attributes", ptr %9, i32 0, i32 2
  %129 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %128, ptr noundef nonnull align 8 dereferenceable(36) %127) #5
  br label %130

130:                                              ; preds = %120, %115
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %"class.imp::Geometry", ptr %131, i32 0, i32 9
  %133 = load i8, ptr %132, align 1, !tbaa !34, !range !31, !noundef !32
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %150

135:                                              ; preds = %130
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.imp::Geometry", ptr %136, i32 0, i32 7
  %138 = load i32, ptr %10, align 4, !tbaa !9
  %139 = load i32, ptr %12, align 4, !tbaa !9
  %140 = add nsw i32 %138, %139
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %141) #5
  %143 = getelementptr inbounds %"struct.imp::VertexOperation::Attributes", ptr %9, i32 0, i32 1
  %144 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %143, ptr noundef nonnull align 8 dereferenceable(32) %142)
          to label %145 unwind label %146

145:                                              ; preds = %135
  br label %150

146:                                              ; preds = %158, %150, %135
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %7, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %8, align 4
  br label %185

150:                                              ; preds = %145, %130
  %151 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 4
  %152 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %151) #5
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = load i32, ptr %10, align 4, !tbaa !9
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = add nsw i32 %154, %155
  %157 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %153, i32 noundef %156)
          to label %158 unwind label %146

158:                                              ; preds = %150
  %159 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 3
  %160 = load i32, ptr %12, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 %161
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %152, ptr noundef nonnull align 8 dereferenceable(36) %157, ptr noundef nonnull align 8 dereferenceable(120) %9, ptr noundef nonnull align 8 dereferenceable(296) %159, ptr noundef nonnull align 8 dereferenceable(80) %162)
          to label %163 unwind label %146

163:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #5
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 %165
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %167 unwind label %176

167:                                              ; preds = %163
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %13, ptr noundef nonnull align 8 dereferenceable(80) %166, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %168 unwind label %180

168:                                              ; preds = %167
  %169 = load i32, ptr %12, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 %170
  %172 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %171, ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #5
  br label %173

173:                                              ; preds = %168
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %12, align 4, !tbaa !9
  br label %96, !llvm.loop !35

176:                                              ; preds = %163
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %7, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %8, align 4
  br label %184

180:                                              ; preds = %167
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %7, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %184

184:                                              ; preds = %180, %176
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #5
  br label %185

185:                                              ; preds = %184, %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %356

186:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #5
  %187 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 1
  %188 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 0
  invoke void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %17, ptr noundef nonnull align 8 dereferenceable(36) %187, ptr noundef nonnull align 8 dereferenceable(36) %188)
          to label %189 unwind label %214

189:                                              ; preds = %186
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %17, float noundef 1.000000e+00)
          to label %190 unwind label %218

190:                                              ; preds = %189
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #5
  %191 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 2
  %192 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 0
  invoke void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %19, ptr noundef nonnull align 8 dereferenceable(36) %191, ptr noundef nonnull align 8 dereferenceable(36) %192)
          to label %193 unwind label %223

193:                                              ; preds = %190
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %18, ptr noundef nonnull align 8 dereferenceable(36) %19, float noundef 1.000000e+00)
          to label %194 unwind label %227

194:                                              ; preds = %193
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #5
  invoke void @_ZNK3imp4Vec35crossERKS0_(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %20, ptr noundef nonnull align 8 dereferenceable(36) %16, ptr noundef nonnull align 8 dereferenceable(36) %18)
          to label %195 unwind label %232

195:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  %196 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 11
  %197 = load i32, ptr %196, align 8, !tbaa !37
  %198 = icmp eq i32 %197, 0
  %199 = zext i1 %198 to i8
  store i8 %199, ptr %21, align 1, !tbaa !79
  %200 = load i8, ptr %21, align 1, !tbaa !79, !range !31, !noundef !32
  %201 = trunc i8 %200 to i1
  br i1 %201, label %240, label %202

202:                                              ; preds = %195
  %203 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %20, i32 noundef 2)
          to label %204 unwind label %236

204:                                              ; preds = %202
  %205 = load float, ptr %203, align 4, !tbaa !80
  %206 = fcmp ogt float %205, 0.000000e+00
  br i1 %206, label %207, label %211

207:                                              ; preds = %204
  %208 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 11
  %209 = load i32, ptr %208, align 8, !tbaa !37
  %210 = icmp eq i32 %209, 1
  br label %211

211:                                              ; preds = %207, %204
  %212 = phi i1 [ false, %204 ], [ %210, %207 ]
  %213 = zext i1 %212 to i8
  store i8 %213, ptr %21, align 1, !tbaa !79
  br label %240

214:                                              ; preds = %186
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %7, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %8, align 4
  br label %222

218:                                              ; preds = %189
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %7, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %8, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  br label %222

222:                                              ; preds = %218, %214
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #5
  br label %355

223:                                              ; preds = %190
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %7, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %8, align 4
  br label %231

227:                                              ; preds = %193
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %7, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %8, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  br label %231

231:                                              ; preds = %227, %223
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #5
  br label %354

232:                                              ; preds = %194
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %7, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %8, align 4
  br label %353

236:                                              ; preds = %342, %337, %243, %202
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %7, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %8, align 4
  br label %352

240:                                              ; preds = %211, %195
  %241 = load i8, ptr %21, align 1, !tbaa !79, !range !31, !noundef !32
  %242 = trunc i8 %241 to i1
  br i1 %242, label %255, label %243

243:                                              ; preds = %240
  %244 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %20, i32 noundef 2)
          to label %245 unwind label %236

245:                                              ; preds = %243
  %246 = load float, ptr %244, align 4, !tbaa !80
  %247 = fcmp olt float %246, 0.000000e+00
  br i1 %247, label %248, label %252

248:                                              ; preds = %245
  %249 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 11
  %250 = load i32, ptr %249, align 8, !tbaa !37
  %251 = icmp eq i32 %250, 2
  br label %252

252:                                              ; preds = %248, %245
  %253 = phi i1 [ false, %245 ], [ %251, %248 ]
  %254 = zext i1 %253 to i8
  store i8 %254, ptr %21, align 1, !tbaa !79
  br label %255

255:                                              ; preds = %252, %240
  %256 = load i8, ptr %21, align 1, !tbaa !79, !range !31, !noundef !32
  %257 = trunc i8 %256 to i1
  br i1 %257, label %258, label %348

258:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %259

259:                                              ; preds = %295, %258
  %260 = load i32, ptr %22, align 4, !tbaa !9
  %261 = icmp slt i32 %260, 3
  br i1 %261, label %263, label %262

262:                                              ; preds = %259
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %337

263:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #5
  %264 = load i32, ptr %22, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 %265
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %27, float noundef 1.000000e+00)
          to label %267 unwind label %298

267:                                              ; preds = %263
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %26, ptr noundef nonnull align 8 dereferenceable(36) %266, ptr noundef nonnull align 8 dereferenceable(36) %27)
          to label %268 unwind label %302

268:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #5
  %269 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %270 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %269, i32 noundef 2)
          to label %271 unwind label %306

271:                                              ; preds = %268
  %272 = load float, ptr %270, align 4, !tbaa !80
  %273 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %274 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %273, i32 noundef 3)
          to label %275 unwind label %306

275:                                              ; preds = %271
  %276 = load float, ptr %274, align 4, !tbaa !80
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %28, float noundef %272, float noundef %276, float noundef 0.000000e+00)
          to label %277 unwind label %306

277:                                              ; preds = %275
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %25, ptr noundef nonnull align 8 dereferenceable(36) %26, ptr noundef nonnull align 8 dereferenceable(36) %28)
          to label %278 unwind label %310

278:                                              ; preds = %277
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %24, ptr noundef nonnull align 8 dereferenceable(36) %25, float noundef 5.000000e-01)
          to label %279 unwind label %314

279:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #5
  %280 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %281 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %280, i32 noundef 0)
          to label %282 unwind label %318

282:                                              ; preds = %279
  %283 = load float, ptr %281, align 4, !tbaa !80
  %284 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %285 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %284, i32 noundef 1)
          to label %286 unwind label %318

286:                                              ; preds = %282
  %287 = load float, ptr %285, align 4, !tbaa !80
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %29, float noundef %283, float noundef %287, float noundef 0.000000e+00)
          to label %288 unwind label %318

288:                                              ; preds = %286
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %23, ptr noundef nonnull align 8 dereferenceable(36) %24, ptr noundef nonnull align 8 dereferenceable(36) %29)
          to label %289 unwind label %322

289:                                              ; preds = %288
  %290 = load i32, ptr %22, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 %291
  %293 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %292, ptr noundef nonnull align 8 dereferenceable(36) %23)
          to label %294 unwind label %326

294:                                              ; preds = %289
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #5
  br label %295

295:                                              ; preds = %294
  %296 = load i32, ptr %22, align 4, !tbaa !9
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %22, align 4, !tbaa !9
  br label %259, !llvm.loop !82

298:                                              ; preds = %263
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %7, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %8, align 4
  br label %336

302:                                              ; preds = %267
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %7, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %8, align 4
  br label %335

306:                                              ; preds = %275, %271, %268
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %7, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %8, align 4
  br label %334

310:                                              ; preds = %277
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %7, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %8, align 4
  br label %333

314:                                              ; preds = %278
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %7, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %8, align 4
  br label %332

318:                                              ; preds = %286, %282, %279
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %7, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %8, align 4
  br label %331

322:                                              ; preds = %288
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %7, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %8, align 4
  br label %330

326:                                              ; preds = %289
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %7, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %8, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %23) #5
  br label %330

330:                                              ; preds = %326, %322
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  br label %331

331:                                              ; preds = %330, %318
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  br label %332

332:                                              ; preds = %331, %314
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  br label %333

333:                                              ; preds = %332, %310
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  br label %334

334:                                              ; preds = %333, %306
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  br label %335

335:                                              ; preds = %334, %302
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  br label %336

336:                                              ; preds = %335, %298
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %352

337:                                              ; preds = %262
  %338 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 6
  %339 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 0
  %340 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 1
  %341 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 2
  invoke void @_ZN3imp10Rasterizer12setVaryings3ERKNS_8VaryingsES3_S3_(ptr noundef nonnull align 8 dereferenceable(472) %338, ptr noundef nonnull align 8 dereferenceable(80) %339, ptr noundef nonnull align 8 dereferenceable(80) %340, ptr noundef nonnull align 8 dereferenceable(80) %341)
          to label %342 unwind label %236

342:                                              ; preds = %337
  %343 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 6
  %344 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 0
  %345 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 1
  %346 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 2
  invoke void @_ZN3imp10Rasterizer8triangleERKNS_4Vec3ES3_S3_(ptr noundef nonnull align 8 dereferenceable(472) %343, ptr noundef nonnull align 8 dereferenceable(36) %344, ptr noundef nonnull align 8 dereferenceable(36) %345, ptr noundef nonnull align 8 dereferenceable(36) %346)
          to label %347 unwind label %236

347:                                              ; preds = %342
  br label %348

348:                                              ; preds = %347, %255
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #5
  br label %349

349:                                              ; preds = %348
  %350 = load i32, ptr %10, align 4, !tbaa !9
  %351 = add nsw i32 %350, 3
  store i32 %351, ptr %10, align 4, !tbaa !9
  br label %66, !llvm.loop !83

352:                                              ; preds = %336, %236
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  br label %353

353:                                              ; preds = %352, %232
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  br label %354

354:                                              ; preds = %353, %231
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  br label %355

355:                                              ; preds = %354, %222
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #5
  br label %356

356:                                              ; preds = %355, %185, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %566

357:                                              ; preds = %72
  br label %551

358:                                              ; preds = %63
  %359 = load ptr, ptr %4, align 8, !tbaa !5
  %360 = invoke noundef i32 @_ZNK3imp8Geometry12getPrimitiveEv(ptr noundef nonnull align 8 dereferenceable(156) %359)
          to label %361 unwind label %87

361:                                              ; preds = %358
  %362 = icmp eq i32 %360, 1
  br i1 %362, label %363, label %550

363:                                              ; preds = %361
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %364

364:                                              ; preds = %545, %363
  %365 = load i32, ptr %30, align 4, !tbaa !9
  %366 = load ptr, ptr %4, align 8, !tbaa !5
  %367 = invoke noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %366)
          to label %368 unwind label %371

368:                                              ; preds = %364
  %369 = icmp slt i32 %365, %367
  br i1 %369, label %375, label %370

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

371:                                              ; preds = %540, %536, %364
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %7, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %8, align 4
  br label %548

375:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %376

376:                                              ; preds = %484, %375
  %377 = load i32, ptr %31, align 4, !tbaa !9
  %378 = icmp slt i32 %377, 2
  br i1 %378, label %380, label %379

379:                                              ; preds = %376
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %536

380:                                              ; preds = %376
  %381 = load ptr, ptr %4, align 8, !tbaa !5
  %382 = getelementptr inbounds %"class.imp::Geometry", ptr %381, i32 0, i32 10
  %383 = load i8, ptr %382, align 2, !tbaa !11, !range !31, !noundef !32
  %384 = trunc i8 %383 to i1
  br i1 %384, label %385, label %395

385:                                              ; preds = %380
  %386 = load ptr, ptr %4, align 8, !tbaa !5
  %387 = getelementptr inbounds %"class.imp::Geometry", ptr %386, i32 0, i32 5
  %388 = load i32, ptr %30, align 4, !tbaa !9
  %389 = load i32, ptr %31, align 4, !tbaa !9
  %390 = add nsw i32 %388, %389
  %391 = sext i32 %390 to i64
  %392 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %387, i64 noundef %391) #5
  %393 = getelementptr inbounds %"struct.imp::VertexOperation::Attributes", ptr %9, i32 0, i32 0
  %394 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %393, ptr noundef nonnull align 8 dereferenceable(36) %392) #5
  br label %395

395:                                              ; preds = %385, %380
  %396 = load ptr, ptr %4, align 8, !tbaa !5
  %397 = getelementptr inbounds %"class.imp::Geometry", ptr %396, i32 0, i32 11
  %398 = load i8, ptr %397, align 1, !tbaa !33, !range !31, !noundef !32
  %399 = trunc i8 %398 to i1
  br i1 %399, label %400, label %410

400:                                              ; preds = %395
  %401 = load ptr, ptr %4, align 8, !tbaa !5
  %402 = getelementptr inbounds %"class.imp::Geometry", ptr %401, i32 0, i32 6
  %403 = load i32, ptr %30, align 4, !tbaa !9
  %404 = load i32, ptr %31, align 4, !tbaa !9
  %405 = add nsw i32 %403, %404
  %406 = sext i32 %405 to i64
  %407 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %402, i64 noundef %406) #5
  %408 = getelementptr inbounds %"struct.imp::VertexOperation::Attributes", ptr %9, i32 0, i32 2
  %409 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %408, ptr noundef nonnull align 8 dereferenceable(36) %407) #5
  br label %410

410:                                              ; preds = %400, %395
  %411 = load ptr, ptr %4, align 8, !tbaa !5
  %412 = getelementptr inbounds %"class.imp::Geometry", ptr %411, i32 0, i32 9
  %413 = load i8, ptr %412, align 1, !tbaa !34, !range !31, !noundef !32
  %414 = trunc i8 %413 to i1
  br i1 %414, label %415, label %430

415:                                              ; preds = %410
  %416 = load ptr, ptr %4, align 8, !tbaa !5
  %417 = getelementptr inbounds %"class.imp::Geometry", ptr %416, i32 0, i32 7
  %418 = load i32, ptr %30, align 4, !tbaa !9
  %419 = load i32, ptr %31, align 4, !tbaa !9
  %420 = add nsw i32 %418, %419
  %421 = sext i32 %420 to i64
  %422 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %417, i64 noundef %421) #5
  %423 = getelementptr inbounds %"struct.imp::VertexOperation::Attributes", ptr %9, i32 0, i32 1
  %424 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %423, ptr noundef nonnull align 8 dereferenceable(32) %422)
          to label %425 unwind label %426

425:                                              ; preds = %415
  br label %430

426:                                              ; preds = %438, %430, %415
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %7, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %8, align 4
  br label %535

430:                                              ; preds = %425, %410
  %431 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 4
  %432 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %431) #5
  %433 = load ptr, ptr %4, align 8, !tbaa !5
  %434 = load i32, ptr %30, align 4, !tbaa !9
  %435 = load i32, ptr %31, align 4, !tbaa !9
  %436 = add nsw i32 %434, %435
  %437 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %433, i32 noundef %436)
          to label %438 unwind label %426

438:                                              ; preds = %430
  %439 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 3
  %440 = load i32, ptr %31, align 4, !tbaa !9
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 %441
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %432, ptr noundef nonnull align 8 dereferenceable(36) %437, ptr noundef nonnull align 8 dereferenceable(120) %9, ptr noundef nonnull align 8 dereferenceable(296) %439, ptr noundef nonnull align 8 dereferenceable(80) %442)
          to label %443 unwind label %426

443:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #5
  %444 = load i32, ptr %31, align 4, !tbaa !9
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 %445
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %447 unwind label %487

447:                                              ; preds = %443
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %32, ptr noundef nonnull align 8 dereferenceable(80) %446, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %448 unwind label %491

448:                                              ; preds = %447
  %449 = load i32, ptr %31, align 4, !tbaa !9
  %450 = sext i32 %449 to i64
  %451 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 %450
  %452 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %451, ptr noundef nonnull align 8 dereferenceable(36) %32) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %32) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #5
  %453 = load i32, ptr %31, align 4, !tbaa !9
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 %454
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %39, float noundef 1.000000e+00)
          to label %456 unwind label %496

456:                                              ; preds = %448
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %38, ptr noundef nonnull align 8 dereferenceable(36) %455, ptr noundef nonnull align 8 dereferenceable(36) %39)
          to label %457 unwind label %500

457:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 40, ptr %40) #5
  %458 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %459 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %458, i32 noundef 2)
          to label %460 unwind label %504

460:                                              ; preds = %457
  %461 = load float, ptr %459, align 4, !tbaa !80
  %462 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %463 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %462, i32 noundef 3)
          to label %464 unwind label %504

464:                                              ; preds = %460
  %465 = load float, ptr %463, align 4, !tbaa !80
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %40, float noundef %461, float noundef %465, float noundef 0.000000e+00)
          to label %466 unwind label %504

466:                                              ; preds = %464
  invoke void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %37, ptr noundef nonnull align 8 dereferenceable(36) %38, ptr noundef nonnull align 8 dereferenceable(36) %40)
          to label %467 unwind label %508

467:                                              ; preds = %466
  invoke void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %36, ptr noundef nonnull align 8 dereferenceable(36) %37, float noundef 5.000000e-01)
          to label %468 unwind label %512

468:                                              ; preds = %467
  call void @llvm.lifetime.start.p0(i64 40, ptr %41) #5
  %469 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %470 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %469, i32 noundef 0)
          to label %471 unwind label %516

471:                                              ; preds = %468
  %472 = load float, ptr %470, align 4, !tbaa !80
  %473 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 10
  %474 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %473, i32 noundef 1)
          to label %475 unwind label %516

475:                                              ; preds = %471
  %476 = load float, ptr %474, align 4, !tbaa !80
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %41, float noundef %472, float noundef %476, float noundef 0.000000e+00)
          to label %477 unwind label %516

477:                                              ; preds = %475
  invoke void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind writable sret(%"class.imp::Vec") align 8 %35, ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 8 dereferenceable(36) %41)
          to label %478 unwind label %520

478:                                              ; preds = %477
  %479 = load i32, ptr %31, align 4, !tbaa !9
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 %480
  %482 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %481, ptr noundef nonnull align 8 dereferenceable(36) %35)
          to label %483 unwind label %524

483:                                              ; preds = %478
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %40) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %38) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  br label %484

484:                                              ; preds = %483
  %485 = load i32, ptr %31, align 4, !tbaa !9
  %486 = add nsw i32 %485, 1
  store i32 %486, ptr %31, align 4, !tbaa !9
  br label %376, !llvm.loop !84

487:                                              ; preds = %443
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %7, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %8, align 4
  br label %495

491:                                              ; preds = %447
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %7, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  br label %495

495:                                              ; preds = %491, %487
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #5
  br label %535

496:                                              ; preds = %448
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %7, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %8, align 4
  br label %534

500:                                              ; preds = %456
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %7, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %8, align 4
  br label %533

504:                                              ; preds = %464, %460, %457
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %7, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %8, align 4
  br label %532

508:                                              ; preds = %466
  %509 = landingpad { ptr, i32 }
          cleanup
  %510 = extractvalue { ptr, i32 } %509, 0
  store ptr %510, ptr %7, align 8
  %511 = extractvalue { ptr, i32 } %509, 1
  store i32 %511, ptr %8, align 4
  br label %531

512:                                              ; preds = %467
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %7, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %8, align 4
  br label %530

516:                                              ; preds = %475, %471, %468
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %7, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %8, align 4
  br label %529

520:                                              ; preds = %477
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %7, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %8, align 4
  br label %528

524:                                              ; preds = %478
  %525 = landingpad { ptr, i32 }
          cleanup
  %526 = extractvalue { ptr, i32 } %525, 0
  store ptr %526, ptr %7, align 8
  %527 = extractvalue { ptr, i32 } %525, 1
  store i32 %527, ptr %8, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %35) #5
  br label %528

528:                                              ; preds = %524, %520
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #5
  br label %529

529:                                              ; preds = %528, %516
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %36) #5
  br label %530

530:                                              ; preds = %529, %512
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %37) #5
  br label %531

531:                                              ; preds = %530, %508
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %40) #5
  br label %532

532:                                              ; preds = %531, %504
  call void @llvm.lifetime.end.p0(i64 40, ptr %40) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %38) #5
  br label %533

533:                                              ; preds = %532, %500
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %39) #5
  br label %534

534:                                              ; preds = %533, %496
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  br label %535

535:                                              ; preds = %534, %495, %426
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %548

536:                                              ; preds = %379
  %537 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 6
  %538 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 0
  %539 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i64 0, i64 1
  invoke void @_ZN3imp10Rasterizer12setVaryings2ERKNS_8VaryingsES3_(ptr noundef nonnull align 8 dereferenceable(472) %537, ptr noundef nonnull align 8 dereferenceable(80) %538, ptr noundef nonnull align 8 dereferenceable(80) %539)
          to label %540 unwind label %371

540:                                              ; preds = %536
  %541 = getelementptr inbounds %"class.imp::GeometryRenderer", ptr %42, i32 0, i32 6
  %542 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 0
  %543 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i64 0, i64 1
  invoke void @_ZN3imp10Rasterizer4lineERKNS_4Vec3ES3_(ptr noundef nonnull align 8 dereferenceable(472) %541, ptr noundef nonnull align 8 dereferenceable(36) %542, ptr noundef nonnull align 8 dereferenceable(36) %543)
          to label %544 unwind label %371

544:                                              ; preds = %540
  br label %545

545:                                              ; preds = %544
  %546 = load i32, ptr %30, align 4, !tbaa !9
  %547 = add nsw i32 %546, 2
  store i32 %547, ptr %30, align 4, !tbaa !9
  br label %364, !llvm.loop !85

548:                                              ; preds = %535, %371
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %566

549:                                              ; preds = %370
  br label %550

550:                                              ; preds = %549, %361
  br label %551

551:                                              ; preds = %550, %357
  call void @_ZN3imp15VertexOperation10AttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %9) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %9) #5
  %552 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i32 0, i32 0
  %553 = getelementptr inbounds %"class.imp::Vec3", ptr %552, i64 3
  br label %554

554:                                              ; preds = %554, %551
  %555 = phi ptr [ %553, %551 ], [ %556, %554 ]
  %556 = getelementptr inbounds %"class.imp::Vec3", ptr %555, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %556) #5
  %557 = icmp eq ptr %556, %552
  br i1 %557, label %558, label %554

558:                                              ; preds = %554
  call void @llvm.lifetime.end.p0(i64 120, ptr %6) #5
  %559 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i32 0, i32 0
  %560 = getelementptr inbounds %"struct.imp::Varyings", ptr %559, i64 3
  br label %561

561:                                              ; preds = %561, %558
  %562 = phi ptr [ %560, %558 ], [ %563, %561 ]
  %563 = getelementptr inbounds %"struct.imp::Varyings", ptr %562, i64 -1
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %563) #5
  %564 = icmp eq ptr %563, %559
  br i1 %564, label %565, label %561

565:                                              ; preds = %561
  call void @llvm.lifetime.end.p0(i64 240, ptr %5) #5
  ret void

566:                                              ; preds = %548, %356, %87
  call void @_ZN3imp15VertexOperation10AttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %9) #5
  br label %567

567:                                              ; preds = %566, %83
  call void @llvm.lifetime.end.p0(i64 120, ptr %9) #5
  %568 = getelementptr inbounds [3 x %"class.imp::Vec3"], ptr %6, i32 0, i32 0
  %569 = getelementptr inbounds %"class.imp::Vec3", ptr %568, i64 3
  br label %570

570:                                              ; preds = %570, %567
  %571 = phi ptr [ %569, %567 ], [ %572, %570 ]
  %572 = getelementptr inbounds %"class.imp::Vec3", ptr %571, i64 -1
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %572) #5
  %573 = icmp eq ptr %572, %568
  br i1 %573, label %574, label %570

574:                                              ; preds = %570
  br label %575

575:                                              ; preds = %574, %82
  call void @llvm.lifetime.end.p0(i64 120, ptr %6) #5
  %576 = getelementptr inbounds [3 x %"struct.imp::Varyings"], ptr %5, i32 0, i32 0
  %577 = getelementptr inbounds %"struct.imp::Varyings", ptr %576, i64 3
  br label %578

578:                                              ; preds = %578, %575
  %579 = phi ptr [ %577, %575 ], [ %580, %578 ]
  %580 = getelementptr inbounds %"struct.imp::Varyings", ptr %579, i64 -1
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %580) #5
  %581 = icmp eq ptr %580, %576
  br i1 %581, label %582, label %578

582:                                              ; preds = %578
  call void @llvm.lifetime.end.p0(i64 240, ptr %5) #5
  br label %583

583:                                              ; preds = %582
  %584 = load ptr, ptr %7, align 8
  %585 = load i32, ptr %8, align 4
  %586 = insertvalue { ptr, i32 } poison, ptr %584, 0
  %587 = insertvalue { ptr, i32 } %586, i32 %585, 1
  resume { ptr, i32 } %587
}

declare void @_ZN3imp10Rasterizer13setUniformMapERKNS_10UniformMapE(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(296)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp8VaryingsC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

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

declare noundef i32 @_ZNK3imp8Geometry12getPrimitiveEv(ptr noundef nonnull align 8 dereferenceable(156)) #2

declare noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156)) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

declare noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) #2

declare void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(32)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3imp4Vec35crossERKS0_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), float noundef) #4 align 2

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

declare void @_ZN3imp10Rasterizer12setVaryings3ERKNS_8VaryingsES3_S3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) #2

declare void @_ZN3imp10Rasterizer8triangleERKNS_4Vec3ES3_S3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #2

declare void @_ZN3imp10Rasterizer12setVaryings2ERKNS_8VaryingsES3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) #2

declare void @_ZN3imp10Rasterizer4lineERKNS_4Vec3ES3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp15VertexOperation10AttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 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 = { "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 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !30, i64 154}
!12 = !{!"_ZTSN3imp8GeometryE", !13, i64 0, !17, i64 24, !18, i64 32, !22, i64 56, !22, i64 80, !22, i64 104, !26, i64 128, !30, i64 152, !30, i64 153, !30, i64 154, !30, i64 155}
!13 = !{!"_ZTSN3imp6ObjectE", !14, i64 8}
!14 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !15, i64 0}
!15 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!16 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!17 = !{!"_ZTSN3imp8Geometry9PrimitiveE", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIjSaIjEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIN3imp4Vec3ESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3imp4Vec3ESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIN3imp3VecILi2EfEESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN3imp3VecILi2EfEESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3imp3VecILi2EfEESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3imp3VecILi2EfEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"bool", !7, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!12, !30, i64 155}
!34 = !{!12, !30, i64 153}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!38, !76, i64 1224}
!38 = !{!"_ZTSN3imp16GeometryRendererE", !13, i64 0, !39, i64 24, !48, i64 72, !51, i64 120, !67, i64 416, !69, i64 432, !71, i64 448, !59, i64 920, !59, i64 1008, !59, i64 1096, !63, i64 1184, !76, i64 1224, !77, i64 1232, !30, i64 1248}
!39 = !{!"_ZTSSt3mapIiSt10shared_ptrIN3imp5ImageEESt4lessIiESaISt4pairIKiS3_EEE", !40, i64 0}
!40 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN3imp5ImageEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE", !41, i64 0}
!41 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN3imp5ImageEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !42, i64 0, !44, i64 8}
!42 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !43, i64 0}
!43 = !{!"_ZTSSt4lessIiE"}
!44 = !{!"_ZTSSt15_Rb_tree_header", !45, i64 0, !47, i64 32}
!45 = !{!"_ZTSSt18_Rb_tree_node_base", !46, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!46 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!47 = !{!"long", !7, i64 0}
!48 = !{!"_ZTSSt3mapIiN3imp4Vec4ESt4lessIiESaISt4pairIKiS1_EEE", !49, i64 0}
!49 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiN3imp4Vec4EESt10_Select1stIS4_ESt4lessIiESaIS4_EE", !50, i64 0}
!50 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiN3imp4Vec4EESt10_Select1stIS4_ESt4lessIiESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !42, i64 0, !44, i64 8}
!51 = !{!"_ZTSN3imp10UniformMapE", !52, i64 0, !57, i64 48, !59, i64 112, !61, i64 200, !63, i64 240, !65, i64 280}
!52 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3imp7UniformEESt4lessIS5_ESaISt4pairIKS5_S9_EEE", !53, i64 0}
!53 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE", !54, i64 0}
!54 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !55, i64 0, !44, i64 8}
!55 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !56, i64 0}
!56 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!57 = !{!"_ZTSN3imp7Matrix3E", !58, i64 0}
!58 = !{!"_ZTSN3imp6MatrixILi3ELi3EfEE", !13, i64 0, !7, i64 24}
!59 = !{!"_ZTSN3imp7Matrix4E", !60, i64 0}
!60 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !13, i64 0, !7, i64 24}
!61 = !{!"_ZTSN3imp4Vec3E", !62, i64 0}
!62 = !{!"_ZTSN3imp3VecILi3EfEE", !13, i64 0, !7, i64 24}
!63 = !{!"_ZTSN3imp4Vec4E", !64, i64 0}
!64 = !{!"_ZTSN3imp3VecILi4EfEE", !13, i64 0, !7, i64 24}
!65 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !66, i64 0}
!66 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!67 = !{!"_ZTSSt10shared_ptrIN3imp16GeometryRenderer12VertCallbackEE", !68, i64 0}
!68 = !{!"_ZTSSt12__shared_ptrIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!69 = !{!"_ZTSSt10shared_ptrIN3imp12FragCallbackEE", !70, i64 0}
!70 = !{!"_ZTSSt12__shared_ptrIN3imp12FragCallbackELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!71 = !{!"_ZTSN3imp10RasterizerE", !13, i64 0, !39, i64 24, !72, i64 72, !72, i64 96, !51, i64 120, !63, i64 416, !69, i64 456}
!72 = !{!"_ZTSSt6vectorIN3imp8VaryingsESaIS1_EE", !73, i64 0}
!73 = !{!"_ZTSSt12_Vector_baseIN3imp8VaryingsESaIS1_EE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIN3imp8VaryingsESaIS1_EE12_Vector_implE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIN3imp8VaryingsESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!76 = !{!"_ZTSN3imp16GeometryRenderer4CullE", !7, i64 0}
!77 = !{!"_ZTSSt10shared_ptrIN3imp10FloatImageEE", !78, i64 0}
!78 = !{!"_ZTSSt12__shared_ptrIN3imp10FloatImageELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!79 = !{!30, !30, i64 0}
!80 = !{!81, !81, i64 0}
!81 = !{!"float", !7, i64 0}
!82 = distinct !{!82, !36}
!83 = distinct !{!83, !36}
!84 = distinct !{!84, !36}
!85 = distinct !{!85, !36}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.imp::Varyings" = type { %"class.std::map.45", %"class.std::vector.50", ptr }
%"class.std::map.45" = type { %"class.std::_Rb_tree.46" }
%"class.std::_Rb_tree.46" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = 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 }
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>
%"class.imp::Object" = type { ptr, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.imp::VertexOperation::Attributes" = type { %"class.imp::Vec3", %"class.imp::Vec3", %"class.imp::Vec3" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.71" = type { i8 }
%"class.imp::Vec" = type <{ %"class.imp::Object", [3 x float], [4 x i8] }>

@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp16GeometryRenderer4initEv(ptr noundef nonnull align 8 dereferenceable(1249)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp16GeometryRenderer6renderERKNS_8GeometryE(ptr noundef nonnull align 8 dereferenceable(1249) %0, ptr noundef nonnull align 8 dereferenceable(156) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca [3 x %"struct.imp::Varyings"], align 16
  %4 = alloca [3 x %"class.imp::Vec3"], align 16
  %5 = alloca %"struct.imp::VertexOperation::Attributes", align 8
  %6 = alloca %"class.imp::Vec3", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.71", align 1
  %9 = alloca %"class.imp::Vec3", align 8
  %10 = alloca %"class.imp::Vec", align 8
  %11 = alloca %"class.imp::Vec3", align 8
  %12 = alloca %"class.imp::Vec", align 8
  %13 = alloca %"class.imp::Vec3", align 8
  %14 = alloca %"class.imp::Vec", align 8
  %15 = alloca %"class.imp::Vec", align 8
  %16 = alloca %"class.imp::Vec", align 8
  %17 = alloca %"class.imp::Vec", align 8
  %18 = alloca %"class.imp::Vec", align 8
  %19 = alloca %"class.imp::Vec3", align 8
  %20 = alloca %"class.imp::Vec3", align 8
  %21 = alloca %"class.imp::Vec3", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.71", align 1
  %24 = alloca %"class.imp::Vec", align 8
  %25 = alloca %"class.imp::Vec", align 8
  %26 = alloca %"class.imp::Vec", align 8
  %27 = alloca %"class.imp::Vec", align 8
  %28 = alloca %"class.imp::Vec", align 8
  %29 = alloca %"class.imp::Vec3", align 8
  %30 = alloca %"class.imp::Vec3", align 8
  tail call void @_ZN3imp16GeometryRenderer4initEv(ptr noundef nonnull align 8 dereferenceable(1249) %0)
  %31 = getelementptr inbounds i8, ptr %0, i64 448
  %32 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN3imp10Rasterizer13setUniformMapERKNS_10UniformMapE(ptr noundef nonnull align 8 dereferenceable(472) %31, ptr noundef nonnull align 8 dereferenceable(296) %32)
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %3) #5
  call void @_ZN3imp8VaryingsC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #5
  %.ptr.1 = getelementptr inbounds i8, ptr %3, i64 80
  call void @_ZN3imp8VaryingsC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1) #5
  %.ptr.2 = getelementptr inbounds i8, ptr %3, i64 160
  call void @_ZN3imp8VaryingsC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %.ptr.2) #5
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #5
  invoke void @_ZN3imp4Vec3C2Ev(ptr noundef nonnull align 8 dereferenceable(36) %4)
          to label %33 unwind label %58

33:                                               ; preds = %2
  %.ptr95.1 = getelementptr inbounds i8, ptr %4, i64 40
  invoke void @_ZN3imp4Vec3C2Ev(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1)
          to label %34 unwind label %.preheader128.preheader

34:                                               ; preds = %33
  %.ptr95.2 = getelementptr inbounds i8, ptr %4, i64 80
  invoke void @_ZN3imp4Vec3C2Ev(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.2)
          to label %35 unwind label %.preheader128.preheader

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %5) #5
  invoke void @_ZN3imp15VertexOperation10AttributesC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %5)
          to label %36 unwind label %62

36:                                               ; preds = %35
  %37 = invoke noundef i32 @_ZNK3imp8Geometry12getPrimitiveEv(ptr noundef nonnull align 8 dereferenceable(156) %1)
          to label %38 unwind label %64

38:                                               ; preds = %36
  %39 = icmp eq i32 %37, 0
  br i1 %39, label %.preheader123, label %238

.preheader123:                                    ; preds = %38
  %40 = getelementptr inbounds i8, ptr %1, i64 154
  %41 = getelementptr inbounds i8, ptr %1, i64 80
  %42 = getelementptr inbounds i8, ptr %1, i64 155
  %43 = getelementptr inbounds i8, ptr %1, i64 104
  %44 = getelementptr inbounds i8, ptr %5, i64 80
  %45 = getelementptr inbounds i8, ptr %1, i64 153
  %46 = getelementptr inbounds i8, ptr %1, i64 128
  %47 = getelementptr inbounds i8, ptr %5, i64 40
  %48 = getelementptr inbounds i8, ptr %0, i64 416
  %49 = getelementptr inbounds i8, ptr %0, i64 1224
  %50 = getelementptr inbounds i8, ptr %0, i64 1184
  br label %51

51:                                               ; preds = %.preheader123, %233
  %indvars.iv147 = phi i64 [ 0, %.preheader123 ], [ %indvars.iv.next148, %233 ]
  %52 = invoke noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %1)
          to label %53 unwind label %66

53:                                               ; preds = %51
  %54 = sext i32 %52 to i64
  %55 = icmp slt i64 %indvars.iv147, %54
  br i1 %55, label %.preheader122.preheader, label %.loopexit124

.preheader122.preheader:                          ; preds = %53
  %56 = load i8, ptr %40, align 2, !tbaa !5, !range !28, !noundef !29
  %57 = trunc nuw i8 %56 to i1
  br i1 %57, label %68, label %71

58:                                               ; preds = %2
  %lpad.thr_comm.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.preheader128.preheader:                          ; preds = %33, %34
  %.ptr95.lcssa.ph = phi ptr [ %.ptr95.2, %34 ], [ %.ptr95.1, %33 ]
  %lpad.thr_comm = landingpad { ptr, i32 }
          cleanup
  br label %.preheader128

.preheader128:                                    ; preds = %.preheader128.preheader, %.preheader128
  %59 = phi ptr [ %60, %.preheader128 ], [ %.ptr95.lcssa.ph, %.preheader128.preheader ]
  %60 = getelementptr inbounds i8, ptr %59, i64 -40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %60) #5
  %61 = icmp eq ptr %60, %4
  br i1 %61, label %.loopexit, label %.preheader128

62:                                               ; preds = %35
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

64:                                               ; preds = %238, %36
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %357

66:                                               ; preds = %51
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %357

68:                                               ; preds = %.preheader122.preheader
  %69 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %indvars.iv147) #5
  %70 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %5, ptr noundef nonnull align 8 dereferenceable(36) %69) #5
  br label %71

71:                                               ; preds = %68, %.preheader122.preheader
  %72 = load i8, ptr %42, align 1, !tbaa !30, !range !28, !noundef !29
  %73 = trunc nuw i8 %72 to i1
  br i1 %73, label %74, label %77

74:                                               ; preds = %71
  %75 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %indvars.iv147) #5
  %76 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %44, ptr noundef nonnull align 8 dereferenceable(36) %75) #5
  br label %77

77:                                               ; preds = %74, %71
  %78 = load i8, ptr %45, align 1, !tbaa !31, !range !28, !noundef !29
  %79 = trunc nuw i8 %78 to i1
  br i1 %79, label %80, label %85

80:                                               ; preds = %77
  %81 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv147) #5
  %82 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %47, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %85 unwind label %83

83:                                               ; preds = %143, %._crit_edge150, %137, %116, %._crit_edge151, %110, %89, %85, %80
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %357

85:                                               ; preds = %80, %77
  %86 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #5
  %87 = trunc nuw nsw i64 %indvars.iv147 to i32
  %88 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %87)
          to label %89 unwind label %83

89:                                               ; preds = %85
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %86, ptr noundef nonnull align 8 dereferenceable(36) %88, ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(296) %32, ptr noundef nonnull align 8 dereferenceable(80) %3)
          to label %90 unwind label %83

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %91 unwind label %148

91:                                               ; preds = %90
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %6, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %.preheader122.1 unwind label %150

.preheader122.1:                                  ; preds = %91
  %92 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  %93 = load i8, ptr %40, align 2, !tbaa !5, !range !28, !noundef !29
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %95, label %99

95:                                               ; preds = %.preheader122.1
  %96 = add nuw nsw i64 %indvars.iv147, 1
  %97 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %96) #5
  %98 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %5, ptr noundef nonnull align 8 dereferenceable(36) %97) #5
  br label %99

99:                                               ; preds = %95, %.preheader122.1
  %100 = load i8, ptr %42, align 1, !tbaa !30, !range !28, !noundef !29
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %102, label %106

102:                                              ; preds = %99
  %103 = add nuw nsw i64 %indvars.iv147, 1
  %104 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %103) #5
  %105 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %44, ptr noundef nonnull align 8 dereferenceable(36) %104) #5
  br label %106

106:                                              ; preds = %102, %99
  %107 = load i8, ptr %45, align 1, !tbaa !31, !range !28, !noundef !29
  %108 = trunc nuw i8 %107 to i1
  %109 = add nuw nsw i64 %indvars.iv147, 1
  br i1 %108, label %110, label %._crit_edge151

110:                                              ; preds = %106
  %111 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %109) #5
  %112 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %47, ptr noundef nonnull align 8 dereferenceable(32) %111)
          to label %._crit_edge151 unwind label %83

._crit_edge151:                                   ; preds = %106, %110
  %113 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #5
  %114 = trunc nuw i64 %109 to i32
  %115 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %114)
          to label %116 unwind label %83

116:                                              ; preds = %._crit_edge151
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %113, ptr noundef nonnull align 8 dereferenceable(36) %115, ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(296) %32, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1)
          to label %117 unwind label %83

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %118 unwind label %148

118:                                              ; preds = %117
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %6, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %.preheader122.2 unwind label %150

.preheader122.2:                                  ; preds = %118
  %119 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  %120 = load i8, ptr %40, align 2, !tbaa !5, !range !28, !noundef !29
  %121 = trunc nuw i8 %120 to i1
  br i1 %121, label %122, label %126

122:                                              ; preds = %.preheader122.2
  %123 = add nuw nsw i64 %indvars.iv147, 2
  %124 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %123) #5
  %125 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %5, ptr noundef nonnull align 8 dereferenceable(36) %124) #5
  br label %126

126:                                              ; preds = %122, %.preheader122.2
  %127 = load i8, ptr %42, align 1, !tbaa !30, !range !28, !noundef !29
  %128 = trunc nuw i8 %127 to i1
  br i1 %128, label %129, label %133

129:                                              ; preds = %126
  %130 = add nuw nsw i64 %indvars.iv147, 2
  %131 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %130) #5
  %132 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %44, ptr noundef nonnull align 8 dereferenceable(36) %131) #5
  br label %133

133:                                              ; preds = %129, %126
  %134 = load i8, ptr %45, align 1, !tbaa !31, !range !28, !noundef !29
  %135 = trunc nuw i8 %134 to i1
  %136 = add nuw nsw i64 %indvars.iv147, 2
  br i1 %135, label %137, label %._crit_edge150

137:                                              ; preds = %133
  %138 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %136) #5
  %139 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %47, ptr noundef nonnull align 8 dereferenceable(32) %138)
          to label %._crit_edge150 unwind label %83

._crit_edge150:                                   ; preds = %133, %137
  %140 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %48) #5
  %141 = trunc nuw i64 %136 to i32
  %142 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %141)
          to label %143 unwind label %83

143:                                              ; preds = %._crit_edge150
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %140, ptr noundef nonnull align 8 dereferenceable(36) %142, ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(296) %32, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.2)
          to label %144 unwind label %83

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %145 unwind label %148

145:                                              ; preds = %144
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %6, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.2, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %146 unwind label %150

146:                                              ; preds = %145
  %147 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.2, ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #5
  invoke void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %10, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %4)
          to label %153 unwind label %160

148:                                              ; preds = %144, %117, %90
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %152

150:                                              ; preds = %145, %118, %91
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %152

152:                                              ; preds = %150, %148
  %.pn114 = phi { ptr, i32 } [ %151, %150 ], [ %149, %148 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  br label %357

153:                                              ; preds = %146
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %9, ptr noundef nonnull align 8 dereferenceable(36) %10, float noundef 1.000000e+00)
          to label %154 unwind label %162

154:                                              ; preds = %153
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #5
  invoke void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %12, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.2, ptr noundef nonnull align 8 dereferenceable(36) %4)
          to label %155 unwind label %165

155:                                              ; preds = %154
  invoke void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36) %11, ptr noundef nonnull align 8 dereferenceable(36) %12, float noundef 1.000000e+00)
          to label %156 unwind label %167

156:                                              ; preds = %155
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #5
  invoke void @_ZNK3imp4Vec35crossERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %13, ptr noundef nonnull align 8 dereferenceable(36) %9, ptr noundef nonnull align 8 dereferenceable(36) %11)
          to label %157 unwind label %170

157:                                              ; preds = %156
  %158 = load i32, ptr %49, align 8, !tbaa !32
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %.preheader, label %174

160:                                              ; preds = %146
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %153
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #5
  br label %164

164:                                              ; preds = %162, %160
  %.pn103 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  br label %237

165:                                              ; preds = %154
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %155
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %12) #5
  br label %169

169:                                              ; preds = %167, %165
  %.pn105 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #5
  br label %236

170:                                              ; preds = %156
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %235

172:                                              ; preds = %232, %222
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %234

174:                                              ; preds = %157
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %13, i32 noundef 2)
  %176 = load float, ptr %175, align 4, !tbaa !74
  %177 = fcmp ogt float %176, 0.000000e+00
  %178 = load i32, ptr %49, align 8
  %179 = icmp eq i32 %178, 1
  %180 = select i1 %177, i1 %179, i1 false
  br i1 %180, label %.preheader, label %181

181:                                              ; preds = %174
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi3EfEixEj(ptr noundef nonnull align 8 dereferenceable(36) %13, i32 noundef 2)
  %183 = load float, ptr %182, align 4, !tbaa !74
  %184 = fcmp olt float %183, 0.000000e+00
  %185 = load i32, ptr %49, align 8
  %186 = icmp eq i32 %185, 2
  %187 = select i1 %184, i1 %186, i1 false
  br i1 %187, label %.preheader, label %233

.preheader:                                       ; preds = %174, %157, %181
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %18, float noundef 1.000000e+00)
          to label %188 unwind label %224

188:                                              ; preds = %.preheader
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %17, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %18)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #5
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 2)
  %190 = load float, ptr %189, align 4, !tbaa !74
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 3)
  %192 = load float, ptr %191, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %19, float noundef %190, float noundef %192, float noundef 0.000000e+00)
          to label %193 unwind label %226

193:                                              ; preds = %188
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %16, ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(36) %19)
  call void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %15, ptr noundef nonnull align 8 dereferenceable(36) %16, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 0)
  %195 = load float, ptr %194, align 4, !tbaa !74
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 1)
  %197 = load float, ptr %196, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %20, float noundef %195, float noundef %197, float noundef 0.000000e+00)
          to label %198 unwind label %228

198:                                              ; preds = %193
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %14, ptr noundef nonnull align 8 dereferenceable(36) %15, ptr noundef nonnull align 8 dereferenceable(36) %20)
  %199 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %14)
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %18, float noundef 1.000000e+00)
          to label %200 unwind label %224

200:                                              ; preds = %198
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %17, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %18)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #5
  %201 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 2)
  %202 = load float, ptr %201, align 4, !tbaa !74
  %203 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 3)
  %204 = load float, ptr %203, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %19, float noundef %202, float noundef %204, float noundef 0.000000e+00)
          to label %205 unwind label %226

205:                                              ; preds = %200
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %16, ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(36) %19)
  call void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %15, ptr noundef nonnull align 8 dereferenceable(36) %16, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 0)
  %207 = load float, ptr %206, align 4, !tbaa !74
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 1)
  %209 = load float, ptr %208, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %20, float noundef %207, float noundef %209, float noundef 0.000000e+00)
          to label %210 unwind label %228

210:                                              ; preds = %205
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %14, ptr noundef nonnull align 8 dereferenceable(36) %15, ptr noundef nonnull align 8 dereferenceable(36) %20)
  %211 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %14)
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %18, float noundef 1.000000e+00)
          to label %212 unwind label %224

212:                                              ; preds = %210
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %17, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.2, ptr noundef nonnull align 8 dereferenceable(36) %18)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #5
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 2)
  %214 = load float, ptr %213, align 4, !tbaa !74
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 3)
  %216 = load float, ptr %215, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %19, float noundef %214, float noundef %216, float noundef 0.000000e+00)
          to label %217 unwind label %226

217:                                              ; preds = %212
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %16, ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(36) %19)
  call void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %15, ptr noundef nonnull align 8 dereferenceable(36) %16, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 0)
  %219 = load float, ptr %218, align 4, !tbaa !74
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %50, i32 noundef 1)
  %221 = load float, ptr %220, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %20, float noundef %219, float noundef %221, float noundef 0.000000e+00)
          to label %222 unwind label %228

222:                                              ; preds = %217
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %14, ptr noundef nonnull align 8 dereferenceable(36) %15, ptr noundef nonnull align 8 dereferenceable(36) %20)
  %223 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.2, ptr noundef nonnull align 8 dereferenceable(36) %14)
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %14) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  invoke void @_ZN3imp10Rasterizer12setVaryings3ERKNS_8VaryingsES3_S3_(ptr noundef nonnull align 8 dereferenceable(472) %31, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.2)
          to label %232 unwind label %172

224:                                              ; preds = %210, %198, %.preheader
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %231

226:                                              ; preds = %212, %200, %188
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %230

228:                                              ; preds = %217, %205, %193
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %15) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %16) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %19) #5
  br label %230

230:                                              ; preds = %228, %226
  %.pn107 = phi { ptr, i32 } [ %229, %228 ], [ %227, %226 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %17) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %18) #5
  br label %231

231:                                              ; preds = %230, %224
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %230 ], [ %225, %224 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #5
  br label %234

232:                                              ; preds = %222
  invoke void @_ZN3imp10Rasterizer8triangleERKNS_4Vec3ES3_S3_(ptr noundef nonnull align 8 dereferenceable(472) %31, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.2)
          to label %233 unwind label %172

233:                                              ; preds = %181, %232
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 3
  br label %51, !llvm.loop !76

234:                                              ; preds = %231, %172
  %.pn107.pn.pn = phi { ptr, i32 } [ %.pn107.pn, %231 ], [ %173, %172 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #5
  br label %235

235:                                              ; preds = %234, %170
  %.pn107.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn, %234 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %11) #5
  br label %236

236:                                              ; preds = %235, %169
  %.pn107.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn, %235 ], [ %.pn105, %169 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #5
  br label %237

237:                                              ; preds = %236, %164
  %.pn107.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn, %236 ], [ %.pn103, %164 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  br label %357

238:                                              ; preds = %38
  %239 = invoke noundef i32 @_ZNK3imp8Geometry12getPrimitiveEv(ptr noundef nonnull align 8 dereferenceable(156) %1)
          to label %240 unwind label %64

240:                                              ; preds = %238
  %241 = icmp eq i32 %239, 1
  br i1 %241, label %.preheader126, label %.loopexit124

.preheader126:                                    ; preds = %240
  %242 = getelementptr inbounds i8, ptr %1, i64 154
  %243 = getelementptr inbounds i8, ptr %1, i64 80
  %244 = getelementptr inbounds i8, ptr %1, i64 155
  %245 = getelementptr inbounds i8, ptr %1, i64 104
  %246 = getelementptr inbounds i8, ptr %5, i64 80
  %247 = getelementptr inbounds i8, ptr %1, i64 153
  %248 = getelementptr inbounds i8, ptr %1, i64 128
  %249 = getelementptr inbounds i8, ptr %5, i64 40
  %250 = getelementptr inbounds i8, ptr %0, i64 416
  %251 = getelementptr inbounds i8, ptr %0, i64 1184
  br label %252

252:                                              ; preds = %.preheader126, %352
  %indvars.iv = phi i64 [ 0, %.preheader126 ], [ %indvars.iv.next, %352 ]
  %253 = invoke noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156) %1)
          to label %254 unwind label %259

254:                                              ; preds = %252
  %255 = sext i32 %253 to i64
  %256 = icmp slt i64 %indvars.iv, %255
  br i1 %256, label %.preheader125.preheader, label %.loopexit124

.preheader125.preheader:                          ; preds = %254
  %257 = load i8, ptr %242, align 2, !tbaa !5, !range !28, !noundef !29
  %258 = trunc nuw i8 %257 to i1
  br i1 %258, label %261, label %264

259:                                              ; preds = %351, %336, %252
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %357

261:                                              ; preds = %.preheader125.preheader
  %262 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %indvars.iv) #5
  %263 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %5, ptr noundef nonnull align 8 dereferenceable(36) %262) #5
  br label %264

264:                                              ; preds = %261, %.preheader125.preheader
  %265 = load i8, ptr %244, align 1, !tbaa !30, !range !28, !noundef !29
  %266 = trunc nuw i8 %265 to i1
  br i1 %266, label %267, label %270

267:                                              ; preds = %264
  %268 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef %indvars.iv) #5
  %269 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %246, ptr noundef nonnull align 8 dereferenceable(36) %268) #5
  br label %270

270:                                              ; preds = %267, %264
  %271 = load i8, ptr %247, align 1, !tbaa !31, !range !28, !noundef !29
  %272 = trunc nuw i8 %271 to i1
  br i1 %272, label %273, label %278

273:                                              ; preds = %270
  %274 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef %indvars.iv) #5
  %275 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %249, ptr noundef nonnull align 8 dereferenceable(32) %274)
          to label %278 unwind label %276

276:                                              ; preds = %321, %._crit_edge, %315, %282, %278, %273
  %277 = landingpad { ptr, i32 }
          cleanup
  br label %357

278:                                              ; preds = %273, %270
  %279 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %250) #5
  %280 = trunc nuw nsw i64 %indvars.iv to i32
  %281 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %280)
          to label %282 unwind label %276

282:                                              ; preds = %278
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %279, ptr noundef nonnull align 8 dereferenceable(36) %281, ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(296) %32, ptr noundef nonnull align 8 dereferenceable(80) %3)
          to label %283 unwind label %276

283:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %284 unwind label %338

284:                                              ; preds = %283
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %21, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %285 unwind label %340

285:                                              ; preds = %284
  %286 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %28) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %28, float noundef 1.000000e+00)
          to label %287 unwind label %343

287:                                              ; preds = %285
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %27, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %28)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #5
  %288 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 2)
  %289 = load float, ptr %288, align 4, !tbaa !74
  %290 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 3)
  %291 = load float, ptr %290, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %29, float noundef %289, float noundef %291, float noundef 0.000000e+00)
          to label %292 unwind label %345

292:                                              ; preds = %287
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %26, ptr noundef nonnull align 8 dereferenceable(36) %27, ptr noundef nonnull align 8 dereferenceable(36) %29)
  call void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %25, ptr noundef nonnull align 8 dereferenceable(36) %26, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #5
  %293 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 0)
  %294 = load float, ptr %293, align 4, !tbaa !74
  %295 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 1)
  %296 = load float, ptr %295, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %30, float noundef %294, float noundef %296, float noundef 0.000000e+00)
          to label %.preheader125.1 unwind label %347

.preheader125.1:                                  ; preds = %292
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %24, ptr noundef nonnull align 8 dereferenceable(36) %25, ptr noundef nonnull align 8 dereferenceable(36) %30)
  %297 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %24)
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #5
  %298 = load i8, ptr %242, align 2, !tbaa !5, !range !28, !noundef !29
  %299 = trunc nuw i8 %298 to i1
  br i1 %299, label %300, label %304

300:                                              ; preds = %.preheader125.1
  %301 = or disjoint i64 %indvars.iv, 1
  %302 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %301) #5
  %303 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %5, ptr noundef nonnull align 8 dereferenceable(36) %302) #5
  br label %304

304:                                              ; preds = %300, %.preheader125.1
  %305 = load i8, ptr %244, align 1, !tbaa !30, !range !28, !noundef !29
  %306 = trunc nuw i8 %305 to i1
  br i1 %306, label %307, label %311

307:                                              ; preds = %304
  %308 = or disjoint i64 %indvars.iv, 1
  %309 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNKSt6vectorIN3imp4Vec3ESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef %308) #5
  %310 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %246, ptr noundef nonnull align 8 dereferenceable(36) %309) #5
  br label %311

311:                                              ; preds = %307, %304
  %312 = load i8, ptr %247, align 1, !tbaa !31, !range !28, !noundef !29
  %313 = trunc nuw i8 %312 to i1
  %314 = or disjoint i64 %indvars.iv, 1
  br i1 %313, label %315, label %._crit_edge

315:                                              ; preds = %311
  %316 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3imp3VecILi2EfEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef %314) #5
  %317 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %249, ptr noundef nonnull align 8 dereferenceable(32) %316)
          to label %._crit_edge unwind label %276

._crit_edge:                                      ; preds = %311, %315
  %318 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %250) #5
  %319 = trunc nuw nsw i64 %314 to i32
  %320 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156) %1, i32 noundef %319)
          to label %321 unwind label %276

321:                                              ; preds = %._crit_edge
  invoke void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40) %318, ptr noundef nonnull align 8 dereferenceable(36) %320, ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(296) %32, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1)
          to label %322 unwind label %276

322:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %323 unwind label %338

323:                                              ; preds = %322
  invoke void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %21, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %324 unwind label %340

324:                                              ; preds = %323
  %325 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %28) #5
  invoke void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36) %28, float noundef 1.000000e+00)
          to label %326 unwind label %343

326:                                              ; preds = %324
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %27, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %28)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #5
  %327 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 2)
  %328 = load float, ptr %327, align 4, !tbaa !74
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 3)
  %330 = load float, ptr %329, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %29, float noundef %328, float noundef %330, float noundef 0.000000e+00)
          to label %331 unwind label %345

331:                                              ; preds = %326
  call void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %26, ptr noundef nonnull align 8 dereferenceable(36) %27, ptr noundef nonnull align 8 dereferenceable(36) %29)
  call void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %25, ptr noundef nonnull align 8 dereferenceable(36) %26, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #5
  %332 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 0)
  %333 = load float, ptr %332, align 4, !tbaa !74
  %334 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3imp3VecILi4EfEixEj(ptr noundef nonnull align 8 dereferenceable(40) %251, i32 noundef 1)
  %335 = load float, ptr %334, align 4, !tbaa !74
  invoke void @_ZN3imp4Vec3C2Efff(ptr noundef nonnull align 8 dereferenceable(36) %30, float noundef %333, float noundef %335, float noundef 0.000000e+00)
          to label %336 unwind label %347

336:                                              ; preds = %331
  call void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec") align 8 %24, ptr noundef nonnull align 8 dereferenceable(36) %25, ptr noundef nonnull align 8 dereferenceable(36) %30)
  %337 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi3EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1, ptr noundef nonnull align 8 dereferenceable(36) %24)
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %24) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #5
  invoke void @_ZN3imp10Rasterizer12setVaryings2ERKNS_8VaryingsES3_(ptr noundef nonnull align 8 dereferenceable(472) %31, ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %.ptr.1)
          to label %351 unwind label %259

338:                                              ; preds = %322, %283
  %339 = landingpad { ptr, i32 }
          cleanup
  br label %342

340:                                              ; preds = %323, %284
  %341 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %342

342:                                              ; preds = %340, %338
  %.pn = phi { ptr, i32 } [ %341, %340 ], [ %339, %338 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #5
  br label %357

343:                                              ; preds = %324, %285
  %344 = landingpad { ptr, i32 }
          cleanup
  br label %350

345:                                              ; preds = %326, %287
  %346 = landingpad { ptr, i32 }
          cleanup
  br label %349

347:                                              ; preds = %331, %292
  %348 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %26) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %29) #5
  br label %349

349:                                              ; preds = %347, %345
  %.pn98 = phi { ptr, i32 } [ %348, %347 ], [ %346, %345 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %27) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %28) #5
  br label %350

350:                                              ; preds = %349, %343
  %.pn98.pn = phi { ptr, i32 } [ %.pn98, %349 ], [ %344, %343 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #5
  br label %357

351:                                              ; preds = %336
  invoke void @_ZN3imp10Rasterizer4lineERKNS_4Vec3ES3_(ptr noundef nonnull align 8 dereferenceable(472) %31, ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 8 dereferenceable(36) %.ptr95.1)
          to label %352 unwind label %259

352:                                              ; preds = %351
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  br label %252, !llvm.loop !78

.loopexit124:                                     ; preds = %254, %53, %240
  call void @_ZN3imp15VertexOperation10AttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %5) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #5
  %353 = getelementptr inbounds i8, ptr %4, i64 80
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %353) #5
  %354 = getelementptr inbounds i8, ptr %4, i64 40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %354) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %4) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  %355 = getelementptr inbounds i8, ptr %3, i64 160
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %355) #5
  %356 = getelementptr inbounds i8, ptr %3, i64 80
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %356) #5
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %3) #5
  ret void

357:                                              ; preds = %259, %350, %342, %276, %66, %237, %152, %83, %64
  %.pn114.pn.pn.pn = phi { ptr, i32 } [ %65, %64 ], [ %.pn107.pn.pn.pn.pn.pn, %237 ], [ %67, %66 ], [ %.pn114, %152 ], [ %84, %83 ], [ %260, %259 ], [ %.pn98.pn, %350 ], [ %.pn, %342 ], [ %277, %276 ]
  call void @_ZN3imp15VertexOperation10AttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %5) #5
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %357, %62
  %.pn114.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn.pn, %357 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #5
  %358 = getelementptr inbounds i8, ptr %4, i64 80
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %358) #5
  %359 = getelementptr inbounds i8, ptr %4, i64 40
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %359) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %4) #5
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader128, %58, %.loopexit.loopexit
  %.pn114.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %lpad.thr_comm.split-lp, %58 ], [ %.pn114.pn.pn.pn.pn, %.loopexit.loopexit ], [ %lpad.thr_comm, %.preheader128 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  %360 = getelementptr inbounds i8, ptr %3, i64 160
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %360) #5
  %361 = getelementptr inbounds i8, ptr %3, i64 80
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %361) #5
  call void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn114.pn.pn.pn.pn.pn
}

declare void @_ZN3imp10Rasterizer13setUniformMapERKNS_10UniformMapE(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp8VaryingsC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

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

declare noundef i32 @_ZNK3imp8Geometry12getPrimitiveEv(ptr noundef nonnull align 8 dereferenceable(156)) local_unnamed_addr #2

declare noundef i32 @_ZNK3imp8Geometry4sizeEv(ptr noundef nonnull align 8 dereferenceable(156)) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSILi2EEERKS0_RKNS_3VecIXT_EfEE(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp16GeometryRenderer12VertCallback4execERKNS_4Vec3ERNS_15VertexOperation10AttributesERKNS_10UniformMapERNS_8VaryingsE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp8GeometryixEi(ptr noundef nonnull align 8 dereferenceable(156), i32 noundef) local_unnamed_addr #2

declare void @_ZNK3imp8Varyings3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmiERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp4Vec3C2ILi3EEERKNS_3VecIXT_EfEEf(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3imp4Vec35crossERKS0_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3VecILi3EfEC2Ef(ptr noundef nonnull align 8 dereferenceable(36), float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmlERKS1_(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3imp3VecILi3EfEmlEf(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec") align 8, ptr noundef nonnull align 8 dereferenceable(36), float noundef) local_unnamed_addr #4 align 2

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

declare void @_ZN3imp10Rasterizer12setVaryings3ERKNS_8VaryingsES3_S3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2

declare void @_ZN3imp10Rasterizer8triangleERKNS_4Vec3ES3_S3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #2

declare void @_ZN3imp10Rasterizer12setVaryings2ERKNS_8VaryingsES3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2

declare void @_ZN3imp10Rasterizer4lineERKNS_4Vec3ES3_(ptr noundef nonnull align 8 dereferenceable(472), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp15VertexOperation10AttributesD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3imp8VaryingsD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

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 = { "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 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !27, i64 154}
!6 = !{!"_ZTSN3imp8GeometryE", !7, i64 0, !14, i64 24, !15, i64 32, !19, i64 56, !19, i64 80, !19, i64 104, !23, i64 128, !27, i64 152, !27, i64 153, !27, i64 154, !27, i64 155}
!7 = !{!"_ZTSN3imp6ObjectE", !8, i64 8}
!8 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !9, i64 0}
!9 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!14 = !{!"_ZTSN3imp8Geometry9PrimitiveE", !11, i64 0}
!15 = !{!"_ZTSSt6vectorIjSaIjEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!19 = !{!"_ZTSSt6vectorIN3imp4Vec3ESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3imp4Vec3ESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3imp4Vec3ESaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!23 = !{!"_ZTSSt6vectorIN3imp3VecILi2EfEESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3imp3VecILi2EfEESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3imp3VecILi2EfEESaIS2_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3imp3VecILi2EfEESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!27 = !{!"bool", !11, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!6, !27, i64 155}
!31 = !{!6, !27, i64 153}
!32 = !{!33, !71, i64 1224}
!33 = !{!"_ZTSN3imp16GeometryRendererE", !7, i64 0, !34, i64 24, !43, i64 72, !46, i64 120, !62, i64 416, !64, i64 432, !66, i64 448, !54, i64 920, !54, i64 1008, !54, i64 1096, !58, i64 1184, !71, i64 1224, !72, i64 1232, !27, i64 1248}
!34 = !{!"_ZTSSt3mapIiSt10shared_ptrIN3imp5ImageEESt4lessIiESaISt4pairIKiS3_EEE", !35, i64 0}
!35 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN3imp5ImageEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE", !36, i64 0}
!36 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt10shared_ptrIN3imp5ImageEEESt10_Select1stIS6_ESt4lessIiESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !37, i64 0, !39, i64 8}
!37 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !38, i64 0}
!38 = !{!"_ZTSSt4lessIiE"}
!39 = !{!"_ZTSSt15_Rb_tree_header", !40, i64 0, !42, i64 32}
!40 = !{!"_ZTSSt18_Rb_tree_node_base", !41, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!41 = !{!"_ZTSSt14_Rb_tree_color", !11, i64 0}
!42 = !{!"long", !11, i64 0}
!43 = !{!"_ZTSSt3mapIiN3imp4Vec4ESt4lessIiESaISt4pairIKiS1_EEE", !44, i64 0}
!44 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiN3imp4Vec4EESt10_Select1stIS4_ESt4lessIiESaIS4_EE", !45, i64 0}
!45 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiN3imp4Vec4EESt10_Select1stIS4_ESt4lessIiESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !37, i64 0, !39, i64 8}
!46 = !{!"_ZTSN3imp10UniformMapE", !47, i64 0, !52, i64 48, !54, i64 112, !56, i64 200, !58, i64 240, !60, i64 280}
!47 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3imp7UniformEESt4lessIS5_ESaISt4pairIKS5_S9_EEE", !48, i64 0}
!48 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE", !49, i64 0}
!49 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !50, i64 0, !39, i64 8}
!50 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !51, i64 0}
!51 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!52 = !{!"_ZTSN3imp7Matrix3E", !53, i64 0}
!53 = !{!"_ZTSN3imp6MatrixILi3ELi3EfEE", !7, i64 0, !11, i64 24}
!54 = !{!"_ZTSN3imp7Matrix4E", !55, i64 0}
!55 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !7, i64 0, !11, i64 24}
!56 = !{!"_ZTSN3imp4Vec3E", !57, i64 0}
!57 = !{!"_ZTSN3imp3VecILi3EfEE", !7, i64 0, !11, i64 24}
!58 = !{!"_ZTSN3imp4Vec4E", !59, i64 0}
!59 = !{!"_ZTSN3imp3VecILi4EfEE", !7, i64 0, !11, i64 24}
!60 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !61, i64 0}
!61 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!62 = !{!"_ZTSSt10shared_ptrIN3imp16GeometryRenderer12VertCallbackEE", !63, i64 0}
!63 = !{!"_ZTSSt12__shared_ptrIN3imp16GeometryRenderer12VertCallbackELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!64 = !{!"_ZTSSt10shared_ptrIN3imp12FragCallbackEE", !65, i64 0}
!65 = !{!"_ZTSSt12__shared_ptrIN3imp12FragCallbackELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!66 = !{!"_ZTSN3imp10RasterizerE", !7, i64 0, !34, i64 24, !67, i64 72, !67, i64 96, !46, i64 120, !58, i64 416, !64, i64 456}
!67 = !{!"_ZTSSt6vectorIN3imp8VaryingsESaIS1_EE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIN3imp8VaryingsESaIS1_EE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIN3imp8VaryingsESaIS1_EE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIN3imp8VaryingsESaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!71 = !{!"_ZTSN3imp16GeometryRenderer4CullE", !11, i64 0}
!72 = !{!"_ZTSSt10shared_ptrIN3imp10FloatImageEE", !73, i64 0}
!73 = !{!"_ZTSSt12__shared_ptrIN3imp10FloatImageELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!74 = !{!75, !75, i64 0}
!75 = !{!"float", !11, i64 0}
!76 = distinct !{!76, !77}
!77 = !{!"llvm.loop.mustprogress"}
!78 = distinct !{!78, !77}


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