; LLVM IR from merpheus-dev/LavaEngine :: src/Platforms/OpenGL (GLSkyboxRenderer)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.13" = type { %"class.std::__shared_ptr.14" }
%"class.std::__shared_ptr.14" = type { ptr, %"class.std::__shared_count" }
%"class.Lava::OpenGL::GLSkyboxRenderer" = type { %"class.Lava::SkyboxRenderer", ptr, ptr, ptr, %"class.std::shared_ptr", i32, float, ptr, ptr }
%"class.Lava::SkyboxRenderer" = type { %"class.Lava::BaseRenderer" }
%"class.Lava::BaseRenderer" = type { ptr, ptr }
%"struct.Lava::VertexBufferElement" = type { ptr, i32 }

@_ZTVN4Lava6OpenGL16GLSkyboxRendererE = external dso_local unnamed_addr constant { [8 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava6OpenGL16GLSkyboxRendererC2EPNS_5SceneEfRSt6vectorIPKcSaIS6_EE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef %1, float noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::shared_ptr.13", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store float %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4Lava14SkyboxRendererC2EPNS_5SceneE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %17)
  store ptr getelementptr inbounds inrange(-16, 48) ({ [8 x ptr] }, ptr @_ZTVN4Lava6OpenGL16GLSkyboxRendererE, i32 0, i32 0, i32 2), ptr %16, align 8, !tbaa !11
  %18 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 4
  call void @_ZNSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  %19 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %20 = load float, ptr %7, align 4, !tbaa !9
  store float %20, ptr %19, align 4, !tbaa !13
  %21 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 7
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %22, ptr %21, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 8
  %24 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 432) #9
          to label %25 unwind label %455

25:                                               ; preds = %4
  %26 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %27 = load float, ptr %26, align 4, !tbaa !13
  %28 = fneg float %27
  store float %28, ptr %24, align 4, !tbaa !9
  %29 = getelementptr inbounds float, ptr %24, i64 1
  %30 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %31 = load float, ptr %30, align 4, !tbaa !13
  store float %31, ptr %29, align 4, !tbaa !9
  %32 = getelementptr inbounds float, ptr %29, i64 1
  %33 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %34 = load float, ptr %33, align 4, !tbaa !13
  %35 = fneg float %34
  store float %35, ptr %32, align 4, !tbaa !9
  %36 = getelementptr inbounds float, ptr %32, i64 1
  %37 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %38 = load float, ptr %37, align 4, !tbaa !13
  %39 = fneg float %38
  store float %39, ptr %36, align 4, !tbaa !9
  %40 = getelementptr inbounds float, ptr %36, i64 1
  %41 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %42 = load float, ptr %41, align 4, !tbaa !13
  %43 = fneg float %42
  store float %43, ptr %40, align 4, !tbaa !9
  %44 = getelementptr inbounds float, ptr %40, i64 1
  %45 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %46 = load float, ptr %45, align 4, !tbaa !13
  %47 = fneg float %46
  store float %47, ptr %44, align 4, !tbaa !9
  %48 = getelementptr inbounds float, ptr %44, i64 1
  %49 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %50 = load float, ptr %49, align 4, !tbaa !13
  store float %50, ptr %48, align 4, !tbaa !9
  %51 = getelementptr inbounds float, ptr %48, i64 1
  %52 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %53 = load float, ptr %52, align 4, !tbaa !13
  %54 = fneg float %53
  store float %54, ptr %51, align 4, !tbaa !9
  %55 = getelementptr inbounds float, ptr %51, i64 1
  %56 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %57 = load float, ptr %56, align 4, !tbaa !13
  %58 = fneg float %57
  store float %58, ptr %55, align 4, !tbaa !9
  %59 = getelementptr inbounds float, ptr %55, i64 1
  %60 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %61 = load float, ptr %60, align 4, !tbaa !13
  store float %61, ptr %59, align 4, !tbaa !9
  %62 = getelementptr inbounds float, ptr %59, i64 1
  %63 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %64 = load float, ptr %63, align 4, !tbaa !13
  %65 = fneg float %64
  store float %65, ptr %62, align 4, !tbaa !9
  %66 = getelementptr inbounds float, ptr %62, i64 1
  %67 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %68 = load float, ptr %67, align 4, !tbaa !13
  %69 = fneg float %68
  store float %69, ptr %66, align 4, !tbaa !9
  %70 = getelementptr inbounds float, ptr %66, i64 1
  %71 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %72 = load float, ptr %71, align 4, !tbaa !13
  store float %72, ptr %70, align 4, !tbaa !9
  %73 = getelementptr inbounds float, ptr %70, i64 1
  %74 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %75 = load float, ptr %74, align 4, !tbaa !13
  store float %75, ptr %73, align 4, !tbaa !9
  %76 = getelementptr inbounds float, ptr %73, i64 1
  %77 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %78 = load float, ptr %77, align 4, !tbaa !13
  %79 = fneg float %78
  store float %79, ptr %76, align 4, !tbaa !9
  %80 = getelementptr inbounds float, ptr %76, i64 1
  %81 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %82 = load float, ptr %81, align 4, !tbaa !13
  %83 = fneg float %82
  store float %83, ptr %80, align 4, !tbaa !9
  %84 = getelementptr inbounds float, ptr %80, i64 1
  %85 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %86 = load float, ptr %85, align 4, !tbaa !13
  store float %86, ptr %84, align 4, !tbaa !9
  %87 = getelementptr inbounds float, ptr %84, i64 1
  %88 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %89 = load float, ptr %88, align 4, !tbaa !13
  %90 = fneg float %89
  store float %90, ptr %87, align 4, !tbaa !9
  %91 = getelementptr inbounds float, ptr %87, i64 1
  %92 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %93 = load float, ptr %92, align 4, !tbaa !13
  %94 = fneg float %93
  store float %94, ptr %91, align 4, !tbaa !9
  %95 = getelementptr inbounds float, ptr %91, i64 1
  %96 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %97 = load float, ptr %96, align 4, !tbaa !13
  %98 = fneg float %97
  store float %98, ptr %95, align 4, !tbaa !9
  %99 = getelementptr inbounds float, ptr %95, i64 1
  %100 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %101 = load float, ptr %100, align 4, !tbaa !13
  store float %101, ptr %99, align 4, !tbaa !9
  %102 = getelementptr inbounds float, ptr %99, i64 1
  %103 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %104 = load float, ptr %103, align 4, !tbaa !13
  %105 = fneg float %104
  store float %105, ptr %102, align 4, !tbaa !9
  %106 = getelementptr inbounds float, ptr %102, i64 1
  %107 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %108 = load float, ptr %107, align 4, !tbaa !13
  %109 = fneg float %108
  store float %109, ptr %106, align 4, !tbaa !9
  %110 = getelementptr inbounds float, ptr %106, i64 1
  %111 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %112 = load float, ptr %111, align 4, !tbaa !13
  %113 = fneg float %112
  store float %113, ptr %110, align 4, !tbaa !9
  %114 = getelementptr inbounds float, ptr %110, i64 1
  %115 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %116 = load float, ptr %115, align 4, !tbaa !13
  %117 = fneg float %116
  store float %117, ptr %114, align 4, !tbaa !9
  %118 = getelementptr inbounds float, ptr %114, i64 1
  %119 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %120 = load float, ptr %119, align 4, !tbaa !13
  store float %120, ptr %118, align 4, !tbaa !9
  %121 = getelementptr inbounds float, ptr %118, i64 1
  %122 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %123 = load float, ptr %122, align 4, !tbaa !13
  %124 = fneg float %123
  store float %124, ptr %121, align 4, !tbaa !9
  %125 = getelementptr inbounds float, ptr %121, i64 1
  %126 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %127 = load float, ptr %126, align 4, !tbaa !13
  %128 = fneg float %127
  store float %128, ptr %125, align 4, !tbaa !9
  %129 = getelementptr inbounds float, ptr %125, i64 1
  %130 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %131 = load float, ptr %130, align 4, !tbaa !13
  store float %131, ptr %129, align 4, !tbaa !9
  %132 = getelementptr inbounds float, ptr %129, i64 1
  %133 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %134 = load float, ptr %133, align 4, !tbaa !13
  %135 = fneg float %134
  store float %135, ptr %132, align 4, !tbaa !9
  %136 = getelementptr inbounds float, ptr %132, i64 1
  %137 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %138 = load float, ptr %137, align 4, !tbaa !13
  %139 = fneg float %138
  store float %139, ptr %136, align 4, !tbaa !9
  %140 = getelementptr inbounds float, ptr %136, i64 1
  %141 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %142 = load float, ptr %141, align 4, !tbaa !13
  store float %142, ptr %140, align 4, !tbaa !9
  %143 = getelementptr inbounds float, ptr %140, i64 1
  %144 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %145 = load float, ptr %144, align 4, !tbaa !13
  store float %145, ptr %143, align 4, !tbaa !9
  %146 = getelementptr inbounds float, ptr %143, i64 1
  %147 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %148 = load float, ptr %147, align 4, !tbaa !13
  %149 = fneg float %148
  store float %149, ptr %146, align 4, !tbaa !9
  %150 = getelementptr inbounds float, ptr %146, i64 1
  %151 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %152 = load float, ptr %151, align 4, !tbaa !13
  %153 = fneg float %152
  store float %153, ptr %150, align 4, !tbaa !9
  %154 = getelementptr inbounds float, ptr %150, i64 1
  %155 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %156 = load float, ptr %155, align 4, !tbaa !13
  store float %156, ptr %154, align 4, !tbaa !9
  %157 = getelementptr inbounds float, ptr %154, i64 1
  %158 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %159 = load float, ptr %158, align 4, !tbaa !13
  store float %159, ptr %157, align 4, !tbaa !9
  %160 = getelementptr inbounds float, ptr %157, i64 1
  %161 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %162 = load float, ptr %161, align 4, !tbaa !13
  %163 = fneg float %162
  store float %163, ptr %160, align 4, !tbaa !9
  %164 = getelementptr inbounds float, ptr %160, i64 1
  %165 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %166 = load float, ptr %165, align 4, !tbaa !13
  %167 = fneg float %166
  store float %167, ptr %164, align 4, !tbaa !9
  %168 = getelementptr inbounds float, ptr %164, i64 1
  %169 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %170 = load float, ptr %169, align 4, !tbaa !13
  store float %170, ptr %168, align 4, !tbaa !9
  %171 = getelementptr inbounds float, ptr %168, i64 1
  %172 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %173 = load float, ptr %172, align 4, !tbaa !13
  %174 = fneg float %173
  store float %174, ptr %171, align 4, !tbaa !9
  %175 = getelementptr inbounds float, ptr %171, i64 1
  %176 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %177 = load float, ptr %176, align 4, !tbaa !13
  store float %177, ptr %175, align 4, !tbaa !9
  %178 = getelementptr inbounds float, ptr %175, i64 1
  %179 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %180 = load float, ptr %179, align 4, !tbaa !13
  store float %180, ptr %178, align 4, !tbaa !9
  %181 = getelementptr inbounds float, ptr %178, i64 1
  %182 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %183 = load float, ptr %182, align 4, !tbaa !13
  store float %183, ptr %181, align 4, !tbaa !9
  %184 = getelementptr inbounds float, ptr %181, i64 1
  %185 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %186 = load float, ptr %185, align 4, !tbaa !13
  store float %186, ptr %184, align 4, !tbaa !9
  %187 = getelementptr inbounds float, ptr %184, i64 1
  %188 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %189 = load float, ptr %188, align 4, !tbaa !13
  store float %189, ptr %187, align 4, !tbaa !9
  %190 = getelementptr inbounds float, ptr %187, i64 1
  %191 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %192 = load float, ptr %191, align 4, !tbaa !13
  store float %192, ptr %190, align 4, !tbaa !9
  %193 = getelementptr inbounds float, ptr %190, i64 1
  %194 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %195 = load float, ptr %194, align 4, !tbaa !13
  store float %195, ptr %193, align 4, !tbaa !9
  %196 = getelementptr inbounds float, ptr %193, i64 1
  %197 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %198 = load float, ptr %197, align 4, !tbaa !13
  store float %198, ptr %196, align 4, !tbaa !9
  %199 = getelementptr inbounds float, ptr %196, i64 1
  %200 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %201 = load float, ptr %200, align 4, !tbaa !13
  store float %201, ptr %199, align 4, !tbaa !9
  %202 = getelementptr inbounds float, ptr %199, i64 1
  %203 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %204 = load float, ptr %203, align 4, !tbaa !13
  %205 = fneg float %204
  store float %205, ptr %202, align 4, !tbaa !9
  %206 = getelementptr inbounds float, ptr %202, i64 1
  %207 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %208 = load float, ptr %207, align 4, !tbaa !13
  store float %208, ptr %206, align 4, !tbaa !9
  %209 = getelementptr inbounds float, ptr %206, i64 1
  %210 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %211 = load float, ptr %210, align 4, !tbaa !13
  %212 = fneg float %211
  store float %212, ptr %209, align 4, !tbaa !9
  %213 = getelementptr inbounds float, ptr %209, i64 1
  %214 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %215 = load float, ptr %214, align 4, !tbaa !13
  %216 = fneg float %215
  store float %216, ptr %213, align 4, !tbaa !9
  %217 = getelementptr inbounds float, ptr %213, i64 1
  %218 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %219 = load float, ptr %218, align 4, !tbaa !13
  %220 = fneg float %219
  store float %220, ptr %217, align 4, !tbaa !9
  %221 = getelementptr inbounds float, ptr %217, i64 1
  %222 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %223 = load float, ptr %222, align 4, !tbaa !13
  %224 = fneg float %223
  store float %224, ptr %221, align 4, !tbaa !9
  %225 = getelementptr inbounds float, ptr %221, i64 1
  %226 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %227 = load float, ptr %226, align 4, !tbaa !13
  store float %227, ptr %225, align 4, !tbaa !9
  %228 = getelementptr inbounds float, ptr %225, i64 1
  %229 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %230 = load float, ptr %229, align 4, !tbaa !13
  %231 = fneg float %230
  store float %231, ptr %228, align 4, !tbaa !9
  %232 = getelementptr inbounds float, ptr %228, i64 1
  %233 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %234 = load float, ptr %233, align 4, !tbaa !13
  store float %234, ptr %232, align 4, !tbaa !9
  %235 = getelementptr inbounds float, ptr %232, i64 1
  %236 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %237 = load float, ptr %236, align 4, !tbaa !13
  store float %237, ptr %235, align 4, !tbaa !9
  %238 = getelementptr inbounds float, ptr %235, i64 1
  %239 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %240 = load float, ptr %239, align 4, !tbaa !13
  store float %240, ptr %238, align 4, !tbaa !9
  %241 = getelementptr inbounds float, ptr %238, i64 1
  %242 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %243 = load float, ptr %242, align 4, !tbaa !13
  store float %243, ptr %241, align 4, !tbaa !9
  %244 = getelementptr inbounds float, ptr %241, i64 1
  %245 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %246 = load float, ptr %245, align 4, !tbaa !13
  store float %246, ptr %244, align 4, !tbaa !9
  %247 = getelementptr inbounds float, ptr %244, i64 1
  %248 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %249 = load float, ptr %248, align 4, !tbaa !13
  store float %249, ptr %247, align 4, !tbaa !9
  %250 = getelementptr inbounds float, ptr %247, i64 1
  %251 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %252 = load float, ptr %251, align 4, !tbaa !13
  store float %252, ptr %250, align 4, !tbaa !9
  %253 = getelementptr inbounds float, ptr %250, i64 1
  %254 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %255 = load float, ptr %254, align 4, !tbaa !13
  store float %255, ptr %253, align 4, !tbaa !9
  %256 = getelementptr inbounds float, ptr %253, i64 1
  %257 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %258 = load float, ptr %257, align 4, !tbaa !13
  store float %258, ptr %256, align 4, !tbaa !9
  %259 = getelementptr inbounds float, ptr %256, i64 1
  %260 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %261 = load float, ptr %260, align 4, !tbaa !13
  %262 = fneg float %261
  store float %262, ptr %259, align 4, !tbaa !9
  %263 = getelementptr inbounds float, ptr %259, i64 1
  %264 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %265 = load float, ptr %264, align 4, !tbaa !13
  store float %265, ptr %263, align 4, !tbaa !9
  %266 = getelementptr inbounds float, ptr %263, i64 1
  %267 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %268 = load float, ptr %267, align 4, !tbaa !13
  %269 = fneg float %268
  store float %269, ptr %266, align 4, !tbaa !9
  %270 = getelementptr inbounds float, ptr %266, i64 1
  %271 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %272 = load float, ptr %271, align 4, !tbaa !13
  %273 = fneg float %272
  store float %273, ptr %270, align 4, !tbaa !9
  %274 = getelementptr inbounds float, ptr %270, i64 1
  %275 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %276 = load float, ptr %275, align 4, !tbaa !13
  store float %276, ptr %274, align 4, !tbaa !9
  %277 = getelementptr inbounds float, ptr %274, i64 1
  %278 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %279 = load float, ptr %278, align 4, !tbaa !13
  %280 = fneg float %279
  store float %280, ptr %277, align 4, !tbaa !9
  %281 = getelementptr inbounds float, ptr %277, i64 1
  %282 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %283 = load float, ptr %282, align 4, !tbaa !13
  store float %283, ptr %281, align 4, !tbaa !9
  %284 = getelementptr inbounds float, ptr %281, i64 1
  %285 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %286 = load float, ptr %285, align 4, !tbaa !13
  %287 = fneg float %286
  store float %287, ptr %284, align 4, !tbaa !9
  %288 = getelementptr inbounds float, ptr %284, i64 1
  %289 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %290 = load float, ptr %289, align 4, !tbaa !13
  store float %290, ptr %288, align 4, !tbaa !9
  %291 = getelementptr inbounds float, ptr %288, i64 1
  %292 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %293 = load float, ptr %292, align 4, !tbaa !13
  store float %293, ptr %291, align 4, !tbaa !9
  %294 = getelementptr inbounds float, ptr %291, i64 1
  %295 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %296 = load float, ptr %295, align 4, !tbaa !13
  %297 = fneg float %296
  store float %297, ptr %294, align 4, !tbaa !9
  %298 = getelementptr inbounds float, ptr %294, i64 1
  %299 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %300 = load float, ptr %299, align 4, !tbaa !13
  store float %300, ptr %298, align 4, !tbaa !9
  %301 = getelementptr inbounds float, ptr %298, i64 1
  %302 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %303 = load float, ptr %302, align 4, !tbaa !13
  store float %303, ptr %301, align 4, !tbaa !9
  %304 = getelementptr inbounds float, ptr %301, i64 1
  %305 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %306 = load float, ptr %305, align 4, !tbaa !13
  store float %306, ptr %304, align 4, !tbaa !9
  %307 = getelementptr inbounds float, ptr %304, i64 1
  %308 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %309 = load float, ptr %308, align 4, !tbaa !13
  store float %309, ptr %307, align 4, !tbaa !9
  %310 = getelementptr inbounds float, ptr %307, i64 1
  %311 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %312 = load float, ptr %311, align 4, !tbaa !13
  store float %312, ptr %310, align 4, !tbaa !9
  %313 = getelementptr inbounds float, ptr %310, i64 1
  %314 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %315 = load float, ptr %314, align 4, !tbaa !13
  store float %315, ptr %313, align 4, !tbaa !9
  %316 = getelementptr inbounds float, ptr %313, i64 1
  %317 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %318 = load float, ptr %317, align 4, !tbaa !13
  %319 = fneg float %318
  store float %319, ptr %316, align 4, !tbaa !9
  %320 = getelementptr inbounds float, ptr %316, i64 1
  %321 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %322 = load float, ptr %321, align 4, !tbaa !13
  store float %322, ptr %320, align 4, !tbaa !9
  %323 = getelementptr inbounds float, ptr %320, i64 1
  %324 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %325 = load float, ptr %324, align 4, !tbaa !13
  store float %325, ptr %323, align 4, !tbaa !9
  %326 = getelementptr inbounds float, ptr %323, i64 1
  %327 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %328 = load float, ptr %327, align 4, !tbaa !13
  %329 = fneg float %328
  store float %329, ptr %326, align 4, !tbaa !9
  %330 = getelementptr inbounds float, ptr %326, i64 1
  %331 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %332 = load float, ptr %331, align 4, !tbaa !13
  store float %332, ptr %330, align 4, !tbaa !9
  %333 = getelementptr inbounds float, ptr %330, i64 1
  %334 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %335 = load float, ptr %334, align 4, !tbaa !13
  %336 = fneg float %335
  store float %336, ptr %333, align 4, !tbaa !9
  %337 = getelementptr inbounds float, ptr %333, i64 1
  %338 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %339 = load float, ptr %338, align 4, !tbaa !13
  %340 = fneg float %339
  store float %340, ptr %337, align 4, !tbaa !9
  %341 = getelementptr inbounds float, ptr %337, i64 1
  %342 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %343 = load float, ptr %342, align 4, !tbaa !13
  %344 = fneg float %343
  store float %344, ptr %341, align 4, !tbaa !9
  %345 = getelementptr inbounds float, ptr %341, i64 1
  %346 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %347 = load float, ptr %346, align 4, !tbaa !13
  %348 = fneg float %347
  store float %348, ptr %345, align 4, !tbaa !9
  %349 = getelementptr inbounds float, ptr %345, i64 1
  %350 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %351 = load float, ptr %350, align 4, !tbaa !13
  %352 = fneg float %351
  store float %352, ptr %349, align 4, !tbaa !9
  %353 = getelementptr inbounds float, ptr %349, i64 1
  %354 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %355 = load float, ptr %354, align 4, !tbaa !13
  %356 = fneg float %355
  store float %356, ptr %353, align 4, !tbaa !9
  %357 = getelementptr inbounds float, ptr %353, i64 1
  %358 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %359 = load float, ptr %358, align 4, !tbaa !13
  store float %359, ptr %357, align 4, !tbaa !9
  %360 = getelementptr inbounds float, ptr %357, i64 1
  %361 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %362 = load float, ptr %361, align 4, !tbaa !13
  store float %362, ptr %360, align 4, !tbaa !9
  %363 = getelementptr inbounds float, ptr %360, i64 1
  %364 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %365 = load float, ptr %364, align 4, !tbaa !13
  %366 = fneg float %365
  store float %366, ptr %363, align 4, !tbaa !9
  %367 = getelementptr inbounds float, ptr %363, i64 1
  %368 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %369 = load float, ptr %368, align 4, !tbaa !13
  %370 = fneg float %369
  store float %370, ptr %367, align 4, !tbaa !9
  %371 = getelementptr inbounds float, ptr %367, i64 1
  %372 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %373 = load float, ptr %372, align 4, !tbaa !13
  store float %373, ptr %371, align 4, !tbaa !9
  %374 = getelementptr inbounds float, ptr %371, i64 1
  %375 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %376 = load float, ptr %375, align 4, !tbaa !13
  %377 = fneg float %376
  store float %377, ptr %374, align 4, !tbaa !9
  %378 = getelementptr inbounds float, ptr %374, i64 1
  %379 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %380 = load float, ptr %379, align 4, !tbaa !13
  %381 = fneg float %380
  store float %381, ptr %378, align 4, !tbaa !9
  %382 = getelementptr inbounds float, ptr %378, i64 1
  %383 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %384 = load float, ptr %383, align 4, !tbaa !13
  %385 = fneg float %384
  store float %385, ptr %382, align 4, !tbaa !9
  %386 = getelementptr inbounds float, ptr %382, i64 1
  %387 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %388 = load float, ptr %387, align 4, !tbaa !13
  %389 = fneg float %388
  store float %389, ptr %386, align 4, !tbaa !9
  %390 = getelementptr inbounds float, ptr %386, i64 1
  %391 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %392 = load float, ptr %391, align 4, !tbaa !13
  store float %392, ptr %390, align 4, !tbaa !9
  %393 = getelementptr inbounds float, ptr %390, i64 1
  %394 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %395 = load float, ptr %394, align 4, !tbaa !13
  store float %395, ptr %393, align 4, !tbaa !9
  %396 = getelementptr inbounds float, ptr %393, i64 1
  %397 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %398 = load float, ptr %397, align 4, !tbaa !13
  %399 = fneg float %398
  store float %399, ptr %396, align 4, !tbaa !9
  %400 = getelementptr inbounds float, ptr %396, i64 1
  %401 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 6
  %402 = load float, ptr %401, align 4, !tbaa !13
  store float %402, ptr %400, align 4, !tbaa !9
  %403 = getelementptr inbounds float, ptr %400, i64 1
  store ptr %24, ptr %23, align 8, !tbaa !21
  %404 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
          to label %405 unwind label %455

405:                                              ; preds = %25
  call void @llvm.memset.p0.i64(ptr align 16 %404, i8 0, i64 40, i1 false)
  call void @_ZN4Lava6OpenGL12GLShaderBankC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %404) #8
  %406 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 1
  store ptr %404, ptr %406, align 8, !tbaa !22
  %407 = load ptr, ptr %16, align 8, !tbaa !11
  %408 = getelementptr inbounds ptr, ptr %407, i64 5
  %409 = load ptr, ptr %408, align 8
  invoke void %409(ptr noundef nonnull align 8 dereferenceable(80) %16)
          to label %410 unwind label %455

