; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/Common (BaseImporter)

; 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.std::unique_ptr.8" = type { %"struct.std::__uniq_ptr_data.9" }
%"struct.std::__uniq_ptr_data.9" = type { %"class.std::__uniq_ptr_impl.10" }
%"class.std::__uniq_ptr_impl.10" = type { %"class.std::tuple.11" }
%"class.std::tuple.11" = type { %"struct.std::_Tuple_impl.12" }
%"struct.std::_Tuple_impl.12" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::unique_ptr.16" = type { %"struct.std::__uniq_ptr_data.17" }
%"struct.std::__uniq_ptr_data.17" = type { %"class.std::__uniq_ptr_impl.18" }
%"class.std::__uniq_ptr_impl.18" = type { %"class.std::tuple.19" }
%"class.std::tuple.19" = type { %"struct.std::_Tuple_impl.20" }
%"struct.std::_Tuple_impl.20" = type { %"struct.std::_Head_base.23" }
%"struct.std::_Head_base.23" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6Assimp12BaseImporter24SearchFileHeaderForTokenEPNS_8IOSystemERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPPKcmjbb(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6) #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i1, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca %"class.std::unique_ptr.8", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::unique_ptr.16", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca i32, align 4
  %31 = alloca i64, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i64, align 8
  %34 = alloca ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store i64 %3, ptr %12, align 8, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !11
  %35 = zext i1 %5 to i8
  store i8 %35, ptr %14, align 1, !tbaa !13
  %36 = zext i1 %6 to i8
  store i8 %36, ptr %15, align 1, !tbaa !13
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = icmp ne ptr null, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %7
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 183)
  br label %40

40:                                               ; preds = %39, %7
  %41 = phi i1 [ true, %7 ], [ false, %39 ]
  %42 = load i64, ptr %12, align 8, !tbaa !9
  %43 = icmp ne i64 0, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 184)
  br label %45

45:                                               ; preds = %44, %40
  %46 = phi i1 [ true, %40 ], [ false, %44 ]
  %47 = load i32, ptr %13, align 4, !tbaa !11
  %48 = icmp ne i32 0, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 185)
  br label %50

50:                                               ; preds = %49, %45
  %51 = phi i1 [ true, %45 ], [ false, %49 ]
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = icmp eq ptr null, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %50
  store i1 false, ptr %8, align 1
  br label %269

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %58 unwind label %81

58:                                               ; preds = %55
  %59 = invoke noundef ptr @_ZN6Assimp8IOSystem4OpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %60 unwind label %85

60:                                               ; preds = %58
  call void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef %59) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  %61 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br i1 %61, label %62, label %266

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %63 = load i32, ptr %13, align 4, !tbaa !11
  %64 = add i32 %63, 1
  %65 = zext i32 %64 to i64
  %66 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %65) #8
          to label %67 unwind label %90

67:                                               ; preds = %62
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EEC2IPcS2_vbEET_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %66) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %68 = call noundef ptr @_ZNKSt10unique_ptrIA_cSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  store ptr %68, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %69 = call noundef ptr @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  %70 = load ptr, ptr %22, align 8, !tbaa !5
  %71 = load i32, ptr %13, align 4, !tbaa !11
  %72 = zext i32 %71 to i64
  %73 = load ptr, ptr %69, align 8, !tbaa !15
  %74 = getelementptr inbounds ptr, ptr %73, i64 2
  %75 = load ptr, ptr %74, align 8
  %76 = invoke noundef i64 %75(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef %70, i64 noundef 1, i64 noundef %72)
          to label %77 unwind label %94

77:                                               ; preds = %67
  store i64 %76, ptr %23, align 8, !tbaa !9
  %78 = load i64, ptr %23, align 8, !tbaa !9
  %79 = icmp eq i64 0, %78
  br i1 %79, label %80, label %98

80:                                               ; preds = %77
  store i1 false, ptr %8, align 1
  store i32 1, ptr %24, align 4
  br label %261

81:                                               ; preds = %55
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %19, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %20, align 4
  br label %89

85:                                               ; preds = %58
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %19, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %89

89:                                               ; preds = %85, %81
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %268

90:                                               ; preds = %62
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %19, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %20, align 4
  br label %265

94:                                               ; preds = %67
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %19, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %20, align 4
  br label %264

98:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %99

99:                                               ; preds = %115, %98
  %100 = load i64, ptr %25, align 8, !tbaa !9
  %101 = load i64, ptr %23, align 8, !tbaa !9
  %102 = icmp ult i64 %100, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %99
  store i32 2, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %118

104:                                              ; preds = %99
  %105 = load ptr, ptr %22, align 8, !tbaa !5
  %106 = load i64, ptr %25, align 8, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %105, i64 %106
  %108 = load i8, ptr %107, align 1, !tbaa !17
  %109 = zext i8 %108 to i32
  %110 = call i32 @tolower(i32 noundef %109) #9
  %111 = trunc i32 %110 to i8
  %112 = load ptr, ptr %22, align 8, !tbaa !5
  %113 = load i64, ptr %25, align 8, !tbaa !9
  %114 = getelementptr inbounds i8, ptr %112, i64 %113
  store i8 %111, ptr %114, align 1, !tbaa !17
  br label %115

115:                                              ; preds = %104
  %116 = load i64, ptr %25, align 8, !tbaa !9
  %117 = add i64 %116, 1
  store i64 %117, ptr %25, align 8, !tbaa !9
  br label %99, !llvm.loop !18

118:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %119 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %119, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %120 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %120, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %121 = load ptr, ptr %22, align 8, !tbaa !5
  %122 = load i64, ptr %23, align 8, !tbaa !9
  %123 = getelementptr inbounds i8, ptr %121, i64 %122
  store ptr %123, ptr %28, align 8, !tbaa !5
  br label %124

124:                                              ; preds = %137, %118
  %125 = load ptr, ptr %26, align 8, !tbaa !5
  %126 = load ptr, ptr %28, align 8, !tbaa !5
  %127 = icmp ne ptr %125, %126
  br i1 %127, label %128, label %140

128:                                              ; preds = %124
  %129 = load ptr, ptr %26, align 8, !tbaa !5
  %130 = load i8, ptr %129, align 1, !tbaa !17
  %131 = icmp ne i8 %130, 0
  br i1 %131, label %132, label %137

132:                                              ; preds = %128
  %133 = load ptr, ptr %26, align 8, !tbaa !5
  %134 = load i8, ptr %133, align 1, !tbaa !17
  %135 = load ptr, ptr %27, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i32 1
  store ptr %136, ptr %27, align 8, !tbaa !5
  store i8 %134, ptr %135, align 1, !tbaa !17
  br label %137

137:                                              ; preds = %132, %128
  %138 = load ptr, ptr %26, align 8, !tbaa !5
  %139 = getelementptr inbounds i8, ptr %138, i32 1
  store ptr %139, ptr %26, align 8, !tbaa !5
  br label %124, !llvm.loop !20

140:                                              ; preds = %124
  %141 = load ptr, ptr %27, align 8, !tbaa !5
  store i8 0, ptr %141, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !11
  br label %142

142:                                              ; preds = %252, %140
  %143 = load i32, ptr %30, align 4, !tbaa !11
  %144 = zext i32 %143 to i64
  %145 = load i64, ptr %12, align 8, !tbaa !9
  %146 = icmp ult i64 %144, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %142
  store i32 7, ptr %24, align 4
  br label %256

148:                                              ; preds = %142
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = load i32, ptr %30, align 4, !tbaa !11
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds ptr, ptr %149, i64 %151
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = icmp ne ptr null, %153
  br i1 %154, label %157, label %155

155:                                              ; preds = %148
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 218)
          to label %156 unwind label %175

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156, %148
  %158 = phi i1 [ true, %148 ], [ false, %156 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = load i32, ptr %30, align 4, !tbaa !11
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds ptr, ptr %159, i64 %161
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  %164 = call i64 @strlen(ptr noundef %163) #9
  store i64 %164, ptr %31, align 8, !tbaa !9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = load i32, ptr %30, align 4, !tbaa !11
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds ptr, ptr %165, i64 %167
  %169 = load ptr, ptr %168, align 8, !tbaa !5
  store ptr %169, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  store i64 0, ptr %33, align 8, !tbaa !9
  br label %170

170:                                              ; preds = %188, %157
  %171 = load i64, ptr %33, align 8, !tbaa !9
  %172 = load i64, ptr %31, align 8, !tbaa !9
  %173 = icmp ult i64 %171, %172
  br i1 %173, label %179, label %174

174:                                              ; preds = %170
  store i32 10, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %195

175:                                              ; preds = %155
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %19, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %20, align 4
  br label %258

179:                                              ; preds = %170
  %180 = load ptr, ptr %32, align 8, !tbaa !5
  %181 = load i8, ptr %180, align 1, !tbaa !17
  %182 = zext i8 %181 to i32
  %183 = call i32 @tolower(i32 noundef %182) #9
  %184 = trunc i32 %183 to i8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %29, i8 noundef signext %184)
          to label %185 unwind label %191

185:                                              ; preds = %179
  %186 = load ptr, ptr %32, align 8, !tbaa !5
  %187 = getelementptr inbounds i8, ptr %186, i32 1
  store ptr %187, ptr %32, align 8, !tbaa !5
  br label %188

188:                                              ; preds = %185
  %189 = load i64, ptr %33, align 8, !tbaa !9
  %190 = add i64 %189, 1
  store i64 %190, ptr %33, align 8, !tbaa !9
  br label %170, !llvm.loop !21

191:                                              ; preds = %179
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %19, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %255

195:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %196 = load ptr, ptr %22, align 8, !tbaa !5
  %197 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  %198 = call noundef ptr @strstr(ptr noundef %196, ptr noundef %197) #9
  store ptr %198, ptr %34, align 8, !tbaa !5
  %199 = load ptr, ptr %34, align 8, !tbaa !5
  %200 = icmp ne ptr %199, null
  br i1 %200, label %202, label %201

201:                                              ; preds = %195
  store i32 9, ptr %24, align 4
  br label %249

202:                                              ; preds = %195
  %203 = load i8, ptr %15, align 1, !tbaa !13, !range !22, !noundef !23
  %204 = trunc i8 %203 to i1
  br i1 %204, label %205, label %217

205:                                              ; preds = %202
  %206 = load ptr, ptr %34, align 8, !tbaa !5
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = icmp ne ptr %206, %207
  br i1 %208, label %209, label %217

209:                                              ; preds = %205
  %210 = load ptr, ptr %34, align 8, !tbaa !5
  %211 = getelementptr inbounds i8, ptr %210, i64 -1
  %212 = load i8, ptr %211, align 1, !tbaa !17
  %213 = zext i8 %212 to i32
  %214 = call i32 @isgraph(i32 noundef %213) #9
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %217

216:                                              ; preds = %209
  store i32 9, ptr %24, align 4
  br label %249

217:                                              ; preds = %209, %205, %202
  %218 = load i8, ptr %14, align 1, !tbaa !13, !range !22, !noundef !23
  %219 = trunc i8 %218 to i1
  br i1 %219, label %220, label %236

220:                                              ; preds = %217
  %221 = load ptr, ptr %34, align 8, !tbaa !5
  %222 = load ptr, ptr %22, align 8, !tbaa !5
  %223 = icmp eq ptr %221, %222
  br i1 %223, label %236, label %224

224:                                              ; preds = %220
  %225 = load ptr, ptr %34, align 8, !tbaa !5
  %226 = getelementptr inbounds i8, ptr %225, i64 -1
  %227 = load i8, ptr %226, align 1, !tbaa !17
  %228 = sext i8 %227 to i32
  %229 = icmp eq i32 %228, 13
  br i1 %229, label %236, label %230

230:                                              ; preds = %224
  %231 = load ptr, ptr %34, align 8, !tbaa !5
  %232 = getelementptr inbounds i8, ptr %231, i64 -1
  %233 = load i8, ptr %232, align 1, !tbaa !17
  %234 = sext i8 %233 to i32
  %235 = icmp eq i32 %234, 10
  br i1 %235, label %236, label %248

236:                                              ; preds = %230, %224, %220, %217
  %237 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %238 unwind label %244

238:                                              ; preds = %236
  %239 = load ptr, ptr %11, align 8, !tbaa !5
  %240 = load i32, ptr %30, align 4, !tbaa !11
  %241 = zext i32 %240 to i64
  %242 = getelementptr inbounds ptr, ptr %239, i64 %241
  invoke void @_ZN6Assimp6Logger5debugIJRA42_KcRPS2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %237, ptr noundef nonnull align 1 dereferenceable(42) @.str.15, ptr noundef nonnull align 8 dereferenceable(8) %242)
          to label %243 unwind label %244

243:                                              ; preds = %238
  store i1 true, ptr %8, align 1
  store i32 1, ptr %24, align 4
  br label %249

244:                                              ; preds = %238, %236
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %19, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %255

248:                                              ; preds = %230
  store i32 0, ptr %24, align 4
  br label %249

249:                                              ; preds = %248, %243, %216, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  %250 = load i32, ptr %24, align 4
  switch i32 %250, label %256 [
    i32 0, label %251
    i32 9, label %252
  ]

251:                                              ; preds = %249
  br label %252

252:                                              ; preds = %251, %249
  %253 = load i32, ptr %30, align 4, !tbaa !11
  %254 = add i32 %253, 1
  store i32 %254, ptr %30, align 4, !tbaa !11
  br label %142, !llvm.loop !24

255:                                              ; preds = %244, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %258

256:                                              ; preds = %249, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  %257 = load i32, ptr %24, align 4
  switch i32 %257, label %260 [
    i32 7, label %259
  ]

258:                                              ; preds = %255, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %264

259:                                              ; preds = %256
  store i32 0, ptr %24, align 4
  br label %260

260:                                              ; preds = %259, %256
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %261

261:                                              ; preds = %260, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  %262 = load i32, ptr %24, align 4
  switch i32 %262, label %267 [
    i32 0, label %263
  ]

263:                                              ; preds = %261
  br label %266

264:                                              ; preds = %258, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %265

265:                                              ; preds = %264, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br label %268

266:                                              ; preds = %263, %60
  store i1 false, ptr %8, align 1
  store i32 1, ptr %24, align 4
  br label %267

267:                                              ; preds = %266, %261
  call void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %269

268:                                              ; preds = %265, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %271

269:                                              ; preds = %267, %54
  %270 = load i1, ptr %8, align 1
  ret i1 %270

271:                                              ; preds = %268
  %272 = load ptr, ptr %19, align 8
  %273 = load i32, ptr %20, align 4
  %274 = insertvalue { ptr, i32 } poison, ptr %272, 0
  %275 = insertvalue { ptr, i32 } %274, i32 %273, 1
  resume { ptr, i32 } %275
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EEC2IPcS2_vbEET_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIA_cSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #6

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #3 align 2

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strstr(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger5debugIJRA42_KcRPS2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(42), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { 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 #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 = { 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 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 = { 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 #6 = { nounwind willreturn memory(read) "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 }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { nounwind willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !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"

%"class.std::unique_ptr.8" = type { %"struct.std::__uniq_ptr_data.9" }
%"struct.std::__uniq_ptr_data.9" = type { %"class.std::__uniq_ptr_impl.10" }
%"class.std::__uniq_ptr_impl.10" = type { %"class.std::tuple.11" }
%"class.std::tuple.11" = type { %"struct.std::_Tuple_impl.12" }
%"struct.std::_Tuple_impl.12" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::unique_ptr.16" = type { %"struct.std::__uniq_ptr_data.17" }
%"struct.std::__uniq_ptr_data.17" = type { %"class.std::__uniq_ptr_impl.18" }
%"class.std::__uniq_ptr_impl.18" = type { %"class.std::tuple.19" }
%"class.std::tuple.19" = type { %"struct.std::_Tuple_impl.20" }
%"struct.std::_Tuple_impl.20" = type { %"struct.std::_Head_base.23" }
%"struct.std::_Head_base.23" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

declare noundef ptr @_ZN6Assimp13DefaultLogger3getEv() local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6Assimp12BaseImporter24SearchFileHeaderForTokenEPNS_8IOSystemERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPPKcmjbb(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::unique_ptr.8", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::unique_ptr.16", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %13, label %14

13:                                               ; preds = %7
  tail call void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 183)
  br label %14

14:                                               ; preds = %13, %7
  %.not89 = icmp eq i64 %3, 0
  br i1 %.not89, label %15, label %16

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

16:                                               ; preds = %15, %14
  %.not90 = icmp eq i32 %4, 0
  br i1 %.not90, label %17, label %18

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

18:                                               ; preds = %17, %16
  %19 = icmp eq ptr %0, null
  br i1 %19, label %146, label %20

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %21 unwind label %38

21:                                               ; preds = %20
  %22 = invoke noundef ptr @_ZN6Assimp8IOSystem4OpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %23 unwind label %40

23:                                               ; preds = %21
  call void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %22) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  %24 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br i1 %24, label %25, label %144

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %26 = add i32 %4, 1
  %27 = zext i32 %26 to i64
  %28 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %27) #9
          to label %29 unwind label %43

29:                                               ; preds = %25
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EEC2IPcS2_vbEET_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %28) #8
  %30 = call noundef ptr @_ZNKSt10unique_ptrIA_cSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %31 = call noundef ptr @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %32 = zext i32 %4 to i64
  %33 = load ptr, ptr %31, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  %35 = load ptr, ptr %34, align 8
  %36 = invoke noundef i64 %35(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef %30, i64 noundef 1, i64 noundef %32)
          to label %37 unwind label %45

37:                                               ; preds = %29
  %.not131 = icmp eq i64 %36, 0
  br i1 %.not131, label %.critedge, label %.preheader

38:                                               ; preds = %20
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %42

40:                                               ; preds = %21
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %42

42:                                               ; preds = %40, %38
  %.pn = phi { ptr, i32 } [ %41, %40 ], [ %39, %38 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %145

43:                                               ; preds = %25
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %143

45:                                               ; preds = %29
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %142

.lr.ph.preheader:                                 ; preds = %.preheader
  %47 = getelementptr inbounds i8, ptr %30, i64 %36
  %xtraiter = and i64 %36, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader, %51
  %.076115.prol = phi ptr [ %.177.prol, %51 ], [ %30, %.lr.ph.preheader ]
  %.078114.prol = phi ptr [ %52, %51 ], [ %30, %.lr.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %51 ], [ 0, %.lr.ph.preheader ]
  %48 = load i8, ptr %.078114.prol, align 1, !tbaa !8
  %.not103.prol = icmp eq i8 %48, 0
  br i1 %.not103.prol, label %51, label %49

49:                                               ; preds = %.lr.ph.prol
  %50 = getelementptr inbounds i8, ptr %.076115.prol, i64 1
  store i8 %48, ptr %.076115.prol, align 1, !tbaa !8
  br label %51

51:                                               ; preds = %49, %.lr.ph.prol
  %.177.prol = phi ptr [ %50, %49 ], [ %.076115.prol, %.lr.ph.prol ]
  %52 = getelementptr inbounds i8, ptr %.078114.prol, i64 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 %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !10

.lr.ph.prol.loopexit:                             ; preds = %51, %.lr.ph.preheader
  %.177.lcssa.unr = phi ptr [ poison, %.lr.ph.preheader ], [ %.177.prol, %51 ]
  %.076115.unr = phi ptr [ %30, %.lr.ph.preheader ], [ %.177.prol, %51 ]
  %.078114.unr = phi ptr [ %30, %.lr.ph.preheader ], [ %52, %51 ]
  %53 = icmp ult i64 %36, 4
  br i1 %53, label %._crit_edge, label %.lr.ph

.preheader:                                       ; preds = %37, %.preheader
  %.079112 = phi i64 [ %59, %.preheader ], [ 0, %37 ]
  %54 = getelementptr inbounds i8, ptr %30, i64 %.079112
  %55 = load i8, ptr %54, align 1, !tbaa !8
  %56 = zext i8 %55 to i32
  %57 = call i32 @tolower(i32 noundef %56) #10
  %58 = trunc i32 %57 to i8
  store i8 %58, ptr %54, align 1, !tbaa !8
  %59 = add nuw i64 %.079112, 1
  %exitcond.not = icmp eq i64 %59, %36
  br i1 %exitcond.not, label %.lr.ph.preheader, label %.preheader, !llvm.loop !12

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %75
  %.076115 = phi ptr [ %.177.3, %75 ], [ %.076115.unr, %.lr.ph.prol.loopexit ]
  %.078114 = phi ptr [ %76, %75 ], [ %.078114.unr, %.lr.ph.prol.loopexit ]
  %60 = load i8, ptr %.078114, align 1, !tbaa !8
  %.not103 = icmp eq i8 %60, 0
  br i1 %.not103, label %.lr.ph.1, label %61

61:                                               ; preds = %.lr.ph
  %62 = getelementptr inbounds i8, ptr %.076115, i64 1
  store i8 %60, ptr %.076115, align 1, !tbaa !8
  br label %.lr.ph.1

.lr.ph.1:                                         ; preds = %61, %.lr.ph
  %.177 = phi ptr [ %62, %61 ], [ %.076115, %.lr.ph ]
  %63 = getelementptr inbounds i8, ptr %.078114, i64 1
  %64 = load i8, ptr %63, align 1, !tbaa !8
  %.not103.1 = icmp eq i8 %64, 0
  br i1 %.not103.1, label %.lr.ph.2, label %65

65:                                               ; preds = %.lr.ph.1
  %66 = getelementptr inbounds i8, ptr %.177, i64 1
  store i8 %64, ptr %.177, align 1, !tbaa !8
  br label %.lr.ph.2

.lr.ph.2:                                         ; preds = %65, %.lr.ph.1
  %.177.1 = phi ptr [ %66, %65 ], [ %.177, %.lr.ph.1 ]
  %67 = getelementptr inbounds i8, ptr %.078114, i64 2
  %68 = load i8, ptr %67, align 1, !tbaa !8
  %.not103.2 = icmp eq i8 %68, 0
  br i1 %.not103.2, label %.lr.ph.3, label %69

69:                                               ; preds = %.lr.ph.2
  %70 = getelementptr inbounds i8, ptr %.177.1, i64 1
  store i8 %68, ptr %.177.1, align 1, !tbaa !8
  br label %.lr.ph.3

.lr.ph.3:                                         ; preds = %69, %.lr.ph.2
  %.177.2 = phi ptr [ %70, %69 ], [ %.177.1, %.lr.ph.2 ]
  %71 = getelementptr inbounds i8, ptr %.078114, i64 3
  %72 = load i8, ptr %71, align 1, !tbaa !8
  %.not103.3 = icmp eq i8 %72, 0
  br i1 %.not103.3, label %75, label %73

73:                                               ; preds = %.lr.ph.3
  %74 = getelementptr inbounds i8, ptr %.177.2, i64 1
  store i8 %72, ptr %.177.2, align 1, !tbaa !8
  br label %75

75:                                               ; preds = %73, %.lr.ph.3
  %.177.3 = phi ptr [ %74, %73 ], [ %.177.2, %.lr.ph.3 ]
  %76 = getelementptr inbounds i8, ptr %.078114, i64 4
  %.not92.3 = icmp eq ptr %76, %47
  br i1 %.not92.3, label %._crit_edge, label %.lr.ph, !llvm.loop !14

._crit_edge:                                      ; preds = %75, %.lr.ph.prol.loopexit
  %.177.lcssa = phi ptr [ %.177.lcssa.unr, %.lr.ph.prol.loopexit ], [ %.177.3, %75 ]
  store i8 0, ptr %.177.lcssa, align 1, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br i1 %.not89, label %._crit_edge124, label %.lr.ph123

.lr.ph123:                                        ; preds = %._crit_edge
  br i1 %6, label %.lr.ph123.split, label %.lr.ph123.split.us

.lr.ph123.split.us:                               ; preds = %.lr.ph123, %91
  %77 = phi i64 [ %93, %91 ], [ 0, %.lr.ph123 ]
  %.069121.us = phi i32 [ %92, %91 ], [ 0, %.lr.ph123 ]
  %78 = getelementptr inbounds ptr, ptr %2, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !15
  %.not93.us = icmp eq ptr %79, null
  br i1 %.not93.us, label %80, label %81

80:                                               ; preds = %.lr.ph123.split.us
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 218)
          to label %._crit_edge145 unwind label %.split.us

._crit_edge145:                                   ; preds = %80
  %.pre = load ptr, ptr %78, align 8, !tbaa !15
  br label %81

81:                                               ; preds = %._crit_edge145, %.lr.ph123.split.us
  %82 = phi ptr [ %.pre, %._crit_edge145 ], [ %79, %.lr.ph123.split.us ]
  %83 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %82) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  %.not134 = icmp eq i64 %83, 0
  br i1 %.not134, label %._crit_edge120.us, label %.lr.ph119.us.preheader

.lr.ph119.us.preheader:                           ; preds = %81
  %84 = load ptr, ptr %78, align 8, !tbaa !15
  br label %.lr.ph119.us

._crit_edge120.us:                                ; preds = %99, %81
  %85 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  %86 = call noundef ptr @strstr(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) %85) #10
  %.not94.us = icmp eq ptr %86, null
  br i1 %.not94.us, label %91, label %87

87:                                               ; preds = %._crit_edge120.us
  %.not95.us = icmp ne ptr %86, %30
  %or.cond106.us.not = and i1 %.not95.us, %5
  br i1 %or.cond106.us.not, label %88, label %.split126.us

88:                                               ; preds = %87
  %89 = getelementptr inbounds i8, ptr %86, i64 -1
  %90 = load i8, ptr %89, align 1, !tbaa !8
  switch i8 %90, label %91 [
    i8 13, label %.split126.us
    i8 10, label %.split126.us
  ]

91:                                               ; preds = %88, %._crit_edge120.us
  %92 = add i32 %.069121.us, 1
  %93 = zext i32 %92 to i64
  %94 = icmp ult i64 %93, %3
  br i1 %94, label %.lr.ph123.split.us, label %._crit_edge124, !llvm.loop !17

.lr.ph119.us:                                     ; preds = %.lr.ph119.us.preheader, %99
  %.061117.us = phi i64 [ %101, %99 ], [ 0, %.lr.ph119.us.preheader ]
  %.062116.us = phi ptr [ %100, %99 ], [ %84, %.lr.ph119.us.preheader ]
  %95 = load i8, ptr %.062116.us, align 1, !tbaa !8
  %96 = zext i8 %95 to i32
  %97 = call i32 @tolower(i32 noundef %96) #10
  %98 = trunc i32 %97 to i8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %12, i8 noundef signext %98)
          to label %99 unwind label %.split129.us

99:                                               ; preds = %.lr.ph119.us
  %100 = getelementptr inbounds i8, ptr %.062116.us, i64 1
  %101 = add nuw i64 %.061117.us, 1
  %exitcond143.not = icmp eq i64 %101, %83
  br i1 %exitcond143.not, label %._crit_edge120.us, label %.lr.ph119.us, !llvm.loop !18

.split.us:                                        ; preds = %80
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %141

.split129.us:                                     ; preds = %.lr.ph119.us
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %141

.lr.ph123.split:                                  ; preds = %.lr.ph123, %137
  %104 = phi i64 [ %139, %137 ], [ 0, %.lr.ph123 ]
  %.069121 = phi i32 [ %138, %137 ], [ 0, %.lr.ph123 ]
  %105 = getelementptr inbounds ptr, ptr %2, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !15
  %.not93 = icmp eq ptr %106, null
  br i1 %.not93, label %107, label %108

107:                                              ; preds = %.lr.ph123.split
  invoke void @_ZN6Assimp17aiAssertViolationEPKcS1_i(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 218)
          to label %._crit_edge146 unwind label %.split

._crit_edge146:                                   ; preds = %107
  %.pre147 = load ptr, ptr %105, align 8, !tbaa !15
  br label %108

108:                                              ; preds = %._crit_edge146, %.lr.ph123.split
  %109 = phi ptr [ %.pre147, %._crit_edge146 ], [ %106, %.lr.ph123.split ]
  %110 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %109) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  %.not133 = icmp eq i64 %110, 0
  br i1 %.not133, label %._crit_edge120, label %.lr.ph119.preheader

.lr.ph119.preheader:                              ; preds = %108
  %111 = load ptr, ptr %105, align 8, !tbaa !15
  br label %.lr.ph119

._crit_edge120:                                   ; preds = %119, %108
  %112 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  %113 = call noundef ptr @strstr(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) %112) #10
  %.not94 = icmp eq ptr %113, null
  br i1 %.not94, label %137, label %123

.split:                                           ; preds = %107
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %141

.lr.ph119:                                        ; preds = %.lr.ph119.preheader, %119
  %.061117 = phi i64 [ %121, %119 ], [ 0, %.lr.ph119.preheader ]
  %.062116 = phi ptr [ %120, %119 ], [ %111, %.lr.ph119.preheader ]
  %115 = load i8, ptr %.062116, align 1, !tbaa !8
  %116 = zext i8 %115 to i32
  %117 = call i32 @tolower(i32 noundef %116) #10
  %118 = trunc i32 %117 to i8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32) %12, i8 noundef signext %118)
          to label %119 unwind label %.split129

119:                                              ; preds = %.lr.ph119
  %120 = getelementptr inbounds i8, ptr %.062116, i64 1
  %121 = add nuw i64 %.061117, 1
  %exitcond144.not = icmp eq i64 %121, %110
  br i1 %exitcond144.not, label %._crit_edge120, label %.lr.ph119, !llvm.loop !18

.split129:                                        ; preds = %.lr.ph119
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %141

123:                                              ; preds = %._crit_edge120
  %.not95 = icmp ne ptr %113, %30
  br i1 %.not95, label %124, label %.split126.us

124:                                              ; preds = %123
  %125 = getelementptr inbounds i8, ptr %113, i64 -1
  %126 = load i8, ptr %125, align 1, !tbaa !8
  %127 = zext i8 %126 to i32
  %128 = call i32 @isgraph(i32 noundef %127) #10
  %.not96 = icmp eq i32 %128, 0
  br i1 %.not96, label %129, label %137

129:                                              ; preds = %124
  %or.cond106.not = and i1 %.not95, %5
  br i1 %or.cond106.not, label %130, label %.split126.us

130:                                              ; preds = %129
  %131 = getelementptr inbounds i8, ptr %113, i64 -1
  %132 = load i8, ptr %131, align 1, !tbaa !8
  switch i8 %132, label %137 [
    i8 13, label %.split126.us
    i8 10, label %.split126.us
  ]

.split126.us:                                     ; preds = %87, %88, %88, %123, %129, %130, %130
  %.us-phi127 = phi ptr [ %105, %130 ], [ %105, %130 ], [ %105, %129 ], [ %105, %123 ], [ %78, %88 ], [ %78, %88 ], [ %78, %87 ]
  %133 = invoke noundef ptr @_ZN6Assimp13DefaultLogger3getEv()
          to label %134 unwind label %135

134:                                              ; preds = %.split126.us
  invoke void @_ZN6Assimp6Logger5debugIJRA42_KcRPS2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12) %133, ptr noundef nonnull align 1 dereferenceable(42) @.str.15, ptr noundef nonnull align 8 dereferenceable(8) %.us-phi127)
          to label %.thread108 unwind label %135

.thread108:                                       ; preds = %134
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br label %144

135:                                              ; preds = %134, %.split126.us
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %141

137:                                              ; preds = %._crit_edge120, %124, %130
  %138 = add i32 %.069121, 1
  %139 = zext i32 %138 to i64
  %140 = icmp ult i64 %139, %3
  br i1 %140, label %.lr.ph123.split, label %._crit_edge124, !llvm.loop !17

._crit_edge124:                                   ; preds = %91, %137, %._crit_edge
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br label %144

141:                                              ; preds = %.split129, %.split129.us, %.split, %.split.us, %135
  %.pn97.pn = phi { ptr, i32 } [ %136, %135 ], [ %114, %.split ], [ %102, %.split.us ], [ %122, %.split129 ], [ %103, %.split129.us ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %142

142:                                              ; preds = %141, %45
  %.pn97.pn.pn = phi { ptr, i32 } [ %.pn97.pn, %141 ], [ %46, %45 ]
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br label %143

143:                                              ; preds = %142, %43
  %.pn97.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn, %142 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br label %145

.critedge:                                        ; preds = %37
  call void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br label %144

144:                                              ; preds = %23, %._crit_edge124, %.thread108, %.critedge
  %.4 = phi i1 [ false, %.critedge ], [ true, %.thread108 ], [ false, %._crit_edge124 ], [ false, %23 ]
  call void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %146

145:                                              ; preds = %143, %42
  %.pn97.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn, %143 ], [ %.pn, %42 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn97.pn.pn.pn.pn

146:                                              ; preds = %18, %144
  %.5 = phi i1 [ %.4, %144 ], [ false, %18 ]
  ret i1 %.5
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN6Assimp8IOSystem4OpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIA_cSt14default_deleteIS0_EEC2IPcS2_vbEET_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIA_cSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN6Assimp8IOStreamESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5clearEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isgraph(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp6Logger5debugIJRA42_KcRPS2_EEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(42), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { 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 #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 = { 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 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 = { 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 #6 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nounwind willreturn memory(read) }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.unroll.disable"}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


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