; LLVM IR from zeux/meshoptimizer :: gltf (material)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.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 }
%struct.cgltf_extras = type { i64, i64, 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_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_memory_options = type { ptr, ptr, ptr }
%struct.cgltf_file_options = type { ptr, ptr, ptr }
%struct.MaterialInfo = type { i8, i8, i8, i8, i32, i32 }
%struct.cgltf_material_mapping = type { i64, ptr, %struct.cgltf_extras }
%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.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 }

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z19markNeededMaterialsP10cgltf_dataRSt6vectorI12MaterialInfoSaIS2_EERKS1_I4MeshSaIS6_EERK8Settings(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(148) %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %17

17:                                               ; preds = %76, %4
  %18 = load i64, ptr %9, align 8, !tbaa !9
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #2
  %21 = icmp ult i64 %18, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %17
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  br label %79

23:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = load i64, ptr %9, align 8, !tbaa !9
  %26 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNKSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %25) #2
  store ptr %26, ptr %11, align 8, !tbaa !5
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.Mesh, ptr %27, i32 0, i32 3
  %29 = load ptr, ptr %28, align 8, !tbaa !11
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %46

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.Mesh, ptr %33, i32 0, i32 3
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.cgltf_data, ptr %36, i32 0, i32 5
  %38 = load ptr, ptr %37, align 8, !tbaa !45
  %39 = ptrtoint ptr %35 to i64
  %40 = ptrtoint ptr %38 to i64
  %41 = sub i64 %39, %40
  %42 = sdiv exact i64 %41, 1352
  %43 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI12MaterialInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %42) #2
  store ptr %43, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.MaterialInfo, ptr %44, i32 0, i32 0
  store i8 1, ptr %45, align 4, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  br label %46

46:                                               ; preds = %31, %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %72, %46
  %48 = load i64, ptr %13, align 8, !tbaa !9
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.Mesh, ptr %49, i32 0, i32 14
  %51 = call noundef i64 @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #2
  %52 = icmp ult i64 %48, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  br label %75

54:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.Mesh, ptr %56, i32 0, i32 14
  %58 = load i64, ptr %13, align 8, !tbaa !9
  %59 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %58) #2
  %60 = getelementptr inbounds %struct.cgltf_material_mapping, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !53
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.cgltf_data, ptr %62, i32 0, i32 5
  %64 = load ptr, ptr %63, align 8, !tbaa !45
  %65 = ptrtoint ptr %61 to i64
  %66 = ptrtoint ptr %64 to i64
  %67 = sub i64 %65, %66
  %68 = sdiv exact i64 %67, 1352
  %69 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI12MaterialInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %68) #2
  store ptr %69, ptr %14, align 8, !tbaa !5
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.MaterialInfo, ptr %70, i32 0, i32 0
  store i8 1, ptr %71, align 4, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  br label %72

72:                                               ; preds = %54
  %73 = load i64, ptr %13, align 8, !tbaa !9
  %74 = add i64 %73, 1
  store i64 %74, ptr %13, align 8, !tbaa !9
  br label %47, !llvm.loop !55

75:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  br label %76

76:                                               ; preds = %75
  %77 = load i64, ptr %9, align 8, !tbaa !9
  %78 = add i64 %77, 1
  store i64 %78, ptr %9, align 8, !tbaa !9
  br label %17, !llvm.loop !57

79:                                               ; preds = %22
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.Settings, ptr %80, i32 0, i32 14
  %82 = load i8, ptr %81, align 2, !tbaa !58, !range !61, !noundef !62
  %83 = trunc i8 %82 to i1
  br i1 %83, label %84, label %118

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  store i64 0, ptr %15, align 8, !tbaa !9
  br label %85

85:                                               ; preds = %114, %84
  %86 = load i64, ptr %15, align 8, !tbaa !9
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.cgltf_data, ptr %87, i32 0, i32 6
  %89 = load i64, ptr %88, align 8, !tbaa !63
  %90 = icmp ult i64 %86, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %85
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  br label %117

92:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.cgltf_data, ptr %93, i32 0, i32 5
  %95 = load ptr, ptr %94, align 8, !tbaa !45
  %96 = load i64, ptr %15, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.cgltf_material, ptr %95, i64 %96
  store ptr %97, ptr %16, align 8, !tbaa !5
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.cgltf_material, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !64
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %113

102:                                              ; preds = %92
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.cgltf_material, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !64
  %106 = load i8, ptr %105, align 1, !tbaa !82
  %107 = icmp ne i8 %106, 0
  br i1 %107, label %108, label %113

108:                                              ; preds = %102
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i64, ptr %15, align 8, !tbaa !9
  %111 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI12MaterialInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %110) #2
  %112 = getelementptr inbounds %struct.MaterialInfo, ptr %111, i32 0, i32 0
  store i8 1, ptr %112, align 4, !tbaa !51
  br label %113

113:                                              ; preds = %108, %102, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  br label %114

114:                                              ; preds = %113
  %115 = load i64, ptr %15, align 8, !tbaa !9
  %116 = add i64 %115, 1
  store i64 %116, ptr %15, align 8, !tbaa !9
  br label %85, !llvm.loop !83

117:                                              ; preds = %91
  br label %118

118:                                              ; preds = %117, %79
  ret void
}

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

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


; 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"

%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 }

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z19markNeededMaterialsP10cgltf_dataRSt6vectorI12MaterialInfoSaIS2_EERKS1_I4MeshSaIS6_EERK8Settings(ptr nocapture noundef readonly %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr nocapture noundef nonnull readonly align 4 dereferenceable(148) %3) local_unnamed_addr #0 {
  %5 = tail call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #1
  %.not40 = icmp eq i64 %5, 0
  br i1 %.not40, label %._crit_edge37, label %.lr.ph36

.lr.ph36:                                         ; preds = %4
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  br label %13

._crit_edge37:                                    ; preds = %._crit_edge, %4
  %7 = getelementptr inbounds i8, ptr %3, i64 38
  %8 = load i8, ptr %7, align 2, !tbaa !5, !range !12, !noundef !13
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %._crit_edge37
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  %11 = load i64, ptr %10, align 8, !tbaa !14
  %.not42 = icmp eq i64 %11, 0
  br i1 %.not42, label %.loopexit, label %.lr.ph39

.lr.ph39:                                         ; preds = %.preheader
  %12 = getelementptr inbounds i8, ptr %0, i64 104
  br label %42

13:                                               ; preds = %.lr.ph36, %._crit_edge
  %.034 = phi i64 [ 0, %.lr.ph36 ], [ %27, %._crit_edge ]
  %14 = tail call noundef nonnull align 8 dereferenceable(256) ptr @_ZNKSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.034) #1
  %15 = getelementptr inbounds i8, ptr %14, i64 56
  %16 = load ptr, ptr %15, align 8, !tbaa !23
  %.not32 = icmp eq ptr %16, null
  br i1 %.not32, label %24, label %17

17:                                               ; preds = %13
  %18 = load ptr, ptr %6, align 8, !tbaa !54
  %19 = ptrtoint ptr %16 to i64
  %20 = ptrtoint ptr %18 to i64
  %21 = sub i64 %19, %20
  %22 = sdiv exact i64 %21, 1352
  %23 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI12MaterialInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %22) #1
  store i8 1, ptr %23, align 4, !tbaa !55
  br label %24

24:                                               ; preds = %17, %13
  %25 = getelementptr inbounds i8, ptr %14, i64 232
  %26 = tail call noundef i64 @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #1
  %.not41 = icmp eq i64 %26, 0
  br i1 %.not41, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %24
  %27 = add nuw i64 %.034, 1
  %28 = tail call noundef i64 @_ZNKSt6vectorI4MeshSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #1
  %29 = icmp ult i64 %27, %28
  br i1 %29, label %13, label %._crit_edge37, !llvm.loop !57

.lr.ph:                                           ; preds = %24, %.lr.ph
  %.02833 = phi i64 [ %39, %.lr.ph ], [ 0, %24 ]
  %30 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %.02833) #1
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !59
  %33 = load ptr, ptr %6, align 8, !tbaa !54
  %34 = ptrtoint ptr %32 to i64
  %35 = ptrtoint ptr %33 to i64
  %36 = sub i64 %34, %35
  %37 = sdiv exact i64 %36, 1352
  %38 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI12MaterialInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %37) #1
  store i8 1, ptr %38, align 4, !tbaa !55
  %39 = add nuw i64 %.02833, 1
  %40 = tail call noundef i64 @_ZNKSt6vectorI22cgltf_material_mappingSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #1
  %41 = icmp ult i64 %39, %40
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !61

42:                                               ; preds = %.lr.ph39, %51
  %43 = phi i64 [ %11, %.lr.ph39 ], [ %52, %51 ]
  %.02738 = phi i64 [ 0, %.lr.ph39 ], [ %53, %51 ]
  %44 = load ptr, ptr %12, align 8, !tbaa !54
  %45 = getelementptr inbounds %struct.cgltf_material, ptr %44, i64 %.02738
  %46 = load ptr, ptr %45, align 8, !tbaa !62
  %.not = icmp eq ptr %46, null
  br i1 %.not, label %51, label %47

47:                                               ; preds = %42
  %48 = load i8, ptr %46, align 1, !tbaa !80
  %.not31 = icmp eq i8 %48, 0
  br i1 %.not31, label %51, label %49

49:                                               ; preds = %47
  %50 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI12MaterialInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.02738) #1
  store i8 1, ptr %50, align 4, !tbaa !55
  %.pre = load i64, ptr %10, align 8, !tbaa !14
  br label %51

51:                                               ; preds = %49, %47, %42
  %52 = phi i64 [ %.pre, %49 ], [ %43, %47 ], [ %43, %42 ]
  %53 = add nuw i64 %.02738, 1
  %54 = icmp ult i64 %53, %52
  br i1 %54, label %42, label %.loopexit, !llvm.loop !81

.loopexit:                                        ; preds = %51, %.preheader, %._crit_edge37
  ret void
}

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

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

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

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


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