410:                                              ; preds = %405
  %411 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 1
  %412 = load ptr, ptr %411, align 8, !tbaa !22
  %413 = load ptr, ptr %412, align 8, !tbaa !11
  %414 = getelementptr inbounds ptr, ptr %413, i64 5
  %415 = load ptr, ptr %414, align 8
  invoke void %415(ptr noundef nonnull align 8 dereferenceable(40) %412)
          to label %416 unwind label %455

416:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 1, ptr %11, align 4, !tbaa !23
  %417 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #9
          to label %418 unwind label %459

418:                                              ; preds = %416
  call void @llvm.memset.p0.i64(ptr align 16 %417, i8 0, i64 16, i1 false)
  %419 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 3
  store ptr %417, ptr %419, align 8, !tbaa !24
  %420 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 3
  %421 = load ptr, ptr %420, align 8, !tbaa !24
  %422 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %421, i32 0, i32 0
  store ptr @.str, ptr %422, align 8, !tbaa !25
  %423 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 3
  %424 = load ptr, ptr %423, align 8, !tbaa !24
  %425 = getelementptr inbounds %"struct.Lava::VertexBufferElement", ptr %424, i32 0, i32 1
  store i32 3, ptr %425, align 8, !tbaa !27
  %426 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 7
  %427 = load ptr, ptr %426, align 8, !tbaa !28
  invoke void @_ZNSt6vectorIPKcSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %427)
          to label %428 unwind label %459

428:                                              ; preds = %418
  %429 = invoke noundef i32 @_ZN4Lava13AssetDatabase11LoadCubeMapESt6vectorIPKcSaIS3_EE(ptr noundef %12)
          to label %430 unwind label %463

430:                                              ; preds = %428
  %431 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 5
  store i32 %429, ptr %431, align 8, !tbaa !29
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  %432 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #9
          to label %433 unwind label %459

433:                                              ; preds = %430
  invoke void @_ZN4Lava6OpenGL5GLVAOC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %432)
          to label %434 unwind label %467

434:                                              ; preds = %433
  %435 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 2
  store ptr %432, ptr %435, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %436 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 108, ptr %14, align 4, !tbaa !23
  invoke void @_Z9CreateRefIN4Lava6OpenGL14GLVertexBufferEJRPfiEESt10shared_ptrIT_EDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %436, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %437 unwind label %471

437:                                              ; preds = %434
  %438 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 4
  %439 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(16) %438, ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @_ZNSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  %440 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 4
  %441 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %440) #8
  %442 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 3
  %443 = load ptr, ptr %442, align 8, !tbaa !24
  %444 = load ptr, ptr %441, align 8, !tbaa !11
  %445 = getelementptr inbounds ptr, ptr %444, i64 6
  %446 = load ptr, ptr %445, align 8
  invoke void %446(ptr noundef nonnull align 8 dereferenceable(36) %441, ptr noundef %443, ptr noundef %11)
          to label %447 unwind label %459

447:                                              ; preds = %437
  %448 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 2
  %449 = load ptr, ptr %448, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %450 = getelementptr inbounds %"class.Lava::OpenGL::GLSkyboxRenderer", ptr %16, i32 0, i32 4
  call void @_ZNSt10shared_ptrIN4Lava12VertexBufferEEC2INS0_6OpenGL14GLVertexBufferEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %450) #8
  %451 = load ptr, ptr %449, align 8, !tbaa !11
  %452 = getelementptr inbounds ptr, ptr %451, i64 4
  %453 = load ptr, ptr %452, align 8
  invoke void %453(ptr noundef nonnull align 8 dereferenceable(56) %449, ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef 0)
          to label %454 unwind label %475

454:                                              ; preds = %447
  call void @_ZNSt12__shared_ptrIN4Lava12VertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  ret void

455:                                              ; preds = %410, %405, %25, %4
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %9, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %10, align 4
  br label %480

459:                                              ; preds = %437, %430, %418, %416
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %9, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %10, align 4
  br label %479

463:                                              ; preds = %428
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %9, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %10, align 4
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %479

467:                                              ; preds = %433
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %9, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %432, i64 noundef 56) #10
  br label %479

471:                                              ; preds = %434
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %9, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %479

475:                                              ; preds = %447
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %9, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %10, align 4
  call void @_ZNSt12__shared_ptrIN4Lava12VertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  br label %479

479:                                              ; preds = %475, %471, %467, %463, %459
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %480

480:                                              ; preds = %479, %455
  call void @_ZNSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  call void @_ZN4Lava12BaseRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  br label %481

481:                                              ; preds = %480
  %482 = load ptr, ptr %9, align 8
  %483 = load i32, ptr %10, align 4
  %484 = insertvalue { ptr, i32 } poison, ptr %482, 0
  %485 = insertvalue { ptr, i32 } %484, i32 %483, 1
  resume { ptr, i32 } %485
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef i32 @_ZN4Lava13AssetDatabase11LoadCubeMapESt6vectorIPKcSaIS3_EE(ptr noundef) #6

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

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

declare void @_ZN4Lava6OpenGL5GLVAOC1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9CreateRefIN4Lava6OpenGL14GLVertexBufferEJRPfiEESt10shared_ptrIT_EDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #0

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

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

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

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

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

attributes #0 = { 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 #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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 60}
!14 = !{!"_ZTSN4Lava6OpenGL16GLSkyboxRendererE", !15, i64 0, !6, i64 16, !6, i64 24, !6, i64 32, !17, i64 40, !20, i64 56, !10, i64 60, !6, i64 64, !6, i64 72}
!15 = !{!"_ZTSN4Lava14SkyboxRendererE", !16, i64 0}
!16 = !{!"_ZTSN4Lava12BaseRendererE", !6, i64 8}
!17 = !{!"_ZTSSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!14, !6, i64 72}
!22 = !{!14, !6, i64 16}
!23 = !{!20, !20, i64 0}
!24 = !{!14, !6, i64 32}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSN4Lava19VertexBufferElementE", !6, i64 0, !20, i64 8}
!27 = !{!26, !20, i64 8}
!28 = !{!14, !6, i64 64}
!29 = !{!14, !20, i64 56}
!30 = !{!14, !6, i64 24}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.13" = type { %"class.std::__shared_ptr.14" }
%"class.std::__shared_ptr.14" = type { ptr, %"class.std::__shared_count" }

@_ZTVN4Lava6OpenGL16GLSkyboxRendererE = external dso_local unnamed_addr constant { [8 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava6OpenGL16GLSkyboxRendererC2EPNS_5SceneEfRSt6vectorIPKcSaIS6_EE(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef %1, float noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::shared_ptr.13", align 8
  tail call void @_ZN4Lava14SkyboxRendererC2EPNS_5SceneE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %1)
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN4Lava6OpenGL16GLSkyboxRendererE, i64 16), ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  %11 = getelementptr inbounds i8, ptr %0, i64 60
  store float %2, ptr %11, align 4, !tbaa !8
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %3, ptr %12, align 8, !tbaa !19
  %13 = getelementptr inbounds i8, ptr %0, i64 72
  %14 = invoke noalias noundef nonnull dereferenceable(432) ptr @_Znam(i64 noundef 432) #9
          to label %15 unwind label %140

15:                                               ; preds = %4
  %16 = getelementptr inbounds i8, ptr %14, i64 4
  store float %2, ptr %16, align 4, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %14, i64 8
  %18 = getelementptr inbounds i8, ptr %14, i64 24
  store float %2, ptr %18, align 4, !tbaa !20
  %19 = getelementptr inbounds i8, ptr %14, i64 28
  %20 = getelementptr inbounds i8, ptr %14, i64 32
  %21 = getelementptr inbounds i8, ptr %14, i64 36
  store float %2, ptr %21, align 4, !tbaa !20
  %22 = getelementptr inbounds i8, ptr %14, i64 40
  %23 = getelementptr inbounds i8, ptr %14, i64 44
  %24 = getelementptr inbounds i8, ptr %14, i64 48
  store float %2, ptr %24, align 4, !tbaa !20
  %25 = getelementptr inbounds i8, ptr %14, i64 52
  store float %2, ptr %25, align 4, !tbaa !20
  %26 = getelementptr inbounds i8, ptr %14, i64 56
  %27 = getelementptr inbounds i8, ptr %14, i64 60
  %28 = getelementptr inbounds i8, ptr %14, i64 64
  store float %2, ptr %28, align 4, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %14, i64 68
  %30 = getelementptr inbounds i8, ptr %14, i64 72
  %31 = getelementptr inbounds i8, ptr %14, i64 76
  %32 = getelementptr inbounds i8, ptr %14, i64 80
  store float %2, ptr %32, align 4, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %14, i64 84
  %34 = getelementptr inbounds i8, ptr %14, i64 100
  store float %2, ptr %34, align 4, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %14, i64 104
  %36 = getelementptr inbounds i8, ptr %14, i64 108
  %37 = getelementptr inbounds i8, ptr %14, i64 112
  store float %2, ptr %37, align 4, !tbaa !20
  %38 = getelementptr inbounds i8, ptr %14, i64 116
  %39 = getelementptr inbounds i8, ptr %14, i64 120
  %40 = getelementptr inbounds i8, ptr %14, i64 124
  store float %2, ptr %40, align 4, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %14, i64 128
  store float %2, ptr %41, align 4, !tbaa !20
  %42 = getelementptr inbounds i8, ptr %14, i64 132
  %43 = getelementptr inbounds i8, ptr %14, i64 136
  %44 = getelementptr inbounds i8, ptr %14, i64 140
  store float %2, ptr %44, align 4, !tbaa !20
  %45 = getelementptr inbounds i8, ptr %14, i64 144
  store float %2, ptr %45, align 4, !tbaa !20
  %46 = getelementptr inbounds i8, ptr %14, i64 148
  %47 = getelementptr inbounds i8, ptr %14, i64 152
  %48 = getelementptr inbounds i8, ptr %14, i64 156
  store float %2, ptr %48, align 4, !tbaa !20
  %49 = getelementptr inbounds i8, ptr %14, i64 160
  %50 = getelementptr inbounds i8, ptr %14, i64 164
  %51 = insertelement <4 x float> poison, float %2, i64 0
  %52 = shufflevector <4 x float> %51, <4 x float> poison, <4 x i32> zeroinitializer
  store <4 x float> %52, ptr %50, align 4, !tbaa !20
  %53 = getelementptr inbounds i8, ptr %14, i64 180
  store <4 x float> %52, ptr %53, align 4, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %14, i64 196
  store float %2, ptr %54, align 4, !tbaa !20
  %55 = getelementptr inbounds i8, ptr %14, i64 200
  %56 = getelementptr inbounds i8, ptr %14, i64 204
  store float %2, ptr %56, align 4, !tbaa !20
  %57 = getelementptr inbounds i8, ptr %14, i64 208
  %58 = getelementptr inbounds i8, ptr %14, i64 224
  store float %2, ptr %58, align 4, !tbaa !20
  %59 = getelementptr inbounds i8, ptr %14, i64 228
  %60 = getelementptr inbounds i8, ptr %14, i64 232
  store <4 x float> %52, ptr %60, align 4, !tbaa !20
  %61 = getelementptr inbounds i8, ptr %14, i64 248
  store <4 x float> %52, ptr %61, align 4, !tbaa !20
  %62 = getelementptr inbounds i8, ptr %14, i64 264
  store float %2, ptr %62, align 4, !tbaa !20
  %63 = getelementptr inbounds i8, ptr %14, i64 268
  %64 = getelementptr inbounds i8, ptr %14, i64 272
  store float %2, ptr %64, align 4, !tbaa !20
  %65 = getelementptr inbounds i8, ptr %14, i64 276
  %66 = getelementptr inbounds i8, ptr %14, i64 280
  %67 = getelementptr inbounds i8, ptr %14, i64 284
  store float %2, ptr %67, align 4, !tbaa !20
  %68 = getelementptr inbounds i8, ptr %14, i64 288
  %69 = getelementptr inbounds i8, ptr %14, i64 292
  store float %2, ptr %69, align 4, !tbaa !20
  %70 = getelementptr inbounds i8, ptr %14, i64 296
  %71 = getelementptr inbounds i8, ptr %14, i64 300
  store float %2, ptr %71, align 4, !tbaa !20
  %72 = getelementptr inbounds i8, ptr %14, i64 304
  store float %2, ptr %72, align 4, !tbaa !20
  %73 = getelementptr inbounds i8, ptr %14, i64 308
  %74 = getelementptr inbounds i8, ptr %14, i64 312
  store <4 x float> %52, ptr %74, align 4, !tbaa !20
  %75 = getelementptr inbounds i8, ptr %14, i64 328
  store float %2, ptr %75, align 4, !tbaa !20
  %76 = getelementptr inbounds i8, ptr %14, i64 332
  store float %2, ptr %76, align 4, !tbaa !20
  %77 = getelementptr inbounds i8, ptr %14, i64 336
  %78 = getelementptr inbounds i8, ptr %14, i64 340
  store float %2, ptr %78, align 4, !tbaa !20
  %79 = getelementptr inbounds i8, ptr %14, i64 344
  store float %2, ptr %79, align 4, !tbaa !20
  %80 = getelementptr inbounds i8, ptr %14, i64 348
  %81 = getelementptr inbounds i8, ptr %14, i64 352
  store float %2, ptr %81, align 4, !tbaa !20
  %82 = getelementptr inbounds i8, ptr %14, i64 356
  %83 = getelementptr inbounds i8, ptr %14, i64 372
  %84 = getelementptr inbounds i8, ptr %14, i64 376
  %85 = getelementptr inbounds i8, ptr %14, i64 380
  store float %2, ptr %85, align 4, !tbaa !20
  %86 = getelementptr inbounds i8, ptr %14, i64 384
  store float %2, ptr %86, align 4, !tbaa !20
  %87 = getelementptr inbounds i8, ptr %14, i64 388
  %88 = load float, ptr %11, align 4, !tbaa !8
  %89 = insertelement <2 x float> poison, float %2, i64 0
  %90 = insertelement <2 x float> %89, float %88, i64 1
  %91 = fneg <2 x float> %90
  %92 = extractelement <2 x float> %91, i64 0
  store float %92, ptr %14, align 4, !tbaa !20
  %93 = shufflevector <2 x float> %91, <2 x float> poison, <4 x i32> zeroinitializer
  store <4 x float> %93, ptr %17, align 4, !tbaa !20
  store float %92, ptr %19, align 4, !tbaa !20
  store float %92, ptr %20, align 4, !tbaa !20
  store float %92, ptr %22, align 4, !tbaa !20
  store float %92, ptr %23, align 4, !tbaa !20
  store float %92, ptr %26, align 4, !tbaa !20
  store float %92, ptr %27, align 4, !tbaa !20
  store float %92, ptr %29, align 4, !tbaa !20
  store float %92, ptr %30, align 4, !tbaa !20
  store float %92, ptr %31, align 4, !tbaa !20
  store <4 x float> %93, ptr %33, align 4, !tbaa !20
  store float %92, ptr %35, align 4, !tbaa !20
  store float %92, ptr %36, align 4, !tbaa !20
  store float %92, ptr %38, align 4, !tbaa !20
  store float %92, ptr %39, align 4, !tbaa !20
  store float %92, ptr %42, align 4, !tbaa !20
  store float %92, ptr %43, align 4, !tbaa !20
  store float %92, ptr %46, align 4, !tbaa !20
  store float %92, ptr %47, align 4, !tbaa !20
  store float %92, ptr %49, align 4, !tbaa !20
  store float %92, ptr %55, align 4, !tbaa !20
  store <4 x float> %93, ptr %57, align 4, !tbaa !20
  store float %92, ptr %59, align 4, !tbaa !20
  store float %92, ptr %63, align 4, !tbaa !20
  store float %92, ptr %65, align 4, !tbaa !20
  store float %92, ptr %66, align 4, !tbaa !20
  store float %92, ptr %68, align 4, !tbaa !20
  store float %92, ptr %70, align 4, !tbaa !20
  store float %92, ptr %73, align 4, !tbaa !20
  store float %92, ptr %77, align 4, !tbaa !20
  store float %92, ptr %80, align 4, !tbaa !20
  store <4 x float> %93, ptr %82, align 4, !tbaa !20
  store float %92, ptr %83, align 4, !tbaa !20
  store float %92, ptr %84, align 4, !tbaa !20
  store <2 x float> %91, ptr %87, align 4, !tbaa !20
  %94 = getelementptr inbounds i8, ptr %14, i64 396
  store float %88, ptr %94, align 4, !tbaa !20
  %95 = getelementptr inbounds i8, ptr %14, i64 400
  %96 = extractelement <2 x float> %91, i64 1
  %97 = shufflevector <2 x float> %91, <2 x float> poison, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
  store <4 x float> %97, ptr %95, align 4, !tbaa !20
  %98 = getelementptr inbounds i8, ptr %14, i64 416
  store float %88, ptr %98, align 4, !tbaa !20
  %99 = getelementptr inbounds i8, ptr %14, i64 420
  store float %88, ptr %99, align 4, !tbaa !20
  %100 = getelementptr inbounds i8, ptr %14, i64 424
  store float %96, ptr %100, align 4, !tbaa !20
  %101 = getelementptr inbounds i8, ptr %14, i64 428
  store float %88, ptr %101, align 4, !tbaa !20
  store ptr %14, ptr %13, align 8, !tbaa !21
  %102 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #9
          to label %103 unwind label %140

103:                                              ; preds = %15
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %102, i8 0, i64 40, i1 false)
  tail call void @_ZN4Lava6OpenGL12GLShaderBankC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %102) #8
  %104 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %102, ptr %104, align 8, !tbaa !22
  %105 = load ptr, ptr %0, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 40
  %107 = load ptr, ptr %106, align 8
  invoke void %107(ptr noundef nonnull align 8 dereferenceable(80) %0)
          to label %108 unwind label %140

