; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/FBX (FBXConverter)

; 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.aiVector3t = type { float, float, float }
%struct.aiColor3D = type { float, float, float }
%"class.Assimp::FBX::FBXConverter" = type <{ i32, [4 x i8], %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.15", %"class.std::vector.20", %"class.std::map", %"class.std::map.28", %"class.std::map.34", %"class.std::map.40", %"class.std::map.40", %"class.std::map.46", double, %"class.std::vector.52", ptr, ptr, i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiMaterial *, std::allocator<aiMaterial *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiAnimation *, std::allocator<aiAnimation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiLight *, std::allocator<aiLight *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiCamera *, std::allocator<aiCamera *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiTexture *, std::allocator<aiTexture *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const Assimp::FBX::Material *, std::pair<const Assimp::FBX::Material *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Material *const, unsigned int>>, std::less<const Assimp::FBX::Material *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Assimp::FBX::Material *, std::pair<const Assimp::FBX::Material *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Material *const, unsigned int>>, std::less<const Assimp::FBX::Material *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.28" = type { %"class.std::_Rb_tree.29" }
%"class.std::_Rb_tree.29" = type { %"struct.std::_Rb_tree<const Assimp::FBX::Video *, std::pair<const Assimp::FBX::Video *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Video *const, unsigned int>>, std::less<const Assimp::FBX::Video *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Assimp::FBX::Video *, std::pair<const Assimp::FBX::Video *const, unsigned int>, std::_Select1st<std::pair<const Assimp::FBX::Video *const, unsigned int>>, std::less<const Assimp::FBX::Video *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.34" = type { %"class.std::_Rb_tree.35" }
%"class.std::_Rb_tree.35" = type { %"struct.std::_Rb_tree<const Assimp::FBX::Geometry *, std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>, std::_Select1st<std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>>, std::less<const Assimp::FBX::Geometry *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const Assimp::FBX::Geometry *, std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>, std::_Select1st<std::pair<const Assimp::FBX::Geometry *const, std::vector<unsigned int>>>, std::less<const Assimp::FBX::Geometry *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.46" = type { %"class.std::_Rb_tree.47" }
%"class.std::_Rb_tree.47" = type { %"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, aiBone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, aiBone *>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, aiBone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, aiBone *>>, std::less<const std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = type { %"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiSkeleton *, std::allocator<aiSkeleton *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiLight = type { %struct.aiString, i32, %class.aiVector3t, %class.aiVector3t, %class.aiVector3t, float, float, float, %struct.aiColor3D, %struct.aiColor3D, %struct.aiColor3D, float, float, %class.aiVector2t }
%struct.aiString = type { i32, [1024 x i8] }
%class.aiVector2t = type { float, float }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [53 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

declare void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter12ConvertLightERKNS0_5LightERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(32) %2) #5 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %class.aiVector3t, align 4
  %12 = alloca { <2 x float>, float }, align 8
  %13 = alloca %struct.aiColor3D, align 4
  %14 = alloca %class.aiVector3t, align 4
  %15 = alloca %class.aiVector3t, align 4
  %16 = alloca %class.aiVector3t, align 4
  %17 = alloca float, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %18 = load ptr, ptr %4, align 8
  %19 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %18, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %20 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1132) #8
  call void @_ZN7aiLightC2Ev(ptr noundef nonnull align 4 dereferenceable(1132) %20) #7
  store ptr %20, ptr %7, align 8, !tbaa !5
  call void @_ZNSt6vectorIP7aiLightSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %21 = getelementptr inbounds %"class.Assimp::FBX::FBXConverter", ptr %18, i32 0, i32 5
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7aiLightSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %23, ptr %8, align 8, !tbaa !5
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.aiLight, ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %25, ptr noundef nonnull align 8 dereferenceable(32) %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call noundef float @_ZNK6Assimp3FBX5Light9IntensityEv(ptr noundef nonnull align 8 dereferenceable(72) %27)
  %29 = fdiv float %28, 1.000000e+02
  store float %29, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call { <2 x float>, float } @_ZNK6Assimp3FBX5Light5ColorEv(ptr noundef nonnull align 8 dereferenceable(72) %30)
  store { <2 x float>, float } %31, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %12, i64 12, i1 false)
  store ptr %11, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #7
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = getelementptr inbounds %class.aiVector3t, ptr %32, i32 0, i32 0
  %34 = load float, ptr %33, align 4, !tbaa !11
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.aiVector3t, ptr %35, i32 0, i32 1
  %37 = load float, ptr %36, align 4, !tbaa !13
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = getelementptr inbounds %class.aiVector3t, ptr %38, i32 0, i32 2
  %40 = load float, ptr %39, align 4, !tbaa !14
  call void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %13, float noundef %34, float noundef %37, float noundef %40)
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.aiLight, ptr %41, i32 0, i32 8
  %43 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN9aiColor3DaSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #7
  %44 = load float, ptr %9, align 4, !tbaa !9
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.aiLight, ptr %45, i32 0, i32 8
  %47 = getelementptr inbounds %struct.aiColor3D, ptr %46, i32 0, i32 0
  %48 = load float, ptr %47, align 4, !tbaa !15
  %49 = fmul float %48, %44
  store float %49, ptr %47, align 4, !tbaa !15
  %50 = load float, ptr %9, align 4, !tbaa !9
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.aiLight, ptr %51, i32 0, i32 8
  %53 = getelementptr inbounds %struct.aiColor3D, ptr %52, i32 0, i32 1
  %54 = load float, ptr %53, align 4, !tbaa !22
  %55 = fmul float %54, %50
  store float %55, ptr %53, align 4, !tbaa !22
  %56 = load float, ptr %9, align 4, !tbaa !9
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.aiLight, ptr %57, i32 0, i32 8
  %59 = getelementptr inbounds %struct.aiColor3D, ptr %58, i32 0, i32 2
  %60 = load float, ptr %59, align 4, !tbaa !23
  %61 = fmul float %60, %56
  store float %61, ptr %59, align 4, !tbaa !23
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.aiLight, ptr %62, i32 0, i32 8
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.aiLight, ptr %64, i32 0, i32 9
  %66 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN9aiColor3DaSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %65, ptr noundef nonnull align 4 dereferenceable(12) %63)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #7
  call void @_ZN10aiVector3tIfEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %14, float noundef 0.000000e+00)
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.aiLight, ptr %67, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 4 %14, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #7
  call void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.aiLight, ptr %69, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 4 %15, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #7
  call void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %16, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.aiLight, ptr %71, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %16, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #7
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = call noundef i32 @_ZNK6Assimp3FBX5Light9LightTypeEv(ptr noundef nonnull align 8 dereferenceable(72) %73)
  switch i32 %74, label %100 [
    i32 0, label %75
    i32 1, label %78
    i32 2, label %81
    i32 3, label %94
    i32 4, label %97
  ]

75:                                               ; preds = %3
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.aiLight, ptr %76, i32 0, i32 1
  store i32 2, ptr %77, align 4, !tbaa !25
  br label %101

78:                                               ; preds = %3
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.aiLight, ptr %79, i32 0, i32 1
  store i32 1, ptr %80, align 4, !tbaa !25
  br label %101

81:                                               ; preds = %3
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.aiLight, ptr %82, i32 0, i32 1
  store i32 3, ptr %83, align 4, !tbaa !25
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = call noundef float @_ZNK6Assimp3FBX5Light10OuterAngleEv(ptr noundef nonnull align 8 dereferenceable(72) %84)
  %86 = fmul float %85, 0x3F91DF46A0000000
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.aiLight, ptr %87, i32 0, i32 12
  store float %86, ptr %88, align 4, !tbaa !26
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = call noundef float @_ZNK6Assimp3FBX5Light10InnerAngleEv(ptr noundef nonnull align 8 dereferenceable(72) %89)
  %91 = fmul float %90, 0x3F91DF46A0000000
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.aiLight, ptr %92, i32 0, i32 11
  store float %91, ptr %93, align 4, !tbaa !27
  br label %101

94:                                               ; preds = %3
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA46_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(46) @.str.8)
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.aiLight, ptr %95, i32 0, i32 1
  store i32 0, ptr %96, align 4, !tbaa !25
  br label %101

97:                                               ; preds = %3
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA48_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(48) @.str.9)
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.aiLight, ptr %98, i32 0, i32 1
  store i32 0, ptr %99, align 4, !tbaa !25
  br label %101

100:                                              ; preds = %3
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.10, ptr noundef @.str.5, i32 noundef 435)
  br label %101

101:                                              ; preds = %100, %97, %94, %81, %78, %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = call noundef float @_ZNK6Assimp3FBX5Light10DecayStartEv(ptr noundef nonnull align 8 dereferenceable(72) %102)
  store float %103, ptr %17, align 4, !tbaa !9
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = call noundef i32 @_ZNK6Assimp3FBX5Light9DecayTypeEv(ptr noundef nonnull align 8 dereferenceable(72) %104)
  switch i32 %105, label %137 [
    i32 0, label %106
    i32 1, label %114
    i32 2, label %123
    i32 3, label %134
  ]

106:                                              ; preds = %101
  %107 = load float, ptr %17, align 4, !tbaa !9
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.aiLight, ptr %108, i32 0, i32 5
  store float %107, ptr %109, align 4, !tbaa !28
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.aiLight, ptr %110, i32 0, i32 6
  store float 0.000000e+00, ptr %111, align 4, !tbaa !29
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.aiLight, ptr %112, i32 0, i32 7
  store float 0.000000e+00, ptr %113, align 4, !tbaa !30
  br label %138

114:                                              ; preds = %101
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.aiLight, ptr %115, i32 0, i32 5
  store float 0.000000e+00, ptr %116, align 4, !tbaa !28
  %117 = load float, ptr %17, align 4, !tbaa !9
  %118 = fdiv float 2.000000e+00, %117
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.aiLight, ptr %119, i32 0, i32 6
  store float %118, ptr %120, align 4, !tbaa !29
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.aiLight, ptr %121, i32 0, i32 7
  store float 0.000000e+00, ptr %122, align 4, !tbaa !30
  br label %138

123:                                              ; preds = %101
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.aiLight, ptr %124, i32 0, i32 5
  store float 0.000000e+00, ptr %125, align 4, !tbaa !28
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.aiLight, ptr %126, i32 0, i32 6
  store float 0.000000e+00, ptr %127, align 4, !tbaa !29
  %128 = load float, ptr %17, align 4, !tbaa !9
  %129 = load float, ptr %17, align 4, !tbaa !9
  %130 = fmul float %128, %129
  %131 = fdiv float 2.000000e+00, %130
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.aiLight, ptr %132, i32 0, i32 7
  store float %131, ptr %133, align 4, !tbaa !30
  br label %138

134:                                              ; preds = %101
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA53_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(53) @.str.11)
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.aiLight, ptr %135, i32 0, i32 7
  store float 1.000000e+00, ptr %136, align 4, !tbaa !30
  br label %138

137:                                              ; preds = %101
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.10, ptr noundef @.str.5, i32 noundef 460)
  br label %138

138:                                              ; preds = %137, %134, %123, %114, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light9IntensityEv(ptr noundef nonnull align 8 dereferenceable(72)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK6Assimp3FBX5Light5ColorEv(ptr noundef nonnull align 8 dereferenceable(72)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10aiVector3tIfEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK6Assimp3FBX5Light9LightTypeEv(ptr noundef nonnull align 8 dereferenceable(72)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light10OuterAngleEv(ptr noundef nonnull align 8 dereferenceable(72)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light10InnerAngleEv(ptr noundef nonnull align 8 dereferenceable(72)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA46_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(46)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA48_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(48)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light10DecayStartEv(ptr noundef nonnull align 8 dereferenceable(72)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK6Assimp3FBX5Light9DecayTypeEv(ptr noundef nonnull align 8 dereferenceable(72)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA53_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(53)) #6 align 2

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

!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, !10, i64 0}
!12 = !{!"_ZTS10aiVector3tIfE", !10, i64 0, !10, i64 4, !10, i64 8}
!13 = !{!12, !10, i64 4}
!14 = !{!12, !10, i64 8}
!15 = !{!16, !10, i64 1080}
!16 = !{!"_ZTS7aiLight", !17, i64 0, !19, i64 1028, !12, i64 1032, !12, i64 1044, !12, i64 1056, !10, i64 1068, !10, i64 1072, !10, i64 1076, !20, i64 1080, !20, i64 1092, !20, i64 1104, !10, i64 1116, !10, i64 1120, !21, i64 1124}
!17 = !{!"_ZTS8aiString", !18, i64 0, !7, i64 4}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTS17aiLightSourceType", !7, i64 0}
!20 = !{!"_ZTS9aiColor3D", !10, i64 0, !10, i64 4, !10, i64 8}
!21 = !{!"_ZTS10aiVector2tIfE", !10, i64 0, !10, i64 4}
!22 = !{!16, !10, i64 1084}
!23 = !{!16, !10, i64 1088}
!24 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!25 = !{!16, !19, i64 1028}
!26 = !{!16, !10, i64 1120}
!27 = !{!16, !10, i64 1116}
!28 = !{!16, !10, i64 1068}
!29 = !{!16, !10, i64 1072}
!30 = !{!16, !10, i64 1076}


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

%struct.aiColor3D = type { float, float, float }
%class.aiVector3t = type { float, float, float }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [53 x i8], align 1

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

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

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

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

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

declare void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX12FBXConverter12ConvertLightERKNS0_5LightERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(489) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(32) %2) local_unnamed_addr #5 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca %struct.aiColor3D, align 4
  %6 = alloca %class.aiVector3t, align 4
  %7 = alloca %class.aiVector3t, align 4
  %8 = alloca %class.aiVector3t, align 4
  %9 = getelementptr inbounds i8, ptr %0, i64 80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %10 = tail call noalias noundef nonnull dereferenceable(1132) ptr @_Znwm(i64 noundef 1132) #8
  tail call void @_ZN7aiLightC2Ev(ptr noundef nonnull align 4 dereferenceable(1132) %10) #7
  store ptr %10, ptr %4, align 8, !tbaa !5
  call void @_ZNSt6vectorIP7aiLightSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %11 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP7aiLightSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN8aiString3SetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 4 dereferenceable(1028) %12, ptr noundef nonnull align 8 dereferenceable(32) %2)
  %13 = call noundef float @_ZNK6Assimp3FBX5Light9IntensityEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %14 = fdiv float %13, 1.000000e+02
  %15 = call { <2 x float>, float } @_ZNK6Assimp3FBX5Light5ColorEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %.fca.0.extract = extractvalue { <2 x float>, float } %15, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %15, 1
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #7
  %.sroa.0.0.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 0
  %.sroa.0.4.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 1
  call void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %5, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.0.4.vec.extract, float noundef %.fca.1.extract)
  %16 = getelementptr inbounds i8, ptr %12, i64 1080
  %17 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN9aiColor3DaSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #7
  %18 = load <2 x float>, ptr %16, align 4, !tbaa !9
  %19 = insertelement <2 x float> poison, float %14, i64 0
  %20 = shufflevector <2 x float> %19, <2 x float> poison, <2 x i32> zeroinitializer
  %21 = fmul <2 x float> %20, %18
  store <2 x float> %21, ptr %16, align 4, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %12, i64 1088
  %23 = load float, ptr %22, align 4, !tbaa !11
  %24 = fmul float %14, %23
  store float %24, ptr %22, align 4, !tbaa !11
  %25 = getelementptr inbounds i8, ptr %12, i64 1092
  %26 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN9aiColor3DaSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  call void @_ZN10aiVector3tIfEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef 0.000000e+00)
  %27 = getelementptr inbounds i8, ptr %12, i64 1032
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %6, i64 12, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #7
  call void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %28 = getelementptr inbounds i8, ptr %12, i64 1044
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(12) %7, i64 12, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #7
  call void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
  %29 = getelementptr inbounds i8, ptr %12, i64 1056
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %8, i64 12, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #7
  %30 = call noundef i32 @_ZNK6Assimp3FBX5Light9LightTypeEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  switch i32 %30, label %47 [
    i32 0, label %31
    i32 1, label %33
    i32 2, label %35
    i32 3, label %43
    i32 4, label %45
  ]

31:                                               ; preds = %3
  %32 = getelementptr inbounds i8, ptr %12, i64 1028
  store i32 2, ptr %32, align 4, !tbaa !20
  br label %48

33:                                               ; preds = %3
  %34 = getelementptr inbounds i8, ptr %12, i64 1028
  store i32 1, ptr %34, align 4, !tbaa !20
  br label %48

35:                                               ; preds = %3
  %36 = getelementptr inbounds i8, ptr %12, i64 1028
  store i32 3, ptr %36, align 4, !tbaa !20
  %37 = call noundef float @_ZNK6Assimp3FBX5Light10OuterAngleEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %38 = fmul float %37, 0x3F91DF46A0000000
  %39 = getelementptr inbounds i8, ptr %12, i64 1120
  store float %38, ptr %39, align 4, !tbaa !21
  %40 = call noundef float @_ZNK6Assimp3FBX5Light10InnerAngleEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %41 = fmul float %40, 0x3F91DF46A0000000
  %42 = getelementptr inbounds i8, ptr %12, i64 1116
  store float %41, ptr %42, align 4, !tbaa !22
  br label %48

43:                                               ; preds = %3
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA46_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(46) @.str.8)
  %44 = getelementptr inbounds i8, ptr %12, i64 1028
  store i32 0, ptr %44, align 4, !tbaa !20
  br label %48

45:                                               ; preds = %3
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA48_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(48) @.str.9)
  %46 = getelementptr inbounds i8, ptr %12, i64 1028
  store i32 0, ptr %46, align 4, !tbaa !20
  br label %48

47:                                               ; preds = %3
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.5, i32 noundef 435)
  br label %48

48:                                               ; preds = %47, %45, %43, %35, %33, %31
  %49 = call noundef float @_ZNK6Assimp3FBX5Light10DecayStartEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %50 = call noundef i32 @_ZNK6Assimp3FBX5Light9DecayTypeEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  switch i32 %50, label %66 [
    i32 0, label %51
    i32 1, label %54
    i32 2, label %59
    i32 3, label %64
  ]

51:                                               ; preds = %48
  %52 = getelementptr inbounds i8, ptr %12, i64 1068
  store float %49, ptr %52, align 4, !tbaa !23
  %53 = getelementptr inbounds i8, ptr %12, i64 1072
  store <2 x float> zeroinitializer, ptr %53, align 4, !tbaa !9
  br label %67

54:                                               ; preds = %48
  %55 = getelementptr inbounds i8, ptr %12, i64 1068
  store float 0.000000e+00, ptr %55, align 4, !tbaa !23
  %56 = fdiv float 2.000000e+00, %49
  %57 = getelementptr inbounds i8, ptr %12, i64 1072
  store float %56, ptr %57, align 4, !tbaa !24
  %58 = getelementptr inbounds i8, ptr %12, i64 1076
  store float 0.000000e+00, ptr %58, align 4, !tbaa !25
  br label %67

59:                                               ; preds = %48
  %60 = getelementptr inbounds i8, ptr %12, i64 1068
  store <2 x float> zeroinitializer, ptr %60, align 4, !tbaa !9
  %61 = fmul float %49, %49
  %62 = fdiv float 2.000000e+00, %61
  %63 = getelementptr inbounds i8, ptr %12, i64 1076
  store float %62, ptr %63, align 4, !tbaa !25
  br label %67

64:                                               ; preds = %48
  call void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA53_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(53) @.str.11)
  %65 = getelementptr inbounds i8, ptr %12, i64 1076
  store float 1.000000e+00, ptr %65, align 4, !tbaa !25
  br label %67

66:                                               ; preds = %48
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.5, i32 noundef 460)
  br label %67

67:                                               ; preds = %66, %64, %59, %54, %51
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light9IntensityEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK6Assimp3FBX5Light5ColorEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9aiColor3DC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10aiVector3tIfEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10aiVector3tIfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK6Assimp3FBX5Light9LightTypeEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light10OuterAngleEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light10InnerAngleEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA46_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(46)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA48_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(48)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6Assimp3FBX5Light10DecayStartEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK6Assimp3FBX5Light9DecayTypeEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12LogFunctionsINS_11FBXImporterEE7LogWarnIJRA53_KcEEEvDpOT_(ptr noundef nonnull align 1 dereferenceable(53)) local_unnamed_addr #6 align 2

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

!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, !10, i64 1088}
!12 = !{!"_ZTS7aiLight", !13, i64 0, !15, i64 1028, !16, i64 1032, !16, i64 1044, !16, i64 1056, !10, i64 1068, !10, i64 1072, !10, i64 1076, !17, i64 1080, !17, i64 1092, !17, i64 1104, !10, i64 1116, !10, i64 1120, !18, i64 1124}
!13 = !{!"_ZTS8aiString", !14, i64 0, !7, i64 4}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS17aiLightSourceType", !7, i64 0}
!16 = !{!"_ZTS10aiVector3tIfE", !10, i64 0, !10, i64 4, !10, i64 8}
!17 = !{!"_ZTS9aiColor3D", !10, i64 0, !10, i64 4, !10, i64 8}
!18 = !{!"_ZTS10aiVector2tIfE", !10, i64 0, !10, i64 4}
!19 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!20 = !{!12, !15, i64 1028}
!21 = !{!12, !10, i64 1120}
!22 = !{!12, !10, i64 1116}
!23 = !{!12, !10, i64 1068}
!24 = !{!12, !10, i64 1072}
!25 = !{!12, !10, i64 1076}


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