; LLVM IR from zeux/meshoptimizer :: gltf/material.ll (Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl" }
%"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.cgltf_data = type { i32, ptr, %struct.cgltf_asset, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, ptr, i64, ptr, i64, %struct.cgltf_extras, i64, ptr, ptr, i64, ptr, i64, ptr, i64, ptr, i64, %struct.cgltf_memory_options, %struct.cgltf_file_options }
%struct.cgltf_asset = type { ptr, ptr, ptr, ptr, %struct.cgltf_extras, i64, ptr }
%struct.cgltf_extras = type { i64, i64, ptr }
%struct.cgltf_memory_options = type { ptr, ptr, ptr }
%struct.cgltf_file_options = type { ptr, ptr, ptr }
%struct.cgltf_material = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.cgltf_pbr_metallic_roughness, %struct.cgltf_pbr_specular_glossiness, %struct.cgltf_clearcoat, %struct.cgltf_ior, %struct.cgltf_specular, %struct.cgltf_sheen, %struct.cgltf_transmission, %struct.cgltf_volume, %struct.cgltf_emissive_strength, %struct.cgltf_iridescence, %struct.cgltf_diffuse_transmission, %struct.cgltf_anisotropy, %struct.cgltf_dispersion, %struct.cgltf_texture_view, %struct.cgltf_texture_view, %struct.cgltf_texture_view, [3 x float], i32, float, i32, i32, %struct.cgltf_extras, i64, ptr }
%struct.cgltf_pbr_metallic_roughness = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, [4 x float], float, float }
%struct.cgltf_pbr_specular_glossiness = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, [4 x float], [3 x float], float }
%struct.cgltf_clearcoat = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, %struct.cgltf_texture_view, float, float }
%struct.cgltf_ior = type { float }
%struct.cgltf_specular = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, [3 x float], float }
%struct.cgltf_sheen = type { %struct.cgltf_texture_view, [3 x float], %struct.cgltf_texture_view, float }
%struct.cgltf_transmission = type { %struct.cgltf_texture_view, float }
%struct.cgltf_volume = type { %struct.cgltf_texture_view, float, [3 x float], float }
%struct.cgltf_emissive_strength = type { float }
%struct.cgltf_iridescence = type { float, %struct.cgltf_texture_view, float, float, float, %struct.cgltf_texture_view }
%struct.cgltf_diffuse_transmission = type { %struct.cgltf_texture_view, float, [3 x float], %struct.cgltf_texture_view }
%struct.cgltf_anisotropy = type { float, float, %struct.cgltf_texture_view }
%struct.cgltf_dispersion = type { float }
%struct.cgltf_texture_view = type { ptr, i32, float, i32, %struct.cgltf_texture_transform }
%struct.cgltf_texture_transform = type { [2 x float], float, [2 x float], i32, i32 }
%struct.Settings = type { i32, i32, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, float, i8, i8, i8, float, i32, i8, i8, i8, i8, i8, [4 x float], [4 x i32], [4 x i32], [4 x i32], i32, i8, i8, i8, i8, i32 }
%struct.Mesh = type { i32, %"class.std::vector.5", %"class.std::vector.10", ptr, ptr, %struct.cgltf_extras, i32, %"class.std::vector.15", %"class.std::vector.20", i8, [2 x i64], i64, %"class.std::vector.25", %"class.std::vector.30", %"class.std::vector.35" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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 }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = 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.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = 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.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = 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.cgltf_material_mapping = type { i64, ptr, %struct.cgltf_extras }

@.str = external hidden unnamed_addr constant [68 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_EERK8Settings = external hidden unnamed_addr constant [77 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_EERK8Settings(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(148) %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #4
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.cgltf_data, ptr %17, i32 0, i32 6
  %19 = load i64, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  call void @_ZNSaIP14cgltf_materialEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  invoke void @_ZNSt6vectorIP14cgltf_materialSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %19, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %20 unwind label %28

20:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIP14cgltf_materialED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !17
  br label %21

21:                                               ; preds = %148, %20
  %22 = load i64, ptr %11, align 8, !tbaa !17
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.cgltf_data, ptr %23, i32 0, i32 6
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = icmp ult i64 %22, %25
  br i1 %26, label %32, label %27

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

28:                                               ; preds = %3
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = extractvalue { ptr, i32 } %29, 0
  store ptr %30, ptr %9, align 8
  %31 = extractvalue { ptr, i32 } %29, 1
  store i32 %31, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIP14cgltf_materialED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  br label %219

32:                                               ; preds = %21
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.cgltf_data, ptr %33, i32 0, i32 5
  %35 = load ptr, ptr %34, align 8, !tbaa !18
  %36 = load i64, ptr %11, align 8, !tbaa !17
  %37 = getelementptr inbounds %struct.cgltf_material, ptr %35, i64 %36
  %38 = load i64, ptr %11, align 8, !tbaa !17
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %38) #4
  store ptr %37, ptr %39, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.Settings, ptr %40, i32 0, i32 14
  %42 = load i8, ptr %41, align 2, !tbaa !19, !range !24, !noundef !25
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %64

44:                                               ; preds = %32
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.cgltf_data, ptr %45, i32 0, i32 5
  %47 = load ptr, ptr %46, align 8, !tbaa !18
  %48 = load i64, ptr %11, align 8, !tbaa !17
  %49 = getelementptr inbounds %struct.cgltf_material, ptr %47, i64 %48
  %50 = getelementptr inbounds %struct.cgltf_material, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !26
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %64

53:                                               ; preds = %44
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.cgltf_data, ptr %54, i32 0, i32 5
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  %57 = load i64, ptr %11, align 8, !tbaa !17
  %58 = getelementptr inbounds %struct.cgltf_material, ptr %56, i64 %57
  %59 = getelementptr inbounds %struct.cgltf_material, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !26
  %61 = load i8, ptr %60, align 1, !tbaa !44
  %62 = icmp ne i8 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %53
  br label %148

64:                                               ; preds = %53, %44, %32
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.cgltf_data, ptr %65, i32 0, i32 5
  %67 = load ptr, ptr %66, align 8, !tbaa !18
  %68 = load i64, ptr %11, align 8, !tbaa !17
  %69 = getelementptr inbounds %struct.cgltf_material, ptr %67, i64 %68
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.cgltf_data, ptr %70, i32 0, i32 5
  %72 = load ptr, ptr %71, align 8, !tbaa !18
  %73 = load i64, ptr %11, align 8, !tbaa !17
  %74 = getelementptr inbounds %struct.cgltf_material, ptr %72, i64 %73
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = invoke noundef zeroext i1 @_ZL17areMaterialsEqualRK14cgltf_materialS1_RK8Settings(ptr noundef nonnull align 8 dereferenceable(1352) %69, ptr noundef nonnull align 8 dereferenceable(1352) %74, ptr noundef nonnull align 4 dereferenceable(148) %75)
          to label %77 unwind label %80

77:                                               ; preds = %64
  br i1 %76, label %78, label %79

78:                                               ; preds = %77
  br label %85

79:                                               ; preds = %77
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 379, ptr noundef @__PRETTY_FUNCTION__._Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_EERK8Settings) #5
  unreachable

80:                                               ; preds = %64
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %9, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %10, align 4
  br label %151

84:                                               ; No predecessors!
  br label %85

85:                                               ; preds = %84, %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !17
  br label %86

86:                                               ; preds = %143, %85
  %87 = load i64, ptr %13, align 8, !tbaa !17
  %88 = load i64, ptr %11, align 8, !tbaa !17
  %89 = icmp ult i64 %87, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %86
  store i32 5, ptr %12, align 4
  br label %146

91:                                               ; preds = %86
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.Settings, ptr %92, i32 0, i32 14
  %94 = load i8, ptr %93, align 2, !tbaa !19, !range !24, !noundef !25
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %116

96:                                               ; preds = %91
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.cgltf_data, ptr %97, i32 0, i32 5
  %99 = load ptr, ptr %98, align 8, !tbaa !18
  %100 = load i64, ptr %13, align 8, !tbaa !17
  %101 = getelementptr inbounds %struct.cgltf_material, ptr %99, i64 %100
  %102 = getelementptr inbounds %struct.cgltf_material, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !26
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %116

105:                                              ; preds = %96
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.cgltf_data, ptr %106, i32 0, i32 5
  %108 = load ptr, ptr %107, align 8, !tbaa !18
  %109 = load i64, ptr %13, align 8, !tbaa !17
  %110 = getelementptr inbounds %struct.cgltf_material, ptr %108, i64 %109
  %111 = getelementptr inbounds %struct.cgltf_material, ptr %110, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8, !tbaa !26
  %113 = load i8, ptr %112, align 1, !tbaa !44
  %114 = icmp ne i8 %113, 0
  br i1 %114, label %115, label %116

115:                                              ; preds = %105
  br label %143

116:                                              ; preds = %105, %96, %91
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.cgltf_data, ptr %117, i32 0, i32 5
  %119 = load ptr, ptr %118, align 8, !tbaa !18
  %120 = load i64, ptr %11, align 8, !tbaa !17
  %121 = getelementptr inbounds %struct.cgltf_material, ptr %119, i64 %120
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.cgltf_data, ptr %122, i32 0, i32 5
  %124 = load ptr, ptr %123, align 8, !tbaa !18
  %125 = load i64, ptr %13, align 8, !tbaa !17
  %126 = getelementptr inbounds %struct.cgltf_material, ptr %124, i64 %125
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = invoke noundef zeroext i1 @_ZL17areMaterialsEqualRK14cgltf_materialS1_RK8Settings(ptr noundef nonnull align 8 dereferenceable(1352) %121, ptr noundef nonnull align 8 dereferenceable(1352) %126, ptr noundef nonnull align 4 dereferenceable(148) %127)
          to label %129 unwind label %138

129:                                              ; preds = %116
  br i1 %128, label %130, label %142

130:                                              ; preds = %129
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.cgltf_data, ptr %131, i32 0, i32 5
  %133 = load ptr, ptr %132, align 8, !tbaa !18
  %134 = load i64, ptr %13, align 8, !tbaa !17
  %135 = getelementptr inbounds %struct.cgltf_material, ptr %133, i64 %134
  %136 = load i64, ptr %11, align 8, !tbaa !17
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %136) #4
  store ptr %135, ptr %137, align 8, !tbaa !5
  store i32 5, ptr %12, align 4
  br label %146

138:                                              ; preds = %116
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %9, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %151

142:                                              ; preds = %129
  br label %143

143:                                              ; preds = %142, %115
  %144 = load i64, ptr %13, align 8, !tbaa !17
  %145 = add i64 %144, 1
  store i64 %145, ptr %13, align 8, !tbaa !17
  br label %86, !llvm.loop !45

146:                                              ; preds = %130, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147, %63
  %149 = load i64, ptr %11, align 8, !tbaa !17
  %150 = add i64 %149, 1
  store i64 %150, ptr %11, align 8, !tbaa !17
  br label %21, !llvm.loop !47

151:                                              ; preds = %138, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @_ZNSt6vectorIP14cgltf_materialSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %219

152:                                              ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !17
  br label %153

153:                                              ; preds = %215, %152
  %154 = load i64, ptr %14, align 8, !tbaa !17
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #4
  %157 = icmp ult i64 %154, %156
  br i1 %157, label %159, label %158

158:                                              ; preds = %153
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %218

159:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = load i64, ptr %14, align 8, !tbaa !17
  %162 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %161) #4
  store ptr %162, ptr %15, align 8, !tbaa !5
  %163 = load ptr, ptr %15, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.Mesh, ptr %163, i32 0, i32 3
  %165 = load ptr, ptr %164, align 8, !tbaa !48
  %166 = icmp ne ptr %165, null
  br i1 %166, label %167, label %182

167:                                              ; preds = %159
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.Mesh, ptr %168, i32 0, i32 3
  %170 = load ptr, ptr %169, align 8, !tbaa !48
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.cgltf_data, ptr %171, i32 0, i32 5
  %173 = load ptr, ptr %172, align 8, !tbaa !18
  %174 = ptrtoint ptr %170 to i64
  %175 = ptrtoint ptr %173 to i64
  %176 = sub i64 %174, %175
  %177 = sdiv exact i64 %176, 1352
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %177) #4
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  %180 = load ptr, ptr %15, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.Mesh, ptr %180, i32 0, i32 3
  store ptr %179, ptr %181, align 8, !tbaa !48
  br label %182

182:                                              ; preds = %167, %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 0, ptr %16, align 8, !tbaa !17
  br label %183

183:                                              ; preds = %211, %182
  %184 = load i64, ptr %16, align 8, !tbaa !17
  %185 = load ptr, ptr %15, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.Mesh, ptr %185, i32 0, i32 14
  %187 = call noundef i64 @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %186) #4
  %188 = icmp ult i64 %184, %187
  br i1 %188, label %190, label %189

189:                                              ; preds = %183
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %214

190:                                              ; preds = %183
  %191 = load ptr, ptr %15, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.Mesh, ptr %191, i32 0, i32 14
  %193 = load i64, ptr %16, align 8, !tbaa !17
  %194 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI22cgltf_material_mappingSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %193) #4
  %195 = getelementptr inbounds %struct.cgltf_material_mapping, ptr %194, i32 0, i32 1
  %196 = load ptr, ptr %195, align 8, !tbaa !79
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.cgltf_data, ptr %197, i32 0, i32 5
  %199 = load ptr, ptr %198, align 8, !tbaa !18
  %200 = ptrtoint ptr %196 to i64
  %201 = ptrtoint ptr %199 to i64
  %202 = sub i64 %200, %201
  %203 = sdiv exact i64 %202, 1352
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %203) #4
  %205 = load ptr, ptr %204, align 8, !tbaa !5
  %206 = load ptr, ptr %15, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.Mesh, ptr %206, i32 0, i32 14
  %208 = load i64, ptr %16, align 8, !tbaa !17
  %209 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI22cgltf_material_mappingSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %208) #4
  %210 = getelementptr inbounds %struct.cgltf_material_mapping, ptr %209, i32 0, i32 1
  store ptr %205, ptr %210, align 8, !tbaa !79
  br label %211

211:                                              ; preds = %190
  %212 = load i64, ptr %16, align 8, !tbaa !17
  %213 = add i64 %212, 1
  store i64 %213, ptr %16, align 8, !tbaa !17
  br label %183, !llvm.loop !81

214:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %215

215:                                              ; preds = %214
  %216 = load i64, ptr %14, align 8, !tbaa !17
  %217 = add i64 %216, 1
  store i64 %217, ptr %14, align 8, !tbaa !17
  br label %153, !llvm.loop !82

218:                                              ; preds = %158
  call void @_ZNSt6vectorIP14cgltf_materialSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  ret void

219:                                              ; preds = %151, %28
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  br label %220

