; LLVM IR from Razakhel/RaZ :: extern/fastgltf/src (fastgltf)

; 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::basic_string_view" = type { i64, ptr }
%"struct.simdjson::simdjson_result" = type { %"struct.simdjson::internal::simdjson_result_base.base", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base" = type { %"struct.std::pair.base" }
%"struct.std::pair.base" = type <{ %"class.simdjson::dom::object", i32 }>
%"class.simdjson::dom::object" = type { %"class.simdjson::internal::tape_ref" }
%"class.simdjson::internal::tape_ref" = type { ptr, i64 }
%"struct.simdjson::simdjson_result.0" = type { %"struct.simdjson::internal::simdjson_result_base.base.5", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.5" = type { %"struct.std::pair.base.4" }
%"struct.std::pair.base.4" = type <{ %"class.simdjson::dom::element", i32 }>
%"class.simdjson::dom::element" = type { %"class.simdjson::internal::tape_ref" }
%"class.fastgltf::Expected" = type { i64, %"class.std::variant" }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type { %"union.std::__detail::__variant::_Variadic_union", i8 }
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.40" }
%"union.std::__detail::__variant::_Variadic_union.40" = type { %"union.std::__detail::__variant::_Variadic_union.42" }
%"union.std::__detail::__variant::_Variadic_union.42" = type { %"struct.std::__detail::__variant::_Uninitialized.43" }
%"struct.std::__detail::__variant::_Uninitialized.43" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [184 x i8] }
%"struct.simdjson::simdjson_result.409" = type { %"struct.simdjson::internal::simdjson_result_base.base.414", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.414" = type { %"struct.std::pair.base.413" }
%"struct.std::pair.base.413" = type <{ %"class.std::basic_string_view", i32 }>
%"class.simdjson::dom::array::iterator" = type { %"class.simdjson::internal::tape_ref" }
%"struct.fastgltf::Buffer" = type { i64, %"class.std::variant", %"class.std::__cxx11::basic_string.74" }
%"class.std::__cxx11::basic_string.74" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider", i64, %union.anon.76 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider" = type { %"class.std::pmr::polymorphic_allocator.75", ptr }
%"class.std::pmr::polymorphic_allocator.75" = type { ptr }
%union.anon.76 = type { i64, [8 x i8] }
%"struct.simdjson::simdjson_result.7" = type { %"struct.simdjson::internal::simdjson_result_base.base.12", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.12" = type { %"struct.std::pair.base.11" }
%"struct.std::pair.base.11" = type <{ i64, i32 }>
%"class.__gnu_cxx::__normal_iterator.424" = type { ptr }
%"class.fastgltf::URIView" = type <{ %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", i8, [7 x i8] }>
%"struct.fastgltf::sources::URI" = type <{ i64, %"class.fastgltf::URI", i8, [7 x i8] }>
%"class.fastgltf::URI" = type { %"class.std::__cxx11::basic_string", %"class.fastgltf::URIView" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.30 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.30 = type { i64, [8 x i8] }
%"struct.fastgltf::sources::Fallback" = type { i8 }
%"class.fastgltf::Asset" = type <{ %"class.std::shared_ptr", %"class.std::optional", %"class.std::vector.88", %"class.std::vector.88", %"class.fastgltf::OptionalWithFlagValue", %"class.std::vector.91", %"class.std::vector.96", %"class.std::vector.101", %"class.std::vector.106", %"class.std::vector.111", %"class.std::vector.116", %"class.std::vector.121", %"class.std::vector.126", %"class.std::vector.131", %"class.std::vector.136", %"class.std::vector.141", %"class.std::vector.146", %"class.std::vector.151", %"class.std::vector.156", %"class.std::vector.161", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<fastgltf::AssetInfo>::_Storage", i8 }>
%"union.std::_Optional_payload_base<fastgltf::AssetInfo>::_Storage" = type { %"struct.fastgltf::AssetInfo" }
%"struct.fastgltf::AssetInfo" = type { %"class.std::__cxx11::basic_string.74", %"class.std::__cxx11::basic_string.74", %"class.std::__cxx11::basic_string.74" }
%"class.std::vector.88" = type { %"struct.std::_Vector_base.89" }
%"struct.std::_Vector_base.89" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>, std::pmr::polymorphic_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>, std::pmr::polymorphic_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>>>::_Vector_impl" = type { %"class.std::pmr::polymorphic_allocator.90", %"struct.std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>, std::pmr::polymorphic_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>>>::_Vector_impl_data" }
%"class.std::pmr::polymorphic_allocator.90" = type { ptr }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>, std::pmr::polymorphic_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastgltf::OptionalWithFlagValue" = type { %union.anon }
%union.anon = type { i64 }
%"class.std::vector.91" = type { %"struct.std::_Vector_base.92" }
%"struct.std::_Vector_base.92" = type { %"struct.std::_Vector_base<fastgltf::Accessor, std::allocator<fastgltf::Accessor>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Accessor, std::allocator<fastgltf::Accessor>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Accessor, std::allocator<fastgltf::Accessor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Accessor, std::allocator<fastgltf::Accessor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.96" = type { %"struct.std::_Vector_base.97" }
%"struct.std::_Vector_base.97" = type { %"struct.std::_Vector_base<fastgltf::Animation, std::allocator<fastgltf::Animation>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Animation, std::allocator<fastgltf::Animation>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Animation, std::allocator<fastgltf::Animation>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Animation, std::allocator<fastgltf::Animation>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<fastgltf::Buffer, std::allocator<fastgltf::Buffer>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Buffer, std::allocator<fastgltf::Buffer>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Buffer, std::allocator<fastgltf::Buffer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Buffer, std::allocator<fastgltf::Buffer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<fastgltf::BufferView, std::allocator<fastgltf::BufferView>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::BufferView, std::allocator<fastgltf::BufferView>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::BufferView, std::allocator<fastgltf::BufferView>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::BufferView, std::allocator<fastgltf::BufferView>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<fastgltf::Camera, std::allocator<fastgltf::Camera>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Camera, std::allocator<fastgltf::Camera>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Camera, std::allocator<fastgltf::Camera>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Camera, std::allocator<fastgltf::Camera>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.116" = type { %"struct.std::_Vector_base.117" }
%"struct.std::_Vector_base.117" = type { %"struct.std::_Vector_base<fastgltf::Image, std::allocator<fastgltf::Image>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Image, std::allocator<fastgltf::Image>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Image, std::allocator<fastgltf::Image>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Image, std::allocator<fastgltf::Image>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.121" = type { %"struct.std::_Vector_base.122" }
%"struct.std::_Vector_base.122" = type { %"struct.std::_Vector_base<fastgltf::Light, std::allocator<fastgltf::Light>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Light, std::allocator<fastgltf::Light>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Light, std::allocator<fastgltf::Light>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Light, std::allocator<fastgltf::Light>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.126" = type { %"struct.std::_Vector_base.127" }
%"struct.std::_Vector_base.127" = type { %"struct.std::_Vector_base<fastgltf::Material, std::allocator<fastgltf::Material>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Material, std::allocator<fastgltf::Material>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Material, std::allocator<fastgltf::Material>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Material, std::allocator<fastgltf::Material>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<fastgltf::Mesh, std::allocator<fastgltf::Mesh>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Mesh, std::allocator<fastgltf::Mesh>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Mesh, std::allocator<fastgltf::Mesh>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Mesh, std::allocator<fastgltf::Mesh>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<fastgltf::Node, std::allocator<fastgltf::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Node, std::allocator<fastgltf::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Node, std::allocator<fastgltf::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Node, std::allocator<fastgltf::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.141" = type { %"struct.std::_Vector_base.142" }
%"struct.std::_Vector_base.142" = type { %"struct.std::_Vector_base<fastgltf::Sampler, std::allocator<fastgltf::Sampler>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Sampler, std::allocator<fastgltf::Sampler>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Sampler, std::allocator<fastgltf::Sampler>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Sampler, std::allocator<fastgltf::Sampler>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = type { %"struct.std::_Vector_base<fastgltf::Scene, std::allocator<fastgltf::Scene>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Scene, std::allocator<fastgltf::Scene>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Scene, std::allocator<fastgltf::Scene>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Scene, std::allocator<fastgltf::Scene>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.151" = type { %"struct.std::_Vector_base.152" }
%"struct.std::_Vector_base.152" = type { %"struct.std::_Vector_base<fastgltf::Skin, std::allocator<fastgltf::Skin>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Skin, std::allocator<fastgltf::Skin>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Skin, std::allocator<fastgltf::Skin>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Skin, std::allocator<fastgltf::Skin>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.156" = type { %"struct.std::_Vector_base.157" }
%"struct.std::_Vector_base.157" = type { %"struct.std::_Vector_base<fastgltf::Texture, std::allocator<fastgltf::Texture>>::_Vector_impl" }
%"struct.std::_Vector_base<fastgltf::Texture, std::allocator<fastgltf::Texture>>::_Vector_impl" = type { %"struct.std::_Vector_base<fastgltf::Texture, std::allocator<fastgltf::Texture>>::_Vector_impl_data" }
%"struct.std::_Vector_base<fastgltf::Texture, std::allocator<fastgltf::Texture>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.161" = type { %"struct.std::_Vector_base.162" }
%"struct.std::_Vector_base.162" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fastgltf::Parser" = type { %"class.std::unique_ptr.57", %"struct.fastgltf::ParserInternalConfig", %"class.std::variant", %"class.std::shared_ptr", %"class.std::filesystem::__cxx11::path", i64 }
%"class.std::unique_ptr.57" = type { %"struct.std::__uniq_ptr_data.58" }
%"struct.std::__uniq_ptr_data.58" = type { %"class.std::__uniq_ptr_impl.59" }
%"class.std::__uniq_ptr_impl.59" = type { %"class.std::tuple.60" }
%"class.std::tuple.60" = type { %"struct.std::_Tuple_impl.61" }
%"struct.std::_Tuple_impl.61" = type { %"struct.std::_Head_base.64" }
%"struct.std::_Head_base.64" = type { ptr }
%"struct.fastgltf::ParserInternalConfig" = type { ptr, ptr, ptr, ptr, ptr, i64 }
%"class.std::filesystem::__cxx11::path" = type { %"class.std::__cxx11::basic_string", %"struct.std::filesystem::__cxx11::path::_List" }
%"struct.std::filesystem::__cxx11::path::_List" = type { %"class.std::unique_ptr.31" }
%"class.std::unique_ptr.31" = type { %"struct.std::__uniq_ptr_data.32" }
%"struct.std::__uniq_ptr_data.32" = type { %"class.std::__uniq_ptr_impl.33" }
%"class.std::__uniq_ptr_impl.33" = type { %"class.std::tuple.34" }
%"class.std::tuple.34" = type { %"struct.std::_Tuple_impl.35" }
%"struct.std::_Tuple_impl.35" = type { %"struct.std::_Head_base.38" }
%"struct.std::_Head_base.38" = type { ptr }

@_ZN8fastgltf10extensionsL23EXT_meshopt_compressionE = external hidden constant %"class.std::basic_string_view", align 8
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result") align 8, ptr noundef nonnull align 8 dereferenceable(20)) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i1 @llvm.expect.i1(i1, i1) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.0") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local { i64, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_uint64Ev(ptr noundef nonnull align 8 dereferenceable(20)) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson15simdjson_resultImE3getERm(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN8fastgltf3URIaSERKNS_7URIViewE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(129)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK8fastgltf6Parser13decodeDataUriERNS_7URIViewE(ptr dead_on_unwind noalias writable sret(%"class.fastgltf::Expected") align 8, ptr noundef nonnull align 8 dereferenceable(312), ptr noundef nonnull align 8 dereferenceable(129)) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(40)) #5 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8fastgltf6hasBitINS_7OptionsES1_EEbT_T0_(i64 noundef, i64 noundef) #5

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.409") align 8, ptr noundef nonnull align 8 dereferenceable(20)) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8fastgltf6Parser12parseBuffersERN8simdjson3dom5arrayERNS_5AssetE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(580) %2) #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.simdjson::dom::array::iterator", align 8
  %11 = alloca %"class.simdjson::dom::array::iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.simdjson::dom::element", align 8
  %14 = alloca %"struct.fastgltf::Buffer", align 8
  %15 = alloca %"class.simdjson::dom::object", align 8
  %16 = alloca %"struct.simdjson::simdjson_result", align 8
  %17 = alloca i64, align 8
  %18 = alloca %"struct.simdjson::simdjson_result.7", align 8
  %19 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %20 = alloca { i64, i32 }, align 8
  %21 = alloca i8, align 1
  %22 = alloca ptr, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca %"class.std::basic_string_view", align 8
  %28 = alloca %"class.std::basic_string_view", align 8
  %29 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %30 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %31 = alloca %"class.fastgltf::URIView", align 8
  %32 = alloca %"class.std::basic_string_view", align 8
  %33 = alloca %"class.fastgltf::Expected", align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca %"class.fastgltf::Expected", align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"struct.fastgltf::sources::URI", align 8
  %42 = alloca %"struct.fastgltf::sources::Fallback", align 1
  %43 = alloca %"class.simdjson::dom::object", align 8
  %44 = alloca i32, align 4
  %45 = alloca %"struct.simdjson::simdjson_result", align 8
  %46 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %47 = alloca %"class.std::basic_string_view", align 8
  %48 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %49 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %50 = alloca %"class.std::__cxx11::basic_string.74", align 8
  %51 = alloca %"class.std::pmr::polymorphic_allocator.75", 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
  %52 = load ptr, ptr %5, align 8
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.fastgltf::Asset", ptr %53, i32 0, i32 7
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %55) #9
  call void @_ZNSt6vectorIN8fastgltf6BufferESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %56)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  store i64 0, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %57, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = call { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %58) #9
  %60 = getelementptr inbounds %"class.simdjson::dom::array::iterator", ptr %10, i32 0, i32 0
  %61 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 0
  %62 = extractvalue { ptr, i64 } %59, 0
  store ptr %62, ptr %61, align 8
  %63 = getelementptr inbounds { ptr, i64 }, ptr %60, i32 0, i32 1
  %64 = extractvalue { ptr, i64 } %59, 1
  store i64 %64, ptr %63, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #9
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = call { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16) %65) #9
  %67 = getelementptr inbounds %"class.simdjson::dom::array::iterator", ptr %11, i32 0, i32 0
  %68 = getelementptr inbounds { ptr, i64 }, ptr %67, i32 0, i32 0
  %69 = extractvalue { ptr, i64 } %66, 0
  store ptr %69, ptr %68, align 8
  %70 = getelementptr inbounds { ptr, i64 }, ptr %67, i32 0, i32 1
  %71 = extractvalue { ptr, i64 } %66, 1
  store i64 %71, ptr %70, align 8
  br label %72

72:                                               ; preds = %296, %3
  %73 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  br i1 %73, label %75, label %74

74:                                               ; preds = %72
  store i32 2, ptr %12, align 4
  br label %304

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #9
  %76 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  %77 = getelementptr inbounds %"class.simdjson::dom::element", ptr %13, i32 0, i32 0
  %78 = getelementptr inbounds { ptr, i64 }, ptr %77, i32 0, i32 0
  %79 = extractvalue { ptr, i64 } %76, 0
  store ptr %79, ptr %78, align 8
  %80 = getelementptr inbounds { ptr, i64 }, ptr %77, i32 0, i32 1
  %81 = extractvalue { ptr, i64 } %76, 1
  store i64 %81, ptr %80, align 8
  call void @llvm.lifetime.start.p0(i64 240, ptr %14) #9
  %82 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 0
  store i64 0, ptr %82, align 8, !tbaa !11
  %83 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %83, i8 0, i64 192, i1 false)
  call void @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(185) %83) #9
  %84 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %84) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #9
  call void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %13) #9
  %85 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef nonnull align 8 dereferenceable(16) %15) #9
  %86 = icmp ne i32 %85, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  %87 = call i1 @llvm.expect.i1(i1 %86, i1 false)
  br i1 %87, label %88, label %89

88:                                               ; preds = %75
  store i64 5, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %290

89:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.64) #9
  %90 = call { i64, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_uint64Ev(ptr noundef nonnull align 8 dereferenceable(20) %19) #9
  store { i64, i32 } %90, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %20, i64 12, i1 false)
  %91 = call noundef i32 @_ZNO8simdjson15simdjson_resultImE3getERm(ptr noundef nonnull align 8 dereferenceable(12) %18, ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  %92 = icmp ne i32 %91, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  %93 = call i1 @llvm.expect.i1(i1 %92, i1 false)
  br i1 %93, label %94, label %95

94:                                               ; preds = %89
  store i64 5, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %289

95:                                               ; preds = %89
  %96 = load i64, ptr %17, align 8, !tbaa !9
  %97 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 0
  store i64 %96, ptr %97, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #9
  store i8 0, ptr %21, align 1, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.fastgltf::Asset", ptr %98, i32 0, i32 3
  store ptr %99, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %100 = load ptr, ptr %22, align 8, !tbaa !5
  %101 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEENS5_IS7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %100) #9
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %23, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %103 = load ptr, ptr %22, align 8, !tbaa !5
  %104 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEENS5_IS7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %103) #9
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %24, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  br label %106

106:                                              ; preds = %128, %95
  %107 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br i1 %107, label %109, label %108

108:                                              ; preds = %106
  store i32 4, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %130

109:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %110 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  store ptr %110, ptr %25, align 8, !tbaa !5
  %111 = load ptr, ptr %25, align 8, !tbaa !5
  %112 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(40) %111) #9
  %113 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 0
  %114 = extractvalue { i64, ptr } %112, 0
  store i64 %114, ptr %113, align 8
  %115 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 1
  %116 = extractvalue { i64, ptr } %112, 1
  store ptr %116, ptr %115, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 @_ZN8fastgltf10extensionsL23EXT_meshopt_compressionE, i64 16, i1 false), !tbaa.struct !25
  %117 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 0
  %118 = load i64, ptr %117, align 8
  %119 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8
  %121 = getelementptr inbounds { i64, ptr }, ptr %27, i32 0, i32 0
  %122 = load i64, ptr %121, align 8
  %123 = getelementptr inbounds { i64, ptr }, ptr %27, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8
  %125 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbNSt15__type_identityISt17basic_string_viewIT_T0_EE4typeES6_(i64 %118, ptr %120, i64 %122, ptr %124) #9
  br i1 %125, label %126, label %127

126:                                              ; preds = %109
  store i8 1, ptr %21, align 1, !tbaa !23
  br label %127

127:                                              ; preds = %126, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %128

128:                                              ; preds = %127
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %106

130:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %30, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.65) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %29, ptr noundef nonnull align 8 dereferenceable(20) %30) #9
  %131 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %29, ptr noundef nonnull align 8 dereferenceable(16) %28) #9
  %132 = icmp eq i32 %131, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #9
  %133 = call i1 @llvm.expect.i1(i1 %132, i1 true)
  br i1 %133, label %134, label %203

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 136, ptr %31) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !25
  %135 = getelementptr inbounds { i64, ptr }, ptr %32, i32 0, i32 0
  %136 = load i64, ptr %135, align 8
  %137 = getelementptr inbounds { i64, ptr }, ptr %32, i32 0, i32 1
  %138 = load ptr, ptr %137, align 8
  call void @_ZN8fastgltf7URIViewC1ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(129) %31, i64 %136, ptr %138) #9
  %139 = call noundef zeroext i1 @_ZNK8fastgltf7URIView5validEv(ptr noundef nonnull align 8 dereferenceable(129) %31) #9
  br i1 %139, label %141, label %140

140:                                              ; preds = %134
  store i64 11, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %199

141:                                              ; preds = %134
  %142 = call noundef zeroext i1 @_ZNK8fastgltf7URIView9isDataUriEv(ptr noundef nonnull align 8 dereferenceable(129) %31) #9
  br i1 %142, label %143, label %159

143:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 200, ptr %33) #9
  call void @_ZNK8fastgltf6Parser13decodeDataUriERNS_7URIViewE(ptr dead_on_unwind writable sret(%"class.fastgltf::Expected") align 8 %33, ptr noundef nonnull align 8 dereferenceable(312) %52, ptr noundef nonnull align 8 dereferenceable(129) %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %33) #9
  store ptr %144, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %145 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %33) #9
  store ptr %145, ptr %35, align 8, !tbaa !5
  %146 = load ptr, ptr %34, align 8, !tbaa !5
  %147 = load i64, ptr %146, align 8, !tbaa !26
  %148 = icmp ne i64 %147, 0
  br i1 %148, label %149, label %152

149:                                              ; preds = %143
  %150 = load ptr, ptr %34, align 8, !tbaa !5
  %151 = load i64, ptr %150, align 8, !tbaa !26
  store i64 %151, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %156

152:                                              ; preds = %143
  %153 = load ptr, ptr %35, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  %155 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %154, ptr noundef nonnull align 8 dereferenceable(185) %153) #9
  store i32 0, ptr %12, align 4
  br label %156

156:                                              ; preds = %152, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %33) #9
  call void @llvm.lifetime.end.p0(i64 200, ptr %33) #9
  %157 = load i32, ptr %12, align 4
  switch i32 %157, label %199 [
    i32 0, label %158
  ]

158:                                              ; preds = %156
  br label %198

159:                                              ; preds = %141
  %160 = call noundef zeroext i1 @_ZNK8fastgltf7URIView11isLocalPathEv(ptr noundef nonnull align 8 dereferenceable(129) %31) #9
  br i1 %160, label %161, label %186

161:                                              ; preds = %159
  %162 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 5
  %163 = load i64, ptr %162, align 8, !tbaa !28
  %164 = invoke noundef zeroext i1 @_ZN8fastgltf6hasBitINS_7OptionsES1_EEbT_T0_(i64 noundef %163, i64 noundef 16)
          to label %165 unwind label %175

165:                                              ; preds = %161
  br i1 %164, label %166, label %186

166:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 200, ptr %38) #9
  call void @_ZNK8fastgltf6Parser15loadFileFromUriERNS_7URIViewE(ptr dead_on_unwind writable sret(%"class.fastgltf::Expected") align 8 %38, ptr noundef nonnull align 8 dereferenceable(312) %52, ptr noundef nonnull align 8 dereferenceable(129) %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %38) #9
  store ptr %167, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %168 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %38) #9
  store ptr %168, ptr %40, align 8, !tbaa !5
  %169 = load ptr, ptr %39, align 8, !tbaa !5
  %170 = load i64, ptr %169, align 8, !tbaa !26
  %171 = icmp ne i64 %170, 0
  br i1 %171, label %172, label %179

172:                                              ; preds = %166
  %173 = load ptr, ptr %39, align 8, !tbaa !5
  %174 = load i64, ptr %173, align 8, !tbaa !26
  store i64 %174, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %183

175:                                              ; preds = %161
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %36, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %37, align 4
  br label %202

179:                                              ; preds = %166
  %180 = load ptr, ptr %40, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  %182 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %181, ptr noundef nonnull align 8 dereferenceable(185) %180) #9
  store i32 0, ptr %12, align 4
  br label %183

183:                                              ; preds = %179, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %38) #9
  call void @llvm.lifetime.end.p0(i64 200, ptr %38) #9
  %184 = load i32, ptr %12, align 4
  switch i32 %184, label %199 [
    i32 0, label %185
  ]

185:                                              ; preds = %183
  br label %197

186:                                              ; preds = %165, %159
  call void @llvm.lifetime.start.p0(i64 184, ptr %41) #9
  call void @_ZN8fastgltf7sources3URIC2Ev(ptr noundef nonnull align 8 dereferenceable(177) %41) #9
  %187 = getelementptr inbounds %"struct.fastgltf::sources::URI", ptr %41, i32 0, i32 0
  store i64 0, ptr %187, align 8, !tbaa !52
  %188 = getelementptr inbounds %"struct.fastgltf::sources::URI", ptr %41, i32 0, i32 1
  %189 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN8fastgltf3URIaSERKNS_7URIViewE(ptr noundef nonnull align 8 dereferenceable(168) %188, ptr noundef nonnull align 8 dereferenceable(129) %31)
          to label %190 unwind label %193

190:                                              ; preds = %186
  %191 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  %192 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS4_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185) %191, ptr noundef nonnull align 8 dereferenceable(177) %41) #9
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %41) #9
  call void @llvm.lifetime.end.p0(i64 184, ptr %41) #9
  br label %197

193:                                              ; preds = %186
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %36, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %37, align 4
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %41) #9
  call void @llvm.lifetime.end.p0(i64 184, ptr %41) #9
  br label %202

197:                                              ; preds = %190, %185
  br label %198

198:                                              ; preds = %197, %158
  store i32 0, ptr %12, align 4
  br label %199

199:                                              ; preds = %198, %183, %156, %140
  call void @llvm.lifetime.end.p0(i64 136, ptr %31) #9
  %200 = load i32, ptr %12, align 4
  switch i32 %200, label %288 [
    i32 0, label %201
  ]

201:                                              ; preds = %199
  br label %222

202:                                              ; preds = %193, %175
  call void @llvm.lifetime.end.p0(i64 136, ptr %31) #9
  br label %303

203:                                              ; preds = %130
  %204 = load i64, ptr %8, align 8, !tbaa !9
  %205 = icmp eq i64 %204, 0
  br i1 %205, label %206, label %213

206:                                              ; preds = %203
  %207 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 2
  %208 = call noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185) %207) #9
  br i1 %208, label %213, label %209

209:                                              ; preds = %206
  %210 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 2
  %211 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  %212 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %211, ptr noundef nonnull align 8 dereferenceable(185) %210) #9
  br label %221

213:                                              ; preds = %206, %203
  %214 = load i8, ptr %21, align 1, !tbaa !23, !range !58, !noundef !59
  %215 = trunc i8 %214 to i1
  br i1 %215, label %216, label %219

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #9
  %217 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  %218 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS9_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185) %217, ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  br label %220

219:                                              ; preds = %213
  store i64 5, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %288

220:                                              ; preds = %216
  br label %221

221:                                              ; preds = %220, %209
  br label %222

222:                                              ; preds = %221, %201
  %223 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 1
  %224 = call noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185) %223) #9
  br i1 %224, label %225, label %226

225:                                              ; preds = %222
  store i64 5, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %288

226:                                              ; preds = %222
  %227 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 1
  %228 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %227, i32 0, i32 3
  %229 = load ptr, ptr %228, align 8, !tbaa !60
  %230 = icmp ne ptr %229, null
  br i1 %230, label %231, label %262

231:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #9
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %46, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.48) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %45, ptr noundef nonnull align 8 dereferenceable(20) %46) #9
  %232 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %45, ptr noundef nonnull align 8 dereferenceable(16) %43) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #9
  store i32 %232, ptr %44, align 4, !tbaa !61
  %233 = load i32, ptr %44, align 4, !tbaa !61
  %234 = icmp eq i32 %233, 0
  br i1 %234, label %235, label %250

235:                                              ; preds = %231
  %236 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 1
  %237 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %236, i32 0, i32 3
  %238 = load ptr, ptr %237, align 8, !tbaa !60
  %239 = load ptr, ptr %7, align 8, !tbaa !5
  %240 = getelementptr inbounds %"class.fastgltf::Asset", ptr %239, i32 0, i32 7
  %241 = call noundef i64 @_ZNKSt6vectorIN8fastgltf6BufferESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %240) #9
  %242 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 1
  %243 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %242, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !63
  invoke void %238(ptr noundef %43, i64 noundef %241, i32 noundef 1, ptr noundef %244)
          to label %245 unwind label %246

245:                                              ; preds = %235
  br label %255

246:                                              ; preds = %235
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %36, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #9
  br label %303

250:                                              ; preds = %231
  %251 = load i32, ptr %44, align 4, !tbaa !61
  %252 = icmp ne i32 %251, 20
  br i1 %252, label %253, label %254

253:                                              ; preds = %250
  store i64 5, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %256

254:                                              ; preds = %250
  br label %255

255:                                              ; preds = %254, %245
  store i32 0, ptr %12, align 4
  br label %256

256:                                              ; preds = %255, %253
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  %257 = load i32, ptr %12, align 4
  switch i32 %257, label %259 [
    i32 0, label %258
  ]

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

259:                                              ; preds = %258, %256
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #9
  %260 = load i32, ptr %12, align 4
  switch i32 %260, label %288 [
    i32 0, label %261
  ]

261:                                              ; preds = %259
  br label %262

262:                                              ; preds = %261, %226
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %49, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.49) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %48, ptr noundef nonnull align 8 dereferenceable(20) %49) #9
  %263 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %48, ptr noundef nonnull align 8 dereferenceable(16) %47) #9
  %264 = icmp eq i32 %263, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #9
  br i1 %264, label %265, label %281

265:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 40, ptr %50) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #9
  %266 = getelementptr inbounds %"class.fastgltf::Parser", ptr %52, i32 0, i32 3
  %267 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %266) #9
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef %267) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %50, ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %268 unwind label %272

268:                                              ; preds = %265
  %269 = getelementptr inbounds %"struct.fastgltf::Buffer", ptr %14, i32 0, i32 2
  %270 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %269, ptr noundef nonnull align 8 dereferenceable(40) %50)
          to label %271 unwind label %276

271:                                              ; preds = %268
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %50) #9
  br label %281

272:                                              ; preds = %265
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %36, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %37, align 4
  br label %280

276:                                              ; preds = %268
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %36, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %37, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %50) #9
  br label %280

280:                                              ; preds = %276, %272
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %50) #9
  br label %302

281:                                              ; preds = %271, %262
  %282 = load i64, ptr %8, align 8, !tbaa !9
  %283 = add i64 %282, 1
  store i64 %283, ptr %8, align 8, !tbaa !9
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %"class.fastgltf::Asset", ptr %284, i32 0, i32 7
  %286 = invoke noundef nonnull align 8 dereferenceable(240) ptr @_ZNSt6vectorIN8fastgltf6BufferESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %285, ptr noundef nonnull align 8 dereferenceable(240) %14)
          to label %287 unwind label %298

287:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #9
  store i32 0, ptr %12, align 4
  br label %288

288:                                              ; preds = %287, %259, %225, %219, %199
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #9
  br label %289

289:                                              ; preds = %288, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %290

290:                                              ; preds = %289, %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %14) #9
  call void @llvm.lifetime.end.p0(i64 240, ptr %14) #9
  %291 = load i32, ptr %12, align 4
  switch i32 %291, label %293 [
    i32 0, label %292
  ]

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

293:                                              ; preds = %292, %290
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  %294 = load i32, ptr %12, align 4
  switch i32 %294, label %304 [
    i32 0, label %295
  ]

295:                                              ; preds = %293
  br label %296

296:                                              ; preds = %295
  %297 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  br label %72

298:                                              ; preds = %281
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %36, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %37, align 4
  br label %302

302:                                              ; preds = %298, %280
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #9
  br label %303

303:                                              ; preds = %302, %246, %202
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %14) #9
  call void @llvm.lifetime.end.p0(i64 240, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %309

304:                                              ; preds = %293, %74
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  %305 = load i32, ptr %12, align 4
  switch i32 %305, label %307 [
    i32 2, label %306
  ]

306:                                              ; preds = %304
  store i64 0, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

307:                                              ; preds = %306, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  %308 = load i64, ptr %4, align 8
  ret i64 %308

309:                                              ; preds = %303
  %310 = load ptr, ptr %36, align 8
  %311 = load i32, ptr %37, align 4
  %312 = insertvalue { ptr, i32 } poison, ptr %310, 0
  %313 = insertvalue { ptr, i32 } %312, i32 %311, 1
  resume { ptr, i32 } %313
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbNSt15__type_identityISt17basic_string_viewIT_T0_EE4typeES6_(i64, ptr, i64, ptr) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 8 dereferenceable(185)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZNK8fastgltf6Parser15loadFileFromUriERNS_7URIViewE(ptr dead_on_unwind writable sret(%"class.fastgltf::Expected") align 8, ptr noundef nonnull align 8 dereferenceable(312), ptr noundef nonnull align 8 dereferenceable(129)) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf7sources3URIC2Ev(ptr noundef nonnull align 8 dereferenceable(177)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS4_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 8 dereferenceable(177)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS9_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #4 align 2

declare void @_ZN8fastgltf7URIViewC1ESt17basic_string_viewIcSt11char_traitsIcEE(ptr, i64, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 #9 = { 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, !10, i64 0}
!12 = !{!"_ZTSN8fastgltf6BufferE", !10, i64 0, !13, i64 8, !20, i64 200}
!13 = !{!"_ZTSSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEE", !14, i64 0}
!14 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !15, i64 0}
!15 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !16, i64 0}
!16 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !17, i64 0}
!17 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !18, i64 0}
!18 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !19, i64 0}
!19 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !7, i64 0, !7, i64 184}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEE", !21, i64 0, !10, i64 16, !7, i64 24}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEE12_Alloc_hiderE", !22, i64 0, !6, i64 8}
!22 = !{!"_ZTSNSt3pmr21polymorphic_allocatorIcEE", !6, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{i64 0, i64 8, !9, i64 8, i64 8, !5}
!26 = !{!27, !27, i64 0}
!27 = !{!"_ZTSN8fastgltf5ErrorE", !7, i64 0}
!28 = !{!29, !51, i64 304}
!29 = !{!"_ZTSN8fastgltf6ParserE", !30, i64 0, !36, i64 8, !13, i64 56, !38, i64 248, !41, i64 264, !51, i64 304}
!30 = !{!"_ZTSSt10unique_ptrIN8simdjson3dom6parserESt14default_deleteIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_dataIN8simdjson3dom6parserESt14default_deleteIS2_ELb1ELb1EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_implIN8simdjson3dom6parserESt14default_deleteIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt5tupleIJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !34, i64 0}
!34 = !{!"_ZTSSt11_Tuple_implILm0EJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EPN8simdjson3dom6parserELb0EE", !6, i64 0}
!36 = !{!"_ZTSN8fastgltf20ParserInternalConfigE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !37, i64 40}
!37 = !{!"_ZTSN8fastgltf10ExtensionsE", !7, i64 0}
!38 = !{!"_ZTSSt10shared_ptrIN8fastgltf19ChunkMemoryResourceEE", !39, i64 0}
!39 = !{!"_ZTSSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !40, i64 8}
!40 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!41 = !{!"_ZTSNSt10filesystem7__cxx114pathE", !42, i64 0, !44, i64 32}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !43, i64 0, !10, i64 8, !7, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!44 = !{!"_ZTSNSt10filesystem7__cxx114path5_ListE", !45, i64 0}
!45 = !{!"_ZTSSt10unique_ptrINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !46, i64 0}
!46 = !{!"_ZTSSt15__uniq_ptr_dataINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterELb1ELb1EE", !47, i64 0}
!47 = !{!"_ZTSSt15__uniq_ptr_implINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !48, i64 0}
!48 = !{!"_ZTSSt5tupleIJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !49, i64 0}
!49 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !50, i64 0}
!50 = !{!"_ZTSSt10_Head_baseILm0EPNSt10filesystem7__cxx114path5_List5_ImplELb0EE", !6, i64 0}
!51 = !{!"_ZTSN8fastgltf7OptionsE", !7, i64 0}
!52 = !{!53, !10, i64 0}
!53 = !{!"_ZTSN8fastgltf7sources3URIE", !10, i64 0, !54, i64 8, !57, i64 176}
!54 = !{!"_ZTSN8fastgltf3URIE", !42, i64 0, !55, i64 32}
!55 = !{!"_ZTSN8fastgltf7URIViewE", !56, i64 0, !56, i64 16, !56, i64 32, !56, i64 48, !56, i64 64, !56, i64 80, !56, i64 96, !56, i64 112, !24, i64 128}
!56 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !10, i64 0, !6, i64 8}
!57 = !{!"_ZTSN8fastgltf8MimeTypeE", !7, i64 0}
!58 = !{i8 0, i8 2}
!59 = !{}
!60 = !{!29, !6, i64 32}
!61 = !{!62, !62, i64 0}
!62 = !{!"_ZTSN8simdjson10error_codeE", !7, i64 0}
!63 = !{!29, !6, i64 40}


; 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::basic_string_view" = type { i64, ptr }
%"struct.simdjson::simdjson_result" = type { %"struct.simdjson::internal::simdjson_result_base.base", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base" = type { %"struct.std::pair.base" }
%"struct.std::pair.base" = type <{ %"class.simdjson::dom::object", i32 }>
%"class.simdjson::dom::object" = type { %"class.simdjson::internal::tape_ref" }
%"class.simdjson::internal::tape_ref" = type { ptr, i64 }
%"struct.simdjson::simdjson_result.0" = type { %"struct.simdjson::internal::simdjson_result_base.base.5", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.5" = type { %"struct.std::pair.base.4" }
%"struct.std::pair.base.4" = type <{ %"class.simdjson::dom::element", i32 }>
%"class.simdjson::dom::element" = type { %"class.simdjson::internal::tape_ref" }
%"class.fastgltf::Expected" = type { i64, %"class.std::variant" }
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type { %"union.std::__detail::__variant::_Variadic_union", i8 }
%"union.std::__detail::__variant::_Variadic_union" = type { %"union.std::__detail::__variant::_Variadic_union.40" }
%"union.std::__detail::__variant::_Variadic_union.40" = type { %"union.std::__detail::__variant::_Variadic_union.42" }
%"union.std::__detail::__variant::_Variadic_union.42" = type { %"struct.std::__detail::__variant::_Uninitialized.43" }
%"struct.std::__detail::__variant::_Uninitialized.43" = type { %"struct.__gnu_cxx::__aligned_membuf" }
%"struct.__gnu_cxx::__aligned_membuf" = type { [184 x i8] }
%"struct.simdjson::simdjson_result.409" = type { %"struct.simdjson::internal::simdjson_result_base.base.414", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.414" = type { %"struct.std::pair.base.413" }
%"struct.std::pair.base.413" = type <{ %"class.std::basic_string_view", i32 }>
%"class.simdjson::dom::array::iterator" = type { %"class.simdjson::internal::tape_ref" }
%"struct.fastgltf::Buffer" = type { i64, %"class.std::variant", %"class.std::__cxx11::basic_string.74" }
%"class.std::__cxx11::basic_string.74" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider", i64, %union.anon.76 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider" = type { %"class.std::pmr::polymorphic_allocator.75", ptr }
%"class.std::pmr::polymorphic_allocator.75" = type { ptr }
%union.anon.76 = type { i64, [8 x i8] }
%"struct.simdjson::simdjson_result.7" = type { %"struct.simdjson::internal::simdjson_result_base.base.12", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.12" = type { %"struct.std::pair.base.11" }
%"struct.std::pair.base.11" = type <{ i64, i32 }>
%"class.__gnu_cxx::__normal_iterator.424" = type { ptr }
%"class.fastgltf::URIView" = type <{ %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.std::basic_string_view", i8, [7 x i8] }>
%"struct.fastgltf::sources::URI" = type <{ i64, %"class.fastgltf::URI", i8, [7 x i8] }>
%"class.fastgltf::URI" = type { %"class.std::__cxx11::basic_string", %"class.fastgltf::URIView" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.30 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.30 = type { i64, [8 x i8] }
%"struct.fastgltf::sources::Fallback" = type { i8 }

@_ZN8fastgltf10extensionsL23EXT_meshopt_compressionE = external hidden local_unnamed_addr constant %"class.std::basic_string_view", align 8
@.str.48 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [4 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result") align 8, ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.0") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local { i64, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_uint64Ev(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson15simdjson_resultImE3getERm(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK8fastgltf6Parser13decodeDataUriERNS_7URIViewE(ptr dead_on_unwind noalias writable sret(%"class.fastgltf::Expected") align 8, ptr noundef nonnull align 8 dereferenceable(312), ptr noundef nonnull align 8 dereferenceable(129)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8fastgltf6hasBitINS_7OptionsES1_EEbT_T0_(i64 noundef, i64 noundef) local_unnamed_addr #3

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.409") align 8, ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8fastgltf6Parser12parseBuffersERN8simdjson3dom5arrayERNS_5AssetE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(580) %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.simdjson::dom::array::iterator", align 8
  %5 = alloca %"class.simdjson::dom::array::iterator", align 8
  %6 = alloca %"class.simdjson::dom::element", align 8
  %7 = alloca %"struct.fastgltf::Buffer", align 8
  %8 = alloca %"class.simdjson::dom::object", align 8
  %9 = alloca %"struct.simdjson::simdjson_result", align 8
  %10 = alloca i64, align 8
  %11 = alloca %"struct.simdjson::simdjson_result.7", align 8
  %12 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %15 = alloca %"class.std::basic_string_view", align 8
  %16 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %17 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %18 = alloca %"class.fastgltf::URIView", align 8
  %19 = alloca %"class.fastgltf::Expected", align 8
  %20 = alloca %"class.fastgltf::Expected", align 8
  %21 = alloca %"struct.fastgltf::sources::URI", align 8
  %22 = alloca %"struct.fastgltf::sources::Fallback", align 1
  %23 = alloca %"class.simdjson::dom::object", align 8
  %24 = alloca %"struct.simdjson::simdjson_result", align 8
  %25 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %28 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %29 = alloca %"class.std::__cxx11::basic_string.74", align 8
  %30 = alloca %"class.std::pmr::polymorphic_allocator.75", align 8
  %31 = getelementptr inbounds i8, ptr %2, i64 264
  %32 = tail call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  tail call void @_ZNSt6vectorIN8fastgltf6BufferESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %32)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %33 = tail call { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %34 = extractvalue { ptr, i64 } %33, 0
  store ptr %34, ptr %4, align 8
  %35 = getelementptr inbounds i8, ptr %4, i64 8
  %36 = extractvalue { ptr, i64 } %33, 1
  store i64 %36, ptr %35, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %37 = tail call { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %38 = extractvalue { ptr, i64 } %37, 0
  store ptr %38, ptr %5, align 8
  %39 = getelementptr inbounds i8, ptr %5, i64 8
  %40 = extractvalue { ptr, i64 } %37, 1
  store i64 %40, ptr %39, align 8
  %41 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br i1 %41, label %.lr.ph110, label %.loopexit

.lr.ph110:                                        ; preds = %3
  %42 = getelementptr inbounds i8, ptr %6, i64 8
  %43 = getelementptr inbounds i8, ptr %7, i64 8
  %44 = getelementptr inbounds i8, ptr %7, i64 200
  %.sroa.226.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %45 = getelementptr inbounds i8, ptr %2, i64 176
  %.sroa.017.0.copyload = load i64, ptr @_ZN8fastgltf10extensionsL23EXT_meshopt_compressionE, align 8
  %.sroa.218.0.copyload = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN8fastgltf10extensionsL23EXT_meshopt_compressionE, i64 8), align 8
  %46 = getelementptr inbounds i8, ptr %0, i64 56
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %47 = getelementptr inbounds i8, ptr %0, i64 304
  %48 = getelementptr inbounds i8, ptr %21, i64 8
  %49 = getelementptr inbounds i8, ptr %0, i64 32
  %50 = getelementptr inbounds i8, ptr %0, i64 40
  %51 = getelementptr inbounds i8, ptr %0, i64 248
  br label %52

52:                                               ; preds = %.lr.ph110, %138
  %.047108 = phi i64 [ 0, %.lr.ph110 ], [ %139, %138 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %53 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  %54 = extractvalue { ptr, i64 } %53, 0
  store ptr %54, ptr %6, align 8
  %55 = extractvalue { ptr, i64 } %53, 1
  store i64 %55, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %7) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(200) %7, i8 0, i64 200, i1 false)
  call void @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(185) %43) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  %56 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  %.not = icmp eq i32 %56, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  br i1 %.not, label %57, label %.thread89, !prof !5

.thread89:                                        ; preds = %52
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #7
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %.loopexit

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.64) #7
  %58 = call { i64, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_uint64Ev(ptr noundef nonnull align 8 dereferenceable(20) %12) #7
  %.fca.0.extract = extractvalue { i64, i32 } %58, 0
  %.fca.1.extract = extractvalue { i64, i32 } %58, 1
  store i64 %.fca.0.extract, ptr %11, align 8
  store i32 %.fca.1.extract, ptr %.sroa.226.0..sroa_idx, align 8
  %59 = call noundef i32 @_ZNO8simdjson15simdjson_resultImE3getERm(ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  %.not70 = icmp eq i32 %59, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br i1 %.not70, label %60, label %.thread94, !prof !5

.thread94:                                        ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #7
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %.loopexit

60:                                               ; preds = %57
  %61 = load i64, ptr %10, align 8, !tbaa !6
  store i64 %61, ptr %7, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %62 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEENS5_IS7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %45) #7
  store ptr %62, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %63 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEENS5_IS7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %45) #7
  store ptr %63, ptr %14, align 8
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br i1 %64, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %60
  %.065.lcssa = phi i1 [ false, %60 ], [ %spec.select, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.65) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %16, ptr noundef nonnull align 8 dereferenceable(20) %17) #7
  %65 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  %66 = icmp eq i32 %65, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br i1 %66, label %74, label %101, !prof !5

.lr.ph:                                           ; preds = %60, %.lr.ph
  %.065107 = phi i1 [ %spec.select, %.lr.ph ], [ false, %60 ]
  %67 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %68 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(40) %67) #7
  %69 = extractvalue { i64, ptr } %68, 0
  %70 = extractvalue { i64, ptr } %68, 1
  %71 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbNSt15__type_identityISt17basic_string_viewIT_T0_EE4typeES6_(i64 %69, ptr %70, i64 %.sroa.017.0.copyload, ptr %.sroa.218.0.copyload) #7
  %spec.select = select i1 %71, i1 true, i1 %.065107
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEESt6vectorIS8_NS6_IS8_EEEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br i1 %73, label %.lr.ph, label %._crit_edge

74:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %18) #7
  %.sroa.0.0.copyload = load i64, ptr %15, align 8, !tbaa !6
  %.sroa.2.0.copyload = load ptr, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !23
  call void @_ZN8fastgltf7URIViewC1ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(129) %18, i64 %.sroa.0.0.copyload, ptr %.sroa.2.0.copyload) #7
  %75 = call noundef zeroext i1 @_ZNK8fastgltf7URIView5validEv(ptr noundef nonnull align 8 dereferenceable(129) %18) #7
  br i1 %75, label %76, label %.loopexit105

76:                                               ; preds = %74
  %77 = call noundef zeroext i1 @_ZNK8fastgltf7URIView9isDataUriEv(ptr noundef nonnull align 8 dereferenceable(129) %18) #7
  br i1 %77, label %78, label %84

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %19) #7
  call void @_ZNK8fastgltf6Parser13decodeDataUriERNS_7URIViewE(ptr dead_on_unwind nonnull writable sret(%"class.fastgltf::Expected") align 8 %19, ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(129) %18) #7
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %19) #7
  %80 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %19) #7
  %81 = load i64, ptr %79, align 8, !tbaa !24
  %.not72 = icmp eq i64 %81, 0
  br i1 %.not72, label %.thread, label %83

.thread:                                          ; preds = %78
  %82 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %43, ptr noundef nonnull align 8 dereferenceable(185) %80) #7
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %19) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %19) #7
  br label %.thread83

83:                                               ; preds = %78
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %19) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %19) #7
  br label %.loopexit105

84:                                               ; preds = %76
  %85 = call noundef zeroext i1 @_ZNK8fastgltf7URIView11isLocalPathEv(ptr noundef nonnull align 8 dereferenceable(129) %18) #7
  br i1 %85, label %86, label %95

86:                                               ; preds = %84
  %87 = load i64, ptr %47, align 8, !tbaa !26
  %88 = call noundef zeroext i1 @_ZN8fastgltf6hasBitINS_7OptionsES1_EEbT_T0_(i64 noundef %87, i64 noundef 16)
  br i1 %88, label %89, label %95

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %20) #7
  call void @_ZNK8fastgltf6Parser15loadFileFromUriERNS_7URIViewE(ptr dead_on_unwind nonnull writable sret(%"class.fastgltf::Expected") align 8 %20, ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(129) %18) #7
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %20) #7
  %91 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %20) #7
  %92 = load i64, ptr %90, align 8, !tbaa !24
  %.not71 = icmp eq i64 %92, 0
  br i1 %.not71, label %.thread81, label %94

.thread81:                                        ; preds = %89
  %93 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %43, ptr noundef nonnull align 8 dereferenceable(185) %91) #7
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %20) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %20) #7
  br label %.thread83

94:                                               ; preds = %89
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %20) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %20) #7
  br label %.loopexit105

95:                                               ; preds = %86, %84
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %21) #7
  call void @_ZN8fastgltf7sources3URIC2Ev(ptr noundef nonnull align 8 dereferenceable(177) %21) #7
  store i64 0, ptr %21, align 8, !tbaa !50
  %96 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN8fastgltf3URIaSERKNS_7URIViewE(ptr noundef nonnull align 8 dereferenceable(168) %48, ptr noundef nonnull align 8 dereferenceable(129) %18)
          to label %97 unwind label %99

97:                                               ; preds = %95
  %98 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS4_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185) %43, ptr noundef nonnull align 8 dereferenceable(177) %21) #7
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %21) #7
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %21) #7
  br label %.thread83

99:                                               ; preds = %95
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %21) #7
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %18) #7
  br label %145

.thread83:                                        ; preds = %.thread81, %.thread, %97
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %18) #7
  br label %110

.loopexit105:                                     ; preds = %74, %94, %83
  %.4 = phi i64 [ %81, %83 ], [ %92, %94 ], [ 11, %74 ]
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %18) #7
  br label %.thread100

101:                                              ; preds = %._crit_edge
  %102 = icmp eq i64 %.047108, 0
  br i1 %102, label %103, label %107

103:                                              ; preds = %101
  %104 = call noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185) %46) #7
  br i1 %104, label %107, label %105

105:                                              ; preds = %103
  %106 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %43, ptr noundef nonnull align 8 dereferenceable(185) %46) #7
  br label %110

107:                                              ; preds = %103, %101
  br i1 %.065.lcssa, label %108, label %.thread100

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  %109 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS9_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185) %43, ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  br label %110

110:                                              ; preds = %.thread83, %105, %108
  %111 = call noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185) %43) #7
  br i1 %111, label %.thread100, label %112

112:                                              ; preds = %110
  %113 = load ptr, ptr %49, align 8, !tbaa !57
  %.not73 = icmp eq ptr %113, null
  br i1 %.not73, label %123, label %114

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.48) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %24, ptr noundef nonnull align 8 dereferenceable(20) %25) #7
  %115 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %24, ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  switch i32 %115, label %122 [
    i32 0, label %116
    i32 20, label %.thread86
  ]

116:                                              ; preds = %114
  %117 = load ptr, ptr %49, align 8, !tbaa !57
  %118 = call noundef i64 @_ZNKSt6vectorIN8fastgltf6BufferESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  %119 = load ptr, ptr %50, align 8, !tbaa !58
  invoke void %117(ptr noundef nonnull %23, i64 noundef %118, i32 noundef 1, ptr noundef %119)
          to label %.thread86 unwind label %120

120:                                              ; preds = %116
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  br label %145

.thread86:                                        ; preds = %116, %114
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  br label %123

122:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  br label %.thread100

123:                                              ; preds = %.thread86, %112
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.49) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %27, ptr noundef nonnull align 8 dereferenceable(20) %28) #7
  %124 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %27, ptr noundef nonnull align 8 dereferenceable(16) %26) #7
  %125 = icmp eq i32 %124, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #7
  br i1 %125, label %126, label %136

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #7
  %127 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %51) #7
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %127) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %128 unwind label %131

128:                                              ; preds = %126
  %129 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %44, ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %130 unwind label %133

130:                                              ; preds = %128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #7
  br label %136

131:                                              ; preds = %126
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %135

133:                                              ; preds = %128
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #7
  br label %135

135:                                              ; preds = %133, %131
  %.pn = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #7
  br label %144

136:                                              ; preds = %130, %123
  %137 = invoke noundef nonnull align 8 dereferenceable(240) ptr @_ZNSt6vectorIN8fastgltf6BufferESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(240) %7)
          to label %138 unwind label %142

.thread100:                                       ; preds = %107, %110, %122, %.loopexit105
  %.8.ph = phi i64 [ %.4, %.loopexit105 ], [ 5, %122 ], [ 5, %110 ], [ 5, %107 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #7
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %.loopexit

138:                                              ; preds = %136
  %139 = add i64 %.047108, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #7
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  %140 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  %141 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br i1 %141, label %52, label %.loopexit

142:                                              ; preds = %136
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %144

144:                                              ; preds = %142, %135
  %.pn76 = phi { ptr, i32 } [ %143, %142 ], [ %.pn, %135 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #7
  br label %145

145:                                              ; preds = %144, %120, %99
  %.pn76.pn = phi { ptr, i32 } [ %.pn76, %144 ], [ %121, %120 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #7
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn76.pn

.loopexit:                                        ; preds = %138, %3, %.thread100, %.thread94, %.thread89
  %spec.select79 = phi i64 [ 5, %.thread89 ], [ 5, %.thread94 ], [ %.8.ph, %.thread100 ], [ 0, %3 ], [ 0, %138 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  ret i64 %spec.select79
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbNSt15__type_identityISt17basic_string_viewIT_T0_EE4typeES6_(i64, ptr, i64, ptr) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 8 dereferenceable(185)) local_unnamed_addr #3 align 2

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

; Function Attrs: nounwind
declare void @_ZNK8fastgltf6Parser15loadFileFromUriERNS_7URIViewE(ptr dead_on_unwind writable sret(%"class.fastgltf::Expected") align 8, ptr noundef nonnull align 8 dereferenceable(312), ptr noundef nonnull align 8 dereferenceable(129)) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS4_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 8 dereferenceable(177)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS9_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS0_S3_S4_S5_S6_S7_S8_S9_EE4typeEE18is_constructible_vISH_SE_E15is_assignable_vIRSH_SE_EERSA_E4typeESF_(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3 align 2

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

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

declare void @_ZN8fastgltf7URIViewC1ESt17basic_string_viewIcSt11char_traitsIcEE(ptr, i64, ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { 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 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"_ZTSN8fastgltf6BufferE", !7, i64 0, !12, i64 8, !19, i64 200}
!12 = !{!"_ZTSSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEE", !13, i64 0}
!13 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !14, i64 0}
!14 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !15, i64 0}
!15 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !16, i64 0}
!16 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !17, i64 0}
!17 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !18, i64 0}
!18 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !8, i64 0, !8, i64 184}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEE", !20, i64 0, !7, i64 16, !8, i64 24}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEE12_Alloc_hiderE", !21, i64 0, !22, i64 8}
!21 = !{!"_ZTSNSt3pmr21polymorphic_allocatorIcEE", !22, i64 0}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!22, !22, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"_ZTSN8fastgltf5ErrorE", !8, i64 0}
!26 = !{!27, !49, i64 304}
!27 = !{!"_ZTSN8fastgltf6ParserE", !28, i64 0, !34, i64 8, !12, i64 56, !36, i64 248, !39, i64 264, !49, i64 304}
!28 = !{!"_ZTSSt10unique_ptrIN8simdjson3dom6parserESt14default_deleteIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_dataIN8simdjson3dom6parserESt14default_deleteIS2_ELb1ELb1EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_implIN8simdjson3dom6parserESt14default_deleteIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt5tupleIJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !32, i64 0}
!32 = !{!"_ZTSSt11_Tuple_implILm0EJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_Head_baseILm0EPN8simdjson3dom6parserELb0EE", !22, i64 0}
!34 = !{!"_ZTSN8fastgltf20ParserInternalConfigE", !22, i64 0, !22, i64 8, !22, i64 16, !22, i64 24, !22, i64 32, !35, i64 40}
!35 = !{!"_ZTSN8fastgltf10ExtensionsE", !8, i64 0}
!36 = !{!"_ZTSSt10shared_ptrIN8fastgltf19ChunkMemoryResourceEE", !37, i64 0}
!37 = !{!"_ZTSSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE", !22, i64 0, !38, i64 8}
!38 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !22, i64 0}
!39 = !{!"_ZTSNSt10filesystem7__cxx114pathE", !40, i64 0, !42, i64 32}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !41, i64 0, !7, i64 8, !8, i64 16}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !22, i64 0}
!42 = !{!"_ZTSNSt10filesystem7__cxx114path5_ListE", !43, i64 0}
!43 = !{!"_ZTSSt10unique_ptrINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !44, i64 0}
!44 = !{!"_ZTSSt15__uniq_ptr_dataINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterELb1ELb1EE", !45, i64 0}
!45 = !{!"_ZTSSt15__uniq_ptr_implINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !46, i64 0}
!46 = !{!"_ZTSSt5tupleIJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !47, i64 0}
!47 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !48, i64 0}
!48 = !{!"_ZTSSt10_Head_baseILm0EPNSt10filesystem7__cxx114path5_List5_ImplELb0EE", !22, i64 0}
!49 = !{!"_ZTSN8fastgltf7OptionsE", !8, i64 0}
!50 = !{!51, !7, i64 0}
!51 = !{!"_ZTSN8fastgltf7sources3URIE", !7, i64 0, !52, i64 8, !56, i64 176}
!52 = !{!"_ZTSN8fastgltf3URIE", !40, i64 0, !53, i64 32}
!53 = !{!"_ZTSN8fastgltf7URIViewE", !54, i64 0, !54, i64 16, !54, i64 32, !54, i64 48, !54, i64 64, !54, i64 80, !54, i64 96, !54, i64 112, !55, i64 128}
!54 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !7, i64 0, !22, i64 8}
!55 = !{!"bool", !8, i64 0}
!56 = !{!"_ZTSN8fastgltf8MimeTypeE", !8, i64 0}
!57 = !{!27, !22, i64 32}
!58 = !{!27, !22, i64 40}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass