; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/Common/TargetAnimation.ll (ZN6Assimp11KeyIteratorppEv)

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

%class.aiVector3t = type { float, float, float }
%"class.Assimp::KeyIterator" = type { i8, %class.aiVector3t, %class.aiVector3t, double, ptr, ptr, i32, i32, %"class.std::vector", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<aiVectorKey, std::allocator<aiVectorKey>>::_Vector_impl" }
%"struct.std::_Vector_base<aiVectorKey, std::allocator<aiVectorKey>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiVectorKey, std::allocator<aiVectorKey>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiVectorKey, std::allocator<aiVectorKey>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.aiVectorKey = type { double, %class.aiVector3t, i32 }

; 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) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp11KeyIteratorppEv(ptr noundef nonnull align 8 dereferenceable(112) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.aiVector3t, align 4
  %10 = alloca { <2 x float>, float }, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.aiVector3t, align 4
  %14 = alloca { <2 x float>, float }, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  %16 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 0
  %17 = load i8, ptr %16, align 8, !tbaa !9, !range !20, !noundef !21
  %18 = trunc i8 %17 to i1
  br i1 %18, label %19, label %20

19:                                               ; preds = %1
  br label %255

20:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %21 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %22 = load ptr, ptr %21, align 8, !tbaa !22
  %23 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %24 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %25 = load ptr, ptr %24, align 8, !tbaa !22
  %26 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  %27 = sub i64 %26, 1
  %28 = trunc i64 %27 to i32
  store i32 %28, ptr %5, align 4, !tbaa !23
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %30 = load i32, ptr %29, align 4, !tbaa !23
  %31 = zext i32 %30 to i64
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %31)
  %33 = getelementptr inbounds %struct.aiVectorKey, ptr %32, i32 0, i32 0
  %34 = load double, ptr %33, align 8, !tbaa !24
  store double %34, ptr %3, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  %35 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %36 = load ptr, ptr %35, align 8, !tbaa !28
  %37 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %38 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %39 = load ptr, ptr %38, align 8, !tbaa !28
  %40 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  %41 = sub i64 %40, 1
  %42 = trunc i64 %41 to i32
  store i32 %42, ptr %6, align 4, !tbaa !23
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %44 = load i32, ptr %43, align 4, !tbaa !23
  %45 = zext i32 %44 to i64
  %46 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %45)
  %47 = getelementptr inbounds %struct.aiVectorKey, ptr %46, i32 0, i32 0
  %48 = load double, ptr %47, align 8, !tbaa !24
  store double %48, ptr %4, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %49 = load double, ptr %3, align 8, !tbaa !27
  %50 = load double, ptr %4, align 8, !tbaa !27
  %51 = fcmp oeq double %49, %50
  br i1 %51, label %52, label %97

52:                                               ; preds = %20
  %53 = load double, ptr %3, align 8, !tbaa !27
  %54 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 3
  store double %53, ptr %54, align 8, !tbaa !29
  %55 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %56 = load ptr, ptr %55, align 8, !tbaa !22
  %57 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %58 = load i32, ptr %57, align 8, !tbaa !30
  %59 = zext i32 %58 to i64
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %59)
  %61 = getelementptr inbounds %struct.aiVectorKey, ptr %60, i32 0, i32 1
  %62 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 8 %61, i64 12, i1 false), !tbaa.struct !31
  %63 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %64 = load ptr, ptr %63, align 8, !tbaa !28
  %65 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %66 = load i32, ptr %65, align 4, !tbaa !33
  %67 = zext i32 %66 to i64
  %68 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %67)
  %69 = getelementptr inbounds %struct.aiVectorKey, ptr %68, i32 0, i32 1
  %70 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %70, ptr align 8 %69, i64 12, i1 false), !tbaa.struct !31
  %71 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %72 = load ptr, ptr %71, align 8, !tbaa !22
  %73 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #7
  %74 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %75 = load i32, ptr %74, align 8, !tbaa !30
  %76 = sub i32 %75, 1
  %77 = zext i32 %76 to i64
  %78 = icmp ne i64 %73, %77
  br i1 %78, label %79, label %83

79:                                               ; preds = %52
  %80 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %81 = load i32, ptr %80, align 8, !tbaa !30
  %82 = add i32 %81, 1
  store i32 %82, ptr %80, align 8, !tbaa !30
  br label %83

83:                                               ; preds = %79, %52
  %84 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !28
  %86 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #7
  %87 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %88 = load i32, ptr %87, align 4, !tbaa !33
  %89 = sub i32 %88, 1
  %90 = zext i32 %89 to i64
  %91 = icmp ne i64 %86, %90
  br i1 %91, label %92, label %96

92:                                               ; preds = %83
  %93 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %94 = load i32, ptr %93, align 4, !tbaa !33
  %95 = add i32 %94, 1
  store i32 %95, ptr %93, align 4, !tbaa !33
  br label %96

96:                                               ; preds = %92, %83
  br label %234

97:                                               ; preds = %20
  %98 = load double, ptr %3, align 8, !tbaa !27
  %99 = load double, ptr %4, align 8, !tbaa !27
  %100 = fcmp olt double %98, %99
  br i1 %100, label %101, label %167

101:                                              ; preds = %97
  %102 = load double, ptr %3, align 8, !tbaa !27
  %103 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 3
  store double %102, ptr %103, align 8, !tbaa !29
  %104 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %105 = load ptr, ptr %104, align 8, !tbaa !28
  %106 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #7
  %107 = icmp eq i64 1, %106
  br i1 %107, label %112, label %108

108:                                              ; preds = %101
  %109 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %110 = load i32, ptr %109, align 4, !tbaa !33
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %118, label %112

112:                                              ; preds = %108, %101
  %113 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %114 = load ptr, ptr %113, align 8, !tbaa !28
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef 0)
  %116 = getelementptr inbounds %struct.aiVectorKey, ptr %115, i32 0, i32 1
  %117 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %117, ptr align 8 %116, i64 12, i1 false), !tbaa.struct !31
  br label %153

118:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %119 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %120 = load ptr, ptr %119, align 8, !tbaa !28
  %121 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %122 = load i32, ptr %121, align 4, !tbaa !33
  %123 = zext i32 %122 to i64
  %124 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %123)
  store ptr %124, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %125 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %126 = load ptr, ptr %125, align 8, !tbaa !28
  %127 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %128 = load i32, ptr %127, align 4, !tbaa !33
  %129 = sub i32 %128, 1
  %130 = zext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %130)
  store ptr %131, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #7
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.aiVectorKey, ptr %132, i32 0, i32 1
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.aiVectorKey, ptr %134, i32 0, i32 1
  %136 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 3
  %137 = load double, ptr %136, align 8, !tbaa !29
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.aiVectorKey, ptr %138, i32 0, i32 0
  %140 = load double, ptr %139, align 8, !tbaa !24
  %141 = fsub double %137, %140
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.aiVectorKey, ptr %142, i32 0, i32 0
  %144 = load double, ptr %143, align 8, !tbaa !24
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.aiVectorKey, ptr %145, i32 0, i32 0
  %147 = load double, ptr %146, align 8, !tbaa !24
  %148 = fsub double %144, %147
  %149 = fdiv double %141, %148
  %150 = fptrunc double %149 to float
  %151 = call { <2 x float>, float } @_Z11InterpolateI10aiVector3tIfEET_RKS2_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %133, ptr noundef nonnull align 4 dereferenceable(12) %135, float noundef %150)
  store { <2 x float>, float } %151, ptr %10, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %10, i64 12, i1 false)
  %152 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %152, ptr align 4 %9, i64 12, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %153

153:                                              ; preds = %118, %112
  %154 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %155 = load ptr, ptr %154, align 8, !tbaa !22
  %156 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #7
  %157 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %158 = load i32, ptr %157, align 8, !tbaa !30
  %159 = sub i32 %158, 1
  %160 = zext i32 %159 to i64
  %161 = icmp ne i64 %156, %160
  br i1 %161, label %162, label %166

162:                                              ; preds = %153
  %163 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %164 = load i32, ptr %163, align 8, !tbaa !30
  %165 = add i32 %164, 1
  store i32 %165, ptr %163, align 8, !tbaa !30
  br label %166

166:                                              ; preds = %162, %153
  br label %233

167:                                              ; preds = %97
  %168 = load double, ptr %4, align 8, !tbaa !27
  %169 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 3
  store double %168, ptr %169, align 8, !tbaa !29
  %170 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %171 = load ptr, ptr %170, align 8, !tbaa !22
  %172 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %171) #7
  %173 = icmp eq i64 1, %172
  br i1 %173, label %178, label %174

174:                                              ; preds = %167
  %175 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %176 = load i32, ptr %175, align 8, !tbaa !30
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %184, label %178

178:                                              ; preds = %174, %167
  %179 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !22
  %181 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef 0)
  %182 = getelementptr inbounds %struct.aiVectorKey, ptr %181, i32 0, i32 1
  %183 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %183, ptr align 8 %182, i64 12, i1 false), !tbaa.struct !31
  br label %219

184:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %185 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %186 = load ptr, ptr %185, align 8, !tbaa !22
  %187 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %188 = load i32, ptr %187, align 8, !tbaa !30
  %189 = zext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %189)
  store ptr %190, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %191 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %192 = load ptr, ptr %191, align 8, !tbaa !22
  %193 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %194 = load i32, ptr %193, align 8, !tbaa !30
  %195 = sub i32 %194, 1
  %196 = zext i32 %195 to i64
  %197 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %196)
  store ptr %197, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #7
  %198 = load ptr, ptr %12, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.aiVectorKey, ptr %198, i32 0, i32 1
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.aiVectorKey, ptr %200, i32 0, i32 1
  %202 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 3
  %203 = load double, ptr %202, align 8, !tbaa !29
  %204 = load ptr, ptr %12, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.aiVectorKey, ptr %204, i32 0, i32 0
  %206 = load double, ptr %205, align 8, !tbaa !24
  %207 = fsub double %203, %206
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.aiVectorKey, ptr %208, i32 0, i32 0
  %210 = load double, ptr %209, align 8, !tbaa !24
  %211 = load ptr, ptr %12, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.aiVectorKey, ptr %211, i32 0, i32 0
  %213 = load double, ptr %212, align 8, !tbaa !24
  %214 = fsub double %210, %213
  %215 = fdiv double %207, %214
  %216 = fptrunc double %215 to float
  %217 = call { <2 x float>, float } @_Z11InterpolateI10aiVector3tIfEET_RKS2_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %199, ptr noundef nonnull align 4 dereferenceable(12) %201, float noundef %216)
  store { <2 x float>, float } %217, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %14, i64 12, i1 false)
  %218 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %218, ptr align 4 %13, i64 12, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %219

219:                                              ; preds = %184, %178
  %220 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %221 = load ptr, ptr %220, align 8, !tbaa !28
  %222 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %221) #7
  %223 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %224 = load i32, ptr %223, align 4, !tbaa !33
  %225 = sub i32 %224, 1
  %226 = zext i32 %225 to i64
  %227 = icmp ne i64 %222, %226
  br i1 %227, label %228, label %232

228:                                              ; preds = %219
  %229 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %230 = load i32, ptr %229, align 4, !tbaa !33
  %231 = add i32 %230, 1
  store i32 %231, ptr %229, align 4, !tbaa !33
  br label %232

232:                                              ; preds = %228, %219
  br label %233

233:                                              ; preds = %232, %166
  br label %234

234:                                              ; preds = %233, %96
  %235 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 6
  %236 = load i32, ptr %235, align 8, !tbaa !30
  %237 = zext i32 %236 to i64
  %238 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 4
  %239 = load ptr, ptr %238, align 8, !tbaa !22
  %240 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %239) #7
  %241 = sub i64 %240, 1
  %242 = icmp uge i64 %237, %241
  br i1 %242, label %243, label %254

243:                                              ; preds = %234
  %244 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 7
  %245 = load i32, ptr %244, align 4, !tbaa !33
  %246 = zext i32 %245 to i64
  %247 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 5
  %248 = load ptr, ptr %247, align 8, !tbaa !28
  %249 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %248) #7
  %250 = sub i64 %249, 1
  %251 = icmp uge i64 %246, %250
  br i1 %251, label %252, label %254

252:                                              ; preds = %243
  %253 = getelementptr inbounds %"class.Assimp::KeyIterator", ptr %15, i32 0, i32 0
  store i8 1, ptr %253, align 8, !tbaa !9
  br label %254

254:                                              ; preds = %252, %243, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %255

255:                                              ; preds = %254, %19
  ret void
}

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

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

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

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

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

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

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 #6 = { inlinehint 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 = { 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, !11, i64 0}
!10 = !{!"_ZTSN6Assimp11KeyIteratorE", !11, i64 0, !12, i64 4, !12, i64 16, !14, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !15, i64 60, !16, i64 64, !16, i64 88}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS10aiVector3tIfE", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"float", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSSt6vectorI11aiVectorKeySaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseI11aiVectorKeySaIS0_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI11aiVectorKeySaIS0_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseI11aiVectorKeySaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!10, !6, i64 40}
!23 = !{!15, !15, i64 0}
!24 = !{!25, !14, i64 0}
!25 = !{!"_ZTS11aiVectorKey", !14, i64 0, !12, i64 8, !26, i64 20}
!26 = !{!"_ZTS19aiAnimInterpolation", !7, i64 0}
!27 = !{!14, !14, i64 0}
!28 = !{!10, !6, i64 48}
!29 = !{!10, !14, i64 32}
!30 = !{!10, !15, i64 56}
!31 = !{i64 0, i64 4, !32, i64 4, i64 4, !32, i64 8, i64 4, !32}
!32 = !{!13, !13, i64 0}
!33 = !{!10, !15, i64 60}


; 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"

; 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) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp11KeyIteratorppEv(ptr noundef nonnull align 8 dereferenceable(112) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = load i8, ptr %0, align 8, !tbaa !5, !range !19, !noundef !20
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %153, label %6

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = load ptr, ptr %7, align 8, !tbaa !21
  %9 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %10 = tail call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %11 = trunc i64 %10 to i32
  %12 = add i32 %11, -1
  store i32 %12, ptr %2, align 4, !tbaa !22
  %13 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %14 = load i32, ptr %13, align 4, !tbaa !22
  %15 = zext i32 %14 to i64
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %15)
  %17 = load double, ptr %16, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %18 = getelementptr inbounds i8, ptr %0, i64 48
  %19 = load ptr, ptr %18, align 8, !tbaa !26
  %20 = getelementptr inbounds i8, ptr %0, i64 60
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %21 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %22 = trunc i64 %21 to i32
  %23 = add i32 %22, -1
  store i32 %23, ptr %3, align 4, !tbaa !22
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %25 = load i32, ptr %24, align 4, !tbaa !22
  %26 = zext i32 %25 to i64
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %26)
  %28 = load double, ptr %27, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  %29 = fcmp oeq double %17, %28
  br i1 %29, label %30, label %59

30:                                               ; preds = %6
  %31 = getelementptr inbounds i8, ptr %0, i64 32
  store double %17, ptr %31, align 8, !tbaa !27
  %32 = load ptr, ptr %7, align 8, !tbaa !21
  %33 = load i32, ptr %9, align 8, !tbaa !28
  %34 = zext i32 %33 to i64
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %34)
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = getelementptr inbounds i8, ptr %0, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 8 dereferenceable(12) %36, i64 12, i1 false), !tbaa.struct !29
  %38 = load ptr, ptr %18, align 8, !tbaa !26
  %39 = load i32, ptr %20, align 4, !tbaa !31
  %40 = zext i32 %39 to i64
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %40)
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  %43 = getelementptr inbounds i8, ptr %0, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %43, ptr noundef nonnull align 8 dereferenceable(12) %42, i64 12, i1 false), !tbaa.struct !29
  %44 = load ptr, ptr %7, align 8, !tbaa !21
  %45 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  %46 = load i32, ptr %9, align 8, !tbaa !28
  %47 = add i32 %46, -1
  %48 = zext i32 %47 to i64
  %.not31 = icmp eq i64 %45, %48
  br i1 %.not31, label %51, label %49

49:                                               ; preds = %30
  %50 = add i32 %46, 1
  store i32 %50, ptr %9, align 8, !tbaa !28
  br label %51

51:                                               ; preds = %49, %30
  %52 = load ptr, ptr %18, align 8, !tbaa !26
  %53 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #7
  %54 = load i32, ptr %20, align 4, !tbaa !31
  %55 = add i32 %54, -1
  %56 = zext i32 %55 to i64
  %.not32 = icmp eq i64 %53, %56
  br i1 %.not32, label %140, label %57

57:                                               ; preds = %51
  %58 = add i32 %54, 1
  store i32 %58, ptr %20, align 4, !tbaa !31
  br label %140

59:                                               ; preds = %6
  %60 = fcmp olt double %17, %28
  %61 = getelementptr inbounds i8, ptr %0, i64 32
  br i1 %60, label %62, label %101

62:                                               ; preds = %59
  store double %17, ptr %61, align 8, !tbaa !27
  %63 = load ptr, ptr %18, align 8, !tbaa !26
  %64 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #7
  %65 = icmp eq i64 %64, 1
  br i1 %65, label %68, label %66

66:                                               ; preds = %62
  %67 = load i32, ptr %20, align 4, !tbaa !31
  %.not29 = icmp eq i32 %67, 0
  br i1 %.not29, label %68, label %73

68:                                               ; preds = %66, %62
  %69 = load ptr, ptr %18, align 8, !tbaa !26
  %70 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 0)
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = getelementptr inbounds i8, ptr %0, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %72, ptr noundef nonnull align 8 dereferenceable(12) %71, i64 12, i1 false), !tbaa.struct !29
  br label %93

73:                                               ; preds = %66
  %74 = load ptr, ptr %18, align 8, !tbaa !26
  %75 = zext i32 %67 to i64
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %75)
  %77 = load ptr, ptr %18, align 8, !tbaa !26
  %78 = load i32, ptr %20, align 4, !tbaa !31
  %79 = add i32 %78, -1
  %80 = zext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %80)
  %82 = getelementptr inbounds i8, ptr %81, i64 8
  %83 = getelementptr inbounds i8, ptr %76, i64 8
  %84 = load double, ptr %61, align 8, !tbaa !27
  %85 = load double, ptr %81, align 8, !tbaa !23
  %86 = fsub double %84, %85
  %87 = load double, ptr %76, align 8, !tbaa !23
  %88 = fsub double %87, %85
  %89 = fdiv double %86, %88
  %90 = fptrunc double %89 to float
  %91 = call { <2 x float>, float } @_Z11InterpolateI10aiVector3tIfEET_RKS2_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %82, ptr noundef nonnull align 4 dereferenceable(12) %83, float noundef %90)
  %.fca.0.extract6 = extractvalue { <2 x float>, float } %91, 0
  %.fca.1.extract7 = extractvalue { <2 x float>, float } %91, 1
  %92 = getelementptr inbounds i8, ptr %0, i64 16
  store <2 x float> %.fca.0.extract6, ptr %92, align 8
  %.sroa.411.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 24
  store float %.fca.1.extract7, ptr %.sroa.411.0..sroa_idx, align 8, !tbaa !30
  br label %93

93:                                               ; preds = %73, %68
  %94 = load ptr, ptr %7, align 8, !tbaa !21
  %95 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #7
  %96 = load i32, ptr %9, align 8, !tbaa !28
  %97 = add i32 %96, -1
  %98 = zext i32 %97 to i64
  %.not30 = icmp eq i64 %95, %98
  br i1 %.not30, label %140, label %99

99:                                               ; preds = %93
  %100 = add i32 %96, 1
  store i32 %100, ptr %9, align 8, !tbaa !28
  br label %140

101:                                              ; preds = %59
  store double %28, ptr %61, align 8, !tbaa !27
  %102 = load ptr, ptr %7, align 8, !tbaa !21
  %103 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #7
  %104 = icmp eq i64 %103, 1
  br i1 %104, label %107, label %105

105:                                              ; preds = %101
  %106 = load i32, ptr %9, align 8, !tbaa !28
  %.not = icmp eq i32 %106, 0
  br i1 %.not, label %107, label %112

107:                                              ; preds = %105, %101
  %108 = load ptr, ptr %7, align 8, !tbaa !21
  %109 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef 0)
  %110 = getelementptr inbounds i8, ptr %109, i64 8
  %111 = getelementptr inbounds i8, ptr %0, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %111, ptr noundef nonnull align 8 dereferenceable(12) %110, i64 12, i1 false), !tbaa.struct !29
  br label %132

112:                                              ; preds = %105
  %113 = load ptr, ptr %7, align 8, !tbaa !21
  %114 = zext i32 %106 to i64
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %114)
  %116 = load ptr, ptr %7, align 8, !tbaa !21
  %117 = load i32, ptr %9, align 8, !tbaa !28
  %118 = add i32 %117, -1
  %119 = zext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorI11aiVectorKeySaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %119)
  %121 = getelementptr inbounds i8, ptr %120, i64 8
  %122 = getelementptr inbounds i8, ptr %115, i64 8
  %123 = load double, ptr %61, align 8, !tbaa !27
  %124 = load double, ptr %120, align 8, !tbaa !23
  %125 = fsub double %123, %124
  %126 = load double, ptr %115, align 8, !tbaa !23
  %127 = fsub double %126, %124
  %128 = fdiv double %125, %127
  %129 = fptrunc double %128 to float
  %130 = call { <2 x float>, float } @_Z11InterpolateI10aiVector3tIfEET_RKS2_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %121, ptr noundef nonnull align 4 dereferenceable(12) %122, float noundef %129)
  %.fca.0.extract = extractvalue { <2 x float>, float } %130, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %130, 1
  %131 = getelementptr inbounds i8, ptr %0, i64 4
  store <2 x float> %.fca.0.extract, ptr %131, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 12
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !30
  br label %132

132:                                              ; preds = %112, %107
  %133 = load ptr, ptr %18, align 8, !tbaa !26
  %134 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  %135 = load i32, ptr %20, align 4, !tbaa !31
  %136 = add i32 %135, -1
  %137 = zext i32 %136 to i64
  %.not28 = icmp eq i64 %134, %137
  br i1 %.not28, label %140, label %138

138:                                              ; preds = %132
  %139 = add i32 %135, 1
  store i32 %139, ptr %20, align 4, !tbaa !31
  br label %140

140:                                              ; preds = %99, %93, %138, %132, %51, %57
  %141 = load i32, ptr %9, align 8, !tbaa !28
  %142 = zext i32 %141 to i64
  %143 = load ptr, ptr %7, align 8, !tbaa !21
  %144 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #7
  %145 = add i64 %144, -1
  %.not33 = icmp ugt i64 %145, %142
  br i1 %.not33, label %153, label %146

146:                                              ; preds = %140
  %147 = load i32, ptr %20, align 4, !tbaa !31
  %148 = zext i32 %147 to i64
  %149 = load ptr, ptr %18, align 8, !tbaa !26
  %150 = call noundef i64 @_ZNKSt6vectorI11aiVectorKeySaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #7
  %151 = add i64 %150, -1
  %.not34 = icmp ugt i64 %151, %148
  br i1 %.not34, label %153, label %152

152:                                              ; preds = %146
  store i8 1, ptr %0, align 8, !tbaa !5
  br label %153

153:                                              ; preds = %140, %146, %152, %1
  ret void
}

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 #6 = { inlinehint 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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN6Assimp11KeyIteratorE", !7, i64 0, !10, i64 4, !10, i64 16, !12, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !15, i64 64, !15, i64 88}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS10aiVector3tIfE", !11, i64 0, !11, i64 4, !11, i64 8}
!11 = !{!"float", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSSt6vectorI11aiVectorKeySaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI11aiVectorKeySaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI11aiVectorKeySaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI11aiVectorKeySaIS0_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!6, !13, i64 40}
!22 = !{!14, !14, i64 0}
!23 = !{!24, !12, i64 0}
!24 = !{!"_ZTS11aiVectorKey", !12, i64 0, !10, i64 8, !25, i64 20}
!25 = !{!"_ZTS19aiAnimInterpolation", !8, i64 0}
!26 = !{!6, !13, i64 48}
!27 = !{!6, !12, i64 32}
!28 = !{!6, !14, i64 56}
!29 = !{i64 0, i64 4, !30, i64 4, i64 4, !30, i64 8, i64 4, !30}
!30 = !{!11, !11, i64 0}
!31 = !{!6, !14, i64 60}


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