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

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [58 x i8], align 1

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 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)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Assimp7IsSpaceIcEEbT_(i8 noundef signext) #3

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() #1

; Function Attrs: mustprogress uwtable
define dso_local i32 @aiGetMaterialIntegerArray(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %23 = load ptr, ptr %12, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %26, label %25

25:                                               ; preds = %6
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 274)
  br label %26

26:                                               ; preds = %25, %6
  %27 = phi i1 [ true, %6 ], [ false, %25 ]
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 275)
  br label %31

31:                                               ; preds = %30, %26
  %32 = phi i1 [ true, %26 ], [ false, %30 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = call i32 @aiGetMaterialProperty(ptr noundef %33, ptr noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %14)
  %38 = load ptr, ptr %14, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %41, label %40

40:                                               ; preds = %31
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %15, align 4
  br label %223

41:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  %42 = load ptr, ptr %14, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.aiMaterialProperty, ptr %42, i32 0, i32 4
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = icmp eq i32 4, %44
  br i1 %45, label %51, label %46

46:                                               ; preds = %41
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.aiMaterialProperty, ptr %47, i32 0, i32 4
  %49 = load i32, ptr %48, align 8, !tbaa !11
  %50 = icmp eq i32 5, %49
  br i1 %50, label %51, label %107

51:                                               ; preds = %46, %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.aiMaterialProperty, ptr %52, i32 0, i32 3
  %54 = load i32, ptr %53, align 4, !tbaa !15
  %55 = zext i32 %54 to i64
  %56 = udiv i64 %55, 4
  %57 = trunc i64 %56 to i32
  store i32 %57, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !9
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %59 = load i32, ptr %58, align 4, !tbaa !9
  store i32 %59, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %66

62:                                               ; preds = %51
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %65 = load i32, ptr %64, align 4, !tbaa !9
  store i32 %65, ptr %16, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %62, %51
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.aiMaterialProperty, ptr %67, i32 0, i32 3
  %69 = load i32, ptr %68, align 4, !tbaa !15
  %70 = icmp eq i32 1, %69
  br i1 %70, label %71, label %78

71:                                               ; preds = %66
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.aiMaterialProperty, ptr %72, i32 0, i32 5
  %74 = load ptr, ptr %73, align 8, !tbaa !16
  %75 = load i8, ptr %74, align 1, !tbaa !17
  %76 = sext i8 %75 to i32
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 %76, ptr %77, align 4, !tbaa !9
  br label %100

78:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %96, %78
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = icmp ult i32 %80, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %79
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %99

84:                                               ; preds = %79
  %85 = load ptr, ptr %14, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.aiMaterialProperty, ptr %85, i32 0, i32 5
  %87 = load ptr, ptr %86, align 8, !tbaa !16
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds i32, ptr %87, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = load i32, ptr %19, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds i32, ptr %92, i64 %94
  store i32 %91, ptr %95, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %84
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = add i32 %97, 1
  store i32 %98, ptr %19, align 4, !tbaa !9
  br label %79, !llvm.loop !18

99:                                               ; preds = %83
  br label %100

100:                                              ; preds = %99, %71
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %106

103:                                              ; preds = %100
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 %104, ptr %105, align 4, !tbaa !9
  br label %106

106:                                              ; preds = %103, %100
  br label %221

107:                                              ; preds = %46
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.aiMaterialProperty, ptr %108, i32 0, i32 4
  %110 = load i32, ptr %109, align 8, !tbaa !11
  %111 = icmp eq i32 1, %110
  br i1 %111, label %112, label %154

112:                                              ; preds = %107
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.aiMaterialProperty, ptr %113, i32 0, i32 3
  %115 = load i32, ptr %114, align 4, !tbaa !15
  %116 = zext i32 %115 to i64
  %117 = udiv i64 %116, 4
  %118 = trunc i64 %117 to i32
  store i32 %118, ptr %16, align 4, !tbaa !9
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = icmp ne ptr %119, null
  br i1 %120, label %121, label %125

121:                                              ; preds = %112
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %122, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %124 = load i32, ptr %123, align 4, !tbaa !9
  store i32 %124, ptr %16, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %121, %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %144, %125
  %127 = load i32, ptr %20, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  %129 = icmp ult i32 %127, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %126
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %147

131:                                              ; preds = %126
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.aiMaterialProperty, ptr %132, i32 0, i32 5
  %134 = load ptr, ptr %133, align 8, !tbaa !16
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = getelementptr inbounds float, ptr %134, i64 %136
  %138 = load float, ptr %137, align 4, !tbaa !20
  %139 = fptosi float %138 to i32
  %140 = load ptr, ptr %12, align 8, !tbaa !5
  %141 = load i32, ptr %20, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds i32, ptr %140, i64 %142
  store i32 %139, ptr %143, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %131
  %145 = load i32, ptr %20, align 4, !tbaa !9
  %146 = add i32 %145, 1
  store i32 %146, ptr %20, align 4, !tbaa !9
  br label %126, !llvm.loop !22

147:                                              ; preds = %130
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %153

150:                                              ; preds = %147
  %151 = load i32, ptr %16, align 4, !tbaa !9
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 %151, ptr %152, align 4, !tbaa !9
  br label %153

153:                                              ; preds = %150, %147
  br label %220

154:                                              ; preds = %107
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = icmp ne ptr %155, null
  br i1 %156, label %157, label %160

157:                                              ; preds = %154
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = load i32, ptr %158, align 4, !tbaa !9
  store i32 %159, ptr %16, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %157, %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %161 = load ptr, ptr %14, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.aiMaterialProperty, ptr %161, i32 0, i32 5
  %163 = load ptr, ptr %162, align 8, !tbaa !16
  %164 = getelementptr inbounds i8, ptr %163, i64 4
  store ptr %164, ptr %21, align 8, !tbaa !5
  %165 = load ptr, ptr %14, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.aiMaterialProperty, ptr %165, i32 0, i32 3
  %167 = load i32, ptr %166, align 4, !tbaa !15
  %168 = icmp uge i32 %167, 5
  br i1 %168, label %170, label %169

169:                                              ; preds = %160
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 323)
  br label %170

170:                                              ; preds = %169, %160
  %171 = phi i1 [ true, %160 ], [ false, %169 ]
  %172 = load ptr, ptr %14, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.aiMaterialProperty, ptr %172, i32 0, i32 5
  %174 = load ptr, ptr %173, align 8, !tbaa !16
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.aiMaterialProperty, ptr %175, i32 0, i32 3
  %177 = load i32, ptr %176, align 4, !tbaa !15
  %178 = sub i32 %177, 1
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds i8, ptr %174, i64 %179
  %181 = load i8, ptr %180, align 1, !tbaa !17
  %182 = icmp ne i8 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %170
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 324)
  br label %184

184:                                              ; preds = %183, %170
  %185 = phi i1 [ true, %170 ], [ false, %183 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %205, %184
  %187 = load ptr, ptr %21, align 8, !tbaa !5
  %188 = call noundef i32 @_ZN6Assimp8strtol10EPKcPS1_(ptr noundef %187, ptr noundef %21)
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = load i32, ptr %22, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds i32, ptr %189, i64 %191
  store i32 %188, ptr %192, align 4, !tbaa !9
  %193 = load i32, ptr %22, align 4, !tbaa !9
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = sub i32 %194, 1
  %196 = icmp eq i32 %193, %195
  br i1 %196, label %197, label %198

197:                                              ; preds = %186
  store i32 8, ptr %15, align 4
  br label %208

198:                                              ; preds = %186
  %199 = load ptr, ptr %21, align 8, !tbaa !5
  %200 = load i8, ptr %199, align 1, !tbaa !17
  %201 = call noundef zeroext i1 @_ZN6Assimp7IsSpaceIcEEbT_(i8 noundef signext %200)
  br i1 %201, label %204, label %202

202:                                              ; preds = %198
  %203 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger5errorIJRA18_KcRPS2_RA58_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %203, ptr noundef nonnull align 1 dereferenceable(18) @.str.7, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 1 dereferenceable(58) @.str.9)
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %15, align 4
  br label %208

204:                                              ; preds = %198
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr %22, align 4, !tbaa !9
  %207 = add i32 %206, 1
  store i32 %207, ptr %22, align 4, !tbaa !9
  br label %186, !llvm.loop !23

208:                                              ; preds = %202, %197
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  %209 = load i32, ptr %15, align 4
  switch i32 %209, label %217 [
    i32 8, label %210
  ]

210:                                              ; preds = %208
  %211 = load ptr, ptr %13, align 8, !tbaa !5
  %212 = icmp ne ptr %211, null
  br i1 %212, label %213, label %216

213:                                              ; preds = %210
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 %214, ptr %215, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %213, %210
  store i32 0, ptr %15, align 4
  br label %217

217:                                              ; preds = %216, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  %218 = load i32, ptr %15, align 4
  switch i32 %218, label %222 [
    i32 0, label %219
  ]

219:                                              ; preds = %217
  br label %220

220:                                              ; preds = %219, %153
  br label %221

221:                                              ; preds = %220, %106
  store i32 0, ptr %7, align 4
  store i32 1, ptr %15, align 4
  br label %222

222:                                              ; preds = %221, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %223

223:                                              ; preds = %222, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %224 = load i32, ptr %7, align 4
  ret i32 %224
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN6Assimp8strtol10EPKcPS1_(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger5errorIJRA18_KcRPS2_RA58_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(58)) #0 align 2

attributes #0 = { 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 #1 = { "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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; 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 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [58 x i8], align 1

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

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

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Assimp7IsSpaceIcEEbT_(i8 noundef signext) local_unnamed_addr #3

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local range(i32 -1, 1) i32 @aiGetMaterialIntegerArray(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef writeonly %4, ptr noundef %5) local_unnamed_addr #0 {
  %7 = ptrtoint ptr %4 to i64
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %14, label %15

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

15:                                               ; preds = %14, %6
  %.not45 = icmp eq ptr %0, null
  br i1 %.not45, label %16, label %17

16:                                               ; preds = %15
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 275)
  br label %17

17:                                               ; preds = %16, %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %18 = call i32 @aiGetMaterialProperty(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %9)
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %.not46 = icmp eq ptr %19, null
  br i1 %.not46, label %134, label %20

20:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %19, i64 1040
  %22 = load i32, ptr %21, align 8, !tbaa !11
  switch i32 %22, label %94 [
    i32 4, label %23
    i32 5, label %23
    i32 1, label %70
  ]

23:                                               ; preds = %20, %20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %24 = getelementptr inbounds i8, ptr %19, i64 1036
  %25 = load i32, ptr %24, align 4, !tbaa !15
  %26 = lshr i32 %25, 2
  store i32 %26, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 1, ptr %12, align 4, !tbaa !9
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %28 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %28, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %.not50 = icmp eq ptr %5, null
  br i1 %.not50, label %32, label %29

29:                                               ; preds = %23
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %31 = load i32, ptr %30, align 4, !tbaa !9
  store i32 %31, ptr %10, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %29, %23
  %33 = phi i32 [ %31, %29 ], [ %28, %23 ]
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 1036
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = icmp eq i32 %36, 1
  br i1 %37, label %52, label %.preheader

.preheader:                                       ; preds = %32
  %.not60 = icmp eq i32 %33, 0
  br i1 %.not60, label %.loopexit, label %.lr.ph55

.lr.ph55:                                         ; preds = %.preheader
  %38 = getelementptr inbounds i8, ptr %34, i64 1048
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %wide.trip.count65 = zext i32 %33 to i64
  %min.iters.check73 = icmp ult i32 %33, 8
  %40 = ptrtoint ptr %39 to i64
  %41 = sub i64 %7, %40
  %diff.check = icmp ult i64 %41, 32
  %or.cond = select i1 %min.iters.check73, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph72.preheader, label %vector.ph74

scalar.ph72.preheader:                            ; preds = %middle.block71, %.lr.ph55
  %indvars.iv62.ph = phi i64 [ 0, %.lr.ph55 ], [ %n.vec76, %middle.block71 ]
  %xtraiter = and i64 %wide.trip.count65, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph72.prol.loopexit, label %scalar.ph72.prol

scalar.ph72.prol:                                 ; preds = %scalar.ph72.preheader, %scalar.ph72.prol
  %indvars.iv62.prol = phi i64 [ %indvars.iv.next63.prol, %scalar.ph72.prol ], [ %indvars.iv62.ph, %scalar.ph72.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph72.prol ], [ 0, %scalar.ph72.preheader ]
  %42 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv62.prol
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv62.prol
  store i32 %43, ptr %44, align 4, !tbaa !9
  %indvars.iv.next63.prol = add nuw nsw i64 %indvars.iv62.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph72.prol.loopexit, label %scalar.ph72.prol, !llvm.loop !17

scalar.ph72.prol.loopexit:                        ; preds = %scalar.ph72.prol, %scalar.ph72.preheader
  %indvars.iv62.unr = phi i64 [ %indvars.iv62.ph, %scalar.ph72.preheader ], [ %indvars.iv.next63.prol, %scalar.ph72.prol ]
  %45 = sub nsw i64 %indvars.iv62.ph, %wide.trip.count65
  %46 = icmp ugt i64 %45, -4
  br i1 %46, label %.loopexit, label %scalar.ph72

vector.ph74:                                      ; preds = %.lr.ph55
  %n.vec76 = and i64 %wide.trip.count65, 4294967288
  br label %vector.body78

vector.body78:                                    ; preds = %vector.body78, %vector.ph74
  %index79 = phi i64 [ 0, %vector.ph74 ], [ %index.next82, %vector.body78 ]
  %47 = getelementptr inbounds i32, ptr %39, i64 %index79
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  %wide.load80 = load <4 x i32>, ptr %47, align 4, !tbaa !9
  %wide.load81 = load <4 x i32>, ptr %48, align 4, !tbaa !9
  %49 = getelementptr inbounds i32, ptr %4, i64 %index79
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  store <4 x i32> %wide.load80, ptr %49, align 4, !tbaa !9
  store <4 x i32> %wide.load81, ptr %50, align 4, !tbaa !9
  %index.next82 = add nuw i64 %index79, 8
  %51 = icmp eq i64 %index.next82, %n.vec76
  br i1 %51, label %middle.block71, label %vector.body78, !llvm.loop !19

middle.block71:                                   ; preds = %vector.body78
  %cmp.n83 = icmp eq i64 %n.vec76, %wide.trip.count65
  br i1 %cmp.n83, label %.loopexit, label %scalar.ph72.preheader

52:                                               ; preds = %32
  %53 = getelementptr inbounds i8, ptr %34, i64 1048
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  %55 = load i8, ptr %54, align 1, !tbaa !23
  %56 = sext i8 %55 to i32
  store i32 %56, ptr %4, align 4, !tbaa !9
  br label %.loopexit

scalar.ph72:                                      ; preds = %scalar.ph72.prol.loopexit, %scalar.ph72
  %indvars.iv62 = phi i64 [ %indvars.iv.next63.3, %scalar.ph72 ], [ %indvars.iv62.unr, %scalar.ph72.prol.loopexit ]
  %57 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv62
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv62
  store i32 %58, ptr %59, align 4, !tbaa !9
  %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62, 1
  %60 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv.next63
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv.next63
  store i32 %61, ptr %62, align 4, !tbaa !9
  %indvars.iv.next63.1 = add nuw nsw i64 %indvars.iv62, 2
  %63 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv.next63.1
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv.next63.1
  store i32 %64, ptr %65, align 4, !tbaa !9
  %indvars.iv.next63.2 = add nuw nsw i64 %indvars.iv62, 3
  %66 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv.next63.2
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv.next63.2
  store i32 %67, ptr %68, align 4, !tbaa !9
  %indvars.iv.next63.3 = add nuw nsw i64 %indvars.iv62, 4
  %exitcond66.not.3 = icmp eq i64 %indvars.iv.next63.3, %wide.trip.count65
  br i1 %exitcond66.not.3, label %.loopexit, label %scalar.ph72, !llvm.loop !24

.loopexit:                                        ; preds = %scalar.ph72.prol.loopexit, %scalar.ph72, %middle.block71, %.preheader, %52
  br i1 %.not50, label %133, label %69

69:                                               ; preds = %.loopexit
  store i32 %33, ptr %5, align 4, !tbaa !9
  br label %133

70:                                               ; preds = %20
  %71 = getelementptr inbounds i8, ptr %19, i64 1036
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = lshr i32 %72, 2
  store i32 %73, ptr %10, align 4, !tbaa !9
  %.not49 = icmp eq ptr %5, null
  br i1 %.not49, label %77, label %74

74:                                               ; preds = %70
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %76 = load i32, ptr %75, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %74, %70
  %78 = phi i32 [ %76, %74 ], [ %73, %70 ]
  %.not59 = icmp eq i32 %78, 0
  br i1 %.not59, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %77
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 1048
  %81 = load ptr, ptr %80, align 8, !tbaa !16
  %wide.trip.count = zext i32 %78 to i64
  %min.iters.check = icmp ult i32 %78, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %82 = getelementptr inbounds float, ptr %81, i64 %index
  %83 = getelementptr inbounds i8, ptr %82, i64 16
  %wide.load = load <4 x float>, ptr %82, align 4, !tbaa !25
  %wide.load70 = load <4 x float>, ptr %83, align 4, !tbaa !25
  %84 = fptosi <4 x float> %wide.load to <4 x i32>
  %85 = fptosi <4 x float> %wide.load70 to <4 x i32>
  %86 = getelementptr inbounds i32, ptr %4, i64 %index
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  store <4 x i32> %84, ptr %86, align 4, !tbaa !9
  store <4 x i32> %85, ptr %87, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 8
  %88 = icmp eq i64 %index.next, %n.vec
  br i1 %88, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %77
  br i1 %.not49, label %133, label %93

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %89 = getelementptr inbounds float, ptr %81, i64 %indvars.iv
  %90 = load float, ptr %89, align 4, !tbaa !25
  %91 = fptosi float %90 to i32
  %92 = getelementptr inbounds i32, ptr %4, i64 %indvars.iv
  store i32 %91, ptr %92, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !28

93:                                               ; preds = %._crit_edge
  store i32 %78, ptr %5, align 4, !tbaa !9
  br label %133

94:                                               ; preds = %20
  %.not47 = icmp eq ptr %5, null
  br i1 %.not47, label %97, label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %96, ptr %10, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %95, %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %98 = getelementptr inbounds i8, ptr %19, i64 1048
  %99 = load ptr, ptr %98, align 8, !tbaa !16
  %100 = getelementptr inbounds i8, ptr %99, i64 4
  store ptr %100, ptr %13, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %19, i64 1036
  %102 = load i32, ptr %101, align 4, !tbaa !15
  %103 = icmp ugt i32 %102, 4
  br i1 %103, label %105, label %104

104:                                              ; preds = %97
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 323)
  %.pre = load ptr, ptr %9, align 8, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 1048
  %.pre67 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !16
  %.phi.trans.insert68 = getelementptr inbounds i8, ptr %.pre, i64 1036
  %.pre69 = load i32, ptr %.phi.trans.insert68, align 4, !tbaa !15
  br label %105

105:                                              ; preds = %104, %97
  %106 = phi i32 [ %.pre69, %104 ], [ %102, %97 ]
  %107 = phi ptr [ %.pre67, %104 ], [ %99, %97 ]
  %108 = add i32 %106, -1
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds i8, ptr %107, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !23
  %.not48 = icmp eq i8 %111, 0
  br i1 %.not48, label %113, label %112

112:                                              ; preds = %105
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 324)
  br label %113

113:                                              ; preds = %112, %105
  %114 = call noundef i32 @_ZN6Assimp8strtol10EPKcPS1_(ptr noundef nonnull %100, ptr noundef nonnull %13)
  store i32 %114, ptr %4, align 4, !tbaa !9
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %.critedge, label %.lr.ph58

117:                                              ; preds = %.lr.ph58
  %118 = add i32 %.056, 1
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = call noundef i32 @_ZN6Assimp8strtol10EPKcPS1_(ptr noundef %119, ptr noundef nonnull %13)
  %121 = zext i32 %118 to i64
  %122 = getelementptr inbounds i32, ptr %4, i64 %121
  store i32 %120, ptr %122, align 4, !tbaa !9
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = add i32 %123, -2
  %125 = icmp eq i32 %.056, %124
  br i1 %125, label %.critedge, label %.lr.ph58, !llvm.loop !29

.lr.ph58:                                         ; preds = %113, %117
  %.056 = phi i32 [ %118, %117 ], [ 0, %113 ]
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = load i8, ptr %126, align 1, !tbaa !23
  %128 = call noundef zeroext i1 @_ZN6Assimp7IsSpaceIcEEbT_(i8 noundef signext %127)
  br i1 %128, label %117, label %.critedge52

.critedge:                                        ; preds = %117, %113
  %129 = phi i32 [ 1, %113 ], [ %123, %117 ]
  br i1 %.not47, label %131, label %130

130:                                              ; preds = %.critedge
  store i32 %129, ptr %5, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %.critedge, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %133

.critedge52:                                      ; preds = %.lr.ph58
  %132 = call noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
  call void @_ZN6Assimp6Logger5errorIJRA18_KcRPS2_RA58_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %132, ptr noundef nonnull align 1 dereferenceable(18) @.str.7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 1 dereferenceable(58) @.str.9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %133

133:                                              ; preds = %69, %.loopexit, %._crit_edge, %93, %131, %.critedge52
  %.139 = phi i32 [ -1, %.critedge52 ], [ 0, %131 ], [ 0, %93 ], [ 0, %._crit_edge ], [ 0, %.loopexit ], [ 0, %69 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %134

134:                                              ; preds = %17, %133
  %.2 = phi i32 [ %.139, %133 ], [ -1, %17 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  ret i32 %.2
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN6Assimp8strtol10EPKcPS1_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger5errorIJRA18_KcRPS2_RA58_S2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(58)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { "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 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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