220:                                              ; preds = %219
  %221 = load ptr, ptr %9, align 8
  %222 = load i32, ptr %10, align 4
  %223 = insertvalue { ptr, i32 } poison, ptr %221, 0
  %224 = insertvalue { ptr, i32 } %223, i32 %222, 1
  resume { ptr, i32 } %224
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP14cgltf_materialSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL17areMaterialsEqualRK14cgltf_materialS1_RK8Settings(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef nonnull align 4 dereferenceable(148)) #0

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nounwind }
attributes #5 = { 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, !14, i64 112}
!10 = !{!"_ZTS10cgltf_data", !11, i64 0, !6, i64 8, !12, i64 16, !6, i64 88, !14, i64 96, !6, i64 104, !14, i64 112, !6, i64 120, !14, i64 128, !6, i64 136, !14, i64 144, !6, i64 152, !14, i64 160, !6, i64 168, !14, i64 176, !6, i64 184, !14, i64 192, !6, i64 200, !14, i64 208, !6, i64 216, !14, i64 224, !6, i64 232, !14, i64 240, !6, i64 248, !14, i64 256, !6, i64 264, !14, i64 272, !6, i64 280, !14, i64 288, !6, i64 296, !6, i64 304, !14, i64 312, !6, i64 320, !14, i64 328, !13, i64 336, !14, i64 360, !6, i64 368, !6, i64 376, !14, i64 384, !6, i64 392, !14, i64 400, !6, i64 408, !14, i64 416, !6, i64 424, !14, i64 432, !15, i64 440, !16, i64 464}
!11 = !{!"_ZTS15cgltf_file_type", !7, i64 0}
!12 = !{!"_ZTS11cgltf_asset", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !14, i64 56, !6, i64 64}
!13 = !{!"_ZTS12cgltf_extras", !14, i64 0, !14, i64 8, !6, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTS20cgltf_memory_options", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTS18cgltf_file_options", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!14, !14, i64 0}
!18 = !{!10, !6, i64 104}
!19 = !{!20, !22, i64 38}
!20 = !{!"_ZTS8Settings", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12, !22, i64 16, !22, i64 17, !22, i64 18, !22, i64 19, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !22, i64 36, !22, i64 37, !22, i64 38, !22, i64 39, !22, i64 40, !22, i64 41, !22, i64 42, !22, i64 43, !23, i64 44, !23, i64 48, !22, i64 52, !22, i64 53, !22, i64 54, !23, i64 56, !21, i64 60, !22, i64 64, !22, i64 65, !22, i64 66, !22, i64 67, !22, i64 68, !7, i64 72, !7, i64 88, !7, i64 104, !7, i64 120, !21, i64 136, !22, i64 140, !22, i64 141, !22, i64 142, !22, i64 143, !21, i64 144}
!21 = !{!"int", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"float", !7, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTS14cgltf_material", !6, i64 0, !21, i64 8, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !21, i64 40, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !28, i64 64, !31, i64 184, !32, i64 312, !33, i64 464, !34, i64 472, !35, i64 584, !36, i64 704, !37, i64 760, !38, i64 832, !39, i64 840, !40, i64 960, !41, i64 1072, !42, i64 1128, !29, i64 1136, !29, i64 1184, !29, i64 1232, !7, i64 1280, !43, i64 1292, !23, i64 1296, !21, i64 1300, !21, i64 1304, !13, i64 1312, !14, i64 1336, !6, i64 1344}
!28 = !{!"_ZTS28cgltf_pbr_metallic_roughness", !29, i64 0, !29, i64 48, !7, i64 96, !23, i64 112, !23, i64 116}
!29 = !{!"_ZTS18cgltf_texture_view", !6, i64 0, !21, i64 8, !23, i64 12, !21, i64 16, !30, i64 20}
!30 = !{!"_ZTS23cgltf_texture_transform", !7, i64 0, !23, i64 8, !7, i64 12, !21, i64 20, !21, i64 24}
!31 = !{!"_ZTS29cgltf_pbr_specular_glossiness", !29, i64 0, !29, i64 48, !7, i64 96, !7, i64 112, !23, i64 124}
!32 = !{!"_ZTS15cgltf_clearcoat", !29, i64 0, !29, i64 48, !29, i64 96, !23, i64 144, !23, i64 148}
!33 = !{!"_ZTS9cgltf_ior", !23, i64 0}
!34 = !{!"_ZTS14cgltf_specular", !29, i64 0, !29, i64 48, !7, i64 96, !23, i64 108}
!35 = !{!"_ZTS11cgltf_sheen", !29, i64 0, !7, i64 48, !29, i64 64, !23, i64 112}
!36 = !{!"_ZTS18cgltf_transmission", !29, i64 0, !23, i64 48}
!37 = !{!"_ZTS12cgltf_volume", !29, i64 0, !23, i64 48, !7, i64 52, !23, i64 64}
!38 = !{!"_ZTS23cgltf_emissive_strength", !23, i64 0}
!39 = !{!"_ZTS17cgltf_iridescence", !23, i64 0, !29, i64 8, !23, i64 56, !23, i64 60, !23, i64 64, !29, i64 72}
!40 = !{!"_ZTS26cgltf_diffuse_transmission", !29, i64 0, !23, i64 48, !7, i64 52, !29, i64 64}
!41 = !{!"_ZTS16cgltf_anisotropy", !23, i64 0, !23, i64 4, !29, i64 8}
!42 = !{!"_ZTS16cgltf_dispersion", !23, i64 0}
!43 = !{!"_ZTS16cgltf_alpha_mode", !7, i64 0}
!44 = !{!7, !7, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = distinct !{!47, !46}
!48 = !{!49, !6, i64 56}
!49 = !{!"_ZTS4Mesh", !21, i64 0, !50, i64 8, !54, i64 32, !6, i64 56, !6, i64 64, !13, i64 72, !58, i64 96, !59, i64 104, !63, i64 128, !22, i64 152, !7, i64 160, !14, i64 176, !67, i64 184, !71, i64 208, !75, i64 232}
!50 = !{!"_ZTSSt6vectorIP10cgltf_nodeSaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIP10cgltf_nodeSaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!54 = !{!"_ZTSSt6vectorI9TransformSaIS0_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseI9TransformSaIS0_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"_ZTS20cgltf_primitive_type", !7, i64 0}
!59 = !{!"_ZTSSt6vectorI6StreamSaIS0_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseI6StreamSaIS0_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!63 = !{!"_ZTSSt6vectorIjSaIjEE", !64, i64 0}
!64 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!67 = !{!"_ZTSSt6vectorIfSaIfEE", !68, i64 0}
!68 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !70, i64 0}
!70 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!71 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !72, i64 0}
!72 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!75 = !{!"_ZTSSt6vectorI22cgltf_material_mappingSaIS0_EE", !76, i64 0}
!76 = !{!"_ZTSSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE12_Vector_implE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!79 = !{!80, !6, i64 8}
!80 = !{!"_ZTS22cgltf_material_mapping", !14, i64 0, !6, i64 8, !13, i64 16}
!81 = distinct !{!81, !46}
!82 = distinct !{!82, !46}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl" }
%"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgltf_material *, std::allocator<cgltf_material *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.cgltf_material = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.cgltf_pbr_metallic_roughness, %struct.cgltf_pbr_specular_glossiness, %struct.cgltf_clearcoat, %struct.cgltf_ior, %struct.cgltf_specular, %struct.cgltf_sheen, %struct.cgltf_transmission, %struct.cgltf_volume, %struct.cgltf_emissive_strength, %struct.cgltf_iridescence, %struct.cgltf_diffuse_transmission, %struct.cgltf_anisotropy, %struct.cgltf_dispersion, %struct.cgltf_texture_view, %struct.cgltf_texture_view, %struct.cgltf_texture_view, [3 x float], i32, float, i32, i32, %struct.cgltf_extras, i64, ptr }
%struct.cgltf_pbr_metallic_roughness = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, [4 x float], float, float }
%struct.cgltf_pbr_specular_glossiness = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, [4 x float], [3 x float], float }
%struct.cgltf_clearcoat = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, %struct.cgltf_texture_view, float, float }
%struct.cgltf_ior = type { float }
%struct.cgltf_specular = type { %struct.cgltf_texture_view, %struct.cgltf_texture_view, [3 x float], float }
%struct.cgltf_sheen = type { %struct.cgltf_texture_view, [3 x float], %struct.cgltf_texture_view, float }
%struct.cgltf_transmission = type { %struct.cgltf_texture_view, float }
%struct.cgltf_volume = type { %struct.cgltf_texture_view, float, [3 x float], float }
%struct.cgltf_emissive_strength = type { float }
%struct.cgltf_iridescence = type { float, %struct.cgltf_texture_view, float, float, float, %struct.cgltf_texture_view }
%struct.cgltf_diffuse_transmission = type { %struct.cgltf_texture_view, float, [3 x float], %struct.cgltf_texture_view }
%struct.cgltf_anisotropy = type { float, float, %struct.cgltf_texture_view }
%struct.cgltf_dispersion = type { float }
%struct.cgltf_texture_view = type { ptr, i32, float, i32, %struct.cgltf_texture_transform }
%struct.cgltf_texture_transform = type { [2 x float], float, [2 x float], i32, i32 }
%struct.cgltf_extras = type { i64, i64, ptr }

@.str = external hidden unnamed_addr constant [68 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_EERK8Settings = external hidden unnamed_addr constant [77 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_EERK8Settings(ptr nocapture noundef readonly %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(148) %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 112
  %7 = load i64, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #4
  call void @_ZNSaIP14cgltf_materialEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #4
  invoke void @_ZNSt6vectorIP14cgltf_materialSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %7, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %8 unwind label %14

8:                                                ; preds = %3
  call void @_ZNSt15__new_allocatorIP14cgltf_materialED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  %9 = load i64, ptr %6, align 8, !tbaa !5
  %.not78 = icmp eq i64 %9, 0
  br i1 %.not78, label %.preheader, label %.lr.ph72

.lr.ph72:                                         ; preds = %8
  %10 = getelementptr inbounds i8, ptr %0, i64 104
  %11 = getelementptr inbounds i8, ptr %2, i64 38
  br label %16

.preheader:                                       ; preds = %.loopexit, %8
  %12 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %.not80 = icmp eq i64 %12, 0
  br i1 %.not80, label %._crit_edge77, label %.lr.ph76

.lr.ph76:                                         ; preds = %.preheader
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  br label %58

14:                                               ; preds = %3
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIP14cgltf_materialED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  br label %91

16:                                               ; preds = %.lr.ph72, %.loopexit
  %.05470 = phi i64 [ 0, %.lr.ph72 ], [ %54, %.loopexit ]
  %17 = load ptr, ptr %10, align 8, !tbaa !16
  %18 = getelementptr inbounds %struct.cgltf_material, ptr %17, i64 %.05470
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.05470) #4
  store ptr %18, ptr %19, align 8, !tbaa !17
  %20 = load i8, ptr %11, align 2, !tbaa !18, !range !23, !noundef !24
  %21 = trunc nuw i8 %20 to i1
  %.pre = load ptr, ptr %10, align 8, !tbaa !16
  br i1 %21, label %22, label %27

22:                                               ; preds = %16
  %23 = getelementptr inbounds %struct.cgltf_material, ptr %.pre, i64 %.05470
  %24 = load ptr, ptr %23, align 8, !tbaa !25
  %.not60 = icmp eq ptr %24, null
  br i1 %.not60, label %27, label %25

25:                                               ; preds = %22
  %26 = load i8, ptr %24, align 1, !tbaa !43
  %.not61 = icmp eq i8 %26, 0
  br i1 %.not61, label %27, label %.loopexit

27:                                               ; preds = %25, %22, %16
  %28 = getelementptr inbounds %struct.cgltf_material, ptr %.pre, i64 %.05470
  %29 = invoke noundef zeroext i1 @_ZL17areMaterialsEqualRK14cgltf_materialS1_RK8Settings(ptr noundef nonnull align 8 dereferenceable(1352) %28, ptr noundef nonnull align 8 dereferenceable(1352) %28, ptr noundef nonnull align 4 dereferenceable(148) %2)
          to label %30 unwind label %32

30:                                               ; preds = %27
  br i1 %29, label %.preheader66, label %31

.preheader66:                                     ; preds = %30
  %.not79 = icmp eq i64 %.05470, 0
  br i1 %.not79, label %.loopexit, label %.lr.ph

31:                                               ; preds = %30
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 379, ptr noundef nonnull @__PRETTY_FUNCTION__._Z18mergeMeshMaterialsP10cgltf_dataRSt6vectorI4MeshSaIS2_EERK8Settings) #5
  unreachable

32:                                               ; preds = %27
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %57

.lr.ph:                                           ; preds = %.preheader66, %52
  %.05369 = phi i64 [ %53, %52 ], [ 0, %.preheader66 ]
  %34 = load i8, ptr %11, align 2, !tbaa !18, !range !23, !noundef !24
  %35 = trunc nuw i8 %34 to i1
  %.pre84 = load ptr, ptr %10, align 8, !tbaa !16
  br i1 %35, label %36, label %41

36:                                               ; preds = %.lr.ph
  %37 = getelementptr inbounds %struct.cgltf_material, ptr %.pre84, i64 %.05369
  %38 = load ptr, ptr %37, align 8, !tbaa !25
  %.not62 = icmp eq ptr %38, null
  br i1 %.not62, label %41, label %39

39:                                               ; preds = %36
  %40 = load i8, ptr %38, align 1, !tbaa !43
  %.not63 = icmp eq i8 %40, 0
  br i1 %.not63, label %41, label %52

41:                                               ; preds = %39, %36, %.lr.ph
  %42 = getelementptr inbounds %struct.cgltf_material, ptr %.pre84, i64 %.05470
  %43 = getelementptr inbounds %struct.cgltf_material, ptr %.pre84, i64 %.05369
  %44 = invoke noundef zeroext i1 @_ZL17areMaterialsEqualRK14cgltf_materialS1_RK8Settings(ptr noundef nonnull align 8 dereferenceable(1352) %42, ptr noundef nonnull align 8 dereferenceable(1352) %43, ptr noundef nonnull align 4 dereferenceable(148) %2)
          to label %45 unwind label %50

45:                                               ; preds = %41
  br i1 %44, label %46, label %52

46:                                               ; preds = %45
  %47 = load ptr, ptr %10, align 8, !tbaa !16
  %48 = getelementptr inbounds %struct.cgltf_material, ptr %47, i64 %.05369
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.05470) #4
  store ptr %48, ptr %49, align 8, !tbaa !17
  br label %.loopexit

50:                                               ; preds = %41
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %57

52:                                               ; preds = %45, %39
  %53 = add nuw i64 %.05369, 1
  %exitcond.not = icmp eq i64 %53, %.05470
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !44

.loopexit:                                        ; preds = %52, %.preheader66, %46, %25
  %54 = add nuw i64 %.05470, 1
  %55 = load i64, ptr %6, align 8, !tbaa !5
  %56 = icmp ult i64 %54, %55
  br i1 %56, label %16, label %.preheader, !llvm.loop !46

57:                                               ; preds = %50, %32
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %33, %32 ]
  call void @_ZNSt6vectorIP14cgltf_materialSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %91

._crit_edge77:                                    ; preds = %._crit_edge, %.preheader
  call void @_ZNSt6vectorIP14cgltf_materialSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  ret void

58:                                               ; preds = %.lr.ph76, %._crit_edge
  %.05275 = phi i64 [ 0, %.lr.ph76 ], [ %73, %._crit_edge ]
  %59 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.05275) #4
  %60 = getelementptr inbounds i8, ptr %59, i64 56
  %61 = load ptr, ptr %60, align 8, !tbaa !47
  %.not = icmp eq ptr %61, null
  br i1 %.not, label %70, label %62

62:                                               ; preds = %58
  %63 = load ptr, ptr %13, align 8, !tbaa !16
  %64 = ptrtoint ptr %61 to i64
  %65 = ptrtoint ptr %63 to i64
  %66 = sub i64 %64, %65
  %67 = sdiv exact i64 %66, 1352
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %67) #4
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  store ptr %69, ptr %60, align 8, !tbaa !47
  br label %70

70:                                               ; preds = %62, %58
  %71 = getelementptr inbounds i8, ptr %59, i64 232
  %72 = call noundef i64 @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #4
  %.not81 = icmp eq i64 %72, 0
  br i1 %.not81, label %._crit_edge, label %.lr.ph74

._crit_edge:                                      ; preds = %.lr.ph74, %70
  %73 = add nuw i64 %.05275, 1
  %74 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %75 = icmp ult i64 %73, %74
  br i1 %75, label %58, label %._crit_edge77, !llvm.loop !78

.lr.ph74:                                         ; preds = %70, %.lr.ph74
  %.073 = phi i64 [ %88, %.lr.ph74 ], [ 0, %70 ]
  %76 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI22cgltf_material_mappingSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %.073) #4
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = load ptr, ptr %77, align 8, !tbaa !79
  %79 = load ptr, ptr %13, align 8, !tbaa !16
  %80 = ptrtoint ptr %78 to i64
  %81 = ptrtoint ptr %79 to i64
  %82 = sub i64 %80, %81
  %83 = sdiv exact i64 %82, 1352
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP14cgltf_materialSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %83) #4
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorI22cgltf_material_mappingSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %.073) #4
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  store ptr %85, ptr %87, align 8, !tbaa !79
  %88 = add nuw i64 %.073, 1
  %89 = call noundef i64 @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #4
  %90 = icmp ult i64 %88, %89
  br i1 %90, label %.lr.ph74, label %._crit_edge, !llvm.loop !81

91:                                               ; preds = %57, %14
  %.pn.pn = phi { ptr, i32 } [ %.pn, %57 ], [ %15, %14 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIP14cgltf_materialSaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL17areMaterialsEqualRK14cgltf_materialS1_RK8Settings(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef nonnull align 4 dereferenceable(148)) local_unnamed_addr #0

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nounwind }
attributes #5 = { 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, !13, i64 112}
!6 = !{!"_ZTS10cgltf_data", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 88, !13, i64 96, !10, i64 104, !13, i64 112, !10, i64 120, !13, i64 128, !10, i64 136, !13, i64 144, !10, i64 152, !13, i64 160, !10, i64 168, !13, i64 176, !10, i64 184, !13, i64 192, !10, i64 200, !13, i64 208, !10, i64 216, !13, i64 224, !10, i64 232, !13, i64 240, !10, i64 248, !13, i64 256, !10, i64 264, !13, i64 272, !10, i64 280, !13, i64 288, !10, i64 296, !10, i64 304, !13, i64 312, !10, i64 320, !13, i64 328, !12, i64 336, !13, i64 360, !10, i64 368, !10, i64 376, !13, i64 384, !10, i64 392, !13, i64 400, !10, i64 408, !13, i64 416, !10, i64 424, !13, i64 432, !14, i64 440, !15, i64 464}
!7 = !{!"_ZTS15cgltf_file_type", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS11cgltf_asset", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !13, i64 56, !10, i64 64}
!12 = !{!"_ZTS12cgltf_extras", !13, i64 0, !13, i64 8, !10, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTS20cgltf_memory_options", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!"_ZTS18cgltf_file_options", !10, i64 0, !10, i64 8, !10, i64 16}
!16 = !{!6, !10, i64 104}
!17 = !{!10, !10, i64 0}
!18 = !{!19, !21, i64 38}
!19 = !{!"_ZTS8Settings", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !21, i64 16, !21, i64 17, !21, i64 18, !21, i64 19, !20, i64 20, !20, i64 24, !20, i64 28, !20, i64 32, !21, i64 36, !21, i64 37, !21, i64 38, !21, i64 39, !21, i64 40, !21, i64 41, !21, i64 42, !21, i64 43, !22, i64 44, !22, i64 48, !21, i64 52, !21, i64 53, !21, i64 54, !22, i64 56, !20, i64 60, !21, i64 64, !21, i64 65, !21, i64 66, !21, i64 67, !21, i64 68, !8, i64 72, !8, i64 88, !8, i64 104, !8, i64 120, !20, i64 136, !21, i64 140, !21, i64 141, !21, i64 142, !21, i64 143, !20, i64 144}
!20 = !{!"int", !8, i64 0}
!21 = !{!"bool", !8, i64 0}
!22 = !{!"float", !8, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTS14cgltf_material", !10, i64 0, !20, i64 8, !20, i64 12, !20, i64 16, !20, i64 20, !20, i64 24, !20, i64 28, !20, i64 32, !20, i64 36, !20, i64 40, !20, i64 44, !20, i64 48, !20, i64 52, !20, i64 56, !27, i64 64, !30, i64 184, !31, i64 312, !32, i64 464, !33, i64 472, !34, i64 584, !35, i64 704, !36, i64 760, !37, i64 832, !38, i64 840, !39, i64 960, !40, i64 1072, !41, i64 1128, !28, i64 1136, !28, i64 1184, !28, i64 1232, !8, i64 1280, !42, i64 1292, !22, i64 1296, !20, i64 1300, !20, i64 1304, !12, i64 1312, !13, i64 1336, !10, i64 1344}
!27 = !{!"_ZTS28cgltf_pbr_metallic_roughness", !28, i64 0, !28, i64 48, !8, i64 96, !22, i64 112, !22, i64 116}
!28 = !{!"_ZTS18cgltf_texture_view", !10, i64 0, !20, i64 8, !22, i64 12, !20, i64 16, !29, i64 20}
!29 = !{!"_ZTS23cgltf_texture_transform", !8, i64 0, !22, i64 8, !8, i64 12, !20, i64 20, !20, i64 24}
!30 = !{!"_ZTS29cgltf_pbr_specular_glossiness", !28, i64 0, !28, i64 48, !8, i64 96, !8, i64 112, !22, i64 124}
!31 = !{!"_ZTS15cgltf_clearcoat", !28, i64 0, !28, i64 48, !28, i64 96, !22, i64 144, !22, i64 148}
!32 = !{!"_ZTS9cgltf_ior", !22, i64 0}
!33 = !{!"_ZTS14cgltf_specular", !28, i64 0, !28, i64 48, !8, i64 96, !22, i64 108}
!34 = !{!"_ZTS11cgltf_sheen", !28, i64 0, !8, i64 48, !28, i64 64, !22, i64 112}
!35 = !{!"_ZTS18cgltf_transmission", !28, i64 0, !22, i64 48}
!36 = !{!"_ZTS12cgltf_volume", !28, i64 0, !22, i64 48, !8, i64 52, !22, i64 64}
!37 = !{!"_ZTS23cgltf_emissive_strength", !22, i64 0}
!38 = !{!"_ZTS17cgltf_iridescence", !22, i64 0, !28, i64 8, !22, i64 56, !22, i64 60, !22, i64 64, !28, i64 72}
!39 = !{!"_ZTS26cgltf_diffuse_transmission", !28, i64 0, !22, i64 48, !8, i64 52, !28, i64 64}
!40 = !{!"_ZTS16cgltf_anisotropy", !22, i64 0, !22, i64 4, !28, i64 8}
!41 = !{!"_ZTS16cgltf_dispersion", !22, i64 0}
!42 = !{!"_ZTS16cgltf_alpha_mode", !8, i64 0}
!43 = !{!8, !8, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = distinct !{!46, !45}
!47 = !{!48, !10, i64 56}
!48 = !{!"_ZTS4Mesh", !20, i64 0, !49, i64 8, !53, i64 32, !10, i64 56, !10, i64 64, !12, i64 72, !57, i64 96, !58, i64 104, !62, i64 128, !21, i64 152, !8, i64 160, !13, i64 176, !66, i64 184, !70, i64 208, !74, i64 232}
!49 = !{!"_ZTSSt6vectorIP10cgltf_nodeSaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIP10cgltf_nodeSaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIP10cgltf_nodeSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!53 = !{!"_ZTSSt6vectorI9TransformSaIS0_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseI9TransformSaIS0_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseI9TransformSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!57 = !{!"_ZTS20cgltf_primitive_type", !8, i64 0}
!58 = !{!"_ZTSSt6vectorI6StreamSaIS0_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseI6StreamSaIS0_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseI6StreamSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!62 = !{!"_ZTSSt6vectorIjSaIjEE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!66 = !{!"_ZTSSt6vectorIfSaIfEE", !67, i64 0}
!67 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!70 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !71, i64 0}
!71 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!74 = !{!"_ZTSSt6vectorI22cgltf_material_mappingSaIS0_EE", !75, i64 0}
!75 = !{!"_ZTSSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE12_Vector_implE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseI22cgltf_material_mappingSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!78 = distinct !{!78, !45}
!79 = !{!80, !10, i64 8}
!80 = !{!"_ZTS22cgltf_material_mapping", !13, i64 0, !10, i64 8, !12, i64 16}
!81 = distinct !{!81, !45}


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