; LLVM IR from zeux/meshoptimizer :: gltf/mesh.ll (Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings)

; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.45" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.46" = type { ptr }
%struct.Mesh = type { i32, %"class.std::vector", %"class.std::vector.0", ptr, ptr, %struct.cgltf_extras, i32, %"class.std::vector.5", %"class.std::vector.10", i8, [2 x i64], i64, %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.25" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgltf_node *, std::allocator<cgltf_node *>>::_Vector_impl" }
%"struct.std::_Vector_base<cgltf_node *, std::allocator<cgltf_node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgltf_node *, std::allocator<cgltf_node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgltf_node *, std::allocator<cgltf_node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Transform, std::allocator<Transform>>::_Vector_impl" }
%"struct.std::_Vector_base<Transform, std::allocator<Transform>>::_Vector_impl" = type { %"struct.std::_Vector_base<Transform, std::allocator<Transform>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Transform, std::allocator<Transform>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.cgltf_extras = type { i64, i64, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Stream, std::allocator<Stream>>::_Vector_impl" }
%"struct.std::_Vector_base<Stream, std::allocator<Stream>>::_Vector_impl" = type { %"struct.std::_Vector_base<Stream, std::allocator<Stream>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Stream, std::allocator<Stream>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<cgltf_material_mapping, std::allocator<cgltf_material_mapping>>::_Vector_impl" }
%"struct.std::_Vector_base<cgltf_material_mapping, std::allocator<cgltf_material_mapping>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgltf_material_mapping, std::allocator<cgltf_material_mapping>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgltf_material_mapping, std::allocator<cgltf_material_mapping>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Stream = type { i32, i32, i32, ptr, %"class.std::vector.30" }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<Attr, std::allocator<Attr>>::_Vector_impl" }
%"struct.std::_Vector_base<Attr, std::allocator<Attr>>::_Vector_impl" = type { %"struct.std::_Vector_base<Attr, std::allocator<Attr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Attr, std::allocator<Attr>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [66 x i8], align 1
@__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings = external hidden unnamed_addr constant [56 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [45 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

; 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 i64 @_ZNKSt6vectorIP10cgltf_nodeSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8hashMeshR4Mesh(ptr noundef nonnull align 8 dereferenceable(256)) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(148) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::unordered_map", align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.45", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.46", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.46", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.46", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.46", align 8
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.45", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.45", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %5) #6
  call void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 0, ptr %6, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %63, %2
  %39 = load i64, ptr %6, align 8, !tbaa !9
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %42 = icmp ult i64 %39, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %75

44:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = load i64, ptr %6, align 8, !tbaa !9
  %47 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %46) #6
  store ptr %47, ptr %7, align 8, !tbaa !5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_Z8hashMeshR4Mesh(ptr noundef nonnull align 8 dereferenceable(256) %48)
          to label %49 unwind label %66

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.Mesh, ptr %50, i32 0, i32 10
  %52 = getelementptr inbounds [2 x i64], ptr %51, i64 0, i64 0
  %53 = load i64, ptr %52, align 8, !tbaa !9
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.Mesh, ptr %54, i32 0, i32 10
  %56 = getelementptr inbounds [2 x i64], ptr %55, i64 0, i64 1
  %57 = load i64, ptr %56, align 8, !tbaa !9
  %58 = xor i64 %53, %57
  store i64 %58, ptr %10, align 8, !tbaa !9
  %59 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEEixEOm(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %60 unwind label %70

60:                                               ; preds = %49
  %61 = load i32, ptr %59, align 4, !tbaa !11
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %59, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %63

63:                                               ; preds = %60
  %64 = load i64, ptr %6, align 8, !tbaa !9
  %65 = add i64 %64, 1
  store i64 %65, ptr %6, align 8, !tbaa !9
  br label %38, !llvm.loop !13

66:                                               ; preds = %44
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  br label %74

70:                                               ; preds = %49
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %74

74:                                               ; preds = %70, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %380

75:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %297, %75
  %77 = load i64, ptr %11, align 8, !tbaa !9
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %80 = icmp ult i64 %77, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %76
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %301

82:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = load i64, ptr %11, align 8, !tbaa !9
  %85 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %84) #6
  store ptr %85, ptr %13, align 8, !tbaa !5
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = invoke noundef zeroext i1 @_ZL12canDedupMeshRK4MeshRK8Settings(ptr noundef nonnull align 8 dereferenceable(256) %86, ptr noundef nonnull align 4 dereferenceable(148) %87)
          to label %89 unwind label %91

89:                                               ; preds = %82
  br i1 %88, label %95, label %90

90:                                               ; preds = %89
  store i32 7, ptr %12, align 4
  br label %294

91:                                               ; preds = %82
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  br label %300

95:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.Mesh, ptr %96, i32 0, i32 10
  %98 = getelementptr inbounds [2 x i64], ptr %97, i64 0, i64 0
  %99 = load i64, ptr %98, align 8, !tbaa !9
  %100 = load ptr, ptr %13, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.Mesh, ptr %100, i32 0, i32 10
  %102 = getelementptr inbounds [2 x i64], ptr %101, i64 0, i64 1
  %103 = load i64, ptr %102, align 8, !tbaa !9
  %104 = xor i64 %99, %103
  store i64 %104, ptr %14, align 8, !tbaa !9
  %105 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEEixEOm(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %106 unwind label %110

106:                                              ; preds = %95
  %107 = load i32, ptr %105, align 4, !tbaa !11
  %108 = icmp sle i32 %107, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br i1 %108, label %109, label %114

109:                                              ; preds = %106
  store i32 7, ptr %12, align 4
  br label %294

110:                                              ; preds = %95
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %8, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %300

114:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %115 = load i64, ptr %11, align 8, !tbaa !9
  %116 = add i64 %115, 1
  store i64 %116, ptr %15, align 8, !tbaa !9
  br label %117

117:                                              ; preds = %281, %114
  %118 = load i64, ptr %15, align 8, !tbaa !9
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #6
  %121 = icmp ult i64 %118, %120
  br i1 %121, label %123, label %122

122:                                              ; preds = %117
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %293

123:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = load i64, ptr %15, align 8, !tbaa !9
  %126 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %125) #6
  store ptr %126, ptr %16, align 8, !tbaa !5
  %127 = load ptr, ptr %16, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.Mesh, ptr %127, i32 0, i32 10
  %129 = getelementptr inbounds [2 x i64], ptr %128, i64 0, i64 0
  %130 = load i64, ptr %129, align 8, !tbaa !9
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.Mesh, ptr %131, i32 0, i32 10
  %133 = getelementptr inbounds [2 x i64], ptr %132, i64 0, i64 0
  %134 = load i64, ptr %133, align 8, !tbaa !9
  %135 = icmp ne i64 %130, %134
  br i1 %135, label %146, label %136

136:                                              ; preds = %123
  %137 = load ptr, ptr %16, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.Mesh, ptr %137, i32 0, i32 10
  %139 = getelementptr inbounds [2 x i64], ptr %138, i64 0, i64 1
  %140 = load i64, ptr %139, align 8, !tbaa !9
  %141 = load ptr, ptr %13, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.Mesh, ptr %141, i32 0, i32 10
  %143 = getelementptr inbounds [2 x i64], ptr %142, i64 0, i64 1
  %144 = load i64, ptr %143, align 8, !tbaa !9
  %145 = icmp ne i64 %140, %144
  br i1 %145, label %146, label %147

146:                                              ; preds = %136, %123
  store i32 10, ptr %12, align 4
  br label %278

147:                                              ; preds = %136
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = invoke noundef zeroext i1 @_ZL12canDedupMeshRK4MeshRK8Settings(ptr noundef nonnull align 8 dereferenceable(256) %148, ptr noundef nonnull align 4 dereferenceable(148) %149)
          to label %151 unwind label %153

151:                                              ; preds = %147
  br i1 %150, label %157, label %152

152:                                              ; preds = %151
  store i32 10, ptr %12, align 4
  br label %278

153:                                              ; preds = %147
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %8, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %9, align 4
  br label %292

157:                                              ; preds = %151
  %158 = load ptr, ptr %16, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.Mesh, ptr %158, i32 0, i32 0
  %160 = load i32, ptr %159, align 8, !tbaa !15
  %161 = load ptr, ptr %13, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.Mesh, ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 8, !tbaa !15
  %164 = icmp ne i32 %160, %163
  br i1 %164, label %181, label %165

165:                                              ; preds = %157
  %166 = load ptr, ptr %16, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.Mesh, ptr %166, i32 0, i32 3
  %168 = load ptr, ptr %167, align 8, !tbaa !48
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.Mesh, ptr %169, i32 0, i32 3
  %171 = load ptr, ptr %170, align 8, !tbaa !48
  %172 = icmp ne ptr %168, %171
  br i1 %172, label %181, label %173

173:                                              ; preds = %165
  %174 = load ptr, ptr %16, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.Mesh, ptr %174, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !49
  %177 = load ptr, ptr %13, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.Mesh, ptr %177, i32 0, i32 4
  %179 = load ptr, ptr %178, align 8, !tbaa !49
  %180 = icmp ne ptr %176, %179
  br i1 %180, label %181, label %186

181:                                              ; preds = %173, %165, %157
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.Mesh, ptr %182, i32 0, i32 9
  store i8 1, ptr %183, align 8, !tbaa !50
  %184 = load ptr, ptr %16, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.Mesh, ptr %184, i32 0, i32 9
  store i8 1, ptr %185, align 8, !tbaa !50
  store i32 10, ptr %12, align 4
  br label %278

186:                                              ; preds = %173
  %187 = load ptr, ptr %16, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.Mesh, ptr %187, i32 0, i32 7
  %189 = call noundef i64 @_ZNKSt6vectorI6StreamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %188) #6
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.Mesh, ptr %190, i32 0, i32 7
  %192 = call noundef i64 @_ZNKSt6vectorI6StreamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %191) #6
  %193 = icmp eq i64 %189, %192
  br i1 %193, label %194, label %195

194:                                              ; preds = %186
  br label %197

195:                                              ; preds = %186
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 414, ptr noundef @__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings) #7
  unreachable

196:                                              ; No predecessors!
  br label %197

197:                                              ; preds = %196, %194
  %198 = load ptr, ptr %16, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.Mesh, ptr %198, i32 0, i32 7
  %200 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI6StreamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef 0) #6
  %201 = getelementptr inbounds %struct.Stream, ptr %200, i32 0, i32 4
  %202 = call noundef i64 @_ZNKSt6vectorI4AttrSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %201) #6
  %203 = load ptr, ptr %13, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.Mesh, ptr %203, i32 0, i32 7
  %205 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI6StreamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef 0) #6
  %206 = getelementptr inbounds %struct.Stream, ptr %205, i32 0, i32 4
  %207 = call noundef i64 @_ZNKSt6vectorI4AttrSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %206) #6
  %208 = icmp eq i64 %202, %207
  br i1 %208, label %209, label %210

209:                                              ; preds = %197
  br label %212

210:                                              ; preds = %197
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 415, ptr noundef @__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings) #7
  unreachable

211:                                              ; No predecessors!
  br label %212

212:                                              ; preds = %211, %209
  %213 = load ptr, ptr %16, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.Mesh, ptr %213, i32 0, i32 8
  %215 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %214) #6
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.Mesh, ptr %216, i32 0, i32 8
  %218 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #6
  %219 = icmp eq i64 %215, %218
  br i1 %219, label %220, label %221

220:                                              ; preds = %212
  br label %223

221:                                              ; preds = %212
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 416, ptr noundef @__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings) #7
  unreachable

222:                                              ; No predecessors!
  br label %223

223:                                              ; preds = %222, %220
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.Mesh, ptr %224, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %226 = load ptr, ptr %13, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.Mesh, ptr %226, i32 0, i32 1
  %228 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %227) #6
  %229 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %228, ptr %229, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP10cgltf_nodeSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %230 = load ptr, ptr %16, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.Mesh, ptr %230, i32 0, i32 1
  %232 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %231) #6
  %233 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %232, ptr %233, align 8
  %234 = load ptr, ptr %16, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.Mesh, ptr %234, i32 0, i32 1
  %236 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %235) #6
  %237 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %236, ptr %237, align 8
  %238 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.45", ptr %17, i32 0, i32 0
  %239 = load ptr, ptr %238, align 8
  %240 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8
  %242 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  %243 = load ptr, ptr %242, align 8
  %244 = invoke ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %225, ptr %239, ptr %241, ptr %243)
          to label %245 unwind label %284

245:                                              ; preds = %223
  %246 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %244, ptr %246, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %247 = load ptr, ptr %13, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.Mesh, ptr %247, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.Mesh, ptr %249, i32 0, i32 2
  %251 = call ptr @_ZNSt6vectorI9TransformSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %250) #6
  %252 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.46", ptr %23, i32 0, i32 0
  store ptr %251, ptr %252, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPK9TransformSt6vectorIS1_SaIS1_EEEC2IPS1_vEERKNS0_IT_S6_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %253 = load ptr, ptr %16, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.Mesh, ptr %253, i32 0, i32 2
  %255 = call ptr @_ZNSt6vectorI9TransformSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %254) #6
  %256 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.46", ptr %24, i32 0, i32 0
  store ptr %255, ptr %256, align 8
  %257 = load ptr, ptr %16, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.Mesh, ptr %257, i32 0, i32 2
  %259 = call ptr @_ZNSt6vectorI9TransformSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %258) #6
  %260 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.46", ptr %25, i32 0, i32 0
  store ptr %259, ptr %260, align 8
  %261 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %22, i32 0, i32 0
  %262 = load ptr, ptr %261, align 8
  %263 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.46", ptr %24, i32 0, i32 0
  %264 = load ptr, ptr %263, align 8
  %265 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.46", ptr %25, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8
  %267 = invoke ptr @_ZNSt6vectorI9TransformSaIS0_EE6insertIN9__gnu_cxx17__normal_iteratorIPS0_S2_EEvEES7_NS5_IPKS0_S2_EET_SB_(ptr noundef nonnull align 8 dereferenceable(24) %248, ptr %262, ptr %264, ptr %266)
          to label %268 unwind label %288

268:                                              ; preds = %245
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.46", ptr %26, i32 0, i32 0
  store ptr %267, ptr %269, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  %270 = load ptr, ptr %16, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.Mesh, ptr %270, i32 0, i32 7
  call void @_ZNSt6vectorI6StreamSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %271) #6
  %272 = load ptr, ptr %16, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.Mesh, ptr %272, i32 0, i32 8
  call void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %273) #6
  %274 = load ptr, ptr %16, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.Mesh, ptr %274, i32 0, i32 1
  call void @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %275) #6
  %276 = load ptr, ptr %16, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.Mesh, ptr %276, i32 0, i32 2
  call void @_ZNSt6vectorI9TransformSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %277) #6
  store i32 0, ptr %12, align 4
  br label %278

278:                                              ; preds = %268, %181, %152, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %279 = load i32, ptr %12, align 4
  switch i32 %279, label %386 [
    i32 0, label %280
    i32 10, label %281
  ]

280:                                              ; preds = %278
  br label %281

281:                                              ; preds = %280, %278
  %282 = load i64, ptr %15, align 8, !tbaa !9
  %283 = add i64 %282, 1
  store i64 %283, ptr %15, align 8, !tbaa !9
  br label %117, !llvm.loop !51

284:                                              ; preds = %223
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %8, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %292

288:                                              ; preds = %245
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %8, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %292

292:                                              ; preds = %288, %284, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %300

293:                                              ; preds = %122
  store i32 0, ptr %12, align 4
  br label %294

294:                                              ; preds = %293, %109, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  %295 = load i32, ptr %12, align 4
  switch i32 %295, label %386 [
    i32 0, label %296
    i32 7, label %297
  ]

296:                                              ; preds = %294
  br label %297

297:                                              ; preds = %296, %294
  %298 = load i64, ptr %11, align 8, !tbaa !9
  %299 = add i64 %298, 1
  store i64 %299, ptr %11, align 8, !tbaa !9
  br label %76, !llvm.loop !52

300:                                              ; preds = %292, %110, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %380

301:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i64 0, ptr %27, align 8, !tbaa !9
  br label %302

302:                                              ; preds = %362, %301
  %303 = load i64, ptr %27, align 8, !tbaa !9
  %304 = load ptr, ptr %3, align 8, !tbaa !5
  %305 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %304) #6
  %306 = icmp ult i64 %303, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %302
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %379

308:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %309 = load ptr, ptr %3, align 8, !tbaa !5
  %310 = load i64, ptr %27, align 8, !tbaa !9
  %311 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %309, i64 noundef %310) #6
  store ptr %311, ptr %28, align 8, !tbaa !5
  %312 = load ptr, ptr %28, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.Mesh, ptr %312, i32 0, i32 1
  %314 = call noundef i64 @_ZNKSt6vectorIP10cgltf_nodeSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %313) #6
  %315 = icmp ule i64 %314, 1
  br i1 %315, label %316, label %317

316:                                              ; preds = %308
  store i32 13, ptr %12, align 4
  br label %359

317:                                              ; preds = %308
  %318 = load ptr, ptr %28, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.Mesh, ptr %318, i32 0, i32 1
  %320 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %319) #6
  %321 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %320, ptr %321, align 8
  %322 = load ptr, ptr %28, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.Mesh, ptr %322, i32 0, i32 1
  %324 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %323) #6
  %325 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %324, ptr %325, align 8
  %326 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  %327 = load ptr, ptr %326, align 8
  %328 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  %329 = load ptr, ptr %328, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP10cgltf_nodeSt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %327, ptr %329)
          to label %330 unwind label %365

330:                                              ; preds = %317
  %331 = load ptr, ptr %28, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.Mesh, ptr %331, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %333 = load ptr, ptr %28, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.Mesh, ptr %333, i32 0, i32 1
  %335 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %334) #6
  %336 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %335, ptr %336, align 8
  %337 = load ptr, ptr %28, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.Mesh, ptr %337, i32 0, i32 1
  %339 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %338) #6
  %340 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %339, ptr %340, align 8
  %341 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  %342 = load ptr, ptr %341, align 8
  %343 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  %344 = load ptr, ptr %343, align 8
  %345 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPP10cgltf_nodeSt6vectorIS3_SaIS3_EEEEET_S9_S9_(ptr %342, ptr %344)
          to label %346 unwind label %369

346:                                              ; preds = %330
  %347 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %32, i32 0, i32 0
  store ptr %345, ptr %347, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP10cgltf_nodeSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %348 = load ptr, ptr %28, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.Mesh, ptr %348, i32 0, i32 1
  %350 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %349) #6
  %351 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %350, ptr %351, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP10cgltf_nodeSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #6
  %352 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.45", ptr %31, i32 0, i32 0
  %353 = load ptr, ptr %352, align 8
  %354 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.45", ptr %35, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8
  %356 = invoke ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %332, ptr %353, ptr %355)
          to label %357 unwind label %373

357:                                              ; preds = %346
  %358 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %356, ptr %358, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  store i32 0, ptr %12, align 4
  br label %359

359:                                              ; preds = %357, %316
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  %360 = load i32, ptr %12, align 4
  switch i32 %360, label %386 [
    i32 0, label %361
    i32 13, label %362
  ]

361:                                              ; preds = %359
  br label %362

362:                                              ; preds = %361, %359
  %363 = load i64, ptr %27, align 8, !tbaa !9
  %364 = add i64 %363, 1
  store i64 %364, ptr %27, align 8, !tbaa !9
  br label %302, !llvm.loop !53

365:                                              ; preds = %317
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %8, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %9, align 4
  br label %378

369:                                              ; preds = %330
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %8, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %9, align 4
  br label %377

373:                                              ; preds = %346
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %8, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %377

377:                                              ; preds = %373, %369
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %378

378:                                              ; preds = %377, %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %380

379:                                              ; preds = %307
  call void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #6
  ret void

380:                                              ; preds = %378, %300, %74
  call void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #6
  br label %381

381:                                              ; preds = %380
  %382 = load ptr, ptr %8, align 8
  %383 = load i32, ptr %9, align 4
  %384 = insertvalue { ptr, i32 } poison, ptr %382, 0
  %385 = insertvalue { ptr, i32 } %384, i32 %383, 1
  resume { ptr, i32 } %385

386:                                              ; preds = %359, %294, %278
  unreachable
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL12canDedupMeshRK4MeshRK8Settings(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 4 dereferenceable(148)) #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP10cgltf_nodeSt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !12, i64 0}
!16 = !{!"_ZTS4Mesh", !12, i64 0, !17, i64 8, !21, i64 32, !6, i64 56, !6, i64 64, !25, i64 72, !26, i64 96, !27, i64 104, !31, i64 128, !35, i64 152, !7, i64 160, !10, i64 176, !36, i64 184, !40, i64 208, !44, i64 232}
!17 = !{!"_ZTSSt6vectorIP10cgltf_nodeSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIP10cgltf_nodeSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorI9TransformSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseI9TransformSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTS12cgltf_extras", !10, i64 0, !10, i64 8, !6, i64 16}
!26 = !{!"_ZTS20cgltf_primitive_type", !7, i64 0}
!27 = !{!"_ZTSSt6vectorI6StreamSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseI6StreamSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIjSaIjEE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"bool", !7, i64 0}
!36 = !{!"_ZTSSt6vectorIfSaIfEE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt6vectorI22cgltf_material_mappingSaIS0_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!16, !6, i64 56}
!49 = !{!16, !6, i64 64}
!50 = !{!16, !35, i64 152}
!51 = distinct !{!51, !14}
!52 = distinct !{!52, !14}
!53 = distinct !{!53, !14}


; 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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.45" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.46" = type { ptr }

@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [66 x i8], align 1
@__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings = external hidden unnamed_addr constant [56 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [45 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

; 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 i64 @_ZNKSt6vectorIP10cgltf_nodeSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8hashMeshR4Mesh(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI6StreamSaIS0_EEixEm(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 @_ZNKSt6vectorI4AttrSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(148) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::unordered_map", align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.45", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.46", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.45", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.45", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  call void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  %14 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %.not110 = icmp eq i64 %14, 0
  br i1 %.not110, label %.preheader101, label %.lr.ph

.preheader101:                                    ; preds = %24, %2
  %15 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %.not111 = icmp eq i64 %15, 0
  br i1 %.not111, label %.preheader, label %.lr.ph107

.lr.ph:                                           ; preds = %2, %24
  %.0102 = phi i64 [ %27, %24 ], [ 0, %2 ]
  %16 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.0102) #6
  invoke void @_Z8hashMeshR4Mesh(ptr noundef nonnull align 8 dereferenceable(256) %16)
          to label %17 unwind label %30

17:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %18 = getelementptr inbounds i8, ptr %16, i64 160
  %19 = load i64, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %16, i64 168
  %21 = load i64, ptr %20, align 8, !tbaa !5
  %22 = xor i64 %21, %19
  store i64 %22, ptr %4, align 8, !tbaa !5
  %23 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEEixEOm(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %24 unwind label %32

24:                                               ; preds = %17
  %25 = load i32, ptr %23, align 4, !tbaa !9
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %27 = add nuw i64 %.0102, 1
  %28 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %29 = icmp ult i64 %27, %28
  br i1 %29, label %.lr.ph, label %.preheader101, !llvm.loop !11

30:                                               ; preds = %.lr.ph
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %156

32:                                               ; preds = %17
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %156

.preheader:                                       ; preds = %.loopexit, %.preheader101
  %34 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %.not112 = icmp eq i64 %34, 0
  br i1 %.not112, label %._crit_edge, label %.lr.ph109

.lr.ph107:                                        ; preds = %.preheader101, %.loopexit
  %.085106 = phi i64 [ %125, %.loopexit ], [ 0, %.preheader101 ]
  %35 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.085106) #6
  %36 = call noundef zeroext i1 @_ZL12canDedupMeshRK4MeshRK8Settings(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef nonnull align 4 dereferenceable(148) %1)
  br i1 %36, label %37, label %.loopexit

37:                                               ; preds = %.lr.ph107
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %38 = getelementptr inbounds i8, ptr %35, i64 160
  %39 = load i64, ptr %38, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %35, i64 168
  %41 = load i64, ptr %40, align 8, !tbaa !5
  %42 = xor i64 %41, %39
  store i64 %42, ptr %5, align 8, !tbaa !5
  %43 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEEixEOm(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %44 unwind label %56

44:                                               ; preds = %37
  %45 = load i32, ptr %43, align 4, !tbaa !9
  %46 = icmp slt i32 %45, 2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %46, label %.loopexit, label %.preheader100

.preheader100:                                    ; preds = %44
  %.086103 = add nuw i64 %.085106, 1
  %47 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %48 = icmp ult i64 %.086103, %47
  br i1 %48, label %.lr.ph105, label %.loopexit

.lr.ph105:                                        ; preds = %.preheader100
  %49 = getelementptr inbounds i8, ptr %35, i64 56
  %50 = getelementptr inbounds i8, ptr %35, i64 64
  %51 = getelementptr inbounds i8, ptr %35, i64 152
  %52 = getelementptr inbounds i8, ptr %35, i64 104
  %53 = getelementptr inbounds i8, ptr %35, i64 128
  %54 = getelementptr inbounds i8, ptr %35, i64 8
  %55 = getelementptr inbounds i8, ptr %35, i64 32
  br label %58

56:                                               ; preds = %37
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %156

58:                                               ; preds = %.lr.ph105, %118
  %.086104 = phi i64 [ %.086103, %.lr.ph105 ], [ %.086, %118 ]
  %59 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.086104) #6
  %60 = getelementptr inbounds i8, ptr %59, i64 160
  %61 = load i64, ptr %60, align 8, !tbaa !5
  %62 = load i64, ptr %38, align 8, !tbaa !5
  %.not = icmp eq i64 %61, %62
  br i1 %.not, label %63, label %118

63:                                               ; preds = %58
  %64 = getelementptr inbounds i8, ptr %59, i64 168
  %65 = load i64, ptr %64, align 8, !tbaa !5
  %66 = load i64, ptr %40, align 8, !tbaa !5
  %.not90 = icmp eq i64 %65, %66
  br i1 %.not90, label %67, label %118

67:                                               ; preds = %63
  %68 = call noundef zeroext i1 @_ZL12canDedupMeshRK4MeshRK8Settings(ptr noundef nonnull align 8 dereferenceable(256) %59, ptr noundef nonnull align 4 dereferenceable(148) %1)
  br i1 %68, label %69, label %118

69:                                               ; preds = %67
  %70 = load i32, ptr %59, align 8, !tbaa !13
  %71 = load i32, ptr %35, align 8, !tbaa !13
  %.not91 = icmp eq i32 %70, %71
  br i1 %.not91, label %72, label %80

72:                                               ; preds = %69
  %73 = getelementptr inbounds i8, ptr %59, i64 56
  %74 = load ptr, ptr %73, align 8, !tbaa !47
  %75 = load ptr, ptr %49, align 8, !tbaa !47
  %.not92 = icmp eq ptr %74, %75
  br i1 %.not92, label %76, label %80

76:                                               ; preds = %72
  %77 = getelementptr inbounds i8, ptr %59, i64 64
  %78 = load ptr, ptr %77, align 8, !tbaa !48
  %79 = load ptr, ptr %50, align 8, !tbaa !48
  %.not93 = icmp eq ptr %78, %79
  br i1 %.not93, label %82, label %80

80:                                               ; preds = %76, %72, %69
  store i8 1, ptr %51, align 8, !tbaa !49
  %81 = getelementptr inbounds i8, ptr %59, i64 152
  store i8 1, ptr %81, align 8, !tbaa !49
  br label %118

82:                                               ; preds = %76
  %83 = getelementptr inbounds i8, ptr %59, i64 104
  %84 = call noundef i64 @_ZNKSt6vectorI6StreamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  %85 = call noundef i64 @_ZNKSt6vectorI6StreamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  %86 = icmp eq i64 %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %82
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 414, ptr noundef nonnull @__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings) #7
  unreachable

88:                                               ; preds = %82
  %89 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI6StreamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef 0) #6
  %90 = getelementptr inbounds i8, ptr %89, i64 24
  %91 = call noundef i64 @_ZNKSt6vectorI4AttrSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %90) #6
  %92 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI6StreamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef 0) #6
  %93 = getelementptr inbounds i8, ptr %92, i64 24
  %94 = call noundef i64 @_ZNKSt6vectorI4AttrSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %93) #6
  %95 = icmp eq i64 %91, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %88
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 415, ptr noundef nonnull @__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings) #7
  unreachable

97:                                               ; preds = %88
  %98 = getelementptr inbounds i8, ptr %59, i64 128
  %99 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #6
  %100 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  %101 = icmp eq i64 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %97
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 416, ptr noundef nonnull @__PRETTY_FUNCTION__._Z11dedupMeshesRSt6vectorI4MeshSaIS0_EERK8Settings) #7
  unreachable

103:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %104 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  store ptr %104, ptr %7, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP10cgltf_nodeSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %105 = getelementptr inbounds i8, ptr %59, i64 8
  %106 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #6
  %107 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #6
  %108 = load ptr, ptr %6, align 8
  %109 = invoke ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE6insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEvEES8_NS6_IPKS1_S3_EET_SC_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr %108, ptr %106, ptr %107)
          to label %110 unwind label %121

110:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %111 = call ptr @_ZNSt6vectorI9TransformSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  store ptr %111, ptr %9, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPK9TransformSt6vectorIS1_SaIS1_EEEC2IPS1_vEERKNS0_IT_S6_EE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %112 = getelementptr inbounds i8, ptr %59, i64 32
  %113 = call ptr @_ZNSt6vectorI9TransformSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  %114 = call ptr @_ZNSt6vectorI9TransformSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  %115 = load ptr, ptr %8, align 8
  %116 = invoke ptr @_ZNSt6vectorI9TransformSaIS0_EE6insertIN9__gnu_cxx17__normal_iteratorIPS0_S2_EEvEES7_NS5_IPKS0_S2_EET_SB_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr %115, ptr %113, ptr %114)
          to label %117 unwind label %123

117:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZNSt6vectorI6StreamSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  call void @_ZNSt6vectorIjSaIjEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #6
  call void @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #6
  call void @_ZNSt6vectorI9TransformSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  br label %118

118:                                              ; preds = %67, %58, %63, %117, %80
  %.086 = add nuw i64 %.086104, 1
  %119 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %120 = icmp ult i64 %.086, %119
  br i1 %120, label %58, label %.loopexit, !llvm.loop !50

121:                                              ; preds = %103
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %156

123:                                              ; preds = %110
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %156

.loopexit:                                        ; preds = %118, %.preheader100, %44, %.lr.ph107
  %125 = add nuw i64 %.085106, 1
  %126 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %127 = icmp ult i64 %125, %126
  br i1 %127, label %.lr.ph107, label %.preheader, !llvm.loop !51

._crit_edge:                                      ; preds = %145, %.preheader
  call void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  ret void

.lr.ph109:                                        ; preds = %.preheader, %145
  %.087108 = phi i64 [ %146, %145 ], [ 0, %.preheader ]
  %128 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.087108) #6
  %129 = getelementptr inbounds i8, ptr %128, i64 8
  %130 = call noundef i64 @_ZNKSt6vectorIP10cgltf_nodeSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  %131 = icmp ult i64 %130, 2
  br i1 %131, label %145, label %132

132:                                              ; preds = %.lr.ph109
  %133 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  %134 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP10cgltf_nodeSt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %133, ptr %134)
          to label %135 unwind label %149

135:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %136 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  %137 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  %138 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPP10cgltf_nodeSt6vectorIS3_SaIS3_EEEEET_S9_S9_(ptr %136, ptr %137)
          to label %139 unwind label %151

139:                                              ; preds = %135
  store ptr %138, ptr %11, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP10cgltf_nodeSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %140 = call ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #6
  store ptr %140, ptr %13, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP10cgltf_nodeSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %141 = load ptr, ptr %10, align 8
  %142 = load ptr, ptr %12, align 8
  %143 = invoke ptr @_ZNSt6vectorIP10cgltf_nodeSaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %129, ptr %141, ptr %142)
          to label %144 unwind label %153

144:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %145

145:                                              ; preds = %.lr.ph109, %144
  %146 = add nuw i64 %.087108, 1
  %147 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %148 = icmp ult i64 %146, %147
  br i1 %148, label %.lr.ph109, label %._crit_edge, !llvm.loop !52

149:                                              ; preds = %132
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %156

151:                                              ; preds = %135
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %155

153:                                              ; preds = %139
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %155

155:                                              ; preds = %153, %151
  %.pn = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %156

156:                                              ; preds = %149, %155, %56, %123, %121, %30, %32
  %.pn97.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ], [ %57, %56 ], [ %124, %123 ], [ %122, %121 ], [ %.pn, %155 ], [ %150, %149 ]
  call void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn97.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL12canDedupMeshRK4MeshRK8Settings(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 4 dereferenceable(148)) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPP10cgltf_nodeSt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapImiSt4hashImESt8equal_toImESaISt4pairIKmiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTS4Mesh", !10, i64 0, !15, i64 8, !20, i64 32, !19, i64 56, !19, i64 64, !24, i64 72, !25, i64 96, !26, i64 104, !30, i64 128, !34, i64 152, !7, i64 160, !6, i64 176, !35, i64 184, !39, i64 208, !43, i64 232}
!15 = !{!"_ZTSSt6vectorIP10cgltf_nodeSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIP10cgltf_nodeSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!"_ZTSSt6vectorI9TransformSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI9TransformSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!24 = !{!"_ZTS12cgltf_extras", !6, i64 0, !6, i64 8, !19, i64 16}
!25 = !{!"_ZTS20cgltf_primitive_type", !7, i64 0}
!26 = !{!"_ZTSSt6vectorI6StreamSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI6StreamSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!30 = !{!"_ZTSSt6vectorIjSaIjEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!34 = !{!"bool", !7, i64 0}
!35 = !{!"_ZTSSt6vectorIfSaIfEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!39 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!43 = !{!"_ZTSSt6vectorI22cgltf_material_mappingSaIS0_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!47 = !{!14, !19, i64 56}
!48 = !{!14, !19, i64 64}
!49 = !{!14, !34, i64 152}
!50 = distinct !{!50, !12}
!51 = distinct !{!51, !12}
!52 = distinct !{!52, !12}


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