108:                                              ; preds = %103
  %109 = load ptr, ptr %104, align 8, !tbaa !22
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 40
  %112 = load ptr, ptr %111, align 8
  invoke void %112(ptr noundef nonnull align 8 dereferenceable(40) %109)
          to label %113 unwind label %140

113:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  store i32 1, ptr %5, align 4, !tbaa !23
  %114 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
          to label %115 unwind label %142

115:                                              ; preds = %113
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %114, i8 0, i64 16, i1 false)
  %116 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %114, ptr %116, align 8, !tbaa !24
  store ptr @.str, ptr %114, align 8, !tbaa !25
  %117 = getelementptr inbounds i8, ptr %114, i64 8
  store i32 3, ptr %117, align 8, !tbaa !27
  %118 = load ptr, ptr %12, align 8, !tbaa !28
  invoke void @_ZNSt6vectorIPKcSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %118)
          to label %119 unwind label %142

119:                                              ; preds = %115
  %120 = invoke noundef i32 @_ZN4Lava13AssetDatabase11LoadCubeMapESt6vectorIPKcSaIS3_EE(ptr noundef nonnull %6)
          to label %121 unwind label %144

121:                                              ; preds = %119
  %122 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %120, ptr %122, align 8, !tbaa !29
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %123 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #9
          to label %124 unwind label %142

124:                                              ; preds = %121
  invoke void @_ZN4Lava6OpenGL5GLVAOC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %123)
          to label %125 unwind label %146

125:                                              ; preds = %124
  %126 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %123, ptr %126, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  store i32 108, ptr %8, align 4, !tbaa !23
  invoke void @_Z9CreateRefIN4Lava6OpenGL14GLVertexBufferEJRPfiEESt10shared_ptrIT_EDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %127 unwind label %148

127:                                              ; preds = %125
  %128 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @_ZNSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  %129 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  %130 = load ptr, ptr %116, align 8, !tbaa !24
  %131 = load ptr, ptr %129, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 48
  %133 = load ptr, ptr %132, align 8
  invoke void %133(ptr noundef nonnull align 8 dereferenceable(36) %129, ptr noundef %130, ptr noundef nonnull %5)
          to label %134 unwind label %142

134:                                              ; preds = %127
  %135 = load ptr, ptr %126, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  call void @_ZNSt10shared_ptrIN4Lava12VertexBufferEEC2INS0_6OpenGL14GLVertexBufferEvEERKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %136, i64 32
  %138 = load ptr, ptr %137, align 8
  invoke void %138(ptr noundef nonnull align 8 dereferenceable(56) %135, ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 0)
          to label %139 unwind label %150

139:                                              ; preds = %134
  call void @_ZNSt12__shared_ptrIN4Lava12VertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  ret void

140:                                              ; preds = %108, %103, %15, %4
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %153

142:                                              ; preds = %127, %121, %115, %113
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %152

144:                                              ; preds = %119
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %152

146:                                              ; preds = %124
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %123, i64 noundef 56) #10
  br label %152

148:                                              ; preds = %125
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %152

150:                                              ; preds = %134
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN4Lava12VertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  br label %152

152:                                              ; preds = %150, %148, %146, %144, %142
  %.pn = phi { ptr, i32 } [ %151, %150 ], [ %143, %142 ], [ %149, %148 ], [ %147, %146 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %153

153:                                              ; preds = %152, %140
  %.pn.pn = phi { ptr, i32 } [ %.pn, %152 ], [ %141, %140 ]
  call void @_ZNSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @_ZN4Lava12BaseRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #8
  resume { ptr, i32 } %.pn.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef i32 @_ZN4Lava13AssetDatabase11LoadCubeMapESt6vectorIPKcSaIS3_EE(ptr noundef) local_unnamed_addr #6

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

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

declare void @_ZN4Lava6OpenGL5GLVAOC1Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9CreateRefIN4Lava6OpenGL14GLVertexBufferEJRPfiEESt10shared_ptrIT_EDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_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) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN4Lava6OpenGL14GLVertexBufferELN9__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_ptrIN4Lava12VertexBufferEEC2INS0_6OpenGL14GLVertexBufferEvEERKS_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_ptrIN4Lava12VertexBufferELN9__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 @_ZN4Lava12BaseRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

attributes #0 = { 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 #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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !18, i64 60}
!9 = !{!"_ZTSN4Lava6OpenGL16GLSkyboxRendererE", !10, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !14, i64 40, !17, i64 56, !18, i64 60, !12, i64 64, !12, i64 72}
!10 = !{!"_ZTSN4Lava14SkyboxRendererE", !11, i64 0}
!11 = !{!"_ZTSN4Lava12BaseRendererE", !12, i64 8}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"_ZTSSt10shared_ptrIN4Lava6OpenGL14GLVertexBufferEE", !15, i64 0}
!15 = !{!"_ZTSSt12__shared_ptrIN4Lava6OpenGL14GLVertexBufferELN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0, !16, i64 8}
!16 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0}
!17 = !{!"int", !13, i64 0}
!18 = !{!"float", !13, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!18, !18, i64 0}
!21 = !{!9, !12, i64 72}
!22 = !{!9, !12, i64 16}
!23 = !{!17, !17, i64 0}
!24 = !{!9, !12, i64 32}
!25 = !{!26, !12, i64 0}
!26 = !{!"_ZTSN4Lava19VertexBufferElementE", !12, i64 0, !17, i64 8}
!27 = !{!26, !17, i64 8}
!28 = !{!9, !12, i64 64}
!29 = !{!9, !17, i64 56}
!30 = !{!9, !12, i64 24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass