; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/AssetLib/FBX (FBXExportProperty)

; 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::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = 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::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.Assimp::FBX::FBXExportProperty" = type { i8, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTI17DeadlyExportError = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX17FBXExportProperty10DumpBinaryERNS_12StreamWriterILb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(56) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca i1, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 0
  %21 = load i8, ptr %20, align 8, !tbaa !9
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56) %19, i8 noundef zeroext %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %22 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %23 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  store ptr %23, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %24 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 0
  %25 = load i8, ptr %24, align 8, !tbaa !9
  %26 = sext i8 %25 to i32
  switch i32 %26, label %180 [
    i32 67, label %27
    i32 89, label %31
    i32 73, label %35
    i32 70, label %39
    i32 68, label %43
    i32 76, label %47
    i32 83, label %51
    i32 82, label %51
    i32 105, label %72
    i32 108, label %99
    i32 102, label %126
    i32 100, label %153
  ]

27:                                               ; preds = %2
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = load i8, ptr %29, align 1, !tbaa !15
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56) %28, i8 noundef zeroext %30)
  store i32 1, ptr %7, align 4
  br label %209

31:                                               ; preds = %2
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = load i16, ptr %33, align 2, !tbaa !16
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI2Es(ptr noundef nonnull align 8 dereferenceable(56) %32, i16 noundef signext %34)
  store i32 1, ptr %7, align 4
  br label %209

35:                                               ; preds = %2
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i32, ptr %37, align 4, !tbaa !18
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI4Ei(ptr noundef nonnull align 8 dereferenceable(56) %36, i32 noundef %38)
  store i32 1, ptr %7, align 4
  br label %209

39:                                               ; preds = %2
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load float, ptr %41, align 4, !tbaa !20
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF4Ef(ptr noundef nonnull align 8 dereferenceable(56) %40, float noundef %42)
  store i32 1, ptr %7, align 4
  br label %209

43:                                               ; preds = %2
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = load double, ptr %45, align 8, !tbaa !22
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF8Ed(ptr noundef nonnull align 8 dereferenceable(56) %44, double noundef %46)
  store i32 1, ptr %7, align 4
  br label %209

47:                                               ; preds = %2
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i64, ptr %49, align 8, !tbaa !24
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI8El(ptr noundef nonnull align 8 dereferenceable(56) %48, i64 noundef %50)
  store i32 1, ptr %7, align 4
  br label %209

51:                                               ; preds = %2, %2
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %54 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #5
  %55 = trunc i64 %54 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %52, i32 noundef %55)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store i64 0, ptr %8, align 8, !tbaa !24
  br label %56

56:                                               ; preds = %68, %51
  %57 = load i64, ptr %8, align 8, !tbaa !24
  %58 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %59 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  %60 = icmp ult i64 %57, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %56
  store i32 3, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %71

62:                                               ; preds = %56
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %65 = load i64, ptr %8, align 8, !tbaa !24
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %65) #5
  %67 = load i8, ptr %66, align 1, !tbaa !15
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56) %63, i8 noundef zeroext %67)
  br label %68

68:                                               ; preds = %62
  %69 = load i64, ptr %8, align 8, !tbaa !24
  %70 = add i64 %69, 1
  store i64 %70, ptr %8, align 8, !tbaa !24
  br label %56, !llvm.loop !26

71:                                               ; preds = %61
  store i32 1, ptr %7, align 4
  br label %209

72:                                               ; preds = %2
  %73 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %74 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #5
  %75 = udiv i64 %74, 4
  store i64 %75, ptr %6, align 8, !tbaa !24
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = load i64, ptr %6, align 8, !tbaa !24
  %78 = trunc i64 %77 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %76, i32 noundef %78)
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %79, i32 noundef 0)
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %82 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #5
  %83 = trunc i64 %82 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %80, i32 noundef %83)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !24
  br label %84

84:                                               ; preds = %95, %72
  %85 = load i64, ptr %9, align 8, !tbaa !24
  %86 = load i64, ptr %6, align 8, !tbaa !24
  %87 = icmp ult i64 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 6, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %98

89:                                               ; preds = %84
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i64, ptr %9, align 8, !tbaa !24
  %93 = getelementptr inbounds i32, ptr %91, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !18
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI4Ei(ptr noundef nonnull align 8 dereferenceable(56) %90, i32 noundef %94)
  br label %95

95:                                               ; preds = %89
  %96 = load i64, ptr %9, align 8, !tbaa !24
  %97 = add i64 %96, 1
  store i64 %97, ptr %9, align 8, !tbaa !24
  br label %84, !llvm.loop !28

98:                                               ; preds = %88
  store i32 1, ptr %7, align 4
  br label %209

99:                                               ; preds = %2
  %100 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %101 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #5
  %102 = udiv i64 %101, 8
  store i64 %102, ptr %6, align 8, !tbaa !24
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = load i64, ptr %6, align 8, !tbaa !24
  %105 = trunc i64 %104 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %103, i32 noundef %105)
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %106, i32 noundef 0)
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %109 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  %110 = trunc i64 %109 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %107, i32 noundef %110)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !24
  br label %111

111:                                              ; preds = %122, %99
  %112 = load i64, ptr %10, align 8, !tbaa !24
  %113 = load i64, ptr %6, align 8, !tbaa !24
  %114 = icmp ult i64 %112, %113
  br i1 %114, label %116, label %115

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

116:                                              ; preds = %111
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load i64, ptr %10, align 8, !tbaa !24
  %120 = getelementptr inbounds i64, ptr %118, i64 %119
  %121 = load i64, ptr %120, align 8, !tbaa !24
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI8El(ptr noundef nonnull align 8 dereferenceable(56) %117, i64 noundef %121)
  br label %122

122:                                              ; preds = %116
  %123 = load i64, ptr %10, align 8, !tbaa !24
  %124 = add i64 %123, 1
  store i64 %124, ptr %10, align 8, !tbaa !24
  br label %111, !llvm.loop !29

125:                                              ; preds = %115
  store i32 1, ptr %7, align 4
  br label %209

126:                                              ; preds = %2
  %127 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %128 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #5
  %129 = udiv i64 %128, 4
  store i64 %129, ptr %6, align 8, !tbaa !24
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = load i64, ptr %6, align 8, !tbaa !24
  %132 = trunc i64 %131 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %130, i32 noundef %132)
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %133, i32 noundef 0)
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %136 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #5
  %137 = trunc i64 %136 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %134, i32 noundef %137)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !24
  br label %138

138:                                              ; preds = %149, %126
  %139 = load i64, ptr %11, align 8, !tbaa !24
  %140 = load i64, ptr %6, align 8, !tbaa !24
  %141 = icmp ult i64 %139, %140
  br i1 %141, label %143, label %142

142:                                              ; preds = %138
  store i32 12, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %152

143:                                              ; preds = %138
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = load i64, ptr %11, align 8, !tbaa !24
  %147 = getelementptr inbounds float, ptr %145, i64 %146
  %148 = load float, ptr %147, align 4, !tbaa !20
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF4Ef(ptr noundef nonnull align 8 dereferenceable(56) %144, float noundef %148)
  br label %149

149:                                              ; preds = %143
  %150 = load i64, ptr %11, align 8, !tbaa !24
  %151 = add i64 %150, 1
  store i64 %151, ptr %11, align 8, !tbaa !24
  br label %138, !llvm.loop !30

152:                                              ; preds = %142
  store i32 1, ptr %7, align 4
  br label %209

153:                                              ; preds = %2
  %154 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %155 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #5
  %156 = udiv i64 %155, 8
  store i64 %156, ptr %6, align 8, !tbaa !24
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = load i64, ptr %6, align 8, !tbaa !24
  %159 = trunc i64 %158 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %157, i32 noundef %159)
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %160, i32 noundef 0)
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 1
  %163 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %162) #5
  %164 = trunc i64 %163 to i32
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %161, i32 noundef %164)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !24
  br label %165

165:                                              ; preds = %176, %153
  %166 = load i64, ptr %12, align 8, !tbaa !24
  %167 = load i64, ptr %6, align 8, !tbaa !24
  %168 = icmp ult i64 %166, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %165
  store i32 15, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %179

170:                                              ; preds = %165
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = load i64, ptr %12, align 8, !tbaa !24
  %174 = getelementptr inbounds double, ptr %172, i64 %173
  %175 = load double, ptr %174, align 8, !tbaa !22
  call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF8Ed(ptr noundef nonnull align 8 dereferenceable(56) %171, double noundef %175)
  br label %176

176:                                              ; preds = %170
  %177 = load i64, ptr %12, align 8, !tbaa !24
  %178 = add i64 %177, 1
  store i64 %178, ptr %12, align 8, !tbaa !24
  br label %165, !llvm.loop !31

179:                                              ; preds = %169
  store i32 1, ptr %7, align 4
  br label %209

180:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 376, ptr %13) #5
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13)
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef @.str.1)
          to label %182 unwind label %192

182:                                              ; preds = %180
  %183 = getelementptr inbounds %"class.Assimp::FBX::FBXExportProperty", ptr %18, i32 0, i32 0
  %184 = load i8, ptr %183, align 8, !tbaa !9
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %13, i8 noundef signext %184)
          to label %186 unwind label %192

186:                                              ; preds = %182
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef @.str.2)
          to label %188 unwind label %192

188:                                              ; preds = %186
  store i1 true, ptr %17, align 1
  %189 = call ptr @__cxa_allocate_exception(i64 16) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #5
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(112) %13)
          to label %190 unwind label %196

190:                                              ; preds = %188
  invoke void @_ZN17DeadlyExportErrorC2IJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEDpOT_(ptr noundef nonnull align 8 dereferenceable(16) %189, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %191 unwind label %200

191:                                              ; preds = %190
  store i1 false, ptr %17, align 1
  invoke void @__cxa_throw(ptr %189, ptr @_ZTI17DeadlyExportError, ptr @_ZNSt13runtime_errorD2Ev) #6
          to label %215 unwind label %200

192:                                              ; preds = %186, %182, %180
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %14, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %15, align 4
  br label %208

196:                                              ; preds = %188
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %14, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %15, align 4
  br label %204

200:                                              ; preds = %191, %190
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %14, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %204

204:                                              ; preds = %200, %196
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  %205 = load i1, ptr %17, align 1
  br i1 %205, label %206, label %207

206:                                              ; preds = %204
  call void @__cxa_free_exception(ptr %189) #5
  br label %207

207:                                              ; preds = %206, %204
  br label %208

208:                                              ; preds = %207, %192
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #5
  call void @llvm.lifetime.end.p0(i64 376, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %210

209:                                              ; preds = %179, %152, %125, %98, %71, %47, %43, %39, %35, %31, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void

210:                                              ; preds = %208
  %211 = load ptr, ptr %14, align 8
  %212 = load i32, ptr %15, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214

215:                                              ; preds = %191
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56), i8 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI2Es(ptr noundef nonnull align 8 dereferenceable(56), i16 noundef signext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI4Ei(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF4Ef(ptr noundef nonnull align 8 dereferenceable(56), float noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF8Ed(ptr noundef nonnull align 8 dereferenceable(56), double noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !7, i64 0}
!10 = !{!"_ZTSN6Assimp3FBX17FBXExportPropertyE", !7, i64 0, !11, i64 8}
!11 = !{!"_ZTSSt6vectorIhSaIhEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !27}
!31 = distinct !{!31, !27}


; 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::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = 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::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@_ZTI17DeadlyExportError = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Assimp3FBX17FBXExportProperty10DumpBinaryERNS_12StreamWriterILb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(56) %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = load i8, ptr %0, align 8, !tbaa !5
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56) %1, i8 noundef zeroext %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = tail call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %8 = load i8, ptr %0, align 8, !tbaa !5
  switch i8 %8, label %66 [
    i8 67, label %9
    i8 89, label %11
    i8 73, label %13
    i8 70, label %15
    i8 68, label %17
    i8 76, label %19
    i8 83, label %21
    i8 82, label %21
    i8 105, label %30
    i8 108, label %39
    i8 102, label %48
    i8 100, label %57
  ]

9:                                                ; preds = %2
  %10 = load i8, ptr %7, align 1, !tbaa !14
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56) %1, i8 noundef zeroext %10)
  br label %.loopexit

11:                                               ; preds = %2
  %12 = load i16, ptr %7, align 2, !tbaa !15
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI2Es(ptr noundef nonnull align 8 dereferenceable(56) %1, i16 noundef signext %12)
  br label %.loopexit

13:                                               ; preds = %2
  %14 = load i32, ptr %7, align 4, !tbaa !17
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI4Ei(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %14)
  br label %.loopexit

15:                                               ; preds = %2
  %16 = load float, ptr %7, align 4, !tbaa !19
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF4Ef(ptr noundef nonnull align 8 dereferenceable(56) %1, float noundef %16)
  br label %.loopexit

17:                                               ; preds = %2
  %18 = load double, ptr %7, align 8, !tbaa !21
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF8Ed(ptr noundef nonnull align 8 dereferenceable(56) %1, double noundef %18)
  br label %.loopexit

19:                                               ; preds = %2
  %20 = load i64, ptr %7, align 8, !tbaa !23
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI8El(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %20)
  br label %.loopexit

21:                                               ; preds = %2, %2
  %22 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %23 = trunc i64 %22 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %23)
  %24 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %.not93 = icmp eq i64 %24, 0
  br i1 %.not93, label %.loopexit, label %.lr.ph89

.lr.ph89:                                         ; preds = %21, %.lr.ph89
  %.06988 = phi i64 [ %27, %.lr.ph89 ], [ 0, %21 ]
  %25 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.06988) #5
  %26 = load i8, ptr %25, align 1, !tbaa !14
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56) %1, i8 noundef zeroext %26)
  %27 = add nuw i64 %.06988, 1
  %28 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %29 = icmp ult i64 %27, %28
  br i1 %29, label %.lr.ph89, label %.loopexit, !llvm.loop !25

30:                                               ; preds = %2
  %31 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %32 = lshr i64 %31, 2
  %33 = trunc i64 %32 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %33)
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef 0)
  %34 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %35 = trunc i64 %34 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %35)
  %.not92 = icmp ult i64 %31, 4
  br i1 %.not92, label %.loopexit, label %.lr.ph87

.lr.ph87:                                         ; preds = %30, %.lr.ph87
  %.06886 = phi i64 [ %38, %.lr.ph87 ], [ 0, %30 ]
  %36 = getelementptr inbounds i32, ptr %7, i64 %.06886
  %37 = load i32, ptr %36, align 4, !tbaa !17
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI4Ei(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %37)
  %38 = add nuw nsw i64 %.06886, 1
  %exitcond100.not = icmp eq i64 %38, %32
  br i1 %exitcond100.not, label %.loopexit, label %.lr.ph87, !llvm.loop !27

39:                                               ; preds = %2
  %40 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %41 = lshr i64 %40, 3
  %42 = trunc i64 %41 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %42)
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef 0)
  %43 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %44 = trunc i64 %43 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %44)
  %.not91 = icmp ult i64 %40, 8
  br i1 %.not91, label %.loopexit, label %.lr.ph85

.lr.ph85:                                         ; preds = %39, %.lr.ph85
  %.06784 = phi i64 [ %47, %.lr.ph85 ], [ 0, %39 ]
  %45 = getelementptr inbounds i64, ptr %7, i64 %.06784
  %46 = load i64, ptr %45, align 8, !tbaa !23
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI8El(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %46)
  %47 = add nuw nsw i64 %.06784, 1
  %exitcond99.not = icmp eq i64 %47, %41
  br i1 %exitcond99.not, label %.loopexit, label %.lr.ph85, !llvm.loop !28

48:                                               ; preds = %2
  %49 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %50 = lshr i64 %49, 2
  %51 = trunc i64 %50 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %51)
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef 0)
  %52 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %53 = trunc i64 %52 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %53)
  %.not90 = icmp ult i64 %49, 4
  br i1 %.not90, label %.loopexit, label %.lr.ph83

.lr.ph83:                                         ; preds = %48, %.lr.ph83
  %.06682 = phi i64 [ %56, %.lr.ph83 ], [ 0, %48 ]
  %54 = getelementptr inbounds float, ptr %7, i64 %.06682
  %55 = load float, ptr %54, align 4, !tbaa !19
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF4Ef(ptr noundef nonnull align 8 dereferenceable(56) %1, float noundef %55)
  %56 = add nuw nsw i64 %.06682, 1
  %exitcond98.not = icmp eq i64 %56, %50
  br i1 %exitcond98.not, label %.loopexit, label %.lr.ph83, !llvm.loop !29

57:                                               ; preds = %2
  %58 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %59 = lshr i64 %58, 3
  %60 = trunc i64 %59 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %60)
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef 0)
  %61 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %62 = trunc i64 %61 to i32
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56) %1, i32 noundef %62)
  %.not = icmp ult i64 %58, 8
  br i1 %.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %57, %.lr.ph
  %.06581 = phi i64 [ %65, %.lr.ph ], [ 0, %57 ]
  %63 = getelementptr inbounds double, ptr %7, i64 %.06581
  %64 = load double, ptr %63, align 8, !tbaa !21
  tail call void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF8Ed(ptr noundef nonnull align 8 dereferenceable(56) %1, double noundef %64)
  %65 = add nuw nsw i64 %.06581, 1
  %exitcond.not = icmp eq i64 %65, %59
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !30

66:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %3) #5
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %3)
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.1)
          to label %68 unwind label %78

68:                                               ; preds = %66
  %69 = load i8, ptr %0, align 8, !tbaa !5
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %3, i8 noundef signext %69)
          to label %71 unwind label %78

71:                                               ; preds = %68
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull @.str.2)
          to label %73 unwind label %78

73:                                               ; preds = %71
  %74 = call ptr @__cxa_allocate_exception(i64 16) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(112) %3)
          to label %75 unwind label %.thread

75:                                               ; preds = %73
  invoke void @_ZN17DeadlyExportErrorC2IJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEDpOT_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %77 unwind label %.thread75

.thread75:                                        ; preds = %75
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %83

77:                                               ; preds = %75
  invoke void @__cxa_throw(ptr nonnull %74, ptr nonnull @_ZTI17DeadlyExportError, ptr nonnull @_ZNSt13runtime_errorD2Ev) #6
          to label %85 unwind label %81

78:                                               ; preds = %71, %68, %66
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %84

.thread:                                          ; preds = %73
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %83

81:                                               ; preds = %77
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %84

83:                                               ; preds = %.thread75, %.thread
  %.pn74 = phi { ptr, i32 } [ %80, %.thread ], [ %76, %.thread75 ]
  call void @__cxa_free_exception(ptr %74) #5
  br label %84

84:                                               ; preds = %81, %83, %78
  %.pn.pn = phi { ptr, i32 } [ %.pn74, %83 ], [ %82, %81 ], [ %79, %78 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %3) #5
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph83, %.lr.ph85, %.lr.ph87, %.lr.ph89, %57, %48, %39, %30, %21, %19, %17, %15, %13, %11, %9
  ret void

85:                                               ; preds = %77
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU1Eh(ptr noundef nonnull align 8 dereferenceable(56), i8 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI2Es(ptr noundef nonnull align 8 dereferenceable(56), i16 noundef signext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutI4Ei(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF4Ef(ptr noundef nonnull align 8 dereferenceable(56), float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutF8Ed(ptr noundef nonnull align 8 dereferenceable(56), double noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Assimp12StreamWriterILb0ELb0EE5PutU4Ej(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN6Assimp3FBX17FBXExportPropertyE", !7, i64 0, !9, i64 8}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTSSt6vectorIhSaIhEE", !10, i64 0}
!10 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !11, i64 0}
!11 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass