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

%"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.std::basic_string_view" = type { i64, ptr }
%"class.simdjson::dom::array::iterator" = type { %"class.simdjson::internal::tape_ref" }
%"struct.fastgltf::Image" = type { %"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] }
%"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] }
%class.anon.425 = type { ptr }
%"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 }>
%"struct.fastgltf::sources::BufferView" = type <{ i64, i8, [7 x 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 }

@.str.40 = external hidden unnamed_addr constant [11 x i8], align 1
@.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.65 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [9 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 uwtable
declare dso_local noundef zeroext i8 @_ZN8fastgltf6Parser21getMimeTypeFromStringESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) #6 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 @_ZNKSt6vectorIN8fastgltf5ImageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #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 @_ZN8fastgltf6Parser11parseImagesERN8simdjson3dom5arrayERNS_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 ptr, align 8
  %9 = alloca %"class.simdjson::dom::array::iterator", align 8
  %10 = alloca %"class.simdjson::dom::array::iterator", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.simdjson::dom::element", align 8
  %13 = alloca %"struct.fastgltf::Image", align 8
  %14 = alloca %"class.simdjson::dom::object", align 8
  %15 = alloca %"struct.simdjson::simdjson_result", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  %17 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %18 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %19 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %20 = alloca %"class.fastgltf::URIView", align 8
  %21 = alloca %"class.std::basic_string_view", align 8
  %22 = alloca %"class.fastgltf::Expected", align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.fastgltf::Expected", align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"struct.fastgltf::sources::URI", align 8
  %31 = alloca %"class.std::basic_string_view", align 8
  %32 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %33 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %34 = alloca %class.anon.425, align 8
  %35 = alloca i64, align 8
  %36 = alloca %"struct.simdjson::simdjson_result.7", align 8
  %37 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %38 = alloca { i64, i32 }, align 8
  %39 = alloca %"class.std::basic_string_view", align 8
  %40 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %41 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %42 = alloca %"struct.fastgltf::sources::BufferView", align 8
  %43 = alloca %"class.std::basic_string_view", align 8
  %44 = alloca %"class.simdjson::dom::object", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"struct.simdjson::simdjson_result", align 8
  %47 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %48 = alloca %"class.std::basic_string_view", align 8
  %49 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %50 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %51 = alloca %"class.std::__cxx11::basic_string.74", align 8
  %52 = 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
  %53 = load ptr, ptr %5, align 8
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.fastgltf::Asset", ptr %54, i32 0, i32 10
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %56) #9
  call void @_ZNSt6vectorIN8fastgltf5ImageESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %58, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #9
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = call { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %59) #9
  %61 = getelementptr inbounds %"class.simdjson::dom::array::iterator", ptr %9, i32 0, i32 0
  %62 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 0
  %63 = extractvalue { ptr, i64 } %60, 0
  store ptr %63, ptr %62, align 8
  %64 = getelementptr inbounds { ptr, i64 }, ptr %61, i32 0, i32 1
  %65 = extractvalue { ptr, i64 } %60, 1
  store i64 %65, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = call { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16) %66) #9
  %68 = getelementptr inbounds %"class.simdjson::dom::array::iterator", ptr %10, i32 0, i32 0
  %69 = getelementptr inbounds { ptr, i64 }, ptr %68, i32 0, i32 0
  %70 = extractvalue { ptr, i64 } %67, 0
  store ptr %70, ptr %69, align 8
  %71 = getelementptr inbounds { ptr, i64 }, ptr %68, i32 0, i32 1
  %72 = extractvalue { ptr, i64 } %67, 1
  store i64 %72, ptr %71, align 8
  br label %73

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

75:                                               ; preds = %73
  store i32 2, ptr %11, align 4
  br label %289

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  %77 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  %78 = getelementptr inbounds %"class.simdjson::dom::element", ptr %12, i32 0, i32 0
  %79 = getelementptr inbounds { ptr, i64 }, ptr %78, i32 0, i32 0
  %80 = extractvalue { ptr, i64 } %77, 0
  store ptr %80, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i64 }, ptr %78, i32 0, i32 1
  %82 = extractvalue { ptr, i64 } %77, 1
  store i64 %82, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 232, ptr %13) #9
  %83 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  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::Image", ptr %13, i32 0, i32 1
  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 %14) #9
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #9
  call void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  %85 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %15, ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  %86 = icmp ne i32 %85, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #9
  %87 = call i1 @llvm.expect.i1(i1 %86, i1 false)
  br i1 %87, label %88, label %89

88:                                               ; preds = %76
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %274

89:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.65) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %17, ptr noundef nonnull align 8 dereferenceable(20) %18) #9
  %90 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %17, ptr noundef nonnull align 8 dereferenceable(16) %16) #9
  %91 = icmp eq i32 %90, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #9
  %92 = call i1 @llvm.expect.i1(i1 %91, i1 true)
  br i1 %92, label %93, label %179

93:                                               ; preds = %89
  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) %14, ptr noundef @.str.40) #9
  %94 = call noundef i32 @_ZNK8simdjson8internal20simdjson_result_baseINS_3dom7elementEE5errorEv(ptr noundef nonnull align 8 dereferenceable(20) %19) #9
  %95 = icmp eq i32 %94, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  %96 = call i1 @llvm.expect.i1(i1 %95, i1 true)
  br i1 %96, label %97, label %98

97:                                               ; preds = %93
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %273

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 136, ptr %20) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !9
  %99 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 0
  %100 = load i64, ptr %99, align 8
  %101 = getelementptr inbounds { i64, ptr }, ptr %21, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8
  call void @_ZN8fastgltf7URIViewC1ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(129) %20, i64 %100, ptr %102) #9
  %103 = call noundef zeroext i1 @_ZNK8fastgltf7URIView5validEv(ptr noundef nonnull align 8 dereferenceable(129) %20) #9
  br i1 %103, label %105, label %104

104:                                              ; preds = %98
  store i64 11, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %175

105:                                              ; preds = %98
  %106 = call noundef zeroext i1 @_ZNK8fastgltf7URIView9isDataUriEv(ptr noundef nonnull align 8 dereferenceable(129) %20) #9
  br i1 %106, label %107, label %123

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 200, ptr %22) #9
  call void @_ZNK8fastgltf6Parser13decodeDataUriERNS_7URIViewE(ptr dead_on_unwind writable sret(%"class.fastgltf::Expected") align 8 %22, ptr noundef nonnull align 8 dereferenceable(312) %53, ptr noundef nonnull align 8 dereferenceable(129) %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %22) #9
  store ptr %108, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %109 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %22) #9
  store ptr %109, ptr %24, align 8, !tbaa !5
  %110 = load ptr, ptr %23, align 8, !tbaa !5
  %111 = load i64, ptr %110, align 8, !tbaa !12
  %112 = icmp ne i64 %111, 0
  br i1 %112, label %113, label %116

113:                                              ; preds = %107
  %114 = load ptr, ptr %23, align 8, !tbaa !5
  %115 = load i64, ptr %114, align 8, !tbaa !12
  store i64 %115, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %120

116:                                              ; preds = %107
  %117 = load ptr, ptr %24, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  %119 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %118, ptr noundef nonnull align 8 dereferenceable(185) %117) #9
  store i32 0, ptr %11, align 4
  br label %120

120:                                              ; preds = %116, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %22) #9
  call void @llvm.lifetime.end.p0(i64 200, ptr %22) #9
  %121 = load i32, ptr %11, align 4
  switch i32 %121, label %175 [
    i32 0, label %122
  ]

122:                                              ; preds = %120
  br label %162

123:                                              ; preds = %105
  %124 = call noundef zeroext i1 @_ZNK8fastgltf7URIView11isLocalPathEv(ptr noundef nonnull align 8 dereferenceable(129) %20) #9
  br i1 %124, label %125, label %150

125:                                              ; preds = %123
  %126 = getelementptr inbounds %"class.fastgltf::Parser", ptr %53, i32 0, i32 5
  %127 = load i64, ptr %126, align 8, !tbaa !14
  %128 = invoke noundef zeroext i1 @_ZN8fastgltf6hasBitINS_7OptionsES1_EEbT_T0_(i64 noundef %127, i64 noundef 128)
          to label %129 unwind label %139

129:                                              ; preds = %125
  br i1 %128, label %130, label %150

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 200, ptr %27) #9
  call void @_ZNK8fastgltf6Parser15loadFileFromUriERNS_7URIViewE(ptr dead_on_unwind writable sret(%"class.fastgltf::Expected") align 8 %27, ptr noundef nonnull align 8 dereferenceable(312) %53, ptr noundef nonnull align 8 dereferenceable(129) %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %27) #9
  store ptr %131, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %132 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %27) #9
  store ptr %132, ptr %29, align 8, !tbaa !5
  %133 = load ptr, ptr %28, align 8, !tbaa !5
  %134 = load i64, ptr %133, align 8, !tbaa !12
  %135 = icmp ne i64 %134, 0
  br i1 %135, label %136, label %143

136:                                              ; preds = %130
  %137 = load ptr, ptr %28, align 8, !tbaa !5
  %138 = load i64, ptr %137, align 8, !tbaa !12
  store i64 %138, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %147

139:                                              ; preds = %125
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %25, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %26, align 4
  br label %178

143:                                              ; preds = %130
  %144 = load ptr, ptr %29, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  %146 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %145, ptr noundef nonnull align 8 dereferenceable(185) %144) #9
  store i32 0, ptr %11, align 4
  br label %147

147:                                              ; preds = %143, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %27) #9
  call void @llvm.lifetime.end.p0(i64 200, ptr %27) #9
  %148 = load i32, ptr %11, align 4
  switch i32 %148, label %175 [
    i32 0, label %149
  ]

149:                                              ; preds = %147
  br label %161

150:                                              ; preds = %129, %123
  call void @llvm.lifetime.start.p0(i64 184, ptr %30) #9
  call void @_ZN8fastgltf7sources3URIC2Ev(ptr noundef nonnull align 8 dereferenceable(177) %30) #9
  %151 = getelementptr inbounds %"struct.fastgltf::sources::URI", ptr %30, i32 0, i32 0
  store i64 0, ptr %151, align 8, !tbaa !45
  %152 = getelementptr inbounds %"struct.fastgltf::sources::URI", ptr %30, i32 0, i32 1
  %153 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN8fastgltf3URIaSERKNS_7URIViewE(ptr noundef nonnull align 8 dereferenceable(168) %152, ptr noundef nonnull align 8 dereferenceable(129) %20)
          to label %154 unwind label %157

154:                                              ; preds = %150
  %155 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  %156 = 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) %155, ptr noundef nonnull align 8 dereferenceable(177) %30) #9
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %30) #9
  call void @llvm.lifetime.end.p0(i64 184, ptr %30) #9
  br label %161

157:                                              ; preds = %150
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %25, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %26, align 4
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %30) #9
  call void @llvm.lifetime.end.p0(i64 184, ptr %30) #9
  br label %178

161:                                              ; preds = %154, %149
  br label %162

162:                                              ; preds = %161, %122
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %33, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.80) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %32, ptr noundef nonnull align 8 dereferenceable(20) %33) #9
  %163 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %32, ptr noundef nonnull align 8 dereferenceable(16) %31) #9
  %164 = icmp eq i32 %163, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #9
  %165 = call i1 @llvm.expect.i1(i1 %164, i1 true)
  br i1 %165, label %166, label %174

166:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %167 = getelementptr inbounds %class.anon.425, ptr %34, i32 0, i32 0
  store ptr %31, ptr %167, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  invoke void @"_ZSt5visitIZN8fastgltf6Parser11parseImagesERN8simdjson3dom5arrayERNS0_5AssetEE3$_0JRSt7variantIJSt9monostateNS0_7sources10BufferViewENSB_3URIENSB_5ArrayENSB_6VectorENSB_12CustomBufferENSB_8ByteViewENSB_8FallbackEEEEENSt13invoke_resultIT_JDpNSt13__conditionalIX21is_lvalue_reference_vIT0_EEE4typeIRNSt19variant_alternativeILm0ENSt16remove_referenceIDTclsr9__variantE4__asclsr3stdE7declvalISO_EEEEE4typeEE4typeEOSX_EEEE4typeEOSM_DpOSO_"(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(185) %168)
          to label %169 unwind label %170

169:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %174

170:                                              ; preds = %166
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %25, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #9
  br label %178

174:                                              ; preds = %169, %162
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #9
  store i32 0, ptr %11, align 4
  br label %175

175:                                              ; preds = %174, %147, %120, %104
  call void @llvm.lifetime.end.p0(i64 136, ptr %20) #9
  %176 = load i32, ptr %11, align 4
  switch i32 %176, label %273 [
    i32 0, label %177
  ]

177:                                              ; preds = %175
  br label %179

178:                                              ; preds = %170, %157, %139
  call void @llvm.lifetime.end.p0(i64 136, ptr %20) #9
  br label %288

179:                                              ; preds = %177, %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.40) #9
  %180 = call { i64, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_uint64Ev(ptr noundef nonnull align 8 dereferenceable(20) %37) #9
  store { i64, i32 } %180, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %38, i64 12, i1 false)
  %181 = call noundef i32 @_ZNO8simdjson15simdjson_resultImE3getERm(ptr noundef nonnull align 8 dereferenceable(12) %36, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  %182 = icmp eq i32 %181, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  %183 = call i1 @llvm.expect.i1(i1 %182, i1 true)
  br i1 %183, label %184, label %208

184:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %41, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.80) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %40, ptr noundef nonnull align 8 dereferenceable(20) %41) #9
  %185 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %40, ptr noundef nonnull align 8 dereferenceable(16) %39) #9
  %186 = icmp ne i32 %185, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #9
  %187 = call i1 @llvm.expect.i1(i1 %186, i1 false)
  br i1 %187, label %188, label %189

188:                                              ; preds = %184
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %201

189:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #9
  %190 = getelementptr inbounds %"struct.fastgltf::sources::BufferView", ptr %42, i32 0, i32 0
  %191 = load i64, ptr %35, align 8, !tbaa !10
  store i64 %191, ptr %190, align 8, !tbaa !52
  %192 = getelementptr inbounds %"struct.fastgltf::sources::BufferView", ptr %42, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %39, i64 16, i1 false), !tbaa.struct !9
  %193 = getelementptr inbounds { i64, ptr }, ptr %43, i32 0, i32 0
  %194 = load i64, ptr %193, align 8
  %195 = getelementptr inbounds { i64, ptr }, ptr %43, i32 0, i32 1
  %196 = load ptr, ptr %195, align 8
  %197 = invoke noundef zeroext i8 @_ZN8fastgltf6Parser21getMimeTypeFromStringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %194, ptr %196)
          to label %198 unwind label %204

198:                                              ; preds = %189
  store i8 %197, ptr %192, align 8, !tbaa !54
  %199 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  %200 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS3_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) %199, ptr noundef nonnull align 8 dereferenceable(9) %42) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #9
  store i32 0, ptr %11, align 4
  br label %201

201:                                              ; preds = %198, %188
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #9
  %202 = load i32, ptr %11, align 4
  switch i32 %202, label %272 [
    i32 0, label %203
  ]

203:                                              ; preds = %201
  br label %208

204:                                              ; preds = %189
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %25, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #9
  br label %287

208:                                              ; preds = %203, %179
  %209 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 0
  %210 = call noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185) %209) #9
  br i1 %210, label %211, label %212

211:                                              ; preds = %208
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %272

212:                                              ; preds = %208
  %213 = getelementptr inbounds %"class.fastgltf::Parser", ptr %53, i32 0, i32 1
  %214 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %213, i32 0, i32 3
  %215 = load ptr, ptr %214, align 8, !tbaa !55
  %216 = icmp ne ptr %215, null
  br i1 %216, label %217, label %248

217:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #9
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %47, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.48) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %46, ptr noundef nonnull align 8 dereferenceable(20) %47) #9
  %218 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %46, ptr noundef nonnull align 8 dereferenceable(16) %44) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #9
  store i32 %218, ptr %45, align 4, !tbaa !56
  %219 = load i32, ptr %45, align 4, !tbaa !56
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %236

221:                                              ; preds = %217
  %222 = getelementptr inbounds %"class.fastgltf::Parser", ptr %53, i32 0, i32 1
  %223 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %222, i32 0, i32 3
  %224 = load ptr, ptr %223, align 8, !tbaa !55
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %"class.fastgltf::Asset", ptr %225, i32 0, i32 10
  %227 = call noundef i64 @_ZNKSt6vectorIN8fastgltf5ImageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %226) #9
  %228 = getelementptr inbounds %"class.fastgltf::Parser", ptr %53, i32 0, i32 1
  %229 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %228, i32 0, i32 4
  %230 = load ptr, ptr %229, align 8, !tbaa !58
  invoke void %224(ptr noundef %44, i64 noundef %227, i32 noundef 8, ptr noundef %230)
          to label %231 unwind label %232

231:                                              ; preds = %221
  br label %241

232:                                              ; preds = %221
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %25, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #9
  br label %287

236:                                              ; preds = %217
  %237 = load i32, ptr %45, align 4, !tbaa !56
  %238 = icmp ne i32 %237, 20
  br i1 %238, label %239, label %240

239:                                              ; preds = %236
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %242

240:                                              ; preds = %236
  br label %241

241:                                              ; preds = %240, %231
  store i32 0, ptr %11, align 4
  br label %242

242:                                              ; preds = %241, %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  %243 = load i32, ptr %11, align 4
  switch i32 %243, label %245 [
    i32 0, label %244
  ]

244:                                              ; preds = %242
  store i32 0, ptr %11, align 4
  br label %245

245:                                              ; preds = %244, %242
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #9
  %246 = load i32, ptr %11, align 4
  switch i32 %246, label %272 [
    i32 0, label %247
  ]

247:                                              ; preds = %245
  br label %248

248:                                              ; preds = %247, %212
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %50) #9
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %50, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.49) #9
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %49, ptr noundef nonnull align 8 dereferenceable(20) %50) #9
  %249 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %49, ptr noundef nonnull align 8 dereferenceable(16) %48) #9
  %250 = icmp eq i32 %249, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #9
  br i1 %250, label %251, label %267

251:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 40, ptr %51) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  %252 = getelementptr inbounds %"class.fastgltf::Parser", ptr %53, i32 0, i32 3
  %253 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %252) #9
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef %253) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %51, ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %254 unwind label %258

254:                                              ; preds = %251
  %255 = getelementptr inbounds %"struct.fastgltf::Image", ptr %13, i32 0, i32 1
  %256 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %255, ptr noundef nonnull align 8 dereferenceable(40) %51)
          to label %257 unwind label %262

257:                                              ; preds = %254
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #9
  br label %267

258:                                              ; preds = %251
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %25, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %26, align 4
  br label %266

262:                                              ; preds = %254
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %25, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %26, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #9
  br label %266

266:                                              ; preds = %262, %258
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #9
  br label %286

267:                                              ; preds = %257, %248
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  %269 = getelementptr inbounds %"class.fastgltf::Asset", ptr %268, i32 0, i32 10
  %270 = invoke noundef nonnull align 8 dereferenceable(232) ptr @_ZNSt6vectorIN8fastgltf5ImageESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %269, ptr noundef nonnull align 8 dereferenceable(232) %13)
          to label %271 unwind label %282

271:                                              ; preds = %267
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #9
  store i32 0, ptr %11, align 4
  br label %272

272:                                              ; preds = %271, %245, %211, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %273

273:                                              ; preds = %272, %175, %97
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  br label %274

274:                                              ; preds = %273, %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %13) #9
  call void @llvm.lifetime.end.p0(i64 232, ptr %13) #9
  %275 = load i32, ptr %11, align 4
  switch i32 %275, label %277 [
    i32 0, label %276
  ]

276:                                              ; preds = %274
  store i32 0, ptr %11, align 4
  br label %277

277:                                              ; preds = %276, %274
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  %278 = load i32, ptr %11, align 4
  switch i32 %278, label %289 [
    i32 0, label %279
  ]

279:                                              ; preds = %277
  br label %280

280:                                              ; preds = %279
  %281 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  br label %73

282:                                              ; preds = %267
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %25, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %26, align 4
  br label %286

286:                                              ; preds = %282, %266
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #9
  br label %287

287:                                              ; preds = %286, %232, %204
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %288

288:                                              ; preds = %287, %178
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %13) #9
  call void @llvm.lifetime.end.p0(i64 232, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %294

289:                                              ; preds = %277, %75
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  %290 = load i32, ptr %11, align 4
  switch i32 %290, label %299 [
    i32 2, label %291
    i32 1, label %292
  ]

291:                                              ; preds = %289
  store i64 0, ptr %4, align 8
  br label %292

292:                                              ; preds = %291, %289
  %293 = load i64, ptr %4, align 8
  ret i64 %293

294:                                              ; preds = %288
  %295 = load ptr, ptr %25, align 8
  %296 = load i32, ptr %26, align 4
  %297 = insertvalue { ptr, i32 } poison, ptr %295, 0
  %298 = insertvalue { ptr, i32 } %297, i32 %296, 1
  resume { ptr, i32 } %298

299:                                              ; preds = %289
  unreachable
}

; 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 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 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 uwtable
declare dso_local void @_ZNSt6vectorIN8fastgltf5ImageESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt5visitIZN8fastgltf6Parser11parseImagesERN8simdjson3dom5arrayERNS0_5AssetEE3$_0JRSt7variantIJSt9monostateNS0_7sources10BufferViewENSB_3URIENSB_5ArrayENSB_6VectorENSB_12CustomBufferENSB_8ByteViewENSB_8FallbackEEEEENSt13invoke_resultIT_JDpNSt13__conditionalIX21is_lvalue_reference_vIT0_EEE4typeIRNSt19variant_alternativeILm0ENSt16remove_referenceIDTclsr9__variantE4__asclsr3stdE7declvalISO_EEEEE4typeEE4typeEOSX_EEEE4typeEOSM_DpOSO_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(185)) #6

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232)) 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 = !{i64 0, i64 8, !10, i64 8, i64 8, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN8fastgltf5ErrorE", !7, i64 0}
!14 = !{!15, !44, i64 304}
!15 = !{!"_ZTSN8fastgltf6ParserE", !16, i64 0, !22, i64 8, !24, i64 56, !31, i64 248, !34, i64 264, !44, i64 304}
!16 = !{!"_ZTSSt10unique_ptrIN8simdjson3dom6parserESt14default_deleteIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataIN8simdjson3dom6parserESt14default_deleteIS2_ELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implIN8simdjson3dom6parserESt14default_deleteIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EPN8simdjson3dom6parserELb0EE", !6, i64 0}
!22 = !{!"_ZTSN8fastgltf20ParserInternalConfigE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !23, i64 40}
!23 = !{!"_ZTSN8fastgltf10ExtensionsE", !7, i64 0}
!24 = !{!"_ZTSSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEE", !25, i64 0}
!25 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !26, i64 0}
!26 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !27, i64 0}
!27 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !28, i64 0}
!28 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !29, i64 0}
!29 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !30, i64 0}
!30 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !7, i64 0, !7, i64 184}
!31 = !{!"_ZTSSt10shared_ptrIN8fastgltf19ChunkMemoryResourceEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !33, i64 8}
!33 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!34 = !{!"_ZTSNSt10filesystem7__cxx114pathE", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !36, i64 0, !11, i64 8, !7, i64 16}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!37 = !{!"_ZTSNSt10filesystem7__cxx114path5_ListE", !38, i64 0}
!38 = !{!"_ZTSSt10unique_ptrINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_dataINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterELb1ELb1EE", !40, i64 0}
!40 = !{!"_ZTSSt15__uniq_ptr_implINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !41, i64 0}
!41 = !{!"_ZTSSt5tupleIJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !42, i64 0}
!42 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !43, i64 0}
!43 = !{!"_ZTSSt10_Head_baseILm0EPNSt10filesystem7__cxx114path5_List5_ImplELb0EE", !6, i64 0}
!44 = !{!"_ZTSN8fastgltf7OptionsE", !7, i64 0}
!45 = !{!46, !11, i64 0}
!46 = !{!"_ZTSN8fastgltf7sources3URIE", !11, i64 0, !47, i64 8, !51, i64 176}
!47 = !{!"_ZTSN8fastgltf3URIE", !35, i64 0, !48, i64 32}
!48 = !{!"_ZTSN8fastgltf7URIViewE", !49, i64 0, !49, i64 16, !49, i64 32, !49, i64 48, !49, i64 64, !49, i64 80, !49, i64 96, !49, i64 112, !50, i64 128}
!49 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !11, i64 0, !6, i64 8}
!50 = !{!"bool", !7, i64 0}
!51 = !{!"_ZTSN8fastgltf8MimeTypeE", !7, i64 0}
!52 = !{!53, !11, i64 0}
!53 = !{!"_ZTSN8fastgltf7sources10BufferViewE", !11, i64 0, !51, i64 8}
!54 = !{!53, !51, i64 8}
!55 = !{!15, !6, i64 32}
!56 = !{!57, !57, i64 0}
!57 = !{!"_ZTSN8simdjson10error_codeE", !7, i64 0}
!58 = !{!15, !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"

%"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.std::basic_string_view" = type { i64, ptr }
%"class.simdjson::dom::array::iterator" = type { %"class.simdjson::internal::tape_ref" }
%"struct.fastgltf::Image" = type { %"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] }
%"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] }
%class.anon.425 = type { ptr }
%"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 }>
%"struct.fastgltf::sources::BufferView" = type <{ i64, i8, [7 x i8] }>

@.str.40 = external hidden unnamed_addr constant [11 x i8], align 1
@.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.65 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [9 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 uwtable
declare dso_local noundef zeroext i8 @_ZN8fastgltf6Parser21getMimeTypeFromStringESt17basic_string_viewIcSt11char_traitsIcEE(i64, ptr) local_unnamed_addr #4 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 @_ZNKSt6vectorIN8fastgltf5ImageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) 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 @_ZN8fastgltf6Parser11parseImagesERN8simdjson3dom5arrayERNS_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::Image", align 8
  %8 = alloca %"class.simdjson::dom::object", align 8
  %9 = alloca %"struct.simdjson::simdjson_result", align 8
  %10 = alloca %"class.std::basic_string_view", align 8
  %11 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %12 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %13 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %14 = alloca %"class.fastgltf::URIView", align 8
  %15 = alloca %"class.fastgltf::Expected", align 8
  %16 = alloca %"class.fastgltf::Expected", align 8
  %17 = alloca %"struct.fastgltf::sources::URI", align 8
  %18 = alloca %"class.std::basic_string_view", align 8
  %19 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %20 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %21 = alloca %class.anon.425, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"struct.simdjson::simdjson_result.7", align 8
  %24 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %25 = alloca %"class.std::basic_string_view", align 8
  %26 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %27 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %28 = alloca %"struct.fastgltf::sources::BufferView", align 8
  %29 = alloca %"class.simdjson::dom::object", align 8
  %30 = alloca %"struct.simdjson::simdjson_result", align 8
  %31 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %32 = alloca %"class.std::basic_string_view", align 8
  %33 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %34 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %35 = alloca %"class.std::__cxx11::basic_string.74", align 8
  %36 = alloca %"class.std::pmr::polymorphic_allocator.75", align 8
  %37 = getelementptr inbounds i8, ptr %2, i64 336
  %38 = tail call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  tail call void @_ZNSt6vectorIN8fastgltf5ImageESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %38)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %39 = tail call { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %40 = extractvalue { ptr, i64 } %39, 0
  store ptr %40, ptr %4, align 8
  %41 = getelementptr inbounds i8, ptr %4, i64 8
  %42 = extractvalue { ptr, i64 } %39, 1
  store i64 %42, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %43 = tail call { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #7
  %44 = extractvalue { ptr, i64 } %43, 0
  store ptr %44, ptr %5, align 8
  %45 = getelementptr inbounds i8, ptr %5, i64 8
  %46 = extractvalue { ptr, i64 } %43, 1
  store i64 %46, ptr %45, align 8
  %47 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br i1 %47, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %3
  %48 = getelementptr inbounds i8, ptr %6, i64 8
  %49 = getelementptr inbounds i8, ptr %7, i64 192
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %50 = getelementptr inbounds i8, ptr %0, i64 304
  %51 = getelementptr inbounds i8, ptr %17, i64 8
  %.sroa.211.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %25, i64 8
  %52 = getelementptr inbounds i8, ptr %28, i64 8
  %53 = getelementptr inbounds i8, ptr %0, i64 32
  %54 = getelementptr inbounds i8, ptr %0, i64 40
  %55 = getelementptr inbounds i8, ptr %0, i64 248
  br label %56

56:                                               ; preds = %.lr.ph, %144
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %57 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  %58 = extractvalue { ptr, i64 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i64 } %57, 1
  store i64 %59, ptr %48, align 8
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %7) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(192) %7, i8 0, i64 192, i1 false)
  call void @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(185) %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #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
  %60 = 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 %60, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  br i1 %.not, label %61, label %.thread84, !prof !5

.thread84:                                        ; preds = %56
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %.loopexit

61:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.start.p0(i64 24, 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.65) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %11, ptr noundef nonnull align 8 dereferenceable(20) %12) #7
  %62 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  %63 = icmp eq i32 %62, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br i1 %63, label %64, label %103, !prof !5

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.40) #7
  %65 = call noundef i32 @_ZNK8simdjson8internal20simdjson_result_baseINS_3dom7elementEE5errorEv(ptr noundef nonnull align 8 dereferenceable(20) %13) #7
  %66 = icmp eq i32 %65, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br i1 %66, label %.thread89, label %67, !prof !5

67:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %14) #7
  %.sroa.019.0.copyload = load i64, ptr %10, align 8, !tbaa !6
  %.sroa.220.0.copyload = load ptr, ptr %.sroa.220.0..sroa_idx, align 8, !tbaa !10
  call void @_ZN8fastgltf7URIViewC1ESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(129) %14, i64 %.sroa.019.0.copyload, ptr %.sroa.220.0.copyload) #7
  %68 = call noundef zeroext i1 @_ZNK8fastgltf7URIView5validEv(ptr noundef nonnull align 8 dereferenceable(129) %14) #7
  br i1 %68, label %69, label %.thread76

69:                                               ; preds = %67
  %70 = call noundef zeroext i1 @_ZNK8fastgltf7URIView9isDataUriEv(ptr noundef nonnull align 8 dereferenceable(129) %14) #7
  br i1 %70, label %71, label %77

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %15) #7
  call void @_ZNK8fastgltf6Parser13decodeDataUriERNS_7URIViewE(ptr dead_on_unwind nonnull writable sret(%"class.fastgltf::Expected") align 8 %15, ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(129) %14) #7
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %15) #7
  %73 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %15) #7
  %74 = load i64, ptr %72, align 8, !tbaa !12
  %.not62 = icmp eq i64 %74, 0
  br i1 %.not62, label %.thread, label %76

.thread:                                          ; preds = %71
  %75 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %7, ptr noundef nonnull align 8 dereferenceable(185) %73) #7
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %15) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %15) #7
  br label %94

76:                                               ; preds = %71
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %15) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %15) #7
  br label %.thread76

77:                                               ; preds = %69
  %78 = call noundef zeroext i1 @_ZNK8fastgltf7URIView11isLocalPathEv(ptr noundef nonnull align 8 dereferenceable(129) %14) #7
  br i1 %78, label %79, label %88

79:                                               ; preds = %77
  %80 = load i64, ptr %50, align 8, !tbaa !14
  %81 = call noundef zeroext i1 @_ZN8fastgltf6hasBitINS_7OptionsES1_EEbT_T0_(i64 noundef %80, i64 noundef 128)
  br i1 %81, label %82, label %88

82:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %16) #7
  call void @_ZNK8fastgltf6Parser15loadFileFromUriERNS_7URIViewE(ptr dead_on_unwind nonnull writable sret(%"class.fastgltf::Expected") align 8 %16, ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(129) %14) #7
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm0EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %16) #7
  %84 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEE3getILm1EEERDav(ptr noundef nonnull align 8 dereferenceable(200) %16) #7
  %85 = load i64, ptr %83, align 8, !tbaa !12
  %.not61 = icmp eq i64 %85, 0
  br i1 %.not61, label %.thread74, label %87

.thread74:                                        ; preds = %82
  %86 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSEOSA_(ptr noundef nonnull align 8 dereferenceable(185) %7, ptr noundef nonnull align 8 dereferenceable(185) %84) #7
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %16) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %16) #7
  br label %94

87:                                               ; preds = %82
  call void @_ZN8fastgltf8ExpectedISt7variantIJSt9monostateNS_7sources10BufferViewENS3_3URIENS3_5ArrayENS3_6VectorENS3_12CustomBufferENS3_8ByteViewENS3_8FallbackEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(200) %16) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %16) #7
  br label %.thread76

88:                                               ; preds = %79, %77
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %17) #7
  call void @_ZN8fastgltf7sources3URIC2Ev(ptr noundef nonnull align 8 dereferenceable(177) %17) #7
  store i64 0, ptr %17, align 8, !tbaa !45
  %89 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN8fastgltf3URIaSERKNS_7URIViewE(ptr noundef nonnull align 8 dereferenceable(168) %51, ptr noundef nonnull align 8 dereferenceable(129) %14)
          to label %90 unwind label %92

90:                                               ; preds = %88
  %91 = 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) %7, ptr noundef nonnull align 8 dereferenceable(177) %17) #7
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %17) #7
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %17) #7
  br label %94

92:                                               ; preds = %88
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8fastgltf7sources3URID2Ev(ptr noundef nonnull align 8 dereferenceable(177) %17) #7
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %17) #7
  br label %102

94:                                               ; preds = %.thread74, %.thread, %90
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.80) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %19, ptr noundef nonnull align 8 dereferenceable(20) %20) #7
  %95 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %19, ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  %96 = icmp eq i32 %95, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br i1 %96, label %97, label %101, !prof !5

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  store ptr %18, ptr %21, align 8, !tbaa !10
  invoke void @"_ZSt5visitIZN8fastgltf6Parser11parseImagesERN8simdjson3dom5arrayERNS0_5AssetEE3$_0JRSt7variantIJSt9monostateNS0_7sources10BufferViewENSB_3URIENSB_5ArrayENSB_6VectorENSB_12CustomBufferENSB_8ByteViewENSB_8FallbackEEEEENSt13invoke_resultIT_JDpNSt13__conditionalIX21is_lvalue_reference_vIT0_EEE4typeIRNSt19variant_alternativeILm0ENSt16remove_referenceIDTclsr9__variantE4__asclsr3stdE7declvalISO_EEEEE4typeEE4typeEOSX_EEEE4typeEOSM_DpOSO_"(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(185) %7)
          to label %98 unwind label %99

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %101

99:                                               ; preds = %97
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  br label %102

.thread76:                                        ; preds = %67, %76, %87
  %.4.ph = phi i64 [ %85, %87 ], [ %74, %76 ], [ 11, %67 ]
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %14) #7
  br label %.thread89

101:                                              ; preds = %94, %98
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %14) #7
  br label %103

102:                                              ; preds = %99, %92
  %.pn = phi { ptr, i32 } [ %100, %99 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %14) #7
  br label %151

103:                                              ; preds = %101, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %24, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.40) #7
  %104 = call { i64, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_uint64Ev(ptr noundef nonnull align 8 dereferenceable(20) %24) #7
  %.fca.0.extract = extractvalue { i64, i32 } %104, 0
  %.fca.1.extract = extractvalue { i64, i32 } %104, 1
  store i64 %.fca.0.extract, ptr %23, align 8
  store i32 %.fca.1.extract, ptr %.sroa.211.0..sroa_idx, align 8
  %105 = call noundef i32 @_ZNO8simdjson15simdjson_resultImE3getERm(ptr noundef nonnull align 8 dereferenceable(12) %23, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %106 = icmp eq i32 %105, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  br i1 %106, label %107, label %116, !prof !5

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %27, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.80) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %26, ptr noundef nonnull align 8 dereferenceable(20) %27) #7
  %108 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %26, ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  %.not64 = icmp eq i32 %108, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  br i1 %.not64, label %109, label %113, !prof !5

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #7
  %110 = load i64, ptr %22, align 8, !tbaa !6
  store i64 %110, ptr %28, align 8, !tbaa !52
  %.sroa.0.0.copyload = load i64, ptr %25, align 8, !tbaa !6
  %.sroa.2.0.copyload = load ptr, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !10
  %111 = invoke noundef zeroext i8 @_ZN8fastgltf6Parser21getMimeTypeFromStringESt17basic_string_viewIcSt11char_traitsIcEE(i64 %.sroa.0.0.copyload, ptr %.sroa.2.0.copyload)
          to label %.thread79 unwind label %114

.thread79:                                        ; preds = %109
  store i8 %111, ptr %52, align 8, !tbaa !54
  %112 = call noundef nonnull align 8 dereferenceable(185) ptr @_ZNSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEaSIS3_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) %7, ptr noundef nonnull align 8 dereferenceable(9) %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  br label %116

113:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  br label %.thread94

114:                                              ; preds = %109
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  br label %150

116:                                              ; preds = %.thread79, %103
  %117 = call noundef zeroext i1 @_ZSt17holds_alternativeISt9monostateJS0_N8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEEbRKSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(185) %7) #7
  br i1 %117, label %.thread94, label %118

118:                                              ; preds = %116
  %119 = load ptr, ptr %53, align 8, !tbaa !55
  %.not65 = icmp eq ptr %119, null
  br i1 %.not65, label %129, label %120

120:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #7
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %31, 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 %30, ptr noundef nonnull align 8 dereferenceable(20) %31) #7
  %121 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %30, ptr noundef nonnull align 8 dereferenceable(16) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #7
  switch i32 %121, label %128 [
    i32 0, label %122
    i32 20, label %.thread81
  ]

122:                                              ; preds = %120
  %123 = load ptr, ptr %53, align 8, !tbaa !55
  %124 = call noundef i64 @_ZNKSt6vectorIN8fastgltf5ImageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %125 = load ptr, ptr %54, align 8, !tbaa !56
  invoke void %123(ptr noundef nonnull %29, i64 noundef %124, i32 noundef 8, ptr noundef %125)
          to label %.thread81 unwind label %126

126:                                              ; preds = %122
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br label %150

.thread81:                                        ; preds = %122, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br label %129

128:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br label %.thread94

129:                                              ; preds = %.thread81, %118
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %34, 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 %33, ptr noundef nonnull align 8 dereferenceable(20) %34) #7
  %130 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %33, ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  %131 = icmp eq i32 %130, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #7
  br i1 %131, label %132, label %142

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #7
  %133 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %55) #7
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %133) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %134 unwind label %137

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(40) %35)
          to label %136 unwind label %139

136:                                              ; preds = %134
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %35) #7
  br label %142

137:                                              ; preds = %132
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %134
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #7
  br label %141

141:                                              ; preds = %139, %137
  %.pn67 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %35) #7
  br label %149

142:                                              ; preds = %136, %129
  %143 = invoke noundef nonnull align 8 dereferenceable(232) ptr @_ZNSt6vectorIN8fastgltf5ImageESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(232) %7)
          to label %144 unwind label %147

.thread89:                                        ; preds = %64, %.thread76
  %.11.ph = phi i64 [ %.4.ph, %.thread76 ], [ 5, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %.loopexit

.thread94:                                        ; preds = %116, %128, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %.loopexit

144:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #7
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  %145 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  %146 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br i1 %146, label %56, label %.loopexit

147:                                              ; preds = %142
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %149

149:                                              ; preds = %147, %141
  %.pn69 = phi { ptr, i32 } [ %148, %147 ], [ %.pn67, %141 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #7
  br label %150

150:                                              ; preds = %149, %126, %114
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %149 ], [ %127, %126 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %151

151:                                              ; preds = %150, %102
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %150 ], [ %.pn, %102 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %7) #7
  call void @llvm.lifetime.end.p0(i64 232, 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 } %.pn69.pn.pn

.loopexit:                                        ; preds = %144, %3, %.thread94, %.thread89, %.thread84
  %spec.select = phi i64 [ 5, %.thread84 ], [ %.11.ph, %.thread89 ], [ 5, %.thread94 ], [ 0, %3 ], [ 0, %144 ]
  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.select
}

; 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 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 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 uwtable
declare dso_local void @_ZNSt6vectorIN8fastgltf5ImageESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt5visitIZN8fastgltf6Parser11parseImagesERN8simdjson3dom5arrayERNS0_5AssetEE3$_0JRSt7variantIJSt9monostateNS0_7sources10BufferViewENSB_3URIENSB_5ArrayENSB_6VectorENSB_12CustomBufferENSB_8ByteViewENSB_8FallbackEEEEENSt13invoke_resultIT_JDpNSt13__conditionalIX21is_lvalue_reference_vIT0_EEE4typeIRNSt19variant_alternativeILm0ENSt16remove_referenceIDTclsr9__variantE4__asclsr3stdE7declvalISO_EEEEE4typeEE4typeEOSX_EEEE4typeEOSM_DpOSO_"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(185)) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf5ImageD2Ev(ptr noundef nonnull align 8 dereferenceable(232)) 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, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN8fastgltf5ErrorE", !8, i64 0}
!14 = !{!15, !44, i64 304}
!15 = !{!"_ZTSN8fastgltf6ParserE", !16, i64 0, !22, i64 8, !24, i64 56, !31, i64 248, !34, i64 264, !44, i64 304}
!16 = !{!"_ZTSSt10unique_ptrIN8simdjson3dom6parserESt14default_deleteIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataIN8simdjson3dom6parserESt14default_deleteIS2_ELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implIN8simdjson3dom6parserESt14default_deleteIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EPN8simdjson3dom6parserELb0EE", !11, i64 0}
!22 = !{!"_ZTSN8fastgltf20ParserInternalConfigE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !23, i64 40}
!23 = !{!"_ZTSN8fastgltf10ExtensionsE", !8, i64 0}
!24 = !{!"_ZTSSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEE", !25, i64 0}
!25 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !26, i64 0}
!26 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !27, i64 0}
!27 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !28, i64 0}
!28 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !29, i64 0}
!29 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !30, i64 0}
!30 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !8, i64 0, !8, i64 184}
!31 = !{!"_ZTSSt10shared_ptrIN8fastgltf19ChunkMemoryResourceEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !33, i64 8}
!33 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0}
!34 = !{!"_ZTSNSt10filesystem7__cxx114pathE", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !36, i64 0, !7, i64 8, !8, i64 16}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!37 = !{!"_ZTSNSt10filesystem7__cxx114path5_ListE", !38, i64 0}
!38 = !{!"_ZTSSt10unique_ptrINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_dataINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterELb1ELb1EE", !40, i64 0}
!40 = !{!"_ZTSSt15__uniq_ptr_implINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !41, i64 0}
!41 = !{!"_ZTSSt5tupleIJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !42, i64 0}
!42 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !43, i64 0}
!43 = !{!"_ZTSSt10_Head_baseILm0EPNSt10filesystem7__cxx114path5_List5_ImplELb0EE", !11, i64 0}
!44 = !{!"_ZTSN8fastgltf7OptionsE", !8, i64 0}
!45 = !{!46, !7, i64 0}
!46 = !{!"_ZTSN8fastgltf7sources3URIE", !7, i64 0, !47, i64 8, !51, i64 176}
!47 = !{!"_ZTSN8fastgltf3URIE", !35, i64 0, !48, i64 32}
!48 = !{!"_ZTSN8fastgltf7URIViewE", !49, i64 0, !49, i64 16, !49, i64 32, !49, i64 48, !49, i64 64, !49, i64 80, !49, i64 96, !49, i64 112, !50, i64 128}
!49 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !7, i64 0, !11, i64 8}
!50 = !{!"bool", !8, i64 0}
!51 = !{!"_ZTSN8fastgltf8MimeTypeE", !8, i64 0}
!52 = !{!53, !7, i64 0}
!53 = !{!"_ZTSN8fastgltf7sources10BufferViewE", !7, i64 0, !51, i64 8}
!54 = !{!53, !51, i64 8}
!55 = !{!15, !11, i64 32}
!56 = !{!15, !11, i64 40}


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