; LLVM IR from Lut1n/ImpGears :: src/OGLPlugin (GlRenderer)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::shared_ptr.27" = type { %"class.std::__shared_ptr.28" }
%"class.std::__shared_ptr.28" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.imp::Matrix4" = type { %"class.imp::Matrix" }
%"class.imp::Matrix" = type { %"class.imp::Object", [16 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" }
%"struct.imp::RenderState" = type { %"class.std::shared_ptr.27", %"class.std::shared_ptr.117", %"class.imp::Matrix4", %"class.imp::Matrix4", %"class.imp::Matrix3" }
%"class.std::shared_ptr.117" = type { %"class.std::__shared_ptr.118" }
%"class.std::__shared_ptr.118" = type { ptr, %"class.std::__shared_count" }
%"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.137" = type { %"class.std::__shared_ptr.138" }
%"class.std::__shared_ptr.138" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.120" = type { %"class.std::__shared_ptr.121" }
%"class.std::__shared_ptr.121" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.140" = type { %"class.std::__shared_ptr.141" }
%"class.std::__shared_ptr.141" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.154" = type { %"class.std::__shared_ptr.155" }
%"class.std::__shared_ptr.155" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.160" = type { %"class.std::__shared_ptr.161" }
%"class.std::__shared_ptr.161" = type { ptr, %"class.std::__shared_count" }
%"class.imp::Vec4" = type { %"class.imp::Vec" }
%"class.imp::Vec" = type { %"class.imp::Object", [4 x float] }
%"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" = type { i8 }
%"class.imp::Matrix.136" = type <{ %"class.imp::Object", [9 x float], [4 x i8] }>
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>
%"class.imp::GlRenderer" = type { %"class.imp::SceneRenderer.base", ptr, %"class.std::shared_ptr.6", %"class.std::shared_ptr.9", %"class.std::shared_ptr.12", %"class.std::shared_ptr.12", %"class.std::shared_ptr.15", %"class.std::shared_ptr.15", %"class.std::shared_ptr.18", %"class.std::shared_ptr.18", %"class.std::shared_ptr.21", %"class.std::shared_ptr.0", %"class.std::shared_ptr.0", %"class.std::map", %"class.std::shared_ptr.27" }
%"class.imp::SceneRenderer.base" = type <{ %"class.imp::Object", i8, [5 x i8], [2 x i8], %"class.std::shared_ptr.0", %"class.std::shared_ptr.3", i32, [4 x i8], %"class.imp::Vec4", i32, i32, i32, i32, float, float, i8 }>
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.9" = type { %"class.std::__shared_ptr.10" }
%"class.std::__shared_ptr.10" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.12" = type { %"class.std::__shared_ptr.13" }
%"class.std::__shared_ptr.13" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.15" = type { %"class.std::__shared_ptr.16" }
%"class.std::__shared_ptr.16" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::shared_ptr<imp::Graph>, std::pair<const std::shared_ptr<imp::Graph>, std::shared_ptr<imp::RenderQueue>>, std::_Select1st<std::pair<const std::shared_ptr<imp::Graph>, std::shared_ptr<imp::RenderQueue>>>, std::less<std::shared_ptr<imp::Graph>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::shared_ptr<imp::Graph>, std::pair<const std::shared_ptr<imp::Graph>, std::shared_ptr<imp::RenderQueue>>, std::_Select1st<std::pair<const std::shared_ptr<imp::Graph>, std::shared_ptr<imp::RenderQueue>>>, std::less<std::shared_ptr<imp::Graph>>>::_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.imp::RenderQueue" = type { %"class.imp::Object", ptr, %"class.std::vector.123", %"struct.imp::StateBin", %"struct.imp::StateBin" }
%"class.std::vector.123" = type { %"struct.std::_Vector_base.124" }
%"struct.std::_Vector_base.124" = type { %"struct.std::_Vector_base<imp::LightNode *, std::allocator<imp::LightNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::LightNode *, std::allocator<imp::LightNode *>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::LightNode *, std::allocator<imp::LightNode *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::LightNode *, std::allocator<imp::LightNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.imp::StateBin" = type <{ %"class.std::vector.128", i32, [4 x i8] }>
%"class.std::vector.128" = type { %"struct.std::_Vector_base.129" }
%"struct.std::_Vector_base.129" = type { %"struct.std::_Vector_base<imp::RenderState, std::allocator<imp::RenderState>>::_Vector_impl" }
%"struct.std::_Vector_base<imp::RenderState, std::allocator<imp::RenderState>>::_Vector_impl" = type { %"struct.std::_Vector_base<imp::RenderState, std::allocator<imp::RenderState>>::_Vector_impl_data" }
%"struct.std::_Vector_base<imp::RenderState, std::allocator<imp::RenderState>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.imp::GeoNode" = type <{ %"class.imp::Node", %"class.std::shared_ptr.157", %"class.std::shared_ptr.160", i8, [7 x i8] }>
%"class.imp::Node" = type { %"class.imp::Object", %"class.std::shared_ptr.27", %"class.imp::Vec3", %"class.imp::Vec3", %"class.imp::Vec3", %"class.imp::Matrix4", %"class.imp::Matrix4", %"class.imp::Matrix4", %"class.imp::Matrix4", i8, %"class.std::__cxx11::list" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<std::shared_ptr<imp::Node>, std::allocator<std::shared_ptr<imp::Node>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::shared_ptr<imp::Node>, std::allocator<std::shared_ptr<imp::Node>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::shared_ptr.157" = type { %"class.std::__shared_ptr.158" }
%"class.std::__shared_ptr.158" = type { ptr, %"class.std::__shared_count" }
%"class.imp::Material" = type { %"class.imp::Object", %"class.std::shared_ptr.103", %"class.std::shared_ptr.103", %"class.std::shared_ptr.103", %"class.std::shared_ptr.103", float, %"class.imp::Vec4" }
%"class.std::shared_ptr.103" = type { %"class.std::__shared_ptr.104" }
%"class.std::__shared_ptr.104" = type { ptr, %"class.std::__shared_count" }

@.str.24 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [9 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp10GlRenderer9drawQueueERSt10shared_ptrINS_11RenderQueueEES1_INS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2, i32 noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::shared_ptr.27", align 8
  %10 = alloca %"class.imp::Matrix4", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.imp::RenderState", align 8
  %16 = alloca %"class.std::shared_ptr.137", align 8
  %17 = alloca %"class.std::shared_ptr", align 8
  %18 = alloca %"class.std::shared_ptr.120", align 8
  %19 = alloca %"class.std::shared_ptr", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::shared_ptr.140", align 8
  %22 = alloca %"class.std::shared_ptr.154", align 8
  %23 = alloca %"class.std::shared_ptr", align 8
  %24 = alloca %"class.std::shared_ptr.18", align 8
  %25 = alloca %"class.std::shared_ptr.160", align 8
  %26 = alloca float, align 4
  %27 = alloca %"class.imp::Vec4", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.imp::Matrix.136", align 8
  %41 = alloca %"class.imp::Matrix3", align 8
  %42 = alloca %"class.imp::Matrix3", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator", align 1
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::allocator", align 1
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator", align 1
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator", align 1
  %51 = alloca %"class.imp::Vec3", align 8
  %52 = alloca i32, align 4
  %53 = alloca %"struct.imp::RenderState", align 8
  %54 = alloca %"class.std::shared_ptr.137", align 8
  %55 = alloca %"class.std::shared_ptr", align 8
  %56 = alloca i32, align 4
  %57 = alloca %"class.std::shared_ptr.140", align 8
  %58 = alloca %"class.std::shared_ptr.154", align 8
  %59 = alloca %"class.std::shared_ptr", align 8
  %60 = alloca %"class.std::shared_ptr.18", align 8
  %61 = alloca %"class.std::shared_ptr.160", align 8
  %62 = alloca float, align 4
  %63 = alloca %"class.imp::Vec4", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.std::allocator", align 1
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::allocator", align 1
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::allocator", align 1
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator", align 1
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator", align 1
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::allocator", align 1
  %76 = alloca %"class.imp::Matrix.136", align 8
  %77 = alloca %"class.imp::Matrix3", align 8
  %78 = alloca %"class.imp::Matrix3", align 8
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator", align 1
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::allocator", align 1
  %83 = alloca %"class.std::__cxx11::basic_string", align 8
  %84 = alloca %"class.std::allocator", align 1
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %87 = load ptr, ptr %5, align 8
  %88 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %89 = call noundef zeroext i1 @_ZSteqIN3imp5StateEEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr null) #7
  br i1 %89, label %90, label %93

90:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @_ZN3imp5State6createIJEEESt10shared_ptrIS0_EDpOT_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.27") align 8 %9)
  %91 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp5StateEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %91, ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @_ZNSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %93

93:                                               ; preds = %90, %4
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #7
  call void @_ZN3imp7Matrix4C1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10)
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %94) #7
  %96 = getelementptr inbounds %"class.imp::RenderQueue", ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !11
  %98 = icmp ne ptr %97, null
  br i1 %98, label %99, label %112

99:                                               ; preds = %93
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %100) #7
  %102 = getelementptr inbounds %"class.imp::RenderQueue", ptr %101, i32 0, i32 1
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNK3imp6Camera13getViewMatrixEv(ptr noundef nonnull align 8 dereferenceable(752) %103)
          to label %105 unwind label %108

105:                                              ; preds = %99
  %106 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %104)
          to label %107 unwind label %108

107:                                              ; preds = %105
  br label %112

108:                                              ; preds = %105, %99
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %11, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %12, align 4
  br label %804

112:                                              ; preds = %107, %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !27
  br label %113

113:                                              ; preds = %444, %112
  %114 = load i32, ptr %13, align 4, !tbaa !27
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %115) #7
  %117 = getelementptr inbounds %"class.imp::RenderQueue", ptr %116, i32 0, i32 3
  %118 = invoke noundef i32 @_ZN3imp8StateBin4sizeEv(ptr noundef nonnull align 8 dereferenceable(28) %117)
          to label %119 unwind label %122

119:                                              ; preds = %113
  %120 = icmp slt i32 %114, %118
  br i1 %120, label %126, label %121

121:                                              ; preds = %119
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %452

122:                                              ; preds = %113
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %11, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %12, align 4
  br label %451

126:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 272, ptr %15) #7
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %127) #7
  %129 = getelementptr inbounds %"class.imp::RenderQueue", ptr %128, i32 0, i32 3
  %130 = load i32, ptr %13, align 4, !tbaa !27
  invoke void @_ZN3imp8StateBin2atEi(ptr dead_on_unwind writable sret(%"struct.imp::RenderState") align 8 %15, ptr noundef nonnull align 8 dereferenceable(28) %129, i32 noundef %130)
          to label %131 unwind label %141

131:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  %132 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 1
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_4NodeEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %132) #7
  invoke void @_ZN3imp7GeoNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.137") align 8 %16, ptr noundef %17)
          to label %133 unwind label %145

133:                                              ; preds = %131
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  %134 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 1
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_4NodeEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %134) #7
  invoke void @_ZN3imp9ClearNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.120") align 8 %18, ptr noundef %19)
          to label %135 unwind label %149

135:                                              ; preds = %133
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  %136 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br i1 %136, label %137, label %429

137:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 1, ptr %20, align 4, !tbaa !28
  %138 = load i32, ptr %8, align 4, !tbaa !9
  %139 = icmp eq i32 %138, 4
  br i1 %139, label %140, label %153

140:                                              ; preds = %137
  store i32 2, ptr %20, align 4, !tbaa !28
  br label %153

141:                                              ; preds = %126
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %11, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %12, align 4
  br label %450

145:                                              ; preds = %131
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %11, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %449

149:                                              ; preds = %133
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %11, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %448

153:                                              ; preds = %140, %137
  %154 = load i32, ptr %8, align 4, !tbaa !9
  %155 = icmp eq i32 %154, 2
  br i1 %155, label %156, label %157

156:                                              ; preds = %153
  store i32 4, ptr %20, align 4, !tbaa !28
  br label %157

157:                                              ; preds = %156, %153
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %158 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 0
  %159 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %158) #7
  invoke void @_ZN3imp5State13getRenderPassEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.140") align 8 %21, ptr noundef nonnull align 8 dereferenceable(306) %159)
          to label %160 unwind label %168

160:                                              ; preds = %157
  %161 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br i1 %161, label %162, label %167

162:                                              ; preds = %160
  %163 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  %164 = load i32, ptr %20, align 4, !tbaa !28
  %165 = invoke noundef zeroext i1 @_ZNK3imp10RenderPass13isPassEnabledENS0_8PassFlagE(ptr noundef nonnull align 8 dereferenceable(32) %163, i32 noundef %164)
          to label %166 unwind label %172

166:                                              ; preds = %162
  br i1 %165, label %176, label %167

167:                                              ; preds = %166, %160
  store i32 4, ptr %14, align 4
  br label %369

168:                                              ; preds = %157
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %11, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %12, align 4
  br label %428

172:                                              ; preds = %366, %363, %341, %337, %182, %176, %162
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %11, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %12, align 4
  br label %427

176:                                              ; preds = %166
  %177 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %178 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %177) #7
  %179 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 0
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %178, ptr noundef nonnull align 8 dereferenceable(16) %179, i32 noundef 3)
          to label %180 unwind label %172

180:                                              ; preds = %176
  %181 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  br i1 %181, label %182, label %208

182:                                              ; preds = %180
  %183 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %184 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %183) #7
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %184, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef 4)
          to label %185 unwind label %172

185:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  %186 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %187 = getelementptr inbounds %"class.imp::GeoNode", ptr %186, i32 0, i32 1
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_8GeometryEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %187) #7
  invoke void @_ZN3imp17InstancedGeometry6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.154") align 8 %22, ptr noundef %23)
          to label %188 unwind label %198

188:                                              ; preds = %185
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  %189 = load i32, ptr %8, align 4, !tbaa !9
  %190 = icmp eq i32 %189, 2
  br i1 %190, label %191, label %206

191:                                              ; preds = %188
  %192 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br i1 %192, label %193, label %206

193:                                              ; preds = %191
  %194 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %195 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %194) #7
  %196 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 9
  call void @_ZNSt10shared_ptrIN3imp14ReflexionModelEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %196) #7
  invoke void @_ZN3imp5State12setReflexionESt10shared_ptrINS_14ReflexionModelEE(ptr noundef nonnull align 8 dereferenceable(306) %195, ptr noundef %24)
          to label %197 unwind label %202

197:                                              ; preds = %193
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  br label %206

198:                                              ; preds = %185
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %11, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %207

202:                                              ; preds = %193
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %11, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br label %207

206:                                              ; preds = %197, %191, %188
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  br label %208

207:                                              ; preds = %202, %198
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  br label %427

208:                                              ; preds = %206, %180
  %209 = load i32, ptr %8, align 4, !tbaa !9
  %210 = icmp eq i32 %209, 0
  br i1 %210, label %214, label %211

211:                                              ; preds = %208
  %212 = load i32, ptr %8, align 4, !tbaa !9
  %213 = icmp eq i32 %212, 4
  br i1 %213, label %214, label %330

214:                                              ; preds = %211, %208
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %215 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %216 = getelementptr inbounds %"class.imp::GeoNode", ptr %215, i32 0, i32 2
  call void @_ZNSt10shared_ptrIN3imp8MaterialEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %216) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %217 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %218 = getelementptr inbounds %"class.imp::Material", ptr %217, i32 0, i32 5
  %219 = load float, ptr %218, align 8, !tbaa !30
  store float %219, ptr %26, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #7
  %220 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %221 = getelementptr inbounds %"class.imp::Material", ptr %220, i32 0, i32 6
  call void @_ZN3imp4Vec4C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 8 dereferenceable(40) %221) #7
  %222 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %223 = getelementptr inbounds %"class.imp::Material", ptr %222, i32 0, i32 1
  %224 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %223) #7
  br i1 %224, label %225, label %241

225:                                              ; preds = %214
  %226 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %227 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %226) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %228 unwind label %232

228:                                              ; preds = %225
  %229 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %230 = getelementptr inbounds %"class.imp::Material", ptr %229, i32 0, i32 1
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %227, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(16) %230, i32 noundef 0)
          to label %231 unwind label %236

231:                                              ; preds = %228
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  br label %241

232:                                              ; preds = %225
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %11, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %12, align 4
  br label %240

236:                                              ; preds = %228
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %11, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %240

240:                                              ; preds = %236, %232
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  br label %329

241:                                              ; preds = %231, %214
  %242 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %243 = getelementptr inbounds %"class.imp::Material", ptr %242, i32 0, i32 3
  %244 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %243) #7
  br i1 %244, label %245, label %261

245:                                              ; preds = %241
  %246 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %247 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %246) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %248 unwind label %252

248:                                              ; preds = %245
  %249 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %250 = getelementptr inbounds %"class.imp::Material", ptr %249, i32 0, i32 3
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %247, ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(16) %250, i32 noundef 1)
          to label %251 unwind label %256

251:                                              ; preds = %248
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  br label %261

252:                                              ; preds = %245
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %11, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %12, align 4
  br label %260

256:                                              ; preds = %248
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %11, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %260

260:                                              ; preds = %256, %252
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  br label %329

261:                                              ; preds = %251, %241
  %262 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %263 = getelementptr inbounds %"class.imp::Material", ptr %262, i32 0, i32 2
  %264 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %263) #7
  br i1 %264, label %265, label %281

265:                                              ; preds = %261
  %266 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %267 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %266) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %268 unwind label %272

268:                                              ; preds = %265
  %269 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %270 = getelementptr inbounds %"class.imp::Material", ptr %269, i32 0, i32 2
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %267, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(16) %270, i32 noundef 2)
          to label %271 unwind label %276

271:                                              ; preds = %268
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  br label %281

272:                                              ; preds = %265
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %11, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %12, align 4
  br label %280

276:                                              ; preds = %268
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %11, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %280

280:                                              ; preds = %276, %272
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  br label %329

281:                                              ; preds = %271, %261
  %282 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %283 = getelementptr inbounds %"class.imp::Material", ptr %282, i32 0, i32 4
  %284 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %283) #7
  br i1 %284, label %285, label %301

285:                                              ; preds = %281
  %286 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %287 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %286) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %288 unwind label %292

288:                                              ; preds = %285
  %289 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %290 = getelementptr inbounds %"class.imp::Material", ptr %289, i32 0, i32 4
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %287, ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(16) %290, i32 noundef 3)
          to label %291 unwind label %296

291:                                              ; preds = %288
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #7
  br label %301

292:                                              ; preds = %285
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %11, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %12, align 4
  br label %300

296:                                              ; preds = %288
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %11, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  br label %300

300:                                              ; preds = %296, %292
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #7
  br label %329

301:                                              ; preds = %291, %281
  %302 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %303 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %302) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.28, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %304 unwind label %311

304:                                              ; preds = %301
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4Vec4E(ptr noundef nonnull align 8 dereferenceable(306) %303, ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %305 unwind label %315

305:                                              ; preds = %304
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #7
  %306 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %307 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %306) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %308 unwind label %320

308:                                              ; preds = %305
  %309 = load float, ptr %26, align 4, !tbaa !37
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf(ptr noundef nonnull align 8 dereferenceable(306) %307, ptr noundef nonnull align 8 dereferenceable(32) %38, float noundef %309)
          to label %310 unwind label %324

310:                                              ; preds = %308
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %330

311:                                              ; preds = %301
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %11, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %12, align 4
  br label %319

315:                                              ; preds = %304
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %11, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  br label %319

319:                                              ; preds = %315, %311
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #7
  br label %329

320:                                              ; preds = %305
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %11, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %12, align 4
  br label %328

324:                                              ; preds = %308
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %11, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br label %328

328:                                              ; preds = %324, %320
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  br label %329

329:                                              ; preds = %328, %319, %300, %280, %260, %240
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %427

330:                                              ; preds = %310, %211
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #7
  %331 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 3
  invoke void @_ZN3imp7Matrix3C2ILi4ELi4EEERKNS_6MatrixIXT_EXT0_EfEE(ptr noundef nonnull align 8 dereferenceable(60) %42, ptr noundef nonnull align 8 dereferenceable(88) %331)
          to label %332 unwind label %372

332:                                              ; preds = %330
  invoke void @_ZNK3imp7Matrix37inverseEv(ptr dead_on_unwind writable sret(%"class.imp::Matrix3") align 8 %41, ptr noundef nonnull align 8 dereferenceable(60) %42)
          to label %333 unwind label %376

333:                                              ; preds = %332
  invoke void @_ZNK3imp6MatrixILi3ELi3EfE9transposeEv(ptr dead_on_unwind writable sret(%"class.imp::Matrix.136") align 8 %40, ptr noundef nonnull align 8 dereferenceable(60) %41)
          to label %334 unwind label %380

334:                                              ; preds = %333
  %335 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 4
  %336 = invoke noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKNS_6MatrixILi3ELi3EfEE(ptr noundef nonnull align 8 dereferenceable(60) %335, ptr noundef nonnull align 8 dereferenceable(60) %40)
          to label %337 unwind label %384

337:                                              ; preds = %334
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %40) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %41) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %42) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #7
  %338 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %339 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %338) #7
  %340 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNK3imp5State19getProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(306) %339)
          to label %341 unwind label %172

341:                                              ; preds = %337
  %342 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 2
  %343 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %342, ptr noundef nonnull align 8 dereferenceable(88) %340)
          to label %344 unwind label %172

344:                                              ; preds = %341
  %345 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %346 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %345) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.30, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %347 unwind label %391

347:                                              ; preds = %344
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %346, ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %348 unwind label %395

348:                                              ; preds = %347
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #7
  %349 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %350 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %349) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %351 unwind label %400

351:                                              ; preds = %348
  %352 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 2
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %350, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(88) %352)
          to label %353 unwind label %404

353:                                              ; preds = %351
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #7
  %354 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %355 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %354) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.32, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %356 unwind label %409

356:                                              ; preds = %353
  %357 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 3
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %355, ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(88) %357)
          to label %358 unwind label %413

358:                                              ; preds = %356
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #7
  %359 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %360 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %359) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %361 unwind label %418

361:                                              ; preds = %358
  %362 = getelementptr inbounds %"struct.imp::RenderState", ptr %15, i32 0, i32 4
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix3E(ptr noundef nonnull align 8 dereferenceable(306) %360, ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(60) %362)
          to label %363 unwind label %422

363:                                              ; preds = %361
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #7
  %364 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %365 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN3imp10GlRenderer10applyStateERKSt10shared_ptrINS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %87, ptr noundef nonnull align 8 dereferenceable(16) %364, i32 noundef %365)
          to label %366 unwind label %172

366:                                              ; preds = %363
  %367 = call noundef ptr @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  invoke void @_ZN3imp10GlRenderer12drawGeometryEPNS_7GeoNodeE(ptr noundef nonnull align 8 dereferenceable(392) %87, ptr noundef %367)
          to label %368 unwind label %172

368:                                              ; preds = %366
  store i32 0, ptr %14, align 4
  br label %369

369:                                              ; preds = %368, %167
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %370 = load i32, ptr %14, align 4
  switch i32 %370, label %441 [
    i32 0, label %371
  ]

371:                                              ; preds = %369
  br label %440

372:                                              ; preds = %330
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %11, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %12, align 4
  br label %390

376:                                              ; preds = %332
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %11, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %12, align 4
  br label %389

380:                                              ; preds = %333
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %11, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %12, align 4
  br label %388

384:                                              ; preds = %334
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %11, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %12, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %40) #7
  br label %388

388:                                              ; preds = %384, %380
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %41) #7
  br label %389

389:                                              ; preds = %388, %376
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %42) #7
  br label %390

390:                                              ; preds = %389, %372
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #7
  br label %427

391:                                              ; preds = %344
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %11, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %12, align 4
  br label %399

395:                                              ; preds = %347
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %11, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  br label %399

399:                                              ; preds = %395, %391
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #7
  br label %427

400:                                              ; preds = %348
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %11, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %12, align 4
  br label %408

404:                                              ; preds = %351
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %11, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #7
  br label %408

408:                                              ; preds = %404, %400
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #7
  br label %427

409:                                              ; preds = %353
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %11, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %12, align 4
  br label %417

413:                                              ; preds = %356
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %11, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %417

417:                                              ; preds = %413, %409
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #7
  br label %427

418:                                              ; preds = %358
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %11, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %12, align 4
  br label %426

422:                                              ; preds = %361
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %11, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #7
  br label %426

426:                                              ; preds = %422, %418
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #7
  br label %427

427:                                              ; preds = %426, %417, %408, %399, %390, %329, %207, %172
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #7
  br label %428

428:                                              ; preds = %427, %168
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %447

429:                                              ; preds = %135
  %430 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br i1 %430, label %431, label %439

431:                                              ; preds = %429
  %432 = call noundef ptr @_ZNKSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  %433 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN3imp10GlRenderer10applyClearEPNS_9ClearNodeENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %87, ptr noundef %432, i32 noundef %433)
          to label %434 unwind label %435

434:                                              ; preds = %431
  br label %439

435:                                              ; preds = %431
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %11, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %12, align 4
  br label %447

439:                                              ; preds = %434, %429
  br label %440

440:                                              ; preds = %439, %371
  store i32 0, ptr %14, align 4
  br label %441

441:                                              ; preds = %440, %369
  call void @_ZNSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %15) #7
  call void @llvm.lifetime.end.p0(i64 272, ptr %15) #7
  %442 = load i32, ptr %14, align 4
  switch i32 %442, label %810 [
    i32 0, label %443
    i32 4, label %444
  ]

443:                                              ; preds = %441
  br label %444

444:                                              ; preds = %443, %441
  %445 = load i32, ptr %13, align 4, !tbaa !27
  %446 = add nsw i32 %445, 1
  store i32 %446, ptr %13, align 4, !tbaa !27
  br label %113, !llvm.loop !38

447:                                              ; preds = %435, %428
  call void @_ZNSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %448

448:                                              ; preds = %447, %149
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %449

449:                                              ; preds = %448, %145
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %15) #7
  br label %450

450:                                              ; preds = %449, %141
  call void @llvm.lifetime.end.p0(i64 272, ptr %15) #7
  br label %451

451:                                              ; preds = %450, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %804

452:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 40, ptr %51) #7
  invoke void @_ZN3imp4Vec3C2Ev(ptr noundef nonnull align 8 dereferenceable(36) %51)
          to label %453 unwind label %467

453:                                              ; preds = %452
  %454 = load ptr, ptr %6, align 8, !tbaa !5
  %455 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %454) #7
  %456 = getelementptr inbounds %"class.imp::RenderQueue", ptr %455, i32 0, i32 1
  %457 = load ptr, ptr %456, align 8, !tbaa !11
  %458 = icmp ne ptr %457, null
  br i1 %458, label %459, label %475

459:                                              ; preds = %453
  %460 = load ptr, ptr %6, align 8, !tbaa !5
  %461 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %460) #7
  %462 = getelementptr inbounds %"class.imp::RenderQueue", ptr %461, i32 0, i32 1
  %463 = load ptr, ptr %462, align 8, !tbaa !11
  %464 = invoke noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp6Camera19getAbsolutePositionEv(ptr noundef nonnull align 8 dereferenceable(752) %463)
          to label %465 unwind label %471

465:                                              ; preds = %459
  %466 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %51, ptr noundef nonnull align 8 dereferenceable(36) %464) #7
  br label %475

467:                                              ; preds = %452
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %11, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %12, align 4
  br label %803

471:                                              ; preds = %475, %459
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %11, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %12, align 4
  br label %802

475:                                              ; preds = %465, %453
  %476 = load ptr, ptr %6, align 8, !tbaa !5
  %477 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %476) #7
  %478 = getelementptr inbounds %"class.imp::RenderQueue", ptr %477, i32 0, i32 4
  invoke void @_ZN3imp8StateBin14sortByDistanceERKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(28) %478, ptr noundef nonnull align 8 dereferenceable(36) %51)
          to label %479 unwind label %471

479:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #7
  %480 = load ptr, ptr %6, align 8, !tbaa !5
  %481 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %480) #7
  %482 = getelementptr inbounds %"class.imp::RenderQueue", ptr %481, i32 0, i32 4
  %483 = invoke noundef i32 @_ZN3imp8StateBin4sizeEv(ptr noundef nonnull align 8 dereferenceable(28) %482)
          to label %484 unwind label %490

484:                                              ; preds = %479
  %485 = sub nsw i32 %483, 1
  store i32 %485, ptr %52, align 4, !tbaa !27
  br label %486

486:                                              ; preds = %795, %484
  %487 = load i32, ptr %52, align 4, !tbaa !27
  %488 = icmp sge i32 %487, 0
  br i1 %488, label %494, label %489

489:                                              ; preds = %486
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  br label %801

490:                                              ; preds = %479
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %11, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %12, align 4
  br label %800

494:                                              ; preds = %486
  call void @llvm.lifetime.start.p0(i64 272, ptr %53) #7
  %495 = load ptr, ptr %6, align 8, !tbaa !5
  %496 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %495) #7
  %497 = getelementptr inbounds %"class.imp::RenderQueue", ptr %496, i32 0, i32 4
  %498 = load i32, ptr %52, align 4, !tbaa !27
  invoke void @_ZN3imp8StateBin2atEi(ptr dead_on_unwind writable sret(%"struct.imp::RenderState") align 8 %53, ptr noundef nonnull align 8 dereferenceable(28) %497, i32 noundef %498)
          to label %499 unwind label %507

499:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #7
  %500 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 1
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_4NodeEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %500) #7
  invoke void @_ZN3imp7GeoNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.137") align 8 %54, ptr noundef %55)
          to label %501 unwind label %511

501:                                              ; preds = %499
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #7
  %502 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %54) #7
  br i1 %502, label %503, label %791

503:                                              ; preds = %501
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #7
  store i32 1, ptr %56, align 4, !tbaa !28
  %504 = load i32, ptr %8, align 4, !tbaa !9
  %505 = icmp eq i32 %504, 4
  br i1 %505, label %506, label %515

506:                                              ; preds = %503
  store i32 2, ptr %56, align 4, !tbaa !28
  br label %515

507:                                              ; preds = %494
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %11, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %12, align 4
  br label %799

511:                                              ; preds = %499
  %512 = landingpad { ptr, i32 }
          cleanup
  %513 = extractvalue { ptr, i32 } %512, 0
  store ptr %513, ptr %11, align 8
  %514 = extractvalue { ptr, i32 } %512, 1
  store i32 %514, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #7
  br label %798

515:                                              ; preds = %506, %503
  %516 = load i32, ptr %8, align 4, !tbaa !9
  %517 = icmp eq i32 %516, 2
  br i1 %517, label %518, label %519

518:                                              ; preds = %515
  store i32 4, ptr %56, align 4, !tbaa !28
  br label %519

519:                                              ; preds = %518, %515
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #7
  %520 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 0
  %521 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %520) #7
  invoke void @_ZN3imp5State13getRenderPassEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.140") align 8 %57, ptr noundef nonnull align 8 dereferenceable(306) %521)
          to label %522 unwind label %530

522:                                              ; preds = %519
  %523 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  br i1 %523, label %524, label %529

524:                                              ; preds = %522
  %525 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %57) #7
  %526 = load i32, ptr %56, align 4, !tbaa !28
  %527 = invoke noundef zeroext i1 @_ZNK3imp10RenderPass13isPassEnabledENS0_8PassFlagE(ptr noundef nonnull align 8 dereferenceable(32) %525, i32 noundef %526)
          to label %528 unwind label %534

528:                                              ; preds = %524
  br i1 %527, label %538, label %529

529:                                              ; preds = %528, %522
  store i32 7, ptr %14, align 4
  br label %731

530:                                              ; preds = %519
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %11, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %12, align 4
  br label %790

534:                                              ; preds = %728, %725, %703, %699, %544, %538, %524
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %11, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %12, align 4
  br label %789

538:                                              ; preds = %528
  %539 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %540 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %539) #7
  %541 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 0
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %540, ptr noundef nonnull align 8 dereferenceable(16) %541, i32 noundef 3)
          to label %542 unwind label %534

542:                                              ; preds = %538
  %543 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  br i1 %543, label %544, label %570

544:                                              ; preds = %542
  %545 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %546 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %545) #7
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %546, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef 4)
          to label %547 unwind label %534

547:                                              ; preds = %544
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #7
  %548 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  %549 = getelementptr inbounds %"class.imp::GeoNode", ptr %548, i32 0, i32 1
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_8GeometryEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 8 dereferenceable(16) %549) #7
  invoke void @_ZN3imp17InstancedGeometry6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.154") align 8 %58, ptr noundef %59)
          to label %550 unwind label %560

550:                                              ; preds = %547
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %59) #7
  %551 = load i32, ptr %8, align 4, !tbaa !9
  %552 = icmp eq i32 %551, 2
  br i1 %552, label %553, label %568

553:                                              ; preds = %550
  %554 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %58) #7
  br i1 %554, label %555, label %568

555:                                              ; preds = %553
  %556 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %557 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %556) #7
  %558 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 9
  call void @_ZNSt10shared_ptrIN3imp14ReflexionModelEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(16) %558) #7
  invoke void @_ZN3imp5State12setReflexionESt10shared_ptrINS_14ReflexionModelEE(ptr noundef nonnull align 8 dereferenceable(306) %557, ptr noundef %60)
          to label %559 unwind label %564

559:                                              ; preds = %555
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #7
  br label %568

560:                                              ; preds = %547
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %11, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %59) #7
  br label %569

564:                                              ; preds = %555
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %11, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %12, align 4
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60) #7
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %58) #7
  br label %569

568:                                              ; preds = %559, %553, %550
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %58) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  br label %570

569:                                              ; preds = %564, %560
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  br label %789

570:                                              ; preds = %568, %542
  %571 = load i32, ptr %8, align 4, !tbaa !9
  %572 = icmp eq i32 %571, 0
  br i1 %572, label %576, label %573

573:                                              ; preds = %570
  %574 = load i32, ptr %8, align 4, !tbaa !9
  %575 = icmp eq i32 %574, 4
  br i1 %575, label %576, label %692

576:                                              ; preds = %573, %570
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #7
  %577 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  %578 = getelementptr inbounds %"class.imp::GeoNode", ptr %577, i32 0, i32 2
  call void @_ZNSt10shared_ptrIN3imp8MaterialEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %578) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #7
  %579 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %580 = getelementptr inbounds %"class.imp::Material", ptr %579, i32 0, i32 5
  %581 = load float, ptr %580, align 8, !tbaa !30
  store float %581, ptr %62, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 40, ptr %63) #7
  %582 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %583 = getelementptr inbounds %"class.imp::Material", ptr %582, i32 0, i32 6
  call void @_ZN3imp4Vec4C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %63, ptr noundef nonnull align 8 dereferenceable(40) %583) #7
  %584 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %585 = getelementptr inbounds %"class.imp::Material", ptr %584, i32 0, i32 1
  %586 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %585) #7
  br i1 %586, label %587, label %603

587:                                              ; preds = %576
  %588 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %589 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %588) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %65) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %590 unwind label %594

590:                                              ; preds = %587
  %591 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %592 = getelementptr inbounds %"class.imp::Material", ptr %591, i32 0, i32 1
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %589, ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(16) %592, i32 noundef 0)
          to label %593 unwind label %598

593:                                              ; preds = %590
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #7
  br label %603

594:                                              ; preds = %587
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %11, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %12, align 4
  br label %602

598:                                              ; preds = %590
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %11, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #7
  br label %602

602:                                              ; preds = %598, %594
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #7
  br label %691

603:                                              ; preds = %593, %576
  %604 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %605 = getelementptr inbounds %"class.imp::Material", ptr %604, i32 0, i32 3
  %606 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %605) #7
  br i1 %606, label %607, label %623

607:                                              ; preds = %603
  %608 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %609 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %608) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %67)
          to label %610 unwind label %614

610:                                              ; preds = %607
  %611 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %612 = getelementptr inbounds %"class.imp::Material", ptr %611, i32 0, i32 3
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %609, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(16) %612, i32 noundef 1)
          to label %613 unwind label %618

613:                                              ; preds = %610
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #7
  br label %623

614:                                              ; preds = %607
  %615 = landingpad { ptr, i32 }
          cleanup
  %616 = extractvalue { ptr, i32 } %615, 0
  store ptr %616, ptr %11, align 8
  %617 = extractvalue { ptr, i32 } %615, 1
  store i32 %617, ptr %12, align 4
  br label %622

618:                                              ; preds = %610
  %619 = landingpad { ptr, i32 }
          cleanup
  %620 = extractvalue { ptr, i32 } %619, 0
  store ptr %620, ptr %11, align 8
  %621 = extractvalue { ptr, i32 } %619, 1
  store i32 %621, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  br label %622

622:                                              ; preds = %618, %614
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #7
  br label %691

623:                                              ; preds = %613, %603
  %624 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %625 = getelementptr inbounds %"class.imp::Material", ptr %624, i32 0, i32 2
  %626 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %625) #7
  br i1 %626, label %627, label %643

627:                                              ; preds = %623
  %628 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %629 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %628) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %630 unwind label %634

630:                                              ; preds = %627
  %631 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %632 = getelementptr inbounds %"class.imp::Material", ptr %631, i32 0, i32 2
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %629, ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(16) %632, i32 noundef 2)
          to label %633 unwind label %638

633:                                              ; preds = %630
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #7
  br label %643

634:                                              ; preds = %627
  %635 = landingpad { ptr, i32 }
          cleanup
  %636 = extractvalue { ptr, i32 } %635, 0
  store ptr %636, ptr %11, align 8
  %637 = extractvalue { ptr, i32 } %635, 1
  store i32 %637, ptr %12, align 4
  br label %642

638:                                              ; preds = %630
  %639 = landingpad { ptr, i32 }
          cleanup
  %640 = extractvalue { ptr, i32 } %639, 0
  store ptr %640, ptr %11, align 8
  %641 = extractvalue { ptr, i32 } %639, 1
  store i32 %641, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  br label %642

642:                                              ; preds = %638, %634
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #7
  br label %691

643:                                              ; preds = %633, %623
  %644 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %645 = getelementptr inbounds %"class.imp::Material", ptr %644, i32 0, i32 4
  %646 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %645) #7
  br i1 %646, label %647, label %663

647:                                              ; preds = %643
  %648 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %649 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %648) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %71) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %650 unwind label %654

650:                                              ; preds = %647
  %651 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %61) #7
  %652 = getelementptr inbounds %"class.imp::Material", ptr %651, i32 0, i32 4
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %649, ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(16) %652, i32 noundef 3)
          to label %653 unwind label %658

653:                                              ; preds = %650
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #7
  br label %663

654:                                              ; preds = %647
  %655 = landingpad { ptr, i32 }
          cleanup
  %656 = extractvalue { ptr, i32 } %655, 0
  store ptr %656, ptr %11, align 8
  %657 = extractvalue { ptr, i32 } %655, 1
  store i32 %657, ptr %12, align 4
  br label %662

658:                                              ; preds = %650
  %659 = landingpad { ptr, i32 }
          cleanup
  %660 = extractvalue { ptr, i32 } %659, 0
  store ptr %660, ptr %11, align 8
  %661 = extractvalue { ptr, i32 } %659, 1
  store i32 %661, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #7
  br label %662

662:                                              ; preds = %658, %654
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #7
  br label %691

663:                                              ; preds = %653, %643
  %664 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %665 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %664) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %73) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef @.str.28, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %666 unwind label %673

666:                                              ; preds = %663
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4Vec4E(ptr noundef nonnull align 8 dereferenceable(306) %665, ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(40) %63)
          to label %667 unwind label %677

667:                                              ; preds = %666
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #7
  %668 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %669 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %668) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %74) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %75) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %670 unwind label %682

670:                                              ; preds = %667
  %671 = load float, ptr %62, align 4, !tbaa !37
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf(ptr noundef nonnull align 8 dereferenceable(306) %669, ptr noundef nonnull align 8 dereferenceable(32) %74, float noundef %671)
          to label %672 unwind label %686

672:                                              ; preds = %670
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #7
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %61) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #7
  br label %692

673:                                              ; preds = %663
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %11, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %12, align 4
  br label %681

677:                                              ; preds = %666
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %11, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  br label %681

681:                                              ; preds = %677, %673
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #7
  br label %691

682:                                              ; preds = %667
  %683 = landingpad { ptr, i32 }
          cleanup
  %684 = extractvalue { ptr, i32 } %683, 0
  store ptr %684, ptr %11, align 8
  %685 = extractvalue { ptr, i32 } %683, 1
  store i32 %685, ptr %12, align 4
  br label %690

686:                                              ; preds = %670
  %687 = landingpad { ptr, i32 }
          cleanup
  %688 = extractvalue { ptr, i32 } %687, 0
  store ptr %688, ptr %11, align 8
  %689 = extractvalue { ptr, i32 } %687, 1
  store i32 %689, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #7
  br label %690

690:                                              ; preds = %686, %682
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #7
  br label %691

691:                                              ; preds = %690, %681, %662, %642, %622, %602
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %61) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #7
  br label %789

692:                                              ; preds = %672, %573
  call void @llvm.lifetime.start.p0(i64 64, ptr %76) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %77) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %78) #7
  %693 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 3
  invoke void @_ZN3imp7Matrix3C2ILi4ELi4EEERKNS_6MatrixIXT_EXT0_EfEE(ptr noundef nonnull align 8 dereferenceable(60) %78, ptr noundef nonnull align 8 dereferenceable(88) %693)
          to label %694 unwind label %734

694:                                              ; preds = %692
  invoke void @_ZNK3imp7Matrix37inverseEv(ptr dead_on_unwind writable sret(%"class.imp::Matrix3") align 8 %77, ptr noundef nonnull align 8 dereferenceable(60) %78)
          to label %695 unwind label %738

695:                                              ; preds = %694
  invoke void @_ZNK3imp6MatrixILi3ELi3EfE9transposeEv(ptr dead_on_unwind writable sret(%"class.imp::Matrix.136") align 8 %76, ptr noundef nonnull align 8 dereferenceable(60) %77)
          to label %696 unwind label %742

696:                                              ; preds = %695
  %697 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 4
  %698 = invoke noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKNS_6MatrixILi3ELi3EfEE(ptr noundef nonnull align 8 dereferenceable(60) %697, ptr noundef nonnull align 8 dereferenceable(60) %76)
          to label %699 unwind label %746

699:                                              ; preds = %696
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %76) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %77) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %78) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %76) #7
  %700 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %701 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %700) #7
  %702 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNK3imp5State19getProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(306) %701)
          to label %703 unwind label %534

703:                                              ; preds = %699
  %704 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 2
  %705 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %704, ptr noundef nonnull align 8 dereferenceable(88) %702)
          to label %706 unwind label %534

706:                                              ; preds = %703
  %707 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %708 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %707) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %79) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef @.str.30, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %709 unwind label %753

709:                                              ; preds = %706
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %708, ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %710 unwind label %757

710:                                              ; preds = %709
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #7
  %711 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %712 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %711) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %82)
          to label %713 unwind label %762

713:                                              ; preds = %710
  %714 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 2
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %712, ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(88) %714)
          to label %715 unwind label %766

715:                                              ; preds = %713
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #7
  %716 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %717 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %716) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %83) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef @.str.32, ptr noundef nonnull align 1 dereferenceable(1) %84)
          to label %718 unwind label %771

718:                                              ; preds = %715
  %719 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 3
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %717, ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef nonnull align 8 dereferenceable(88) %719)
          to label %720 unwind label %775

720:                                              ; preds = %718
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %83) #7
  %721 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %722 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %721) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %85) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %86) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %723 unwind label %780

723:                                              ; preds = %720
  %724 = getelementptr inbounds %"struct.imp::RenderState", ptr %53, i32 0, i32 4
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix3E(ptr noundef nonnull align 8 dereferenceable(306) %722, ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 8 dereferenceable(60) %724)
          to label %725 unwind label %784

725:                                              ; preds = %723
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #7
  %726 = getelementptr inbounds %"class.imp::GlRenderer", ptr %87, i32 0, i32 14
  %727 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN3imp10GlRenderer10applyStateERKSt10shared_ptrINS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %87, ptr noundef nonnull align 8 dereferenceable(16) %726, i32 noundef %727)
          to label %728 unwind label %534

728:                                              ; preds = %725
  %729 = call noundef ptr @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %54) #7
  invoke void @_ZN3imp10GlRenderer12drawGeometryEPNS_7GeoNodeE(ptr noundef nonnull align 8 dereferenceable(392) %87, ptr noundef %729)
          to label %730 unwind label %534

730:                                              ; preds = %728
  store i32 0, ptr %14, align 4
  br label %731

731:                                              ; preds = %730, %529
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  %732 = load i32, ptr %14, align 4
  switch i32 %732, label %792 [
    i32 0, label %733
  ]

733:                                              ; preds = %731
  br label %791

734:                                              ; preds = %692
  %735 = landingpad { ptr, i32 }
          cleanup
  %736 = extractvalue { ptr, i32 } %735, 0
  store ptr %736, ptr %11, align 8
  %737 = extractvalue { ptr, i32 } %735, 1
  store i32 %737, ptr %12, align 4
  br label %752

738:                                              ; preds = %694
  %739 = landingpad { ptr, i32 }
          cleanup
  %740 = extractvalue { ptr, i32 } %739, 0
  store ptr %740, ptr %11, align 8
  %741 = extractvalue { ptr, i32 } %739, 1
  store i32 %741, ptr %12, align 4
  br label %751

742:                                              ; preds = %695
  %743 = landingpad { ptr, i32 }
          cleanup
  %744 = extractvalue { ptr, i32 } %743, 0
  store ptr %744, ptr %11, align 8
  %745 = extractvalue { ptr, i32 } %743, 1
  store i32 %745, ptr %12, align 4
  br label %750

746:                                              ; preds = %696
  %747 = landingpad { ptr, i32 }
          cleanup
  %748 = extractvalue { ptr, i32 } %747, 0
  store ptr %748, ptr %11, align 8
  %749 = extractvalue { ptr, i32 } %747, 1
  store i32 %749, ptr %12, align 4
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %76) #7
  br label %750

750:                                              ; preds = %746, %742
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %77) #7
  br label %751

751:                                              ; preds = %750, %738
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %78) #7
  br label %752

752:                                              ; preds = %751, %734
  call void @llvm.lifetime.end.p0(i64 64, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %76) #7
  br label %789

753:                                              ; preds = %706
  %754 = landingpad { ptr, i32 }
          cleanup
  %755 = extractvalue { ptr, i32 } %754, 0
  store ptr %755, ptr %11, align 8
  %756 = extractvalue { ptr, i32 } %754, 1
  store i32 %756, ptr %12, align 4
  br label %761

757:                                              ; preds = %709
  %758 = landingpad { ptr, i32 }
          cleanup
  %759 = extractvalue { ptr, i32 } %758, 0
  store ptr %759, ptr %11, align 8
  %760 = extractvalue { ptr, i32 } %758, 1
  store i32 %760, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #7
  br label %761

761:                                              ; preds = %757, %753
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #7
  br label %789

762:                                              ; preds = %710
  %763 = landingpad { ptr, i32 }
          cleanup
  %764 = extractvalue { ptr, i32 } %763, 0
  store ptr %764, ptr %11, align 8
  %765 = extractvalue { ptr, i32 } %763, 1
  store i32 %765, ptr %12, align 4
  br label %770

766:                                              ; preds = %713
  %767 = landingpad { ptr, i32 }
          cleanup
  %768 = extractvalue { ptr, i32 } %767, 0
  store ptr %768, ptr %11, align 8
  %769 = extractvalue { ptr, i32 } %767, 1
  store i32 %769, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #7
  br label %770

770:                                              ; preds = %766, %762
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #7
  br label %789

771:                                              ; preds = %715
  %772 = landingpad { ptr, i32 }
          cleanup
  %773 = extractvalue { ptr, i32 } %772, 0
  store ptr %773, ptr %11, align 8
  %774 = extractvalue { ptr, i32 } %772, 1
  store i32 %774, ptr %12, align 4
  br label %779

775:                                              ; preds = %718
  %776 = landingpad { ptr, i32 }
          cleanup
  %777 = extractvalue { ptr, i32 } %776, 0
  store ptr %777, ptr %11, align 8
  %778 = extractvalue { ptr, i32 } %776, 1
  store i32 %778, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #7
  br label %779

779:                                              ; preds = %775, %771
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %83) #7
  br label %789

780:                                              ; preds = %720
  %781 = landingpad { ptr, i32 }
          cleanup
  %782 = extractvalue { ptr, i32 } %781, 0
  store ptr %782, ptr %11, align 8
  %783 = extractvalue { ptr, i32 } %781, 1
  store i32 %783, ptr %12, align 4
  br label %788

784:                                              ; preds = %723
  %785 = landingpad { ptr, i32 }
          cleanup
  %786 = extractvalue { ptr, i32 } %785, 0
  store ptr %786, ptr %11, align 8
  %787 = extractvalue { ptr, i32 } %785, 1
  store i32 %787, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #7
  br label %788

788:                                              ; preds = %784, %780
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #7
  br label %789

789:                                              ; preds = %788, %779, %770, %761, %752, %691, %569, %534
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  br label %790

790:                                              ; preds = %789, %530
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #7
  br label %798

791:                                              ; preds = %733, %501
  store i32 0, ptr %14, align 4
  br label %792

792:                                              ; preds = %791, %731
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %53) #7
  call void @llvm.lifetime.end.p0(i64 272, ptr %53) #7
  %793 = load i32, ptr %14, align 4
  switch i32 %793, label %810 [
    i32 0, label %794
    i32 7, label %795
  ]

794:                                              ; preds = %792
  br label %795

795:                                              ; preds = %794, %792
  %796 = load i32, ptr %52, align 4, !tbaa !27
  %797 = add nsw i32 %796, -1
  store i32 %797, ptr %52, align 4, !tbaa !27
  br label %486, !llvm.loop !40

798:                                              ; preds = %790, %511
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %53) #7
  br label %799

799:                                              ; preds = %798, %507
  call void @llvm.lifetime.end.p0(i64 272, ptr %53) #7
  br label %800

800:                                              ; preds = %799, %490
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  br label %802

801:                                              ; preds = %489
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %51) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #7
  call void @_ZN3imp7Matrix4D1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #7
  ret void

802:                                              ; preds = %800, %471
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %51) #7
  br label %803

803:                                              ; preds = %802, %467
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #7
  br label %804

804:                                              ; preds = %803, %451, %108
  call void @_ZN3imp7Matrix4D1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #7
  br label %805

805:                                              ; preds = %804
  %806 = load ptr, ptr %11, align 8
  %807 = load i32, ptr %12, align 4
  %808 = insertvalue { ptr, i32 } poison, ptr %806, 0
  %809 = insertvalue { ptr, i32 } %808, i32 %807, 1
  resume { ptr, i32 } %809

810:                                              ; preds = %792, %441
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp5State6createIJEEESt10shared_ptrIS0_EDpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.27") align 8) #2 align 2

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

declare void @_ZN3imp7Matrix4C1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #4

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

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

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

declare noundef i32 @_ZN3imp8StateBin4sizeEv(ptr noundef nonnull align 8 dereferenceable(28)) #4

declare void @_ZN3imp8StateBin2atEi(ptr dead_on_unwind writable sret(%"struct.imp::RenderState") align 8, ptr noundef nonnull align 8 dereferenceable(28), i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp7GeoNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.137") align 8, ptr noundef) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp9ClearNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.120") align 8, ptr noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp5State13getRenderPassEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.140") align 8, ptr noundef nonnull align 8 dereferenceable(306)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

declare noundef zeroext i1 @_ZNK3imp10RenderPass13isPassEnabledENS0_8PassFlagE(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #4

declare void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp17InstancedGeometry6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.154") align 8, ptr noundef) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare void @_ZN3imp5State12setReflexionESt10shared_ptrINS_14ReflexionModelEE(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef) #4

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #4

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4Vec4E(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40)) #4

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), float noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp7Matrix3C2ILi4ELi4EEERKNS_6MatrixIXT_EXT0_EfEE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZNK3imp7Matrix37inverseEv(ptr dead_on_unwind writable sret(%"class.imp::Matrix3") align 8, ptr noundef nonnull align 8 dereferenceable(60)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3imp6MatrixILi3ELi3EfE9transposeEv(ptr dead_on_unwind noalias writable sret(%"class.imp::Matrix.136") align 8, ptr noundef nonnull align 8 dereferenceable(60)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKNS_6MatrixILi3ELi3EfEE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) #2 align 2

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

; Function Attrs: nounwind
declare void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #6

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

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(88)) #4

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix3E(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(60)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp10GlRenderer10applyStateERKSt10shared_ptrINS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp10GlRenderer12drawGeometryEPNS_7GeoNodeE(ptr noundef nonnull align 8 dereferenceable(392), ptr noundef) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp10GlRenderer10applyClearEPNS_9ClearNodeENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392), ptr noundef, i32 noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp6Camera19getAbsolutePositionEv(ptr noundef nonnull align 8 dereferenceable(752)) #1 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

declare void @_ZN3imp8StateBin14sortByDistanceERKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(36)) #4

; Function Attrs: nounwind
declare void @_ZN3imp7Matrix4D1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #6

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{!"_ZTSN3imp13SceneRenderer11RenderFrameE", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"_ZTSN3imp11RenderQueueE", !13, i64 0, !6, i64 24, !17, i64 32, !21, i64 56, !21, i64 88}
!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 = !{!"_ZTSSt6vectorIPN3imp9LightNodeESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN3imp9LightNodeESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN3imp9LightNodeESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN3imp9LightNodeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSN3imp8StateBinE", !22, i64 0, !26, i64 24}
!22 = !{!"_ZTSSt6vectorIN3imp11RenderStateESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3imp11RenderStateESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3imp11RenderStateESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3imp11RenderStateESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"int", !7, i64 0}
!27 = !{!26, !26, i64 0}
!28 = !{!29, !29, i64 0}
!29 = !{!"_ZTSN3imp10RenderPass8PassFlagE", !7, i64 0}
!30 = !{!31, !34, i64 88}
!31 = !{!"_ZTSN3imp8MaterialE", !13, i64 0, !32, i64 24, !32, i64 40, !32, i64 56, !32, i64 72, !34, i64 88, !35, i64 96}
!32 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !33, i64 0}
!33 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!34 = !{!"float", !7, i64 0}
!35 = !{!"_ZTSN3imp4Vec4E", !36, i64 0}
!36 = !{!"_ZTSN3imp3VecILi4EfEE", !13, i64 0, !7, i64 24}
!37 = !{!34, !34, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = distinct !{!40, !39}


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

%"class.std::shared_ptr.27" = type { %"class.std::__shared_ptr.28" }
%"class.std::__shared_ptr.28" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.imp::Matrix4" = type { %"class.imp::Matrix" }
%"class.imp::Matrix" = type { %"class.imp::Object", [16 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" }
%"struct.imp::RenderState" = type { %"class.std::shared_ptr.27", %"class.std::shared_ptr.117", %"class.imp::Matrix4", %"class.imp::Matrix4", %"class.imp::Matrix3" }
%"class.std::shared_ptr.117" = type { %"class.std::__shared_ptr.118" }
%"class.std::__shared_ptr.118" = type { ptr, %"class.std::__shared_count" }
%"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.137" = type { %"class.std::__shared_ptr.138" }
%"class.std::__shared_ptr.138" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.120" = type { %"class.std::__shared_ptr.121" }
%"class.std::__shared_ptr.121" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.140" = type { %"class.std::__shared_ptr.141" }
%"class.std::__shared_ptr.141" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.154" = type { %"class.std::__shared_ptr.155" }
%"class.std::__shared_ptr.155" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.18" = type { %"class.std::__shared_ptr.19" }
%"class.std::__shared_ptr.19" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.160" = type { %"class.std::__shared_ptr.161" }
%"class.std::__shared_ptr.161" = type { ptr, %"class.std::__shared_count" }
%"class.imp::Vec4" = type { %"class.imp::Vec" }
%"class.imp::Vec" = type { %"class.imp::Object", [4 x float] }
%"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" = type { i8 }
%"class.imp::Matrix.136" = type <{ %"class.imp::Object", [9 x float], [4 x i8] }>
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>

@.str.24 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [9 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp10GlRenderer9drawQueueERSt10shared_ptrINS_11RenderQueueEES1_INS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::shared_ptr.27", align 8
  %6 = alloca %"class.imp::Matrix4", align 8
  %7 = alloca %"struct.imp::RenderState", align 8
  %8 = alloca %"class.std::shared_ptr.137", align 8
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca %"class.std::shared_ptr.120", align 8
  %11 = alloca %"class.std::shared_ptr", align 8
  %12 = alloca %"class.std::shared_ptr.140", align 8
  %13 = alloca %"class.std::shared_ptr.154", align 8
  %14 = alloca %"class.std::shared_ptr", align 8
  %15 = alloca %"class.std::shared_ptr.18", align 8
  %16 = alloca %"class.std::shared_ptr.160", align 8
  %17 = alloca %"class.imp::Vec4", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.imp::Matrix.136", align 8
  %31 = alloca %"class.imp::Matrix3", align 8
  %32 = alloca %"class.imp::Matrix3", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator", align 1
  %41 = alloca %"class.imp::Vec3", align 8
  %42 = alloca %"struct.imp::RenderState", align 8
  %43 = alloca %"class.std::shared_ptr.137", align 8
  %44 = alloca %"class.std::shared_ptr", align 8
  %45 = alloca %"class.std::shared_ptr.140", align 8
  %46 = alloca %"class.std::shared_ptr.154", align 8
  %47 = alloca %"class.std::shared_ptr", align 8
  %48 = alloca %"class.std::shared_ptr.18", align 8
  %49 = alloca %"class.std::shared_ptr.160", align 8
  %50 = alloca %"class.imp::Vec4", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator", align 1
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator", align 1
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator", align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator", align 1
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.std::allocator", align 1
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator", align 1
  %63 = alloca %"class.imp::Matrix.136", align 8
  %64 = alloca %"class.imp::Matrix3", align 8
  %65 = alloca %"class.imp::Matrix3", align 8
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::allocator", align 1
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::allocator", align 1
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator", align 1
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator", align 1
  %74 = getelementptr inbounds i8, ptr %0, i64 376
  %75 = tail call noundef zeroext i1 @_ZSteqIN3imp5StateEEbRKSt10shared_ptrIT_EDn(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr null) #7
  br i1 %75, label %76, label %78

76:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN3imp5State6createIJEEESt10shared_ptrIS0_EDpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.27") align 8 %5)
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp5StateEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @_ZNSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %78

78:                                               ; preds = %76, %4
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %6) #7
  call void @_ZN3imp7Matrix4C1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %79 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %80 = getelementptr inbounds i8, ptr %79, i64 24
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %.not = icmp eq ptr %81, null
  br i1 %.not, label %90, label %82

82:                                               ; preds = %78
  %83 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %84 = getelementptr inbounds i8, ptr %83, i64 24
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK3imp6Camera13getViewMatrixEv(ptr noundef nonnull align 8 dereferenceable(752) %85)
  %87 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %86)
          to label %90 unwind label %88

88:                                               ; preds = %82
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %502

90:                                               ; preds = %82, %78
  %91 = getelementptr inbounds i8, ptr %7, i64 16
  %92 = icmp eq i32 %3, 2
  %93 = icmp eq i32 %3, 4
  %spec.store.select = select i1 %93, i32 2, i32 1
  %spec.store.select6 = select i1 %92, i32 4, i32 %spec.store.select
  %94 = getelementptr inbounds i8, ptr %0, i64 264
  %95 = getelementptr inbounds i8, ptr %7, i64 120
  %96 = getelementptr inbounds i8, ptr %7, i64 208
  %97 = getelementptr inbounds i8, ptr %7, i64 32
  br label %98

98:                                               ; preds = %289, %90
  %.084 = phi i32 [ 0, %90 ], [ %290, %289 ]
  %99 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %100 = getelementptr inbounds i8, ptr %99, i64 56
  %101 = invoke noundef i32 @_ZN3imp8StateBin4sizeEv(ptr noundef nonnull align 8 dereferenceable(28) %100)
          to label %102 unwind label %105

102:                                              ; preds = %98
  %103 = icmp slt i32 %.084, %101
  br i1 %103, label %107, label %104

104:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %41) #7
  invoke void @_ZN3imp4Vec3C2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41)
          to label %293 unwind label %303

105:                                              ; preds = %98
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %502

107:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 272, ptr nonnull %7) #7
  %108 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %109 = getelementptr inbounds i8, ptr %108, i64 56
  invoke void @_ZN3imp8StateBin2atEi(ptr dead_on_unwind nonnull writable sret(%"struct.imp::RenderState") align 8 %7, ptr noundef nonnull align 8 dereferenceable(28) %109, i32 noundef %.084)
          to label %110 unwind label %115

110:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_4NodeEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %91) #7
  call void @_ZN3imp7GeoNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.137") align 8 %8, ptr noundef nonnull %9)
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_4NodeEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %91) #7
  call void @_ZN3imp9ClearNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.120") align 8 %10, ptr noundef nonnull %11)
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  %111 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br i1 %111, label %112, label %283

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  %113 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @_ZN3imp5State13getRenderPassEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.140") align 8 %12, ptr noundef nonnull align 8 dereferenceable(306) %113)
  %114 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br i1 %114, label %117, label %.critedge

115:                                              ; preds = %107
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %292

117:                                              ; preds = %112
  %118 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  %119 = invoke noundef zeroext i1 @_ZNK3imp10RenderPass13isPassEnabledENS0_8PassFlagE(ptr noundef nonnull align 8 dereferenceable(32) %118, i32 noundef %spec.store.select6)
          to label %120 unwind label %121

120:                                              ; preds = %117
  br i1 %119, label %123, label %.critedge

121:                                              ; preds = %248, %247, %231, %127, %123, %117
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %282

123:                                              ; preds = %120
  %124 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %124, ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 3)
          to label %125 unwind label %121

125:                                              ; preds = %123
  %126 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  br i1 %126, label %127, label %140

127:                                              ; preds = %125
  %128 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %128, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef 4)
          to label %129 unwind label %121

129:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %130 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  %131 = getelementptr inbounds i8, ptr %130, i64 544
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_8GeometryEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %131) #7
  call void @_ZN3imp17InstancedGeometry6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.154") align 8 %13, ptr noundef nonnull %14)
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br i1 %92, label %132, label %139

132:                                              ; preds = %129
  %133 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br i1 %133, label %134, label %139

134:                                              ; preds = %132
  %135 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @_ZNSt10shared_ptrIN3imp14ReflexionModelEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %94) #7
  invoke void @_ZN3imp5State12setReflexionESt10shared_ptrINS_14ReflexionModelEE(ptr noundef nonnull align 8 dereferenceable(306) %135, ptr noundef nonnull %15)
          to label %136 unwind label %137

136:                                              ; preds = %134
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %139

137:                                              ; preds = %134
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  br label %282

139:                                              ; preds = %136, %132, %129
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  br label %140

140:                                              ; preds = %139, %125
  switch i32 %3, label %226 [
    i32 4, label %141
    i32 0, label %141
  ]

141:                                              ; preds = %140, %140
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  %142 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  %143 = getelementptr inbounds i8, ptr %142, i64 560
  call void @_ZNSt10shared_ptrIN3imp8MaterialEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %143) #7
  %144 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %145 = getelementptr inbounds i8, ptr %144, i64 88
  %146 = load float, ptr %145, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #7
  %147 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %148 = getelementptr inbounds i8, ptr %147, i64 96
  call void @_ZN3imp4Vec4C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %148) #7
  %149 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %150 = getelementptr inbounds i8, ptr %149, i64 24
  %151 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %150) #7
  br i1 %151, label %152, label %163

152:                                              ; preds = %141
  %153 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %154 unwind label %158

154:                                              ; preds = %152
  %155 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %156 = getelementptr inbounds i8, ptr %155, i64 24
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %153, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(16) %156, i32 noundef 0)
          to label %157 unwind label %160

157:                                              ; preds = %154
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %163

158:                                              ; preds = %152
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %162

160:                                              ; preds = %154
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %162

162:                                              ; preds = %160, %158
  %.pn116 = phi { ptr, i32 } [ %161, %160 ], [ %159, %158 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %225

163:                                              ; preds = %157, %141
  %164 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %165 = getelementptr inbounds i8, ptr %164, i64 56
  %166 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %165) #7
  br i1 %166, label %167, label %178

167:                                              ; preds = %163
  %168 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %169 unwind label %173

169:                                              ; preds = %167
  %170 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %171 = getelementptr inbounds i8, ptr %170, i64 56
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %168, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(16) %171, i32 noundef 1)
          to label %172 unwind label %175

172:                                              ; preds = %169
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #7
  br label %178

173:                                              ; preds = %167
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %177

175:                                              ; preds = %169
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %177

177:                                              ; preds = %175, %173
  %.pn118 = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #7
  br label %225

178:                                              ; preds = %172, %163
  %179 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %180 = getelementptr inbounds i8, ptr %179, i64 40
  %181 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %180) #7
  br i1 %181, label %182, label %193

182:                                              ; preds = %178
  %183 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %184 unwind label %188

184:                                              ; preds = %182
  %185 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %186 = getelementptr inbounds i8, ptr %185, i64 40
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %183, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(16) %186, i32 noundef 2)
          to label %187 unwind label %190

187:                                              ; preds = %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  br label %193

188:                                              ; preds = %182
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %192

190:                                              ; preds = %184
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %192

192:                                              ; preds = %190, %188
  %.pn120 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  br label %225

193:                                              ; preds = %187, %178
  %194 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %195 = getelementptr inbounds i8, ptr %194, i64 72
  %196 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %195) #7
  br i1 %196, label %197, label %208

197:                                              ; preds = %193
  %198 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %199 unwind label %203

199:                                              ; preds = %197
  %200 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  %201 = getelementptr inbounds i8, ptr %200, i64 72
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %198, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(16) %201, i32 noundef 3)
          to label %202 unwind label %205

202:                                              ; preds = %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br label %208

203:                                              ; preds = %197
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %207

205:                                              ; preds = %199
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %207

207:                                              ; preds = %205, %203
  %.pn122 = phi { ptr, i32 } [ %206, %205 ], [ %204, %203 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br label %225

208:                                              ; preds = %202, %193
  %209 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull @.str.28, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %210 unwind label %215

210:                                              ; preds = %208
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4Vec4E(ptr noundef nonnull align 8 dereferenceable(306) %209, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %211 unwind label %217

211:                                              ; preds = %210
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #7
  %212 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %213 unwind label %220

213:                                              ; preds = %211
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf(ptr noundef nonnull align 8 dereferenceable(306) %212, ptr noundef nonnull align 8 dereferenceable(32) %28, float noundef %146)
          to label %214 unwind label %222

214:                                              ; preds = %213
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %226

215:                                              ; preds = %208
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %219

217:                                              ; preds = %210
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %219

219:                                              ; preds = %217, %215
  %.pn124 = phi { ptr, i32 } [ %218, %217 ], [ %216, %215 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #7
  br label %225

220:                                              ; preds = %211
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %224

222:                                              ; preds = %213
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %224

224:                                              ; preds = %222, %220
  %.pn126 = phi { ptr, i32 } [ %223, %222 ], [ %221, %220 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  br label %225

225:                                              ; preds = %224, %219, %207, %192, %177, %162
  %.pn126.pn = phi { ptr, i32 } [ %.pn126, %224 ], [ %.pn124, %219 ], [ %.pn122, %207 ], [ %.pn120, %192 ], [ %.pn118, %177 ], [ %.pn116, %162 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %282

226:                                              ; preds = %140, %214
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #7
  invoke void @_ZN3imp7Matrix3C2ILi4ELi4EEERKNS_6MatrixIXT_EXT0_EfEE(ptr noundef nonnull align 8 dereferenceable(60) %32, ptr noundef nonnull align 8 dereferenceable(88) %95)
          to label %227 unwind label %251

227:                                              ; preds = %226
  invoke void @_ZNK3imp7Matrix37inverseEv(ptr dead_on_unwind nonnull writable sret(%"class.imp::Matrix3") align 8 %31, ptr noundef nonnull align 8 dereferenceable(60) %32)
          to label %228 unwind label %253

228:                                              ; preds = %227
  invoke void @_ZNK3imp6MatrixILi3ELi3EfE9transposeEv(ptr dead_on_unwind nonnull writable sret(%"class.imp::Matrix.136") align 8 %30, ptr noundef nonnull align 8 dereferenceable(60) %31)
          to label %229 unwind label %255

229:                                              ; preds = %228
  %230 = invoke noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKNS_6MatrixILi3ELi3EfEE(ptr noundef nonnull align 8 dereferenceable(60) %96, ptr noundef nonnull align 8 dereferenceable(60) %30)
          to label %231 unwind label %257

231:                                              ; preds = %229
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %30) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %31) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %32) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #7
  %232 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  %233 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK3imp5State19getProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(306) %232)
  %234 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %97, ptr noundef nonnull align 8 dereferenceable(88) %233)
          to label %235 unwind label %121

235:                                              ; preds = %231
  %236 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.30, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %237 unwind label %262

237:                                              ; preds = %235
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %236, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %238 unwind label %264

238:                                              ; preds = %237
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  %239 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %240 unwind label %267

240:                                              ; preds = %238
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %239, ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(88) %97)
          to label %241 unwind label %269

241:                                              ; preds = %240
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  %242 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.32, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %243 unwind label %272

243:                                              ; preds = %241
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %242, ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(88) %95)
          to label %244 unwind label %274

244:                                              ; preds = %243
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #7
  %245 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %246 unwind label %277

246:                                              ; preds = %244
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix3E(ptr noundef nonnull align 8 dereferenceable(306) %245, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(60) %96)
          to label %247 unwind label %279

247:                                              ; preds = %246
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #7
  invoke void @_ZN3imp10GlRenderer10applyStateERKSt10shared_ptrINS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(16) %74, i32 noundef %3)
          to label %248 unwind label %121

248:                                              ; preds = %247
  %249 = call noundef ptr @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  invoke void @_ZN3imp10GlRenderer12drawGeometryEPNS_7GeoNodeE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef %249)
          to label %250 unwind label %121

250:                                              ; preds = %248
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %289

251:                                              ; preds = %226
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %261

253:                                              ; preds = %227
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %260

255:                                              ; preds = %228
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %259

257:                                              ; preds = %229
  %258 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %30) #7
  br label %259

259:                                              ; preds = %257, %255
  %.pn129 = phi { ptr, i32 } [ %258, %257 ], [ %256, %255 ]
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %31) #7
  br label %260

260:                                              ; preds = %259, %253
  %.pn129.pn = phi { ptr, i32 } [ %.pn129, %259 ], [ %254, %253 ]
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %32) #7
  br label %261

261:                                              ; preds = %260, %251
  %.pn129.pn.pn = phi { ptr, i32 } [ %.pn129.pn, %260 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #7
  br label %282

262:                                              ; preds = %235
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %266

264:                                              ; preds = %237
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %266

266:                                              ; preds = %264, %262
  %.pn133 = phi { ptr, i32 } [ %265, %264 ], [ %263, %262 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  br label %282

267:                                              ; preds = %238
  %268 = landingpad { ptr, i32 }
          cleanup
  br label %271

269:                                              ; preds = %240
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %271

271:                                              ; preds = %269, %267
  %.pn135 = phi { ptr, i32 } [ %270, %269 ], [ %268, %267 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  br label %282

272:                                              ; preds = %241
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %276

274:                                              ; preds = %243
  %275 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  br label %276

276:                                              ; preds = %274, %272
  %.pn137 = phi { ptr, i32 } [ %275, %274 ], [ %273, %272 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #7
  br label %282

277:                                              ; preds = %244
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %281

279:                                              ; preds = %246
  %280 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br label %281

281:                                              ; preds = %279, %277
  %.pn139 = phi { ptr, i32 } [ %280, %279 ], [ %278, %277 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #7
  br label %282

282:                                              ; preds = %281, %276, %271, %266, %261, %225, %137, %121
  %.pn141 = phi { ptr, i32 } [ %122, %121 ], [ %.pn139, %281 ], [ %.pn137, %276 ], [ %.pn135, %271 ], [ %.pn133, %266 ], [ %.pn129.pn.pn, %261 ], [ %.pn126.pn, %225 ], [ %138, %137 ]
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %291

283:                                              ; preds = %110
  %284 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br i1 %284, label %285, label %289

285:                                              ; preds = %283
  %286 = call noundef ptr @_ZNKSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  invoke void @_ZN3imp10GlRenderer10applyClearEPNS_9ClearNodeENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef %286, i32 noundef %3)
          to label %289 unwind label %287

287:                                              ; preds = %285
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

.critedge:                                        ; preds = %112, %120
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %289

289:                                              ; preds = %285, %283, %250, %.critedge
  call void @_ZNSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %7) #7
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %7) #7
  %290 = add nuw nsw i32 %.084, 1
  br label %98, !llvm.loop !31

291:                                              ; preds = %287, %282
  %.pn141.pn = phi { ptr, i32 } [ %.pn141, %282 ], [ %288, %287 ]
  call void @_ZNSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %7) #7
  br label %292

292:                                              ; preds = %291, %115
  %.pn141.pn.pn = phi { ptr, i32 } [ %.pn141.pn, %291 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %7) #7
  br label %502

293:                                              ; preds = %104
  %294 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %295 = getelementptr inbounds i8, ptr %294, i64 24
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  %.not85 = icmp eq ptr %296, null
  br i1 %.not85, label %307, label %297

297:                                              ; preds = %293
  %298 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %299 = getelementptr inbounds i8, ptr %298, i64 24
  %300 = load ptr, ptr %299, align 8, !tbaa !5
  %301 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp6Camera19getAbsolutePositionEv(ptr noundef nonnull align 8 dereferenceable(752) %300)
  %302 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %41, ptr noundef nonnull align 8 dereferenceable(36) %301) #7
  br label %307

303:                                              ; preds = %104
  %304 = landingpad { ptr, i32 }
          cleanup
  br label %501

305:                                              ; preds = %307
  %306 = landingpad { ptr, i32 }
          cleanup
  br label %500

307:                                              ; preds = %297, %293
  %308 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %309 = getelementptr inbounds i8, ptr %308, i64 88
  invoke void @_ZN3imp8StateBin14sortByDistanceERKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(28) %309, ptr noundef nonnull align 8 dereferenceable(36) %41)
          to label %310 unwind label %305

310:                                              ; preds = %307
  %311 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %312 = getelementptr inbounds i8, ptr %311, i64 88
  %313 = invoke noundef i32 @_ZN3imp8StateBin4sizeEv(ptr noundef nonnull align 8 dereferenceable(28) %312)
          to label %.preheader unwind label %319

.preheader:                                       ; preds = %310
  %314 = icmp sgt i32 %313, 0
  br i1 %314, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %315 = getelementptr inbounds i8, ptr %42, i64 16
  %316 = getelementptr inbounds i8, ptr %42, i64 120
  %317 = getelementptr inbounds i8, ptr %42, i64 208
  %318 = getelementptr inbounds i8, ptr %42, i64 32
  br label %321

._crit_edge:                                      ; preds = %497, %.preheader
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %41) #7
  call void @_ZN3imp7Matrix4D1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #7
  ret void

319:                                              ; preds = %310
  %320 = landingpad { ptr, i32 }
          cleanup
  br label %500

321:                                              ; preds = %.lr.ph, %497
  %.043150.in = phi i32 [ %313, %.lr.ph ], [ %.043150, %497 ]
  %.043150 = add nsw i32 %.043150.in, -1
  call void @llvm.lifetime.start.p0(i64 272, ptr nonnull %42) #7
  %322 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp11RenderQueueELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %323 = getelementptr inbounds i8, ptr %322, i64 88
  invoke void @_ZN3imp8StateBin2atEi(ptr dead_on_unwind nonnull writable sret(%"struct.imp::RenderState") align 8 %42, ptr noundef nonnull align 8 dereferenceable(28) %323, i32 noundef %.043150)
          to label %324 unwind label %329

324:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #7
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_4NodeEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %315) #7
  call void @_ZN3imp7GeoNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.137") align 8 %43, ptr noundef nonnull %44)
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #7
  %325 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #7
  br i1 %325, label %326, label %497

326:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #7
  %327 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  call void @_ZN3imp5State13getRenderPassEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.140") align 8 %45, ptr noundef nonnull align 8 dereferenceable(306) %327)
  %328 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %45) #7
  br i1 %328, label %331, label %.critedge148

329:                                              ; preds = %321
  %330 = landingpad { ptr, i32 }
          cleanup
  br label %499

331:                                              ; preds = %326
  %332 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  %333 = invoke noundef zeroext i1 @_ZNK3imp10RenderPass13isPassEnabledENS0_8PassFlagE(ptr noundef nonnull align 8 dereferenceable(32) %332, i32 noundef %spec.store.select6)
          to label %334 unwind label %335

334:                                              ; preds = %331
  br i1 %333, label %337, label %.critedge148

335:                                              ; preds = %462, %461, %445, %341, %337, %331
  %336 = landingpad { ptr, i32 }
          cleanup
  br label %496

337:                                              ; preds = %334
  %338 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %338, ptr noundef nonnull align 8 dereferenceable(16) %42, i32 noundef 3)
          to label %339 unwind label %335

339:                                              ; preds = %337
  %340 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  br i1 %340, label %341, label %354

341:                                              ; preds = %339
  %342 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  invoke void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306) %342, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef 4)
          to label %343 unwind label %335

343:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #7
  %344 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  %345 = getelementptr inbounds i8, ptr %344, i64 544
  call void @_ZNSt10shared_ptrIN3imp6ObjectEEC2INS0_8GeometryEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %345) #7
  call void @_ZN3imp17InstancedGeometry6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.154") align 8 %46, ptr noundef nonnull %47)
  call void @_ZNSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #7
  br i1 %92, label %346, label %353

346:                                              ; preds = %343
  %347 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %46) #7
  br i1 %347, label %348, label %353

348:                                              ; preds = %346
  %349 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @_ZNSt10shared_ptrIN3imp14ReflexionModelEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) %94) #7
  invoke void @_ZN3imp5State12setReflexionESt10shared_ptrINS_14ReflexionModelEE(ptr noundef nonnull align 8 dereferenceable(306) %349, ptr noundef nonnull %48)
          to label %350 unwind label %351

350:                                              ; preds = %348
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #7
  br label %353

351:                                              ; preds = %348
  %352 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #7
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #7
  br label %496

353:                                              ; preds = %350, %346, %343
  call void @_ZNSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #7
  br label %354

354:                                              ; preds = %353, %339
  switch i32 %3, label %440 [
    i32 4, label %355
    i32 0, label %355
  ]

355:                                              ; preds = %354, %354
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %49) #7
  %356 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  %357 = getelementptr inbounds i8, ptr %356, i64 560
  call void @_ZNSt10shared_ptrIN3imp8MaterialEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %357) #7
  %358 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %359 = getelementptr inbounds i8, ptr %358, i64 88
  %360 = load float, ptr %359, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %50) #7
  %361 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %362 = getelementptr inbounds i8, ptr %361, i64 96
  call void @_ZN3imp4Vec4C2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %50, ptr noundef nonnull align 8 dereferenceable(40) %362) #7
  %363 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %364 = getelementptr inbounds i8, ptr %363, i64 24
  %365 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %364) #7
  br i1 %365, label %366, label %377

366:                                              ; preds = %355
  %367 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %368 unwind label %372

368:                                              ; preds = %366
  %369 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %370 = getelementptr inbounds i8, ptr %369, i64 24
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %367, ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(16) %370, i32 noundef 0)
          to label %371 unwind label %374

371:                                              ; preds = %368
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #7
  br label %377

372:                                              ; preds = %366
  %373 = landingpad { ptr, i32 }
          cleanup
  br label %376

374:                                              ; preds = %368
  %375 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #7
  br label %376

376:                                              ; preds = %374, %372
  %.pn = phi { ptr, i32 } [ %375, %374 ], [ %373, %372 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #7
  br label %439

377:                                              ; preds = %371, %355
  %378 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %379 = getelementptr inbounds i8, ptr %378, i64 56
  %380 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %379) #7
  br i1 %380, label %381, label %392

381:                                              ; preds = %377
  %382 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %54) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull @.str.25, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %383 unwind label %387

383:                                              ; preds = %381
  %384 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %385 = getelementptr inbounds i8, ptr %384, i64 56
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %382, ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(16) %385, i32 noundef 1)
          to label %386 unwind label %389

386:                                              ; preds = %383
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #7
  br label %392

387:                                              ; preds = %381
  %388 = landingpad { ptr, i32 }
          cleanup
  br label %391

389:                                              ; preds = %383
  %390 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  br label %391

391:                                              ; preds = %389, %387
  %.pn87 = phi { ptr, i32 } [ %390, %389 ], [ %388, %387 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #7
  br label %439

392:                                              ; preds = %386, %377
  %393 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %394 = getelementptr inbounds i8, ptr %393, i64 40
  %395 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %394) #7
  br i1 %395, label %396, label %407

396:                                              ; preds = %392
  %397 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.26, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %398 unwind label %402

398:                                              ; preds = %396
  %399 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %400 = getelementptr inbounds i8, ptr %399, i64 40
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %397, ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(16) %400, i32 noundef 2)
          to label %401 unwind label %404

401:                                              ; preds = %398
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #7
  br label %407

402:                                              ; preds = %396
  %403 = landingpad { ptr, i32 }
          cleanup
  br label %406

404:                                              ; preds = %398
  %405 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  br label %406

406:                                              ; preds = %404, %402
  %.pn89 = phi { ptr, i32 } [ %405, %404 ], [ %403, %402 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #7
  br label %439

407:                                              ; preds = %401, %392
  %408 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %409 = getelementptr inbounds i8, ptr %408, i64 72
  %410 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %409) #7
  br i1 %410, label %411, label %422

411:                                              ; preds = %407
  %412 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %58) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull @.str.27, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %413 unwind label %417

413:                                              ; preds = %411
  %414 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %415 = getelementptr inbounds i8, ptr %414, i64 72
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306) %412, ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(16) %415, i32 noundef 3)
          to label %416 unwind label %419

416:                                              ; preds = %413
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #7
  br label %422

417:                                              ; preds = %411
  %418 = landingpad { ptr, i32 }
          cleanup
  br label %421

419:                                              ; preds = %413
  %420 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #7
  br label %421

421:                                              ; preds = %419, %417
  %.pn91 = phi { ptr, i32 } [ %420, %419 ], [ %418, %417 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #7
  br label %439

422:                                              ; preds = %416, %407
  %423 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %59) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %60) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull @.str.28, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %424 unwind label %429

424:                                              ; preds = %422
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4Vec4E(ptr noundef nonnull align 8 dereferenceable(306) %423, ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(40) %50)
          to label %425 unwind label %431

425:                                              ; preds = %424
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %60) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #7
  %426 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %62) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull @.str.29, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %427 unwind label %434

427:                                              ; preds = %425
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf(ptr noundef nonnull align 8 dereferenceable(306) %426, ptr noundef nonnull align 8 dereferenceable(32) %61, float noundef %360)
          to label %428 unwind label %436

428:                                              ; preds = %427
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #7
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %50) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %50) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #7
  br label %440

429:                                              ; preds = %422
  %430 = landingpad { ptr, i32 }
          cleanup
  br label %433

431:                                              ; preds = %424
  %432 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #7
  br label %433

433:                                              ; preds = %431, %429
  %.pn93 = phi { ptr, i32 } [ %432, %431 ], [ %430, %429 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %60) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #7
  br label %439

434:                                              ; preds = %425
  %435 = landingpad { ptr, i32 }
          cleanup
  br label %438

436:                                              ; preds = %427
  %437 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  br label %438

438:                                              ; preds = %436, %434
  %.pn95 = phi { ptr, i32 } [ %437, %436 ], [ %435, %434 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #7
  br label %439

439:                                              ; preds = %438, %433, %421, %406, %391, %376
  %.pn95.pn = phi { ptr, i32 } [ %.pn95, %438 ], [ %.pn93, %433 ], [ %.pn91, %421 ], [ %.pn89, %406 ], [ %.pn87, %391 ], [ %.pn, %376 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %50) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %50) #7
  call void @_ZNSt12__shared_ptrIN3imp8MaterialELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #7
  br label %496

440:                                              ; preds = %354, %428
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %63) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %64) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %65) #7
  invoke void @_ZN3imp7Matrix3C2ILi4ELi4EEERKNS_6MatrixIXT_EXT0_EfEE(ptr noundef nonnull align 8 dereferenceable(60) %65, ptr noundef nonnull align 8 dereferenceable(88) %316)
          to label %441 unwind label %465

441:                                              ; preds = %440
  invoke void @_ZNK3imp7Matrix37inverseEv(ptr dead_on_unwind nonnull writable sret(%"class.imp::Matrix3") align 8 %64, ptr noundef nonnull align 8 dereferenceable(60) %65)
          to label %442 unwind label %467

442:                                              ; preds = %441
  invoke void @_ZNK3imp6MatrixILi3ELi3EfE9transposeEv(ptr dead_on_unwind nonnull writable sret(%"class.imp::Matrix.136") align 8 %63, ptr noundef nonnull align 8 dereferenceable(60) %64)
          to label %443 unwind label %469

443:                                              ; preds = %442
  %444 = invoke noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKNS_6MatrixILi3ELi3EfEE(ptr noundef nonnull align 8 dereferenceable(60) %317, ptr noundef nonnull align 8 dereferenceable(60) %63)
          to label %445 unwind label %471

445:                                              ; preds = %443
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %63) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %64) #7
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %65) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %64) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %63) #7
  %446 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  %447 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNK3imp5State19getProjectionMatrixEv(ptr noundef nonnull align 8 dereferenceable(306) %446)
  %448 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %318, ptr noundef nonnull align 8 dereferenceable(88) %447)
          to label %449 unwind label %335

449:                                              ; preds = %445
  %450 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %66) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %67) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull @.str.30, ptr noundef nonnull align 1 dereferenceable(1) %67)
          to label %451 unwind label %476

451:                                              ; preds = %449
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %450, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %452 unwind label %478

452:                                              ; preds = %451
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #7
  %453 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %68) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %69) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %454 unwind label %481

454:                                              ; preds = %452
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %453, ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(88) %318)
          to label %455 unwind label %483

455:                                              ; preds = %454
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %69) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #7
  %456 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %70) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %71) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull @.str.32, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %457 unwind label %486

457:                                              ; preds = %455
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306) %456, ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(88) %316)
          to label %458 unwind label %488

458:                                              ; preds = %457
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #7
  %459 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp5StateELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %74) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %73) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %460 unwind label %491

460:                                              ; preds = %458
  invoke void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix3E(ptr noundef nonnull align 8 dereferenceable(306) %459, ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(60) %317)
          to label %461 unwind label %493

461:                                              ; preds = %460
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #7
  invoke void @_ZN3imp10GlRenderer10applyStateERKSt10shared_ptrINS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(16) %74, i32 noundef %3)
          to label %462 unwind label %335

462:                                              ; preds = %461
  %463 = call noundef ptr @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #7
  invoke void @_ZN3imp10GlRenderer12drawGeometryEPNS_7GeoNodeE(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef %463)
          to label %464 unwind label %335

464:                                              ; preds = %462
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  br label %497

465:                                              ; preds = %440
  %466 = landingpad { ptr, i32 }
          cleanup
  br label %475

467:                                              ; preds = %441
  %468 = landingpad { ptr, i32 }
          cleanup
  br label %474

469:                                              ; preds = %442
  %470 = landingpad { ptr, i32 }
          cleanup
  br label %473

471:                                              ; preds = %443
  %472 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %63) #7
  br label %473

473:                                              ; preds = %471, %469
  %.pn98 = phi { ptr, i32 } [ %472, %471 ], [ %470, %469 ]
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %64) #7
  br label %474

474:                                              ; preds = %473, %467
  %.pn98.pn = phi { ptr, i32 } [ %.pn98, %473 ], [ %468, %467 ]
  call void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60) %65) #7
  br label %475

475:                                              ; preds = %474, %465
  %.pn98.pn.pn = phi { ptr, i32 } [ %.pn98.pn, %474 ], [ %466, %465 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %64) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %63) #7
  br label %496

476:                                              ; preds = %449
  %477 = landingpad { ptr, i32 }
          cleanup
  br label %480

478:                                              ; preds = %451
  %479 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #7
  br label %480

480:                                              ; preds = %478, %476
  %.pn102 = phi { ptr, i32 } [ %479, %478 ], [ %477, %476 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #7
  br label %496

481:                                              ; preds = %452
  %482 = landingpad { ptr, i32 }
          cleanup
  br label %485

483:                                              ; preds = %454
  %484 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #7
  br label %485

485:                                              ; preds = %483, %481
  %.pn104 = phi { ptr, i32 } [ %484, %483 ], [ %482, %481 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %69) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #7
  br label %496

486:                                              ; preds = %455
  %487 = landingpad { ptr, i32 }
          cleanup
  br label %490

488:                                              ; preds = %457
  %489 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #7
  br label %490

490:                                              ; preds = %488, %486
  %.pn106 = phi { ptr, i32 } [ %489, %488 ], [ %487, %486 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #7
  br label %496

491:                                              ; preds = %458
  %492 = landingpad { ptr, i32 }
          cleanup
  br label %495

493:                                              ; preds = %460
  %494 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  br label %495

495:                                              ; preds = %493, %491
  %.pn108 = phi { ptr, i32 } [ %494, %493 ], [ %492, %491 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #7
  br label %496

496:                                              ; preds = %495, %490, %485, %480, %475, %439, %351, %335
  %.pn110 = phi { ptr, i32 } [ %336, %335 ], [ %.pn108, %495 ], [ %.pn106, %490 ], [ %.pn104, %485 ], [ %.pn102, %480 ], [ %.pn98.pn.pn, %475 ], [ %.pn95.pn, %439 ], [ %352, %351 ]
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %42) #7
  br label %499

.critedge148:                                     ; preds = %326, %334
  call void @_ZNSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  br label %497

497:                                              ; preds = %324, %464, %.critedge148
  call void @_ZNSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  call void @_ZN3imp11RenderStateD2Ev(ptr noundef nonnull align 8 dereferenceable(272) %42) #7
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %42) #7
  %498 = icmp ugt i32 %.043150.in, 1
  br i1 %498, label %321, label %._crit_edge, !llvm.loop !33

499:                                              ; preds = %496, %329
  %.pn110.pn = phi { ptr, i32 } [ %.pn110, %496 ], [ %330, %329 ]
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %42) #7
  br label %500

500:                                              ; preds = %319, %499, %305
  %.pn110.pn.pn.pn = phi { ptr, i32 } [ %306, %305 ], [ %.pn110.pn, %499 ], [ %320, %319 ]
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %41) #7
  br label %501

501:                                              ; preds = %500, %303
  %.pn110.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn.pn, %500 ], [ %304, %303 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %41) #7
  br label %502

502:                                              ; preds = %105, %292, %501, %88
  %.pn141.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn.pn.pn, %501 ], [ %89, %88 ], [ %.pn141.pn.pn, %292 ], [ %106, %105 ]
  call void @_ZN3imp7Matrix4D1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #7
  resume { ptr, i32 } %.pn141.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp5State6createIJEEESt10shared_ptrIS0_EDpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.27") align 8) local_unnamed_addr #2 align 2

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

declare void @_ZN3imp7Matrix4C1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #4

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

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

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

declare noundef i32 @_ZN3imp8StateBin4sizeEv(ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #4

declare void @_ZN3imp8StateBin2atEi(ptr dead_on_unwind writable sret(%"struct.imp::RenderState") align 8, ptr noundef nonnull align 8 dereferenceable(28), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp7GeoNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.137") align 8, ptr noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp9ClearNode6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.120") align 8, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp7GeoNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp5State13getRenderPassEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.140") align 8, ptr noundef nonnull align 8 dereferenceable(306)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

declare noundef zeroext i1 @_ZNK3imp10RenderPass13isPassEnabledENS0_8PassFlagE(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #4

declare void @_ZN3imp5State5cloneERKSt10shared_ptrIS0_ENS0_8CloneOptE(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp5StateELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp17InstancedGeometry6dMorphESt10shared_ptrINS_6ObjectEE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.154") align 8, ptr noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp17InstancedGeometryELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN3imp5State12setReflexionESt10shared_ptrINS_14ReflexionModelEE(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_12ImageSamplerEEi(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #4

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4Vec4E(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), float noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp7Matrix3C2ILi4ELi4EEERKNS_6MatrixIXT_EXT0_EfEE(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #2 align 2

declare void @_ZNK3imp7Matrix37inverseEv(ptr dead_on_unwind writable sret(%"class.imp::Matrix3") align 8, ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3imp6MatrixILi3ELi3EfE9transposeEv(ptr dead_on_unwind noalias writable sret(%"class.imp::Matrix.136") align 8, ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3imp7Matrix3D1Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #6

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

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix4E(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4

declare void @_ZN3imp5State10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7Matrix3E(ptr noundef nonnull align 8 dereferenceable(306), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp10GlRenderer10applyStateERKSt10shared_ptrINS_5StateEENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp10GlRenderer12drawGeometryEPNS_7GeoNodeE(ptr noundef nonnull align 8 dereferenceable(392), ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt12__shared_ptrIN3imp9ClearNodeELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp10GlRenderer10applyClearEPNS_9ClearNodeENS_13SceneRenderer11RenderFrameE(ptr noundef nonnull align 8 dereferenceable(392), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZNK3imp6Camera19getAbsolutePositionEv(ptr noundef nonnull align 8 dereferenceable(752)) local_unnamed_addr #1 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

declare void @_ZN3imp8StateBin14sortByDistanceERKNS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN3imp7Matrix4D1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #6

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"_ZTSN3imp11RenderQueueE", !7, i64 0, !10, i64 24, !14, i64 32, !18, i64 56, !18, i64 88}
!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 = !{!"_ZTSSt6vectorIPN3imp9LightNodeESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN3imp9LightNodeESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN3imp9LightNodeESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN3imp9LightNodeESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!18 = !{!"_ZTSN3imp8StateBinE", !19, i64 0, !23, i64 24}
!19 = !{!"_ZTSSt6vectorIN3imp11RenderStateESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3imp11RenderStateESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3imp11RenderStateESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3imp11RenderStateESaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!23 = !{!"int", !11, i64 0}
!24 = !{!25, !28, i64 88}
!25 = !{!"_ZTSN3imp8MaterialE", !7, i64 0, !26, i64 24, !26, i64 40, !26, i64 56, !26, i64 72, !28, i64 88, !29, i64 96}
!26 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !27, i64 0}
!27 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!28 = !{!"float", !11, i64 0}
!29 = !{!"_ZTSN3imp4Vec4E", !30, i64 0}
!30 = !{!"_ZTSN3imp3VecILi4EfEE", !7, i64 0, !11, i64 24}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}


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