; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/PostProcessing (ValidateDataStructure)

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

%struct.aiNodeAnim = type { %struct.aiString, i32, ptr, i32, ptr, i32, ptr, i32, i32 }
%struct.aiString = type { i32, [1024 x i8] }
%struct.aiAnimation = type { %struct.aiString, double, double, i32, ptr, i32, ptr, i32, ptr }
%struct.aiVectorKey = type { double, %class.aiVector3t, i32 }
%class.aiVector3t = type { float, float, float }
%struct.aiQuatKey = type <{ double, %class.aiQuaterniont, i32, [4 x i8] }>
%class.aiQuaterniont = type { float, float, float, float }

@.str.94 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ...) #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimationPK10aiNodeAnim(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1, ptr noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca i32, 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
  %13 = load ptr, ptr %4, align 8
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.aiNodeAnim, ptr %14, i32 0, i32 0
  call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK8aiString(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %15)
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.aiNodeAnim, ptr %16, i32 0, i32 1
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %31, label %20

20:                                               ; preds = %3
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.aiNodeAnim, ptr %21, i32 0, i32 6
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = icmp ne ptr %23, null
  br i1 %24, label %31, label %25

25:                                               ; preds = %20
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.aiNodeAnim, ptr %26, i32 0, i32 3
  %28 = load i32, ptr %27, align 8, !tbaa !15
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %31, label %30

30:                                               ; preds = %25
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.94) #3
  unreachable

31:                                               ; preds = %25, %20, %3
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.aiNodeAnim, ptr %32, i32 0, i32 1
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %133

36:                                               ; preds = %31
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.aiNodeAnim, ptr %37, i32 0, i32 2
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = icmp ne ptr %39, null
  br i1 %40, label %45, label %41

41:                                               ; preds = %36
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.aiNodeAnim, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !9
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.95, i32 noundef %44) #3
  unreachable

45:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store double -1.000000e+11, ptr %7, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !19
  br label %46

46:                                               ; preds = %129, %45
  %47 = load i32, ptr %8, align 4, !tbaa !19
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.aiNodeAnim, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = icmp ult i32 %47, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %132

53:                                               ; preds = %46
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.aiAnimation, ptr %54, i32 0, i32 1
  %56 = load double, ptr %55, align 8, !tbaa !20
  %57 = fcmp ogt double %56, 0.000000e+00
  br i1 %57, label %58, label %89

58:                                               ; preds = %53
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.aiNodeAnim, ptr %59, i32 0, i32 2
  %61 = load ptr, ptr %60, align 8, !tbaa !16
  %62 = load i32, ptr %8, align 4, !tbaa !19
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds %struct.aiVectorKey, ptr %61, i64 %63
  %65 = getelementptr inbounds %struct.aiVectorKey, ptr %64, i32 0, i32 0
  %66 = load double, ptr %65, align 8, !tbaa !22
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.aiAnimation, ptr %67, i32 0, i32 1
  %69 = load double, ptr %68, align 8, !tbaa !20
  %70 = fadd double %69, 1.000000e-03
  %71 = fcmp ogt double %66, %70
  br i1 %71, label %72, label %89

72:                                               ; preds = %58
  %73 = load i32, ptr %8, align 4, !tbaa !19
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.aiNodeAnim, ptr %74, i32 0, i32 2
  %76 = load ptr, ptr %75, align 8, !tbaa !16
  %77 = load i32, ptr %8, align 4, !tbaa !19
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds %struct.aiVectorKey, ptr %76, i64 %78
  %80 = getelementptr inbounds %struct.aiVectorKey, ptr %79, i32 0, i32 0
  %81 = load double, ptr %80, align 8, !tbaa !22
  %82 = fptrunc double %81 to float
  %83 = fpext float %82 to double
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.aiAnimation, ptr %84, i32 0, i32 1
  %86 = load double, ptr %85, align 8, !tbaa !20
  %87 = fptrunc double %86 to float
  %88 = fpext float %87 to double
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.96, i32 noundef %73, double noundef %83, double noundef %88) #3
  unreachable

89:                                               ; preds = %58, %53
  %90 = load i32, ptr %8, align 4, !tbaa !19
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %120

92:                                               ; preds = %89
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.aiNodeAnim, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !16
  %96 = load i32, ptr %8, align 4, !tbaa !19
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds %struct.aiVectorKey, ptr %95, i64 %97
  %99 = getelementptr inbounds %struct.aiVectorKey, ptr %98, i32 0, i32 0
  %100 = load double, ptr %99, align 8, !tbaa !22
  %101 = load double, ptr %7, align 8, !tbaa !17
  %102 = fcmp ole double %100, %101
  br i1 %102, label %103, label %120

103:                                              ; preds = %92
  %104 = load i32, ptr %8, align 4, !tbaa !19
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.aiNodeAnim, ptr %105, i32 0, i32 2
  %107 = load ptr, ptr %106, align 8, !tbaa !16
  %108 = load i32, ptr %8, align 4, !tbaa !19
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds %struct.aiVectorKey, ptr %107, i64 %109
  %111 = getelementptr inbounds %struct.aiVectorKey, ptr %110, i32 0, i32 0
  %112 = load double, ptr %111, align 8, !tbaa !22
  %113 = fptrunc double %112 to float
  %114 = fpext float %113 to double
  %115 = load i32, ptr %8, align 4, !tbaa !19
  %116 = sub i32 %115, 1
  %117 = load double, ptr %7, align 8, !tbaa !17
  %118 = fptrunc double %117 to float
  %119 = fpext float %118 to double
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess13ReportWarningEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.97, i32 noundef %104, double noundef %114, i32 noundef %116, double noundef %119)
  br label %120

120:                                              ; preds = %103, %92, %89
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.aiNodeAnim, ptr %121, i32 0, i32 2
  %123 = load ptr, ptr %122, align 8, !tbaa !16
  %124 = load i32, ptr %8, align 4, !tbaa !19
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds %struct.aiVectorKey, ptr %123, i64 %125
  %127 = getelementptr inbounds %struct.aiVectorKey, ptr %126, i32 0, i32 0
  %128 = load double, ptr %127, align 8, !tbaa !22
  store double %128, ptr %7, align 8, !tbaa !17
  br label %129

129:                                              ; preds = %120
  %130 = load i32, ptr %8, align 4, !tbaa !19
  %131 = add i32 %130, 1
  store i32 %131, ptr %8, align 4, !tbaa !19
  br label %46, !llvm.loop !27

132:                                              ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %133

133:                                              ; preds = %132, %31
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.aiNodeAnim, ptr %134, i32 0, i32 3
  %136 = load i32, ptr %135, align 8, !tbaa !15
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %235

138:                                              ; preds = %133
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.aiNodeAnim, ptr %139, i32 0, i32 4
  %141 = load ptr, ptr %140, align 8, !tbaa !29
  %142 = icmp ne ptr %141, null
  br i1 %142, label %147, label %143

143:                                              ; preds = %138
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.aiNodeAnim, ptr %144, i32 0, i32 3
  %146 = load i32, ptr %145, align 8, !tbaa !15
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.98, i32 noundef %146) #3
  unreachable

147:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store double -1.000000e+11, ptr %9, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !19
  br label %148

148:                                              ; preds = %231, %147
  %149 = load i32, ptr %10, align 4, !tbaa !19
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.aiNodeAnim, ptr %150, i32 0, i32 3
  %152 = load i32, ptr %151, align 8, !tbaa !15
  %153 = icmp ult i32 %149, %152
  br i1 %153, label %155, label %154

154:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %234

155:                                              ; preds = %148
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.aiAnimation, ptr %156, i32 0, i32 1
  %158 = load double, ptr %157, align 8, !tbaa !20
  %159 = fcmp ogt double %158, 0.000000e+00
  br i1 %159, label %160, label %191

160:                                              ; preds = %155
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.aiNodeAnim, ptr %161, i32 0, i32 4
  %163 = load ptr, ptr %162, align 8, !tbaa !29
  %164 = load i32, ptr %10, align 4, !tbaa !19
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds %struct.aiQuatKey, ptr %163, i64 %165
  %167 = getelementptr inbounds %struct.aiQuatKey, ptr %166, i32 0, i32 0
  %168 = load double, ptr %167, align 8, !tbaa !30
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.aiAnimation, ptr %169, i32 0, i32 1
  %171 = load double, ptr %170, align 8, !tbaa !20
  %172 = fadd double %171, 1.000000e-03
  %173 = fcmp ogt double %168, %172
  br i1 %173, label %174, label %191

174:                                              ; preds = %160
  %175 = load i32, ptr %10, align 4, !tbaa !19
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.aiNodeAnim, ptr %176, i32 0, i32 4
  %178 = load ptr, ptr %177, align 8, !tbaa !29
  %179 = load i32, ptr %10, align 4, !tbaa !19
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds %struct.aiQuatKey, ptr %178, i64 %180
  %182 = getelementptr inbounds %struct.aiQuatKey, ptr %181, i32 0, i32 0
  %183 = load double, ptr %182, align 8, !tbaa !30
  %184 = fptrunc double %183 to float
  %185 = fpext float %184 to double
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.aiAnimation, ptr %186, i32 0, i32 1
  %188 = load double, ptr %187, align 8, !tbaa !20
  %189 = fptrunc double %188 to float
  %190 = fpext float %189 to double
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.99, i32 noundef %175, double noundef %185, double noundef %190) #3
  unreachable

191:                                              ; preds = %160, %155
  %192 = load i32, ptr %10, align 4, !tbaa !19
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %222

194:                                              ; preds = %191
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.aiNodeAnim, ptr %195, i32 0, i32 4
  %197 = load ptr, ptr %196, align 8, !tbaa !29
  %198 = load i32, ptr %10, align 4, !tbaa !19
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds %struct.aiQuatKey, ptr %197, i64 %199
  %201 = getelementptr inbounds %struct.aiQuatKey, ptr %200, i32 0, i32 0
  %202 = load double, ptr %201, align 8, !tbaa !30
  %203 = load double, ptr %9, align 8, !tbaa !17
  %204 = fcmp ole double %202, %203
  br i1 %204, label %205, label %222

205:                                              ; preds = %194
  %206 = load i32, ptr %10, align 4, !tbaa !19
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.aiNodeAnim, ptr %207, i32 0, i32 4
  %209 = load ptr, ptr %208, align 8, !tbaa !29
  %210 = load i32, ptr %10, align 4, !tbaa !19
  %211 = zext i32 %210 to i64
  %212 = getelementptr inbounds %struct.aiQuatKey, ptr %209, i64 %211
  %213 = getelementptr inbounds %struct.aiQuatKey, ptr %212, i32 0, i32 0
  %214 = load double, ptr %213, align 8, !tbaa !30
  %215 = fptrunc double %214 to float
  %216 = fpext float %215 to double
  %217 = load i32, ptr %10, align 4, !tbaa !19
  %218 = sub i32 %217, 1
  %219 = load double, ptr %9, align 8, !tbaa !17
  %220 = fptrunc double %219 to float
  %221 = fpext float %220 to double
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess13ReportWarningEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.100, i32 noundef %206, double noundef %216, i32 noundef %218, double noundef %221)
  br label %222

222:                                              ; preds = %205, %194, %191
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.aiNodeAnim, ptr %223, i32 0, i32 4
  %225 = load ptr, ptr %224, align 8, !tbaa !29
  %226 = load i32, ptr %10, align 4, !tbaa !19
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds %struct.aiQuatKey, ptr %225, i64 %227
  %229 = getelementptr inbounds %struct.aiQuatKey, ptr %228, i32 0, i32 0
  %230 = load double, ptr %229, align 8, !tbaa !30
  store double %230, ptr %9, align 8, !tbaa !17
  br label %231

231:                                              ; preds = %222
  %232 = load i32, ptr %10, align 4, !tbaa !19
  %233 = add i32 %232, 1
  store i32 %233, ptr %10, align 4, !tbaa !19
  br label %148, !llvm.loop !33

234:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %235

235:                                              ; preds = %234, %133
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.aiNodeAnim, ptr %236, i32 0, i32 5
  %238 = load i32, ptr %237, align 8, !tbaa !34
  %239 = icmp ne i32 %238, 0
  br i1 %239, label %240, label %337

240:                                              ; preds = %235
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.aiNodeAnim, ptr %241, i32 0, i32 6
  %243 = load ptr, ptr %242, align 8, !tbaa !14
  %244 = icmp ne ptr %243, null
  br i1 %244, label %249, label %245

245:                                              ; preds = %240
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.aiNodeAnim, ptr %246, i32 0, i32 5
  %248 = load i32, ptr %247, align 8, !tbaa !34
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.101, i32 noundef %248) #3
  unreachable

249:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store double -1.000000e+11, ptr %11, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !19
  br label %250

250:                                              ; preds = %333, %249
  %251 = load i32, ptr %12, align 4, !tbaa !19
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.aiNodeAnim, ptr %252, i32 0, i32 5
  %254 = load i32, ptr %253, align 8, !tbaa !34
  %255 = icmp ult i32 %251, %254
  br i1 %255, label %257, label %256

256:                                              ; preds = %250
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %336

257:                                              ; preds = %250
  %258 = load ptr, ptr %5, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.aiAnimation, ptr %258, i32 0, i32 1
  %260 = load double, ptr %259, align 8, !tbaa !20
  %261 = fcmp ogt double %260, 0.000000e+00
  br i1 %261, label %262, label %293

262:                                              ; preds = %257
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.aiNodeAnim, ptr %263, i32 0, i32 6
  %265 = load ptr, ptr %264, align 8, !tbaa !14
  %266 = load i32, ptr %12, align 4, !tbaa !19
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds %struct.aiVectorKey, ptr %265, i64 %267
  %269 = getelementptr inbounds %struct.aiVectorKey, ptr %268, i32 0, i32 0
  %270 = load double, ptr %269, align 8, !tbaa !22
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.aiAnimation, ptr %271, i32 0, i32 1
  %273 = load double, ptr %272, align 8, !tbaa !20
  %274 = fadd double %273, 1.000000e-03
  %275 = fcmp ogt double %270, %274
  br i1 %275, label %276, label %293

276:                                              ; preds = %262
  %277 = load i32, ptr %12, align 4, !tbaa !19
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.aiNodeAnim, ptr %278, i32 0, i32 6
  %280 = load ptr, ptr %279, align 8, !tbaa !14
  %281 = load i32, ptr %12, align 4, !tbaa !19
  %282 = zext i32 %281 to i64
  %283 = getelementptr inbounds %struct.aiVectorKey, ptr %280, i64 %282
  %284 = getelementptr inbounds %struct.aiVectorKey, ptr %283, i32 0, i32 0
  %285 = load double, ptr %284, align 8, !tbaa !22
  %286 = fptrunc double %285 to float
  %287 = fpext float %286 to double
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.aiAnimation, ptr %288, i32 0, i32 1
  %290 = load double, ptr %289, align 8, !tbaa !20
  %291 = fptrunc double %290 to float
  %292 = fpext float %291 to double
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.102, i32 noundef %277, double noundef %287, double noundef %292) #3
  unreachable

293:                                              ; preds = %262, %257
  %294 = load i32, ptr %12, align 4, !tbaa !19
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %324

296:                                              ; preds = %293
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.aiNodeAnim, ptr %297, i32 0, i32 6
  %299 = load ptr, ptr %298, align 8, !tbaa !14
  %300 = load i32, ptr %12, align 4, !tbaa !19
  %301 = zext i32 %300 to i64
  %302 = getelementptr inbounds %struct.aiVectorKey, ptr %299, i64 %301
  %303 = getelementptr inbounds %struct.aiVectorKey, ptr %302, i32 0, i32 0
  %304 = load double, ptr %303, align 8, !tbaa !22
  %305 = load double, ptr %11, align 8, !tbaa !17
  %306 = fcmp ole double %304, %305
  br i1 %306, label %307, label %324

307:                                              ; preds = %296
  %308 = load i32, ptr %12, align 4, !tbaa !19
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.aiNodeAnim, ptr %309, i32 0, i32 6
  %311 = load ptr, ptr %310, align 8, !tbaa !14
  %312 = load i32, ptr %12, align 4, !tbaa !19
  %313 = zext i32 %312 to i64
  %314 = getelementptr inbounds %struct.aiVectorKey, ptr %311, i64 %313
  %315 = getelementptr inbounds %struct.aiVectorKey, ptr %314, i32 0, i32 0
  %316 = load double, ptr %315, align 8, !tbaa !22
  %317 = fptrunc double %316 to float
  %318 = fpext float %317 to double
  %319 = load i32, ptr %12, align 4, !tbaa !19
  %320 = sub i32 %319, 1
  %321 = load double, ptr %11, align 8, !tbaa !17
  %322 = fptrunc double %321 to float
  %323 = fpext float %322 to double
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess13ReportWarningEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.103, i32 noundef %308, double noundef %318, i32 noundef %320, double noundef %323)
  br label %324

324:                                              ; preds = %307, %296, %293
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.aiNodeAnim, ptr %325, i32 0, i32 6
  %327 = load ptr, ptr %326, align 8, !tbaa !14
  %328 = load i32, ptr %12, align 4, !tbaa !19
  %329 = zext i32 %328 to i64
  %330 = getelementptr inbounds %struct.aiVectorKey, ptr %327, i64 %329
  %331 = getelementptr inbounds %struct.aiVectorKey, ptr %330, i32 0, i32 0
  %332 = load double, ptr %331, align 8, !tbaa !22
  store double %332, ptr %11, align 8, !tbaa !17
  br label %333

333:                                              ; preds = %324
  %334 = load i32, ptr %12, align 4, !tbaa !19
  %335 = add i32 %334, 1
  store i32 %335, ptr %12, align 4, !tbaa !19
  br label %250, !llvm.loop !35

336:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %337

337:                                              ; preds = %336, %235
  %338 = load ptr, ptr %6, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.aiNodeAnim, ptr %338, i32 0, i32 5
  %340 = load i32, ptr %339, align 8, !tbaa !34
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %353, label %342

342:                                              ; preds = %337
  %343 = load ptr, ptr %6, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.aiNodeAnim, ptr %343, i32 0, i32 3
  %345 = load i32, ptr %344, align 8, !tbaa !15
  %346 = icmp ne i32 %345, 0
  br i1 %346, label %353, label %347

347:                                              ; preds = %342
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.aiNodeAnim, ptr %348, i32 0, i32 1
  %350 = load i32, ptr %349, align 4, !tbaa !9
  %351 = icmp ne i32 %350, 0
  br i1 %351, label %353, label %352

352:                                              ; preds = %347
  call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.104) #3
  unreachable

353:                                              ; preds = %347, %342, %337
  ret void
}

attributes #0 = { mustprogress noreturn uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn }
attributes #4 = { 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, !12, i64 1028}
!10 = !{!"_ZTS10aiNodeAnim", !11, i64 0, !12, i64 1028, !6, i64 1032, !12, i64 1040, !6, i64 1048, !12, i64 1056, !6, i64 1064, !13, i64 1072, !13, i64 1076}
!11 = !{!"_ZTS8aiString", !12, i64 0, !7, i64 4}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS15aiAnimBehaviour", !7, i64 0}
!14 = !{!10, !6, i64 1064}
!15 = !{!10, !12, i64 1040}
!16 = !{!10, !6, i64 1032}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!21, !18, i64 1032}
!21 = !{!"_ZTS11aiAnimation", !11, i64 0, !18, i64 1032, !18, i64 1040, !12, i64 1048, !6, i64 1056, !12, i64 1064, !6, i64 1072, !12, i64 1080, !6, i64 1088}
!22 = !{!23, !18, i64 0}
!23 = !{!"_ZTS11aiVectorKey", !18, i64 0, !24, i64 8, !26, i64 20}
!24 = !{!"_ZTS10aiVector3tIfE", !25, i64 0, !25, i64 4, !25, i64 8}
!25 = !{!"float", !7, i64 0}
!26 = !{!"_ZTS19aiAnimInterpolation", !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!10, !6, i64 1048}
!30 = !{!31, !18, i64 0}
!31 = !{!"_ZTS9aiQuatKey", !18, i64 0, !32, i64 8, !26, i64 24}
!32 = !{!"_ZTS13aiQuaterniontIfE", !25, i64 0, !25, i64 4, !25, i64 8, !25, i64 12}
!33 = distinct !{!33, !28}
!34 = !{!10, !12, i64 1056}
!35 = distinct !{!35, !28}


; 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.aiVectorKey = type { double, %class.aiVector3t, i32 }
%class.aiVector3t = type { float, float, float }
%struct.aiQuatKey = type <{ double, %class.aiQuaterniont, i32, [4 x i8] }>
%class.aiQuaterniont = type { float, float, float, float }

@.str.94 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [57 x i8], align 1

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ...) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp17ValidateDSProcess8ValidateEPK11aiAnimationPK10aiNodeAnim(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #1 align 2 {
  tail call void @_ZN6Assimp17ValidateDSProcess8ValidateEPK8aiString(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %2)
  %4 = getelementptr inbounds i8, ptr %2, i64 1028
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %13

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %2, i64 1064
  %8 = load ptr, ptr %7, align 8, !tbaa !13
  %.not99 = icmp eq ptr %8, null
  br i1 %.not99, label %9, label %.thread

9:                                                ; preds = %6
  %10 = getelementptr inbounds i8, ptr %2, i64 1040
  %11 = load i32, ptr %10, align 8, !tbaa !14
  %.not100 = icmp eq i32 %11, 0
  br i1 %.not100, label %12, label %.thread

12:                                               ; preds = %9
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.94) #2
  unreachable

13:                                               ; preds = %3
  %14 = getelementptr inbounds i8, ptr %2, i64 1032
  %15 = load ptr, ptr %14, align 8, !tbaa !15
  %.not102 = icmp eq ptr %15, null
  br i1 %.not102, label %25, label %.lr.ph

.lr.ph:                                           ; preds = %13
  %16 = getelementptr inbounds i8, ptr %1, i64 1032
  %17 = load double, ptr %16, align 8, !tbaa !16
  %18 = fcmp ogt double %17, 0.000000e+00
  br i1 %18, label %19, label %23

19:                                               ; preds = %.lr.ph
  %20 = load double, ptr %15, align 8, !tbaa !19
  %21 = fadd double %17, 1.000000e-03
  %22 = fcmp ogt double %20, %21
  br i1 %22, label %37, label %23

23:                                               ; preds = %.lr.ph, %19
  %.not185 = icmp eq i32 %5, 1
  br i1 %.not185, label %.thread, label %.peel.next

.peel.next:                                       ; preds = %23
  %24 = load double, ptr %15, align 8, !tbaa !19
  br label %26

25:                                               ; preds = %13
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.95, i32 noundef %5) #2
  unreachable

26:                                               ; preds = %.peel.next, %53
  %27 = phi i32 [ %5, %.peel.next ], [ %55, %53 ]
  %28 = phi ptr [ %15, %.peel.next ], [ %56, %53 ]
  %indvars.iv = phi i64 [ 1, %.peel.next ], [ %indvars.iv.next, %53 ]
  %.086127 = phi double [ %24, %.peel.next ], [ %54, %53 ]
  %29 = load double, ptr %16, align 8, !tbaa !16
  %30 = fcmp ogt double %29, 0.000000e+00
  br i1 %30, label %31, label %42

31:                                               ; preds = %26
  %32 = getelementptr inbounds %struct.aiVectorKey, ptr %28, i64 %indvars.iv
  %33 = load double, ptr %32, align 8, !tbaa !19
  %34 = fadd double %29, 1.000000e-03
  %35 = fcmp ogt double %33, %34
  br i1 %35, label %.loopexit153, label %42

.loopexit153:                                     ; preds = %31
  %36 = trunc nuw i64 %indvars.iv to i32
  br label %37

37:                                               ; preds = %.loopexit153, %19
  %.085128.lcssa.wide = phi i32 [ 0, %19 ], [ %36, %.loopexit153 ]
  %.lcssa148 = phi double [ %17, %19 ], [ %29, %.loopexit153 ]
  %.lcssa147 = phi double [ %20, %19 ], [ %33, %.loopexit153 ]
  %38 = fptrunc double %.lcssa147 to float
  %39 = fpext float %38 to double
  %40 = fptrunc double %.lcssa148 to float
  %41 = fpext float %40 to double
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.96, i32 noundef %.085128.lcssa.wide, double noundef %39, double noundef %41) #2
  unreachable

42:                                               ; preds = %26, %31
  %43 = getelementptr inbounds %struct.aiVectorKey, ptr %28, i64 %indvars.iv
  %44 = load double, ptr %43, align 8, !tbaa !19
  %45 = fcmp ugt double %44, %.086127
  br i1 %45, label %53, label %46

46:                                               ; preds = %42
  %47 = fptrunc double %44 to float
  %48 = fpext float %47 to double
  %49 = trunc nuw i64 %indvars.iv to i32
  %50 = add i32 %49, -1
  %51 = fptrunc double %.086127 to float
  %52 = fpext float %51 to double
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess13ReportWarningEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.97, i32 noundef %49, double noundef %48, i32 noundef %50, double noundef %52)
  %.pre = load ptr, ptr %14, align 8, !tbaa !15
  %.pre170 = load i32, ptr %4, align 4, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds %struct.aiVectorKey, ptr %.pre, i64 %indvars.iv
  %.pre180 = load double, ptr %.phi.trans.insert, align 8, !tbaa !19
  br label %53

53:                                               ; preds = %46, %42
  %54 = phi double [ %.pre180, %46 ], [ %44, %42 ]
  %55 = phi i32 [ %.pre170, %46 ], [ %27, %42 ]
  %56 = phi ptr [ %.pre, %46 ], [ %28, %42 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %57 = zext i32 %55 to i64
  %58 = icmp ult i64 %indvars.iv.next, %57
  br i1 %58, label %26, label %.thread, !llvm.loop !24

.thread:                                          ; preds = %53, %23, %6, %9
  %59 = getelementptr inbounds i8, ptr %2, i64 1040
  %60 = load i32, ptr %59, align 8, !tbaa !14
  %.not103 = icmp eq i32 %60, 0
  br i1 %.not103, label %.loopexit, label %61

61:                                               ; preds = %.thread
  %62 = getelementptr inbounds i8, ptr %2, i64 1048
  %63 = load ptr, ptr %62, align 8, !tbaa !27
  %.not104 = icmp eq ptr %63, null
  br i1 %.not104, label %73, label %.lr.ph131

.lr.ph131:                                        ; preds = %61
  %64 = getelementptr inbounds i8, ptr %1, i64 1032
  %65 = load double, ptr %64, align 8, !tbaa !16
  %66 = fcmp ogt double %65, 0.000000e+00
  br i1 %66, label %67, label %71

67:                                               ; preds = %.lr.ph131
  %68 = load double, ptr %63, align 8, !tbaa !28
  %69 = fadd double %65, 1.000000e-03
  %70 = fcmp ogt double %68, %69
  br i1 %70, label %85, label %71

71:                                               ; preds = %.lr.ph131, %67
  %.not186 = icmp eq i32 %60, 1
  br i1 %.not186, label %.loopexit, label %.peel.next158

.peel.next158:                                    ; preds = %71
  %72 = load double, ptr %63, align 8, !tbaa !28
  br label %74

73:                                               ; preds = %61
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.98, i32 noundef %60) #2
  unreachable

74:                                               ; preds = %.peel.next158, %101
  %75 = phi i32 [ %60, %.peel.next158 ], [ %103, %101 ]
  %76 = phi ptr [ %63, %.peel.next158 ], [ %104, %101 ]
  %indvars.iv154 = phi i64 [ 1, %.peel.next158 ], [ %indvars.iv.next155, %101 ]
  %.084129 = phi double [ %72, %.peel.next158 ], [ %102, %101 ]
  %77 = load double, ptr %64, align 8, !tbaa !16
  %78 = fcmp ogt double %77, 0.000000e+00
  br i1 %78, label %79, label %90

79:                                               ; preds = %74
  %80 = getelementptr inbounds %struct.aiQuatKey, ptr %76, i64 %indvars.iv154
  %81 = load double, ptr %80, align 8, !tbaa !28
  %82 = fadd double %77, 1.000000e-03
  %83 = fcmp ogt double %81, %82
  br i1 %83, label %.loopexit160, label %90

.loopexit160:                                     ; preds = %79
  %84 = trunc nuw i64 %indvars.iv154 to i32
  br label %85

85:                                               ; preds = %.loopexit160, %67
  %.083130.lcssa.wide = phi i32 [ 0, %67 ], [ %84, %.loopexit160 ]
  %.lcssa144 = phi double [ %65, %67 ], [ %77, %.loopexit160 ]
  %.lcssa143 = phi double [ %68, %67 ], [ %81, %.loopexit160 ]
  %86 = fptrunc double %.lcssa143 to float
  %87 = fpext float %86 to double
  %88 = fptrunc double %.lcssa144 to float
  %89 = fpext float %88 to double
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.99, i32 noundef %.083130.lcssa.wide, double noundef %87, double noundef %89) #2
  unreachable

