; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/Material (MaterialSystem)

; 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.aiMaterial = type { ptr, i32, i32 }
%struct.aiMaterialProperty = type { %struct.aiString, i32, i32, i32, i32, ptr }
%struct.aiString = type { i32, [1024 x i8] }

@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1

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

; 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: 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) #2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN18aiMaterialPropertyD2Ev(ptr noundef nonnull align 8 dereferenceable(1056)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN18aiMaterialPropertyC2Ev(ptr noundef nonnull align 8 dereferenceable(1056)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10aiMaterial16CopyPropertyListEPS_PKS_(ptr noundef %0, ptr noundef %1) #7 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = icmp ne ptr null, %14
  br i1 %15, label %17, label %16

16:                                               ; preds = %2
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.27, ptr noundef @.str.1, i32 noundef 649)
  br label %17

17:                                               ; preds = %16, %2
  %18 = phi i1 [ true, %2 ], [ false, %16 ]
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = icmp ne ptr null, %19
  br i1 %20, label %22, label %21

21:                                               ; preds = %17
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.28, ptr noundef @.str.1, i32 noundef 650)
  br label %22

22:                                               ; preds = %21, %17
  %23 = phi i1 [ true, %17 ], [ false, %21 ]
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.aiMaterial, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !9
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.aiMaterial, ptr %27, i32 0, i32 2
  %29 = load i32, ptr %28, align 4, !tbaa !12
  %30 = icmp ule i32 %26, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %22
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.29, ptr noundef @.str.1, i32 noundef 651)
  br label %32

32:                                               ; preds = %31, %22
  %33 = phi i1 [ true, %22 ], [ false, %31 ]
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.aiMaterial, ptr %34, i32 0, i32 1
  %36 = load i32, ptr %35, align 8, !tbaa !9
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.aiMaterial, ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !12
  %40 = icmp ule i32 %36, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %32
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.30, ptr noundef @.str.1, i32 noundef 652)
  br label %42

42:                                               ; preds = %41, %32
  %43 = phi i1 [ true, %32 ], [ false, %41 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.aiMaterial, ptr %44, i32 0, i32 1
  %46 = load i32, ptr %45, align 8, !tbaa !9
  store i32 %46, ptr %5, align 4, !tbaa !13
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.aiMaterial, ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !12
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.aiMaterial, ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 4, !tbaa !12
  %53 = add i32 %52, %49
  store i32 %53, ptr %51, align 4, !tbaa !12
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.aiMaterial, ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !9
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.aiMaterial, ptr %57, i32 0, i32 1
  %59 = load i32, ptr %58, align 8, !tbaa !9
  %60 = add i32 %59, %56
  store i32 %60, ptr %58, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.aiMaterial, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !12
  store i32 %63, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.aiMaterial, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !14
  store ptr %66, ptr %7, align 8, !tbaa !5
  %67 = load i32, ptr %6, align 4, !tbaa !13
  %68 = zext i32 %67 to i64
  %69 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %68, i64 8)
  %70 = extractvalue { i64, i1 } %69, 1
  %71 = extractvalue { i64, i1 } %69, 0
  %72 = select i1 %70, i64 -1, i64 %71
  %73 = call noalias noundef nonnull ptr @_Znam(i64 noundef %72) #9
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.aiMaterial, ptr %74, i32 0, i32 0
  store ptr %73, ptr %75, align 8, !tbaa !14
  %76 = load i32, ptr %5, align 4, !tbaa !13
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %82

78:                                               ; preds = %42
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.31, ptr noundef @.str.1, i32 noundef 662)
  br label %82

82:                                               ; preds = %81, %78, %42
  %83 = phi i1 [ true, %78 ], [ true, %42 ], [ false, %81 ]
  %84 = load i32, ptr %5, align 4, !tbaa !13
  %85 = load i32, ptr %6, align 4, !tbaa !13
  %86 = icmp ult i32 %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %82
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 663)
  br label %88

88:                                               ; preds = %87, %82
  %89 = phi i1 [ true, %82 ], [ false, %87 ]
  %90 = load i32, ptr %5, align 4, !tbaa !13
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %117

92:                                               ; preds = %88
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %117

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %96

96:                                               ; preds = %113, %95
  %97 = load i32, ptr %8, align 4, !tbaa !13
  %98 = load i32, ptr %5, align 4, !tbaa !13
  %99 = icmp ult i32 %97, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %116

101:                                              ; preds = %96
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load i32, ptr %8, align 4, !tbaa !13
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds ptr, ptr %102, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.aiMaterial, ptr %107, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !14
  %110 = load i32, ptr %8, align 4, !tbaa !13
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  store ptr %106, ptr %112, align 8, !tbaa !5
  br label %113

113:                                              ; preds = %101
  %114 = load i32, ptr %8, align 4, !tbaa !13
  %115 = add i32 %114, 1
  store i32 %115, ptr %8, align 4, !tbaa !13
  br label %96, !llvm.loop !15

116:                                              ; preds = %100
  br label %117

117:                                              ; preds = %116, %92, %88
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %120, label %125

120:                                              ; preds = %117
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = icmp eq ptr %121, null
  br i1 %122, label %124, label %123

123:                                              ; preds = %120
  call void @_ZdaPv(ptr noundef %121) #10
  br label %124

124:                                              ; preds = %123, %120
  br label %125

125:                                              ; preds = %124, %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %126 = load i32, ptr %5, align 4, !tbaa !13
  store i32 %126, ptr %9, align 4, !tbaa !13
  br label %127

127:                                              ; preds = %261, %125
  %128 = load i32, ptr %9, align 4, !tbaa !13
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.aiMaterial, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 8, !tbaa !9
  %132 = icmp ult i32 %128, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %127
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %264

134:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.aiMaterial, ptr %135, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8, !tbaa !14
  %138 = load i32, ptr %9, align 4, !tbaa !13
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds ptr, ptr %137, i64 %139
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  store ptr %141, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %142

142:                                              ; preds = %208, %134
  %143 = load i32, ptr %13, align 4, !tbaa !13
  %144 = load i32, ptr %5, align 4, !tbaa !13
  %145 = icmp ult i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %211

147:                                              ; preds = %142
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.aiMaterial, ptr %148, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8, !tbaa !14
  %151 = load i32, ptr %13, align 4, !tbaa !13
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds ptr, ptr %150, i64 %152
  %154 = load ptr, ptr %153, align 8, !tbaa !5
  store ptr %154, ptr %12, align 8, !tbaa !5
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = icmp ne ptr %155, null
  br i1 %156, label %157, label %207

157:                                              ; preds = %147
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.aiMaterialProperty, ptr %158, i32 0, i32 0
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.aiMaterialProperty, ptr %160, i32 0, i32 0
  %162 = call noundef zeroext i1 @_ZNK8aiStringeqERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %159, ptr noundef nonnull align 4 dereferenceable(1028) %161)
  br i1 %162, label %163, label %207

163:                                              ; preds = %157
  %164 = load ptr, ptr %12, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.aiMaterialProperty, ptr %164, i32 0, i32 1
  %166 = load i32, ptr %165, align 4, !tbaa !17
  %167 = load ptr, ptr %11, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.aiMaterialProperty, ptr %167, i32 0, i32 1
  %169 = load i32, ptr %168, align 4, !tbaa !17
  %170 = icmp eq i32 %166, %169
  br i1 %170, label %171, label %207

171:                                              ; preds = %163
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.aiMaterialProperty, ptr %172, i32 0, i32 2
  %174 = load i32, ptr %173, align 8, !tbaa !21
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.aiMaterialProperty, ptr %175, i32 0, i32 2
  %177 = load i32, ptr %176, align 8, !tbaa !21
  %178 = icmp eq i32 %174, %177
  br i1 %178, label %179, label %207

179:                                              ; preds = %171
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = icmp eq ptr %180, null
  br i1 %181, label %183, label %182

182:                                              ; preds = %179
  call void @_ZN18aiMaterialPropertyD2Ev(ptr noundef nonnull align 8 dereferenceable(1056) %180) #8
  call void @_ZdlPvm(ptr noundef %180, i64 noundef 1056) #10
  br label %183

183:                                              ; preds = %182, %179
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.aiMaterial, ptr %184, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !14
  %187 = load i32, ptr %13, align 4, !tbaa !13
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds ptr, ptr %186, i64 %188
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.aiMaterial, ptr %190, i32 0, i32 0
  %192 = load ptr, ptr %191, align 8, !tbaa !14
  %193 = load i32, ptr %13, align 4, !tbaa !13
  %194 = add i32 %193, 1
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds ptr, ptr %192, i64 %195
  %197 = load i32, ptr %9, align 4, !tbaa !13
  %198 = load i32, ptr %13, align 4, !tbaa !13
  %199 = sub i32 %197, %198
  %200 = zext i32 %199 to i64
  call void @llvm.memmove.p0.p0.i64(ptr align 8 %189, ptr align 8 %196, i64 %200, i1 false)
  %201 = load i32, ptr %9, align 4, !tbaa !13
  %202 = add i32 %201, -1
  store i32 %202, ptr %9, align 4, !tbaa !13
  %203 = load ptr, ptr %3, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.aiMaterial, ptr %203, i32 0, i32 1
  %205 = load i32, ptr %204, align 8, !tbaa !9
  %206 = add i32 %205, -1
  store i32 %206, ptr %204, align 8, !tbaa !9
  br label %207

207:                                              ; preds = %183, %171, %163, %157, %147
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %13, align 4, !tbaa !13
  %210 = add i32 %209, 1
  store i32 %210, ptr %13, align 4, !tbaa !13
  br label %142, !llvm.loop !22

211:                                              ; preds = %146
  %212 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1056) #9
  call void @_ZN18aiMaterialPropertyC2Ev(ptr noundef nonnull align 8 dereferenceable(1056) %212) #8
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.aiMaterial, ptr %213, i32 0, i32 0
  %215 = load ptr, ptr %214, align 8, !tbaa !14
  %216 = load i32, ptr %9, align 4, !tbaa !13
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds ptr, ptr %215, i64 %217
  store ptr %212, ptr %218, align 8, !tbaa !5
  store ptr %212, ptr %12, align 8, !tbaa !5
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.aiMaterialProperty, ptr %219, i32 0, i32 0
  %221 = load ptr, ptr %12, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.aiMaterialProperty, ptr %221, i32 0, i32 0
  %223 = call noundef nonnull align 4 dereferenceable(1028) ptr @_ZN8aiStringaSERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %222, ptr noundef nonnull align 4 dereferenceable(1028) %220)
  %224 = load ptr, ptr %11, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.aiMaterialProperty, ptr %224, i32 0, i32 3
  %226 = load i32, ptr %225, align 4, !tbaa !23
  %227 = load ptr, ptr %12, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.aiMaterialProperty, ptr %227, i32 0, i32 3
  store i32 %226, ptr %228, align 4, !tbaa !23
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.aiMaterialProperty, ptr %229, i32 0, i32 4
  %231 = load i32, ptr %230, align 8, !tbaa !24
  %232 = load ptr, ptr %12, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.aiMaterialProperty, ptr %232, i32 0, i32 4
  store i32 %231, ptr %233, align 8, !tbaa !24
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.aiMaterialProperty, ptr %234, i32 0, i32 1
  %236 = load i32, ptr %235, align 4, !tbaa !17
  %237 = load ptr, ptr %12, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.aiMaterialProperty, ptr %237, i32 0, i32 1
  store i32 %236, ptr %238, align 4, !tbaa !17
  %239 = load ptr, ptr %11, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.aiMaterialProperty, ptr %239, i32 0, i32 2
  %241 = load i32, ptr %240, align 8, !tbaa !21
  %242 = load ptr, ptr %12, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.aiMaterialProperty, ptr %242, i32 0, i32 2
  store i32 %241, ptr %243, align 8, !tbaa !21
  %244 = load ptr, ptr %11, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.aiMaterialProperty, ptr %244, i32 0, i32 3
  %246 = load i32, ptr %245, align 4, !tbaa !23
  %247 = zext i32 %246 to i64
  %248 = call noalias noundef nonnull ptr @_Znam(i64 noundef %247) #9
  %249 = load ptr, ptr %12, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.aiMaterialProperty, ptr %249, i32 0, i32 5
  store ptr %248, ptr %250, align 8, !tbaa !25
  %251 = load ptr, ptr %12, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.aiMaterialProperty, ptr %251, i32 0, i32 5
  %253 = load ptr, ptr %252, align 8, !tbaa !25
  %254 = load ptr, ptr %11, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.aiMaterialProperty, ptr %254, i32 0, i32 5
  %256 = load ptr, ptr %255, align 8, !tbaa !25
  %257 = load ptr, ptr %12, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.aiMaterialProperty, ptr %257, i32 0, i32 3
  %259 = load i32, ptr %258, align 4, !tbaa !23
  %260 = zext i32 %259 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %253, ptr align 1 %256, i64 %260, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %261

261:                                              ; preds = %211
  %262 = load i32, ptr %9, align 4, !tbaa !13
  %263 = add i32 %262, 1
  store i32 %263, ptr %9, align 4, !tbaa !13
  br label %127, !llvm.loop !26

264:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8aiStringeqERKS_(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 4 dereferenceable(1028)) #5 align 2

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

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

attributes #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"_ZTS10aiMaterial", !6, i64 0, !11, i64 8, !11, i64 12}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 12}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !11, i64 1028}
!18 = !{!"_ZTS18aiMaterialProperty", !19, i64 0, !11, i64 1028, !11, i64 1032, !11, i64 1036, !20, i64 1040, !6, i64 1048}
!19 = !{!"_ZTS8aiString", !11, i64 0, !7, i64 4}
!20 = !{!"_ZTS18aiPropertyTypeInfo", !7, i64 0}
!21 = !{!18, !11, i64 1032}
!22 = distinct !{!22, !16}
!23 = !{!18, !11, i64 1036}
!24 = !{!18, !20, i64 1040}
!25 = !{!18, !6, i64 1048}
!26 = distinct !{!26, !16}


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

@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1

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

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10aiMaterial16CopyPropertyListEPS_PKS_(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #5 align 2 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %3, label %4

3:                                                ; preds = %2
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.1, i32 noundef 649)
  br label %4

4:                                                ; preds = %3, %2
  %.not82 = icmp eq ptr %1, null
  br i1 %.not82, label %5, label %6

5:                                                ; preds = %4
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.1, i32 noundef 650)
  br label %6

6:                                                ; preds = %5, %4
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 12
  %10 = load i32, ptr %9, align 4, !tbaa !11
  %.not83 = icmp ugt i32 %8, %10
  br i1 %.not83, label %11, label %12

11:                                               ; preds = %6
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.1, i32 noundef 651)
  br label %12

12:                                               ; preds = %11, %6
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %1, i64 12
  %16 = load i32, ptr %15, align 4, !tbaa !11
  %.not84 = icmp ugt i32 %14, %16
  br i1 %.not84, label %17, label %18

17:                                               ; preds = %12
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.1, i32 noundef 652)
  %.pre = load i32, ptr %15, align 4, !tbaa !11
  %.pre104 = load i32, ptr %13, align 8, !tbaa !5
  br label %18

18:                                               ; preds = %17, %12
  %19 = phi i32 [ %.pre104, %17 ], [ %14, %12 ]
  %20 = phi i32 [ %.pre, %17 ], [ %16, %12 ]
  %21 = load i32, ptr %7, align 8, !tbaa !5
  %22 = load i32, ptr %9, align 4, !tbaa !11
  %23 = add i32 %22, %20
  store i32 %23, ptr %9, align 4, !tbaa !11
  %24 = add i32 %19, %21
  store i32 %24, ptr %7, align 8, !tbaa !5
  %25 = load ptr, ptr %0, align 8, !tbaa !12
  %26 = zext i32 %23 to i64
  %27 = shl nuw nsw i64 %26, 3
  %28 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %27) #6
  store ptr %28, ptr %0, align 8, !tbaa !12
  %29 = icmp eq i32 %21, 0
  %30 = icmp ne ptr %25, null
  %or.cond = select i1 %29, i1 true, i1 %30
  br i1 %or.cond, label %32, label %31

31:                                               ; preds = %18
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.1, i32 noundef 662)
  br label %32

32:                                               ; preds = %31, %18
  %33 = icmp ult i32 %21, %23
  br i1 %33, label %35, label %34

34:                                               ; preds = %32
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 663)
  br label %35

35:                                               ; preds = %34, %32
  %36 = icmp ne i32 %21, 0
  %or.cond3 = select i1 %36, i1 %30, i1 false
  br i1 %or.cond3, label %.preheader.preheader, label %54

.preheader.preheader:                             ; preds = %35
  %wide.trip.count = zext i32 %21 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %37 = icmp ult i32 %21, 4
  br i1 %37, label %.thread.loopexit.unr-lcssa, label %.preheader.preheader.new

.preheader.preheader.new:                         ; preds = %.preheader.preheader
  %unroll_iter = and i64 %wide.trip.count, 4294967292
  br label %.preheader

.preheader:                                       ; preds = %.preheader, %.preheader.preheader.new
  %indvars.iv = phi i64 [ 0, %.preheader.preheader.new ], [ %indvars.iv.next.3, %.preheader ]
  %niter = phi i64 [ 0, %.preheader.preheader.new ], [ %niter.next.3, %.preheader ]
  %38 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = load ptr, ptr %0, align 8, !tbaa !12
  %41 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv
  store ptr %39, ptr %41, align 8, !tbaa !13
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %42 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv.next
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = load ptr, ptr %0, align 8, !tbaa !12
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv.next
  store ptr %43, ptr %45, align 8, !tbaa !13
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %46 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv.next.1
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = load ptr, ptr %0, align 8, !tbaa !12
  %49 = getelementptr inbounds ptr, ptr %48, i64 %indvars.iv.next.1
  store ptr %47, ptr %49, align 8, !tbaa !13
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %50 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv.next.2
  %51 = load ptr, ptr %50, align 8, !tbaa !13
  %52 = load ptr, ptr %0, align 8, !tbaa !12
  %53 = getelementptr inbounds ptr, ptr %52, i64 %indvars.iv.next.2
  store ptr %51, ptr %53, align 8, !tbaa !13
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.thread.loopexit.unr-lcssa, label %.preheader, !llvm.loop !14

54:                                               ; preds = %35
  br i1 %30, label %.thread, label %59

.thread.loopexit.unr-lcssa:                       ; preds = %.preheader, %.preheader.preheader
  %indvars.iv.unr = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next.3, %.preheader ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.thread, label %.preheader.epil

.preheader.epil:                                  ; preds = %.thread.loopexit.unr-lcssa, %.preheader.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.preheader.epil ], [ %indvars.iv.unr, %.thread.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.preheader.epil ], [ 0, %.thread.loopexit.unr-lcssa ]
  %55 = getelementptr inbounds ptr, ptr %25, i64 %indvars.iv.epil
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  %57 = load ptr, ptr %0, align 8, !tbaa !12
  %58 = getelementptr inbounds ptr, ptr %57, i64 %indvars.iv.epil
  store ptr %56, ptr %58, align 8, !tbaa !13
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.thread, label %.preheader.epil, !llvm.loop !16

.thread:                                          ; preds = %.thread.loopexit.unr-lcssa, %.preheader.epil, %54
  tail call void @_ZdaPv(ptr noundef nonnull %25) #7
  br label %59

59:                                               ; preds = %.thread, %54
  %60 = load i32, ptr %7, align 8, !tbaa !5
  %61 = icmp ult i32 %21, %60
  br i1 %61, label %.lr.ph91, label %._crit_edge92

.lr.ph91:                                         ; preds = %59
  br i1 %29, label %.lr.ph91.split, label %.lr.ph.us.preheader

.lr.ph.us.preheader:                              ; preds = %.lr.ph91
  %wide.trip.count99 = zext i32 %21 to i64
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.07789.us = phi i32 [ %109, %._crit_edge.us ], [ %21, %.lr.ph.us.preheader ]
  %62 = load ptr, ptr %1, align 8, !tbaa !12
  %63 = zext i32 %.07789.us to i64
  %64 = getelementptr inbounds ptr, ptr %62, i64 %63
  %65 = load ptr, ptr %64, align 8, !tbaa !13
  %66 = getelementptr inbounds i8, ptr %65, i64 1028
  %67 = getelementptr inbounds i8, ptr %65, i64 1032
  br label %68

68:                                               ; preds = %.lr.ph.us, %95
  %indvars.iv96 = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next97, %95 ]
  %.187.us = phi i32 [ %.07789.us, %.lr.ph.us ], [ %.2.us, %95 ]
  %69 = load ptr, ptr %0, align 8, !tbaa !12
  %70 = getelementptr inbounds ptr, ptr %69, i64 %indvars.iv96
  %71 = load ptr, ptr %70, align 8, !tbaa !13
  %.not85.us = icmp eq ptr %71, null
  br i1 %.not85.us, label %95, label %72

72:                                               ; preds = %68
  %73 = tail call noundef zeroext i1 @_ZNK8aiStringeqERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %71, ptr noundef nonnull align 4 dereferenceable(1028) %65)
  br i1 %73, label %74, label %95

74:                                               ; preds = %72
  %75 = getelementptr inbounds i8, ptr %71, i64 1028
  %76 = load i32, ptr %75, align 4, !tbaa !18
  %77 = load i32, ptr %66, align 4, !tbaa !18
  %78 = icmp eq i32 %76, %77
  br i1 %78, label %79, label %95

79:                                               ; preds = %74
  %80 = getelementptr inbounds i8, ptr %71, i64 1032
  %81 = load i32, ptr %80, align 8, !tbaa !22
  %82 = load i32, ptr %67, align 8, !tbaa !22
  %83 = icmp eq i32 %81, %82
  br i1 %83, label %84, label %95

84:                                               ; preds = %79
  tail call void @_ZN18aiMaterialPropertyD2Ev(ptr noundef nonnull align 8 dereferenceable(1056) %71) #8
  tail call void @_ZdlPvm(ptr noundef nonnull %71, i64 noundef 1056) #7
  %85 = load ptr, ptr %0, align 8, !tbaa !12
  %86 = getelementptr inbounds ptr, ptr %85, i64 %indvars.iv96
  %87 = getelementptr inbounds ptr, ptr %85, i64 %indvars.iv96
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  %89 = trunc nuw i64 %indvars.iv96 to i32
  %90 = sub i32 %.187.us, %89
  %91 = zext i32 %90 to i64
  tail call void @llvm.memmove.p0.p0.i64(ptr align 8 %86, ptr nonnull align 8 %88, i64 %91, i1 false)
  %92 = add i32 %.187.us, -1
  %93 = load i32, ptr %7, align 8, !tbaa !5
  %94 = add i32 %93, -1
  store i32 %94, ptr %7, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %84, %79, %74, %72, %68
  %.2.us = phi i32 [ %92, %84 ], [ %.187.us, %79 ], [ %.187.us, %74 ], [ %.187.us, %72 ], [ %.187.us, %68 ]
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %exitcond100.not = icmp eq i64 %indvars.iv.next97, %wide.trip.count99
  br i1 %exitcond100.not, label %._crit_edge.us, label %68, !llvm.loop !23

._crit_edge.us:                                   ; preds = %95
  %96 = tail call noalias noundef nonnull dereferenceable(1056) ptr @_Znwm(i64 noundef 1056) #6
  tail call void @_ZN18aiMaterialPropertyC2Ev(ptr noundef nonnull align 8 dereferenceable(1056) %96) #8
  %97 = load ptr, ptr %0, align 8, !tbaa !12
  %98 = zext i32 %.2.us to i64
  %99 = getelementptr inbounds ptr, ptr %97, i64 %98
  store ptr %96, ptr %99, align 8, !tbaa !13
  %100 = tail call noundef nonnull align 4 dereferenceable(1028) ptr @_ZN8aiStringaSERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %96, ptr noundef nonnull align 4 dereferenceable(1028) %65)
  %101 = getelementptr inbounds i8, ptr %96, i64 1028
  %102 = load <4 x i32>, ptr %66, align 4, !tbaa !24
  store <4 x i32> %102, ptr %101, align 4, !tbaa !24
  %103 = extractelement <4 x i32> %102, i64 2
  %104 = zext i32 %103 to i64
  %105 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %104) #6
  %106 = getelementptr inbounds i8, ptr %96, i64 1048
  store ptr %105, ptr %106, align 8, !tbaa !25
  %107 = getelementptr inbounds i8, ptr %65, i64 1048
  %108 = load ptr, ptr %107, align 8, !tbaa !25
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %105, ptr align 1 %108, i64 %104, i1 false)
  %109 = add i32 %.2.us, 1
  %110 = load i32, ptr %7, align 8, !tbaa !5
  %111 = icmp ult i32 %109, %110
  br i1 %111, label %.lr.ph.us, label %._crit_edge92, !llvm.loop !26

._crit_edge92:                                    ; preds = %._crit_edge.us, %.lr.ph91.split, %59
  ret void

.lr.ph91.split:                                   ; preds = %.lr.ph91, %.lr.ph91.split
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %.lr.ph91.split ], [ 0, %.lr.ph91 ]
  %112 = load ptr, ptr %1, align 8, !tbaa !12
  %113 = getelementptr inbounds ptr, ptr %112, i64 %indvars.iv101
  %114 = load ptr, ptr %113, align 8, !tbaa !13
  %115 = tail call noalias noundef nonnull dereferenceable(1056) ptr @_Znwm(i64 noundef 1056) #6
  tail call void @_ZN18aiMaterialPropertyC2Ev(ptr noundef nonnull align 8 dereferenceable(1056) %115) #8
  %116 = load ptr, ptr %0, align 8, !tbaa !12
  %117 = getelementptr inbounds ptr, ptr %116, i64 %indvars.iv101
  store ptr %115, ptr %117, align 8, !tbaa !13
  %118 = tail call noundef nonnull align 4 dereferenceable(1028) ptr @_ZN8aiStringaSERKS_(ptr noundef nonnull align 4 dereferenceable(1028) %115, ptr noundef nonnull align 4 dereferenceable(1028) %114)
  %119 = getelementptr inbounds i8, ptr %114, i64 1028
  %120 = getelementptr inbounds i8, ptr %115, i64 1028
  %121 = load <4 x i32>, ptr %119, align 4, !tbaa !24
  store <4 x i32> %121, ptr %120, align 4, !tbaa !24
  %122 = extractelement <4 x i32> %121, i64 2
  %123 = zext i32 %122 to i64
  %124 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %123) #6
  %125 = getelementptr inbounds i8, ptr %115, i64 1048
  store ptr %124, ptr %125, align 8, !tbaa !25
  %126 = getelementptr inbounds i8, ptr %114, i64 1048
  %127 = load ptr, ptr %126, align 8, !tbaa !25
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %124, ptr align 1 %127, i64 %123, i1 false)
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %128 = load i32, ptr %7, align 8, !tbaa !5
  %129 = zext i32 %128 to i64
  %130 = icmp ult i64 %indvars.iv.next102, %129
  br i1 %130, label %.lr.ph91.split, label %._crit_edge92, !llvm.loop !26
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8aiStringeqERKS_(ptr noundef nonnull align 4 dereferenceable(1028), ptr noundef nonnull align 4 dereferenceable(1028)) local_unnamed_addr #4 align 2

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

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

attributes #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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 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 = { builtin allocsize(0) }
attributes #7 = { builtin nounwind }
attributes #8 = { 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 = !{!"_ZTS10aiMaterial", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = !{!19, !10, i64 1028}
!19 = !{!"_ZTS18aiMaterialProperty", !20, i64 0, !10, i64 1028, !10, i64 1032, !10, i64 1036, !21, i64 1040, !7, i64 1048}
!20 = !{!"_ZTS8aiString", !10, i64 0, !8, i64 4}
!21 = !{!"_ZTS18aiPropertyTypeInfo", !8, i64 0}
!22 = !{!19, !10, i64 1032}
!23 = distinct !{!23, !15}
!24 = !{!8, !8, i64 0}
!25 = !{!19, !7, i64 1048}
!26 = distinct !{!26, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass