; LLVM IR from Xingyu-Lin/softgym :: PyFlex/extensions (flexExtContainer)

; 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.XMatrix44 = type { [4 x [4 x float]] }
%class.XVector4 = type { float, float, float, float }
%class.XVector3 = type { float, float, float }
%class.XQuat = type { float, float, float, float }
%struct.Matrix33 = type { [3 x %class.XVector3] }
%struct.NvFlexExtAsset = type { ptr, i32, i32, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i8, float, float, float }
%struct.NvFlexExtContainer = type <{ i32, [4 x i8], ptr, ptr, %struct.NvFlexVector, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %struct.NvFlexVector.10, %struct.NvFlexVector.10, %struct.NvFlexVector.12, %struct.NvFlexVector, %struct.NvFlexVector.10, %struct.NvFlexVector, %struct.NvFlexVector, %struct.NvFlexVector.14, %struct.NvFlexVector.14, %struct.NvFlexVector.14, %struct.NvFlexVector.16, %struct.NvFlexVector.12, %struct.NvFlexVector.12, %struct.NvFlexVector, %struct.NvFlexVector.14, %struct.NvFlexVector.14, %struct.NvFlexVector, %struct.NvFlexVector.12, %struct.NvFlexVector, %struct.NvFlexVector, %struct.NvFlexVector.14, %struct.NvFlexVector.14, %struct.NvFlexVector.14, %struct.NvFlexVector.12, %struct.NvFlexVector.12, i8, i8, [6 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_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<NvFlexExtInstance *, std::allocator<NvFlexExtInstance *>>::_Vector_impl" }
%"struct.std::_Vector_base<NvFlexExtInstance *, std::allocator<NvFlexExtInstance *>>::_Vector_impl" = type { %"struct.std::_Vector_base<NvFlexExtInstance *, std::allocator<NvFlexExtInstance *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NvFlexExtInstance *, std::allocator<NvFlexExtInstance *>>::_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<NvFlexExtSoftJoint *, std::allocator<NvFlexExtSoftJoint *>>::_Vector_impl" }
%"struct.std::_Vector_base<NvFlexExtSoftJoint *, std::allocator<NvFlexExtSoftJoint *>>::_Vector_impl" = type { %"struct.std::_Vector_base<NvFlexExtSoftJoint *, std::allocator<NvFlexExtSoftJoint *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NvFlexExtSoftJoint *, std::allocator<NvFlexExtSoftJoint *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.NvFlexVector.10 = type <{ ptr, ptr, ptr, i32, i32, i32, [4 x i8] }>
%struct.NvFlexVector.16 = type <{ ptr, ptr, ptr, i32, i32, i32, [4 x i8] }>
%struct.NvFlexVector = type <{ ptr, ptr, ptr, i32, i32, i32, [4 x i8] }>
%struct.NvFlexVector.14 = type <{ ptr, ptr, ptr, i32, i32, i32, [4 x i8] }>
%struct.NvFlexVector.12 = type <{ ptr, ptr, ptr, i32, i32, i32, [4 x i8] }>
%struct.NvFlexExtInstance = type { ptr, i32, i32, i32, i32, ptr, ptr, ptr, ptr }
%struct.NvFlexExtParticleData = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__.NvFlexExtCreateInstance = external hidden unnamed_addr constant [162 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @NvFlexExtAllocParticles(ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 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) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local ptr @NvFlexExtCreateInstance(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 noundef %7, float noundef %8) #6 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %class.XMatrix44, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %class.XVector4, align 4
  %28 = alloca %class.XVector4, align 4
  %29 = alloca %class.XVector3, align 4
  %30 = alloca %class.XVector4, align 4
  %31 = alloca %class.XVector3, align 4
  %32 = alloca %class.XVector4, align 4
  %33 = alloca i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca %class.XQuat, align 4
  %39 = alloca %struct.Matrix33, align 4
  %40 = alloca i32, align 4
  %41 = alloca %class.XVector3, align 4
  %42 = alloca %class.XVector4, align 4
  %43 = alloca %class.XVector4, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store float %4, ptr %15, align 4, !tbaa !9
  store float %5, ptr %16, align 4, !tbaa !9
  store float %6, ptr %17, align 4, !tbaa !9
  store i32 %7, ptr %18, align 4, !tbaa !11
  store float %8, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #12
  %44 = load ptr, ptr %13, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %44, i32 0, i32 1
  %46 = load i32, ptr %45, align 8, !tbaa !13
  store i32 %46, ptr %20, align 4, !tbaa !11
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.NvFlexExtContainer, ptr %47, i32 0, i32 5
  %49 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #12
  %50 = trunc i64 %49 to i32
  %51 = load i32, ptr %20, align 4, !tbaa !11
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %53, label %54

53:                                               ; preds = %9
  store ptr null, ptr %10, align 8
  store i32 1, ptr %21, align 4
  br label %306

54:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #12
  %55 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #13
  call void @llvm.memset.p0.i64(ptr align 16 %55, i8 0, i64 56, i1 false)
  store ptr %55, ptr %22, align 8, !tbaa !5
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = load ptr, ptr %22, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %57, i32 0, i32 7
  store ptr %56, ptr %58, align 8, !tbaa !16
  %59 = load ptr, ptr %22, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %59, i32 0, i32 2
  store i32 -1, ptr %60, align 4, !tbaa !18
  %61 = load ptr, ptr %22, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %61, i32 0, i32 3
  store i32 -1, ptr %62, align 8, !tbaa !19
  %63 = load ptr, ptr %22, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %63, i32 0, i32 4
  store i32 -1, ptr %64, align 4, !tbaa !20
  %65 = load ptr, ptr %22, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %65, i32 0, i32 8
  store ptr null, ptr %66, align 8, !tbaa !21
  %67 = load i32, ptr %20, align 4, !tbaa !11
  %68 = load ptr, ptr %22, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %68, i32 0, i32 1
  store i32 %67, ptr %69, align 8, !tbaa !22
  %70 = load ptr, ptr %22, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 8, !tbaa !22
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %73, i32 0, i32 2
  %75 = load i32, ptr %74, align 4, !tbaa !23
  %76 = icmp sle i32 %72, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %54
  br label %80

78:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 716, ptr noundef @__PRETTY_FUNCTION__.NvFlexExtCreateInstance) #14
  unreachable

79:                                               ; No predecessors!
  br label %80

80:                                               ; preds = %79, %77
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %81, i32 0, i32 2
  %83 = load i32, ptr %82, align 4, !tbaa !23
  %84 = sext i32 %83 to i64
  %85 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %84, i64 4)
  %86 = extractvalue { i64, i1 } %85, 1
  %87 = extractvalue { i64, i1 } %85, 0
  %88 = select i1 %86, i64 -1, i64 %87
  %89 = call noalias noundef nonnull ptr @_Znam(i64 noundef %88) #13
  %90 = load ptr, ptr %22, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %90, i32 0, i32 0
  store ptr %89, ptr %91, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #12
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = load i32, ptr %20, align 4, !tbaa !11
  %94 = load ptr, ptr %22, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !24
  %97 = getelementptr inbounds i32, ptr %96, i64 0
  %98 = call i32 @NvFlexExtAllocParticles(ptr noundef %92, i32 noundef %93, ptr noundef %97)
  store i32 %98, ptr %23, align 4, !tbaa !11
  %99 = load i32, ptr %23, align 4, !tbaa !11
  %100 = load i32, ptr %20, align 4, !tbaa !11
  %101 = icmp eq i32 %99, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %80
  br label %105

103:                                              ; preds = %80
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 721, ptr noundef @__PRETTY_FUNCTION__.NvFlexExtCreateInstance) #14
  unreachable

104:                                              ; No predecessors!
  br label %105

105:                                              ; preds = %104, %102
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.NvFlexExtContainer, ptr %106, i32 0, i32 6
  call void @_ZNSt6vectorIP17NvFlexExtInstanceSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #12
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN9XMatrix44IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(64) %24, ptr noundef %108)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #12
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %109

109:                                              ; preds = %193, %105
  %110 = load i32, ptr %25, align 4, !tbaa !11
  %111 = load i32, ptr %20, align 4, !tbaa !11
  %112 = icmp slt i32 %110, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %109
  store i32 2, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #12
  br label %196

114:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #12
  %115 = load ptr, ptr %22, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !24
  %118 = load i32, ptr %25, align 4, !tbaa !11
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds i32, ptr %117, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !11
  store i32 %121, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #12
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #12
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %122, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !25
  %125 = load i32, ptr %25, align 4, !tbaa !11
  %126 = mul nsw i32 %125, 4
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds float, ptr %124, i64 %127
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef %128)
  call void @_ZN8XVector4IfEC2ERK8XVector3IfEf(ptr noundef nonnull align 4 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(12) %29, float noundef 1.000000e+00)
  %129 = call { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %24, ptr noundef nonnull align 4 dereferenceable(16) %28)
  %130 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %131 = extractvalue { <2 x float>, <2 x float> } %129, 0
  store <2 x float> %131, ptr %130, align 4
  %132 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %133 = extractvalue { <2 x float>, <2 x float> } %129, 1
  store <2 x float> %133, ptr %132, align 4
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.NvFlexExtParticleData, ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !26
  %137 = load i32, ptr %26, align 4, !tbaa !11
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %class.XVector4, ptr %136, i64 %138
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %139, ptr align 4 %27, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #12
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %140, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8, !tbaa !25
  %143 = load i32, ptr %25, align 4, !tbaa !11
  %144 = mul nsw i32 %143, 4
  %145 = add nsw i32 %144, 3
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds float, ptr %142, i64 %146
  %148 = load float, ptr %147, align 4, !tbaa !9
  %149 = load float, ptr %19, align 4, !tbaa !9
  %150 = fmul float %148, %149
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.NvFlexExtParticleData, ptr %151, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8, !tbaa !26
  %154 = load i32, ptr %26, align 4, !tbaa !11
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds %class.XVector4, ptr %153, i64 %155
  %157 = getelementptr inbounds %class.XVector4, ptr %156, i32 0, i32 3
  store float %150, ptr %157, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #12
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %158, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8, !tbaa !25
  %161 = load i32, ptr %25, align 4, !tbaa !11
  %162 = mul nsw i32 %161, 4
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds float, ptr %160, i64 %163
  call void @_ZN8XVector4IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef %164)
  %165 = load ptr, ptr %12, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.NvFlexExtParticleData, ptr %165, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !31
  %168 = load i32, ptr %26, align 4, !tbaa !11
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds %class.XVector4, ptr %167, i64 %169
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %170, ptr align 4 %30, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #12
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #12
  %171 = load float, ptr %15, align 4, !tbaa !9
  %172 = load float, ptr %16, align 4, !tbaa !9
  %173 = load float, ptr %17, align 4, !tbaa !9
  call void @_ZN8XVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %31, float noundef %171, float noundef %172, float noundef %173)
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.NvFlexExtParticleData, ptr %174, i32 0, i32 2
  %176 = load ptr, ptr %175, align 8, !tbaa !32
  %177 = load i32, ptr %26, align 4, !tbaa !11
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %class.XVector3, ptr %176, i64 %178
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %179, ptr align 4 %31, i64 12, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #12
  %180 = load i32, ptr %18, align 4, !tbaa !11
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.NvFlexExtParticleData, ptr %181, i32 0, i32 3
  %183 = load ptr, ptr %182, align 8, !tbaa !34
  %184 = load i32, ptr %26, align 4, !tbaa !11
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds i32, ptr %183, i64 %185
  store i32 %180, ptr %186, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #12
  call void @_ZN8XVector4IfEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %32, float noundef 0.000000e+00)
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.NvFlexExtParticleData, ptr %187, i32 0, i32 4
  %189 = load ptr, ptr %188, align 8, !tbaa !35
  %190 = load i32, ptr %26, align 4, !tbaa !11
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %class.XVector4, ptr %189, i64 %191
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %192, ptr align 4 %32, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #12
  br label %193

193:                                              ; preds = %114
  %194 = load i32, ptr %25, align 4, !tbaa !11
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %25, align 4, !tbaa !11
  br label %109, !llvm.loop !36

196:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #12
  %197 = load ptr, ptr %13, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %197, i32 0, i32 12
  %199 = load i32, ptr %198, align 8, !tbaa !38
  store i32 %199, ptr %33, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #12
  %200 = load i32, ptr %33, align 4, !tbaa !11
  %201 = sext i32 %200 to i64
  %202 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %201, i64 12)
  %203 = extractvalue { i64, i1 } %202, 1
  %204 = extractvalue { i64, i1 } %202, 0
  %205 = select i1 %203, i64 -1, i64 %204
  %206 = call noalias noundef nonnull ptr @_Znam(i64 noundef %205) #13
  %207 = icmp eq i64 %201, 0
  br i1 %207, label %215, label %208

208:                                              ; preds = %196
  %209 = getelementptr inbounds %class.XVector3, ptr %206, i64 %201
  br label %210

210:                                              ; preds = %212, %208
  %211 = phi ptr [ %206, %208 ], [ %213, %212 ]
  invoke void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %211)
          to label %212 unwind label %240

212:                                              ; preds = %210
  %213 = getelementptr inbounds %class.XVector3, ptr %211, i64 1
  %214 = icmp eq ptr %213, %209
  br i1 %214, label %215, label %210

215:                                              ; preds = %212, %196
  store ptr %206, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #12
  %216 = load i32, ptr %33, align 4, !tbaa !11
  %217 = sext i32 %216 to i64
  %218 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %217, i64 16)
  %219 = extractvalue { i64, i1 } %218, 1
  %220 = extractvalue { i64, i1 } %218, 0
  %221 = select i1 %219, i64 -1, i64 %220
  %222 = call noalias noundef nonnull ptr @_Znam(i64 noundef %221) #13
  %223 = icmp eq i64 %217, 0
  br i1 %223, label %231, label %224

224:                                              ; preds = %215
  %225 = getelementptr inbounds %class.XQuat, ptr %222, i64 %217
  br label %226

226:                                              ; preds = %228, %224
  %227 = phi ptr [ %222, %224 ], [ %229, %228 ]
  invoke void @_ZN5XQuatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %227)
          to label %228 unwind label %244

228:                                              ; preds = %226
  %229 = getelementptr inbounds %class.XQuat, ptr %227, i64 1
  %230 = icmp eq ptr %229, %225
  br i1 %230, label %231, label %226

231:                                              ; preds = %228, %215
  store ptr %222, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #12
  call void @llvm.lifetime.start.p0(i64 36, ptr %39) #12
  %232 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %24, i32 noundef 0)
  %233 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %24, i32 noundef 1)
  %234 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %24, i32 noundef 2)
  call void @_ZN8Matrix33C2ERK8XVector3IfES3_S3_(ptr noundef nonnull align 4 dereferenceable(36) %39, ptr noundef nonnull align 4 dereferenceable(12) %232, ptr noundef nonnull align 4 dereferenceable(12) %233, ptr noundef nonnull align 4 dereferenceable(12) %234)
  call void @_ZN5XQuatIfEC2ERK8Matrix33(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(36) %39)
  call void @llvm.lifetime.end.p0(i64 36, ptr %39) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #12
  store i32 0, ptr %40, align 4, !tbaa !11
  br label %235

235:                                              ; preds = %290, %231
  %236 = load i32, ptr %40, align 4, !tbaa !11
  %237 = load i32, ptr %33, align 4, !tbaa !11
  %238 = icmp slt i32 %236, %237
  br i1 %238, label %248, label %239

239:                                              ; preds = %235
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #12
  br label %293

240:                                              ; preds = %210
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %35, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %36, align 4
  call void @_ZdaPvm(ptr noundef %206, i64 noundef %205) #15
  br label %305

244:                                              ; preds = %226
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %35, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %36, align 4
  call void @_ZdaPvm(ptr noundef %222, i64 noundef %221) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #12
  br label %305

248:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #12
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %249, i32 0, i32 11
  %251 = load ptr, ptr %250, align 8, !tbaa !39
  %252 = load i32, ptr %40, align 4, !tbaa !11
  %253 = mul nsw i32 %252, 3
  %254 = add nsw i32 %253, 0
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds float, ptr %251, i64 %255
  %257 = load float, ptr %256, align 4, !tbaa !9
  %258 = load ptr, ptr %13, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %258, i32 0, i32 11
  %260 = load ptr, ptr %259, align 8, !tbaa !39
  %261 = load i32, ptr %40, align 4, !tbaa !11
  %262 = mul nsw i32 %261, 3
  %263 = add nsw i32 %262, 1
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds float, ptr %260, i64 %264
  %266 = load float, ptr %265, align 4, !tbaa !9
  %267 = load ptr, ptr %13, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.NvFlexExtAsset, ptr %267, i32 0, i32 11
  %269 = load ptr, ptr %268, align 8, !tbaa !39
  %270 = load i32, ptr %40, align 4, !tbaa !11
  %271 = mul nsw i32 %270, 3
  %272 = add nsw i32 %271, 2
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds float, ptr %269, i64 %273
  %275 = load float, ptr %274, align 4, !tbaa !9
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %43, float noundef %257, float noundef %266, float noundef %275, float noundef 1.000000e+00)
  %276 = call { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %24, ptr noundef nonnull align 4 dereferenceable(16) %43)
  %277 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %42, i32 0, i32 0
  %278 = extractvalue { <2 x float>, <2 x float> } %276, 0
  store <2 x float> %278, ptr %277, align 4
  %279 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %42, i32 0, i32 1
  %280 = extractvalue { <2 x float>, <2 x float> } %276, 1
  store <2 x float> %280, ptr %279, align 4
  %281 = call noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16) %42)
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef %281)
  %282 = load ptr, ptr %34, align 8, !tbaa !5
  %283 = load i32, ptr %40, align 4, !tbaa !11
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds %class.XVector3, ptr %282, i64 %284
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %285, ptr align 4 %41, i64 12, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #12
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #12
  %286 = load ptr, ptr %37, align 8, !tbaa !5
  %287 = load i32, ptr %40, align 4, !tbaa !11
  %288 = sext i32 %287 to i64
  %289 = getelementptr inbounds %class.XQuat, ptr %286, i64 %288
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %289, ptr align 4 %38, i64 16, i1 false), !tbaa.struct !28
  br label %290

290:                                              ; preds = %248
  %291 = load i32, ptr %40, align 4, !tbaa !11
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %40, align 4, !tbaa !11
  br label %235, !llvm.loop !40

293:                                              ; preds = %239
  %294 = load ptr, ptr %34, align 8, !tbaa !5
  %295 = load ptr, ptr %22, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %295, i32 0, i32 5
  store ptr %294, ptr %296, align 8, !tbaa !41
  %297 = load ptr, ptr %37, align 8, !tbaa !5
  %298 = load ptr, ptr %22, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.NvFlexExtInstance, ptr %298, i32 0, i32 6
  store ptr %297, ptr %299, align 8, !tbaa !42
  %300 = load ptr, ptr %11, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.NvFlexExtContainer, ptr %300, i32 0, i32 33
  store i8 1, ptr %301, align 8, !tbaa !43
  %302 = load ptr, ptr %11, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.NvFlexExtContainer, ptr %302, i32 0, i32 34
  store i8 1, ptr %303, align 1, !tbaa !63
  %304 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %304, ptr %10, align 8
  store i32 1, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #12
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #12
  br label %306

305:                                              ; preds = %244, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #12
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #12
  br label %308

306:                                              ; preds = %293, %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #12
  %307 = load ptr, ptr %10, align 8
  ret ptr %307

308:                                              ; preds = %305
  %309 = load ptr, ptr %35, align 8
  %310 = load i32, ptr %36, align 4
  %311 = insertvalue { ptr, i32 } poison, ptr %309, 0
  %312 = insertvalue { ptr, i32 } %311, i32 %310, 1
  resume { ptr, i32 } %312
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9XMatrix44IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector4IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #9 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5XQuatIfEC2ERK8Matrix33(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #11 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16)) #3 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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { noreturn 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 #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 #10 = { 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 #11 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #12 = { nounwind }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { noreturn nounwind }
attributes #15 = { 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 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"_ZTS14NvFlexExtAsset", !6, i64 0, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !6, i64 48, !12, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !12, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !12, i64 120, !15, i64 124, !10, i64 128, !10, i64 132, !10, i64 136}
!15 = !{!"bool", !7, i64 0}
!16 = !{!17, !6, i64 40}
!17 = !{!"_ZTS17NvFlexExtInstance", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!18 = !{!17, !12, i64 12}
!19 = !{!17, !12, i64 16}
!20 = !{!17, !12, i64 20}
!21 = !{!17, !6, i64 48}
!22 = !{!17, !12, i64 8}
!23 = !{!14, !12, i64 12}
!24 = !{!17, !6, i64 0}
!25 = !{!14, !6, i64 0}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTS21NvFlexExtParticleData", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!28 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9}
!29 = !{!30, !10, i64 12}
!30 = !{!"_ZTS8XVector4IfE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!31 = !{!27, !6, i64 8}
!32 = !{!27, !6, i64 16}
!33 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!34 = !{!27, !6, i64 24}
!35 = !{!27, !6, i64 32}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!14, !12, i64 88}
!39 = !{!14, !6, i64 80}
!40 = distinct !{!40, !37}
!41 = !{!17, !6, i64 24}
!42 = !{!17, !6, i64 32}
!43 = !{!44, !15, i64 1136}
!44 = !{!"_ZTS18NvFlexExtContainer", !12, i64 0, !6, i64 8, !6, i64 16, !45, i64 24, !47, i64 64, !51, i64 88, !55, i64 112, !59, i64 136, !59, i64 176, !60, i64 216, !45, i64 256, !59, i64 296, !45, i64 336, !45, i64 376, !61, i64 416, !61, i64 456, !61, i64 496, !62, i64 536, !60, i64 576, !60, i64 616, !45, i64 656, !61, i64 696, !61, i64 736, !45, i64 776, !60, i64 816, !45, i64 856, !45, i64 896, !61, i64 936, !61, i64 976, !61, i64 1016, !60, i64 1056, !60, i64 1096, !15, i64 1136, !15, i64 1137}
!45 = !{!"_ZTS12NvFlexVectorIiE", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !46, i64 32}
!46 = !{!"_ZTS16NvFlexBufferType", !7, i64 0}
!47 = !{!"_ZTSSt6vectorIiSaIiEE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTSSt6vectorIP17NvFlexExtInstanceSaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIP17NvFlexExtInstanceSaIS1_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIP17NvFlexExtInstanceSaIS1_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIP17NvFlexExtInstanceSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTSSt6vectorIP18NvFlexExtSoftJointSaIS1_EE", !56, i64 0}
!56 = !{!"_ZTSSt12_Vector_baseIP18NvFlexExtSoftJointSaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIP18NvFlexExtSoftJointSaIS1_EE12_Vector_implE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIP18NvFlexExtSoftJointSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!59 = !{!"_ZTS12NvFlexVectorI8XVector4IfEE", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !46, i64 32}
!60 = !{!"_ZTS12NvFlexVectorI8XVector3IfEE", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !46, i64 32}
!61 = !{!"_ZTS12NvFlexVectorIfE", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !46, i64 32}
!62 = !{!"_ZTS12NvFlexVectorI5XQuatIfEE", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !46, i64 32}
!63 = !{!44, !15, i64 1137}


; 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.XMatrix44 = type { [4 x [4 x float]] }
%class.XVector4 = type { float, float, float, float }
%class.XVector3 = type { float, float, float }
%class.XQuat = type { float, float, float, float }
%struct.Matrix33 = type { [3 x %class.XVector3] }

@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__.NvFlexExtCreateInstance = external hidden unnamed_addr constant [162 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @NvFlexExtAllocParticles(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 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) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local ptr @NvFlexExtCreateInstance(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, float noundef %4, float noundef %5, float noundef %6, i32 noundef %7, float noundef %8) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca %class.XMatrix44, align 4
  %12 = alloca %class.XVector4, align 4
  %13 = alloca %class.XVector3, align 4
  %14 = alloca %class.XVector4, align 4
  %15 = alloca %class.XVector3, align 4
  %16 = alloca %class.XVector4, align 4
  %17 = alloca %class.XQuat, align 4
  %18 = alloca %struct.Matrix33, align 4
  %19 = alloca %class.XVector3, align 4
  %20 = alloca %class.XVector4, align 8
  %21 = alloca %class.XVector4, align 4
  %22 = getelementptr inbounds i8, ptr %2, i64 8
  %23 = load i32, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %0, i64 64
  %25 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #11
  %26 = trunc i64 %25 to i32
  %27 = icmp sgt i32 %23, %26
  br i1 %27, label %135, label %28

28:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %29 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #12
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(56) %29, i8 0, i64 48, i1 false)
  store ptr %29, ptr %10, align 8, !tbaa !13
  %30 = getelementptr inbounds i8, ptr %29, i64 40
  store ptr %2, ptr %30, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %29, i64 12
  store i32 -1, ptr %31, align 4, !tbaa !16
  %32 = getelementptr inbounds i8, ptr %29, i64 16
  store i32 -1, ptr %32, align 8, !tbaa !17
  %33 = getelementptr inbounds i8, ptr %29, i64 20
  store i32 -1, ptr %33, align 4, !tbaa !18
  %34 = getelementptr inbounds i8, ptr %29, i64 48
  store ptr null, ptr %34, align 8, !tbaa !19
  %35 = getelementptr inbounds i8, ptr %29, i64 8
  store i32 %23, ptr %35, align 8, !tbaa !20
  %36 = getelementptr inbounds i8, ptr %2, i64 12
  %37 = load i32, ptr %36, align 4, !tbaa !21
  %.not = icmp sgt i32 %23, %37
  br i1 %.not, label %38, label %39

38:                                               ; preds = %28
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 716, ptr noundef nonnull @__PRETTY_FUNCTION__.NvFlexExtCreateInstance) #13
  unreachable

39:                                               ; preds = %28
  %40 = sext i32 %37 to i64
  %41 = icmp slt i32 %37, 0
  %42 = shl nsw i64 %40, 2
  %43 = select i1 %41, i64 -1, i64 %42
  %44 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %43) #12
  store ptr %44, ptr %29, align 8, !tbaa !22
  %45 = tail call i32 @NvFlexExtAllocParticles(ptr noundef %0, i32 noundef %23, ptr noundef nonnull %44)
  %46 = icmp eq i32 %45, %23
  br i1 %46, label %48, label %47

47:                                               ; preds = %39
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 721, ptr noundef nonnull @__PRETTY_FUNCTION__.NvFlexExtCreateInstance) #13
  unreachable

48:                                               ; preds = %39
  %49 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZNSt6vectorIP17NvFlexExtInstanceSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #11
  call void @_ZN9XMatrix44IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef %3)
  %50 = icmp sgt i32 %23, 0
  br i1 %50, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %48
  %51 = getelementptr inbounds i8, ptr %1, i64 8
  %52 = getelementptr inbounds i8, ptr %1, i64 16
  %53 = getelementptr inbounds i8, ptr %1, i64 24
  %54 = getelementptr inbounds i8, ptr %1, i64 32
  %wide.trip.count = zext nneg i32 %23 to i64
  br label %64

._crit_edge:                                      ; preds = %64, %48
  %55 = getelementptr inbounds i8, ptr %2, i64 88
  %56 = load i32, ptr %55, align 8, !tbaa !23
  %57 = sext i32 %56 to i64
  %58 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %57, i64 12)
  %59 = extractvalue { i64, i1 } %58, 1
  %60 = extractvalue { i64, i1 } %58, 0
  %61 = select i1 %59, i64 -1, i64 %60
  %62 = call noalias noundef nonnull ptr @_Znam(i64 noundef %61) #12
  %63 = icmp eq i32 %56, 0
  br i1 %63, label %.loopexit65, label %94

64:                                               ; preds = %.lr.ph, %64
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %64 ]
  %65 = load ptr, ptr %10, align 8, !tbaa !13
  %66 = load ptr, ptr %65, align 8, !tbaa !22
  %67 = getelementptr inbounds i32, ptr %66, i64 %indvars.iv
  %68 = load i32, ptr %67, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #11
  %69 = load ptr, ptr %2, align 8, !tbaa !25
  %70 = shl nsw i64 %indvars.iv, 2
  %71 = getelementptr inbounds float, ptr %69, i64 %70
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef %71)
  call void @_ZN8XVector4IfEC2ERK8XVector3IfEf(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(12) %13, float noundef 1.000000e+00)
  %72 = call { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(16) %12)
  %73 = extractvalue { <2 x float>, <2 x float> } %72, 0
  %74 = extractvalue { <2 x float>, <2 x float> } %72, 1
  %75 = load ptr, ptr %1, align 8, !tbaa !26
  %76 = sext i32 %68 to i64
  %77 = getelementptr inbounds %class.XVector4, ptr %75, i64 %76
  store <2 x float> %73, ptr %77, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %77, i64 8
  store <2 x float> %74, ptr %.sroa.4.0..sroa_idx, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  %78 = load ptr, ptr %2, align 8, !tbaa !25
  %79 = or disjoint i64 %70, 3
  %80 = getelementptr inbounds float, ptr %78, i64 %79
  %81 = load float, ptr %80, align 4, !tbaa !28
  %82 = fmul float %81, %8
  %83 = load ptr, ptr %1, align 8, !tbaa !26
  %84 = getelementptr inbounds %class.XVector4, ptr %83, i64 %76, i32 3
  store float %82, ptr %84, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #11
  %85 = getelementptr inbounds float, ptr %78, i64 %70
  call void @_ZN8XVector4IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef %85)
  %86 = load ptr, ptr %51, align 8, !tbaa !31
  %87 = getelementptr inbounds %class.XVector4, ptr %86, i64 %76
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %87, ptr noundef nonnull align 4 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #11
  call void @_ZN8XVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %4, float noundef %5, float noundef %6)
  %88 = load ptr, ptr %52, align 8, !tbaa !33
  %89 = getelementptr inbounds %class.XVector3, ptr %88, i64 %76
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %89, ptr noundef nonnull align 4 dereferenceable(12) %15, i64 12, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #11
  %90 = load ptr, ptr %53, align 8, !tbaa !35
  %91 = getelementptr inbounds i32, ptr %90, i64 %76
  store i32 %7, ptr %91, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #11
  call void @_ZN8XVector4IfEC2Ef(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 0.000000e+00)
  %92 = load ptr, ptr %54, align 8, !tbaa !36
  %93 = getelementptr inbounds %class.XVector4, ptr %92, i64 %76
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %93, ptr noundef nonnull align 4 dereferenceable(16) %16, i64 16, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %64, !llvm.loop !37

94:                                               ; preds = %._crit_edge
  %95 = getelementptr inbounds %class.XVector3, ptr %62, i64 %57
  br label %96

96:                                               ; preds = %96, %94
  %97 = phi ptr [ %62, %94 ], [ %98, %96 ]
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %97)
  %98 = getelementptr inbounds i8, ptr %97, i64 12
  %99 = icmp eq ptr %98, %95
  br i1 %99, label %.loopexit65, label %96

.loopexit65:                                      ; preds = %96, %._crit_edge
  %100 = icmp slt i32 %56, 0
  %101 = shl nsw i64 %57, 4
  %102 = select i1 %100, i64 -1, i64 %101
  %103 = call noalias noundef nonnull ptr @_Znam(i64 noundef %102) #12
  br i1 %63, label %.loopexit, label %104

104:                                              ; preds = %.loopexit65
  %105 = getelementptr inbounds %class.XQuat, ptr %103, i64 %57
  br label %106

106:                                              ; preds = %106, %104
  %107 = phi ptr [ %103, %104 ], [ %108, %106 ]
  call void @_ZN5XQuatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %107)
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  %109 = icmp eq ptr %108, %105
  br i1 %109, label %.loopexit, label %106

.loopexit:                                        ; preds = %106, %.loopexit65
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #11
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %18) #11
  %110 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %11, i32 noundef 0)
  %111 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %11, i32 noundef 1)
  %112 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %11, i32 noundef 2)
  call void @_ZN8Matrix33C2ERK8XVector3IfES3_S3_(ptr noundef nonnull align 4 dereferenceable(36) %18, ptr noundef nonnull align 4 dereferenceable(12) %110, ptr noundef nonnull align 4 dereferenceable(12) %111, ptr noundef nonnull align 4 dereferenceable(12) %112)
  call void @_ZN5XQuatIfEC2ERK8Matrix33(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(36) %18)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %18) #11
  %113 = icmp sgt i32 %56, 0
  br i1 %113, label %.lr.ph69, label %._crit_edge70

.lr.ph69:                                         ; preds = %.loopexit
  %114 = getelementptr inbounds i8, ptr %2, i64 80
  %115 = getelementptr inbounds i8, ptr %20, i64 8
  %wide.trip.count75 = zext nneg i32 %56 to i64
  br label %121

._crit_edge70:                                    ; preds = %121, %.loopexit
  %116 = load ptr, ptr %10, align 8, !tbaa !13
  %117 = getelementptr inbounds i8, ptr %116, i64 24
  store ptr %62, ptr %117, align 8, !tbaa !39
  %118 = getelementptr inbounds i8, ptr %116, i64 32
  store ptr %103, ptr %118, align 8, !tbaa !40
  %119 = getelementptr inbounds i8, ptr %0, i64 1136
  store i8 1, ptr %119, align 8, !tbaa !41
  %120 = getelementptr inbounds i8, ptr %0, i64 1137
  store i8 1, ptr %120, align 1, !tbaa !61
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  br label %135

121:                                              ; preds = %.lr.ph69, %121
  %indvars.iv72 = phi i64 [ 0, %.lr.ph69 ], [ %indvars.iv.next73, %121 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #11
  %122 = load ptr, ptr %114, align 8, !tbaa !62
  %.idx = mul i64 %indvars.iv72, 12
  %123 = getelementptr inbounds i8, ptr %122, i64 %.idx
  %124 = load float, ptr %123, align 4, !tbaa !28
  %125 = getelementptr inbounds i8, ptr %123, i64 4
  %126 = load float, ptr %125, align 4, !tbaa !28
  %127 = getelementptr inbounds i8, ptr %123, i64 8
  %128 = load float, ptr %127, align 4, !tbaa !28
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef %124, float noundef %126, float noundef %128, float noundef 1.000000e+00)
  %129 = call { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(16) %21)
  %130 = extractvalue { <2 x float>, <2 x float> } %129, 0
  store <2 x float> %130, ptr %20, align 8
  %131 = extractvalue { <2 x float>, <2 x float> } %129, 1
  store <2 x float> %131, ptr %115, align 8
  %132 = call noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef %132)
  %133 = getelementptr inbounds %class.XVector3, ptr %62, i64 %indvars.iv72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %133, ptr noundef nonnull align 4 dereferenceable(12) %19, i64 12, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #11
  %134 = getelementptr inbounds %class.XQuat, ptr %103, i64 %indvars.iv72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %134, ptr noundef nonnull align 4 dereferenceable(16) %17, i64 16, i1 false), !tbaa.struct !32
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %exitcond76.not = icmp eq i64 %indvars.iv.next73, %wide.trip.count75
  br i1 %exitcond76.not, label %._crit_edge70, label %121, !llvm.loop !63

135:                                              ; preds = %9, %._crit_edge70
  %.060 = phi ptr [ %116, %._crit_edge70 ], [ null, %9 ]
  ret ptr %.060
}

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9XMatrix44IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector4IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #9 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5XQuatIfEC2ERK8Matrix33(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #10 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { noreturn 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 #10 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"_ZTS14NvFlexExtAsset", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !10, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !10, i64 120, !11, i64 124, !12, i64 128, !12, i64 132, !12, i64 136}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 40}
!15 = !{!"_ZTS17NvFlexExtInstance", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!16 = !{!15, !10, i64 12}
!17 = !{!15, !10, i64 16}
!18 = !{!15, !10, i64 20}
!19 = !{!15, !7, i64 48}
!20 = !{!15, !10, i64 8}
!21 = !{!6, !10, i64 12}
!22 = !{!15, !7, i64 0}
!23 = !{!6, !10, i64 88}
!24 = !{!10, !10, i64 0}
!25 = !{!6, !7, i64 0}
!26 = !{!27, !7, i64 0}
!27 = !{!"_ZTS21NvFlexExtParticleData", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!28 = !{!12, !12, i64 0}
!29 = !{!30, !12, i64 12}
!30 = !{!"_ZTS8XVector4IfE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!31 = !{!27, !7, i64 8}
!32 = !{i64 0, i64 4, !28, i64 4, i64 4, !28, i64 8, i64 4, !28, i64 12, i64 4, !28}
!33 = !{!27, !7, i64 16}
!34 = !{i64 0, i64 4, !28, i64 4, i64 4, !28, i64 8, i64 4, !28}
!35 = !{!27, !7, i64 24}
!36 = !{!27, !7, i64 32}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!15, !7, i64 24}
!40 = !{!15, !7, i64 32}
!41 = !{!42, !11, i64 1136}
!42 = !{!"_ZTS18NvFlexExtContainer", !10, i64 0, !7, i64 8, !7, i64 16, !43, i64 24, !45, i64 64, !49, i64 88, !53, i64 112, !57, i64 136, !57, i64 176, !58, i64 216, !43, i64 256, !57, i64 296, !43, i64 336, !43, i64 376, !59, i64 416, !59, i64 456, !59, i64 496, !60, i64 536, !58, i64 576, !58, i64 616, !43, i64 656, !59, i64 696, !59, i64 736, !43, i64 776, !58, i64 816, !43, i64 856, !43, i64 896, !59, i64 936, !59, i64 976, !59, i64 1016, !58, i64 1056, !58, i64 1096, !11, i64 1136, !11, i64 1137}
!43 = !{!"_ZTS12NvFlexVectorIiE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !44, i64 32}
!44 = !{!"_ZTS16NvFlexBufferType", !8, i64 0}
!45 = !{!"_ZTSSt6vectorIiSaIiEE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!49 = !{!"_ZTSSt6vectorIP17NvFlexExtInstanceSaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIP17NvFlexExtInstanceSaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIP17NvFlexExtInstanceSaIS1_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIP17NvFlexExtInstanceSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!53 = !{!"_ZTSSt6vectorIP18NvFlexExtSoftJointSaIS1_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIP18NvFlexExtSoftJointSaIS1_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIP18NvFlexExtSoftJointSaIS1_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIP18NvFlexExtSoftJointSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!57 = !{!"_ZTS12NvFlexVectorI8XVector4IfEE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !44, i64 32}
!58 = !{!"_ZTS12NvFlexVectorI8XVector3IfEE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !44, i64 32}
!59 = !{!"_ZTS12NvFlexVectorIfE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !44, i64 32}
!60 = !{!"_ZTS12NvFlexVectorI5XQuatIfEE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !44, i64 32}
!61 = !{!42, !11, i64 1137}
!62 = !{!6, !7, i64 80}
!63 = distinct !{!63, !38}


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