90:                                               ; preds = %74, %79
  %91 = getelementptr inbounds %struct.aiQuatKey, ptr %76, i64 %indvars.iv154
  %92 = load double, ptr %91, align 8, !tbaa !28
  %93 = fcmp ugt double %92, %.084129
  br i1 %93, label %101, label %94

94:                                               ; preds = %90
  %95 = fptrunc double %92 to float
  %96 = fpext float %95 to double
  %97 = trunc nuw i64 %indvars.iv154 to i32
  %98 = add i32 %97, -1
  %99 = fptrunc double %.084129 to float
  %100 = fpext float %99 to double
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess13ReportWarningEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.100, i32 noundef %97, double noundef %96, i32 noundef %98, double noundef %100)
  %.pre173 = load ptr, ptr %62, align 8, !tbaa !27
  %.pre174 = load i32, ptr %59, align 8, !tbaa !14
  %.phi.trans.insert181 = getelementptr inbounds %struct.aiQuatKey, ptr %.pre173, i64 %indvars.iv154
  %.pre182 = load double, ptr %.phi.trans.insert181, align 8, !tbaa !28
  br label %101

101:                                              ; preds = %94, %90
  %102 = phi double [ %.pre182, %94 ], [ %92, %90 ]
  %103 = phi i32 [ %.pre174, %94 ], [ %75, %90 ]
  %104 = phi ptr [ %.pre173, %94 ], [ %76, %90 ]
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %105 = zext i32 %103 to i64
  %106 = icmp ult i64 %indvars.iv.next155, %105
  br i1 %106, label %74, label %.loopexit, !llvm.loop !31

.loopexit:                                        ; preds = %101, %71, %.thread
  %107 = phi i32 [ 0, %.thread ], [ 1, %71 ], [ %103, %101 ]
  %108 = getelementptr inbounds i8, ptr %2, i64 1056
  %109 = load i32, ptr %108, align 8, !tbaa !32
  %.not105 = icmp eq i32 %109, 0
  br i1 %.not105, label %.thread113, label %110

110:                                              ; preds = %.loopexit
  %111 = getelementptr inbounds i8, ptr %2, i64 1064
  %112 = load ptr, ptr %111, align 8, !tbaa !13
  %.not106 = icmp eq ptr %112, null
  br i1 %.not106, label %122, label %.lr.ph134

.lr.ph134:                                        ; preds = %110
  %113 = getelementptr inbounds i8, ptr %1, i64 1032
  %114 = load double, ptr %113, align 8, !tbaa !16
  %115 = fcmp ogt double %114, 0.000000e+00
  br i1 %115, label %116, label %120

116:                                              ; preds = %.lr.ph134
  %117 = load double, ptr %112, align 8, !tbaa !19
  %118 = fadd double %114, 1.000000e-03
  %119 = fcmp ogt double %117, %118
  br i1 %119, label %134, label %120

120:                                              ; preds = %.lr.ph134, %116
  %.not187 = icmp eq i32 %109, 1
  br i1 %.not187, label %._crit_edge.thread, label %.peel.next165

.peel.next165:                                    ; preds = %120
  %121 = load double, ptr %112, align 8, !tbaa !19
  br label %123

122:                                              ; preds = %110
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.101, i32 noundef %109) #2
  unreachable

123:                                              ; preds = %.peel.next165, %150
  %124 = phi i32 [ %109, %.peel.next165 ], [ %152, %150 ]
  %125 = phi ptr [ %112, %.peel.next165 ], [ %153, %150 ]
  %indvars.iv161 = phi i64 [ 1, %.peel.next165 ], [ %indvars.iv.next162, %150 ]
  %.082132 = phi double [ %121, %.peel.next165 ], [ %151, %150 ]
  %126 = load double, ptr %113, align 8, !tbaa !16
  %127 = fcmp ogt double %126, 0.000000e+00
  br i1 %127, label %128, label %139

128:                                              ; preds = %123
  %129 = getelementptr inbounds %struct.aiVectorKey, ptr %125, i64 %indvars.iv161
  %130 = load double, ptr %129, align 8, !tbaa !19
  %131 = fadd double %126, 1.000000e-03
  %132 = fcmp ogt double %130, %131
  br i1 %132, label %.loopexit167, label %139

.loopexit167:                                     ; preds = %128
  %133 = trunc nuw i64 %indvars.iv161 to i32
  br label %134

134:                                              ; preds = %.loopexit167, %116
  %.0133.lcssa.wide = phi i32 [ 0, %116 ], [ %133, %.loopexit167 ]
  %.lcssa139 = phi double [ %114, %116 ], [ %126, %.loopexit167 ]
  %.lcssa138 = phi double [ %117, %116 ], [ %130, %.loopexit167 ]
  %135 = fptrunc double %.lcssa138 to float
  %136 = fpext float %135 to double
  %137 = fptrunc double %.lcssa139 to float
  %138 = fpext float %137 to double
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.102, i32 noundef %.0133.lcssa.wide, double noundef %136, double noundef %138) #2
  unreachable

139:                                              ; preds = %123, %128
  %140 = getelementptr inbounds %struct.aiVectorKey, ptr %125, i64 %indvars.iv161
  %141 = load double, ptr %140, align 8, !tbaa !19
  %142 = fcmp ugt double %141, %.082132
  br i1 %142, label %150, label %143

143:                                              ; preds = %139
  %144 = fptrunc double %141 to float
  %145 = fpext float %144 to double
  %146 = trunc nuw i64 %indvars.iv161 to i32
  %147 = add i32 %146, -1
  %148 = fptrunc double %.082132 to float
  %149 = fpext float %148 to double
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess13ReportWarningEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.103, i32 noundef %146, double noundef %145, i32 noundef %147, double noundef %149)
  %.pre177 = load ptr, ptr %111, align 8, !tbaa !13
  %.pre178 = load i32, ptr %108, align 8, !tbaa !32
  %.phi.trans.insert183 = getelementptr inbounds %struct.aiVectorKey, ptr %.pre177, i64 %indvars.iv161
  %.pre184 = load double, ptr %.phi.trans.insert183, align 8, !tbaa !19
  br label %150

150:                                              ; preds = %143, %139
  %151 = phi double [ %.pre184, %143 ], [ %141, %139 ]
  %152 = phi i32 [ %.pre178, %143 ], [ %124, %139 ]
  %153 = phi ptr [ %.pre177, %143 ], [ %125, %139 ]
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %154 = zext i32 %152 to i64
  %155 = icmp ult i64 %indvars.iv.next162, %154
  br i1 %155, label %123, label %._crit_edge, !llvm.loop !33

._crit_edge:                                      ; preds = %150
  %156 = icmp eq i32 %152, 0
  br i1 %156, label %._crit_edge..thread113_crit_edge, label %._crit_edge.thread

._crit_edge..thread113_crit_edge:                 ; preds = %._crit_edge
  %.pre179 = load i32, ptr %59, align 8, !tbaa !14
  br label %.thread113

.thread113:                                       ; preds = %._crit_edge..thread113_crit_edge, %.loopexit
  %157 = phi i32 [ %.pre179, %._crit_edge..thread113_crit_edge ], [ %107, %.loopexit ]
  %.not108 = icmp eq i32 %157, 0
  br i1 %.not108, label %158, label %._crit_edge.thread

158:                                              ; preds = %.thread113
  %159 = load i32, ptr %4, align 4, !tbaa !5
  %.not109 = icmp eq i32 %159, 0
  br i1 %.not109, label %160, label %._crit_edge.thread

160:                                              ; preds = %158
  tail call void (ptr, ptr, ...) @_ZN6Assimp17ValidateDSProcess11ReportErrorEPKcz(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.104) #2
  unreachable

._crit_edge.thread:                               ; preds = %120, %158, %.thread113, %._crit_edge
  ret void
}

attributes #0 = { mustprogress noreturn uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }

!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, !8, i64 1028}
!6 = !{!"_ZTS10aiNodeAnim", !7, i64 0, !8, i64 1028, !11, i64 1032, !8, i64 1040, !11, i64 1048, !8, i64 1056, !11, i64 1064, !12, i64 1072, !12, i64 1076}
!7 = !{!"_ZTS8aiString", !8, i64 0, !9, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS15aiAnimBehaviour", !9, i64 0}
!13 = !{!6, !11, i64 1064}
!14 = !{!6, !8, i64 1040}
!15 = !{!6, !11, i64 1032}
!16 = !{!17, !18, i64 1032}
!17 = !{!"_ZTS11aiAnimation", !7, i64 0, !18, i64 1032, !18, i64 1040, !8, i64 1048, !11, i64 1056, !8, i64 1064, !11, i64 1072, !8, i64 1080, !11, i64 1088}
!18 = !{!"double", !9, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"_ZTS11aiVectorKey", !18, i64 0, !21, i64 8, !23, i64 20}
!21 = !{!"_ZTS10aiVector3tIfE", !22, i64 0, !22, i64 4, !22, i64 8}
!22 = !{!"float", !9, i64 0}
!23 = !{!"_ZTS19aiAnimInterpolation", !9, i64 0}
!24 = distinct !{!24, !25, !26}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!"llvm.loop.peeled.count", i32 1}
!27 = !{!6, !11, i64 1048}
!28 = !{!29, !18, i64 0}
!29 = !{!"_ZTS9aiQuatKey", !18, i64 0, !30, i64 8, !23, i64 24}
!30 = !{!"_ZTS13aiQuaterniontIfE", !22, i64 0, !22, i64 4, !22, i64 8, !22, i64 12}
!31 = distinct !{!31, !25, !26}
!32 = !{!6, !8, i64 1056}
!33 = distinct !{!33, !25, !26}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass