; 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" }
%"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::Camera" = type { %"class.std::variant.238", %"class.std::__cxx11::basic_string.74" }
%"class.std::variant.238" = type { %"struct.std::__detail::__variant::_Variant_base.base.255", [3 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base.255" = type { %"struct.std::__detail::__variant::_Move_assign_base.base.254" }
%"struct.std::__detail::__variant::_Move_assign_base.base.254" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base.253" }
%"struct.std::__detail::__variant::_Copy_assign_base.base.253" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base.252" }
%"struct.std::__detail::__variant::_Move_ctor_base.base.252" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base.251" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base.251" = type { %"struct.std::__detail::__variant::_Variant_storage.base.250" }
%"struct.std::__detail::__variant::_Variant_storage.base.250" = type <{ %"union.std::__detail::__variant::_Variadic_union.245", i8 }>
%"union.std::__detail::__variant::_Variadic_union.245" = type { %"union.std::__detail::__variant::_Variadic_union.248" }
%"union.std::__detail::__variant::_Variadic_union.248" = type { %"struct.std::__detail::__variant::_Uninitialized.249" }
%"struct.std::__detail::__variant::_Uninitialized.249" = type { %"struct.fastgltf::Camera::Orthographic" }
%"struct.fastgltf::Camera::Orthographic" = type { float, float, float, float }
%"class.std::__cxx11::basic_string.74" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider", i64, %union.anon.76 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider" = type { %"class.std::pmr::polymorphic_allocator.75", ptr }
%"class.std::pmr::polymorphic_allocator.75" = type { ptr }
%union.anon.76 = type { i64, [8 x i8] }
%"struct.fastgltf::Camera::Perspective" = type { %"class.fastgltf::OptionalWithFlagValue.260", float, %"class.fastgltf::OptionalWithFlagValue.260", float }
%"class.fastgltf::OptionalWithFlagValue.260" = type { %union.anon.261 }
%union.anon.261 = type { float }
%"struct.simdjson::simdjson_result.16" = type { %"struct.simdjson::internal::simdjson_result_base.base.21", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.21" = type { %"struct.std::pair.base.20" }
%"struct.std::pair.base.20" = type <{ double, i32 }>
%"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::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] }
%"class.std::filesystem::__cxx11::path" = type { %"class.std::__cxx11::basic_string", %"struct.std::filesystem::__cxx11::path::_List" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.30 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.30 = type { i64, [8 x i8] }
%"struct.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.38 = external hidden unnamed_addr constant [5 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.70 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [5 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 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)) #3 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)) #3 align 2

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

; 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) #5 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64, ptr, i64, ptr) #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)) #2 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 #2 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 @_ZNKSt6vectorIN8fastgltf6CameraESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 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)) #3 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)) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16)) #5 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)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16)) #5 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 #2 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)) #5 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)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8fastgltf6Parser12parseCamerasERN8simdjson3dom5arrayERNS_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::Camera", 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 %"class.std::__cxx11::basic_string.74", align 8
  %20 = alloca %"class.std::pmr::polymorphic_allocator.75", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::basic_string_view", align 8
  %24 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %25 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %26 = alloca %"class.std::basic_string_view", align 8
  %27 = alloca %"class.std::basic_string_view", align 8
  %28 = alloca %"class.simdjson::dom::object", align 8
  %29 = alloca %"struct.simdjson::simdjson_result", align 8
  %30 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %31 = alloca %"struct.fastgltf::Camera::Perspective", align 4
  %32 = alloca double, align 8
  %33 = alloca i32, align 4
  %34 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %35 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %36 = alloca { double, i32 }, align 8
  %37 = alloca float, align 4
  %38 = alloca i32, align 4
  %39 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %40 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %41 = alloca { double, i32 }, align 8
  %42 = alloca float, align 4
  %43 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %44 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %45 = alloca { double, i32 }, align 8
  %46 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %47 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %48 = alloca { double, i32 }, align 8
  %49 = alloca %"class.std::basic_string_view", align 8
  %50 = alloca %"class.std::basic_string_view", align 8
  %51 = alloca %"class.simdjson::dom::object", align 8
  %52 = alloca %"struct.simdjson::simdjson_result", align 8
  %53 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %54 = alloca %"struct.fastgltf::Camera::Orthographic", align 4
  %55 = alloca double, align 8
  %56 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %57 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %58 = alloca { double, i32 }, align 8
  %59 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %60 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %61 = alloca { double, i32 }, align 8
  %62 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %63 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %64 = alloca { double, i32 }, align 8
  %65 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %66 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %67 = alloca { double, i32 }, align 8
  %68 = alloca %"class.simdjson::dom::object", align 8
  %69 = alloca i32, align 4
  %70 = alloca %"struct.simdjson::simdjson_result", align 8
  %71 = alloca %"struct.simdjson::simdjson_result.0", 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
  %72 = load ptr, ptr %5, align 8
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.fastgltf::Asset", ptr %73, i32 0, i32 9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %75) #8
  call void @_ZNSt6vectorIN8fastgltf6CameraESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %76)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %77, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = call { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %78) #8
  %80 = getelementptr inbounds %"class.simdjson::dom::array::iterator", ptr %9, i32 0, i32 0
  %81 = getelementptr inbounds { ptr, i64 }, ptr %80, i32 0, i32 0
  %82 = extractvalue { ptr, i64 } %79, 0
  store ptr %82, ptr %81, align 8
  %83 = getelementptr inbounds { ptr, i64 }, ptr %80, i32 0, i32 1
  %84 = extractvalue { ptr, i64 } %79, 1
  store i64 %84, ptr %83, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = call { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16) %85) #8
  %87 = getelementptr inbounds %"class.simdjson::dom::array::iterator", ptr %10, i32 0, i32 0
  %88 = getelementptr inbounds { ptr, i64 }, ptr %87, i32 0, i32 0
  %89 = extractvalue { ptr, i64 } %86, 0
  store ptr %89, ptr %88, align 8
  %90 = getelementptr inbounds { ptr, i64 }, ptr %87, i32 0, i32 1
  %91 = extractvalue { ptr, i64 } %86, 1
  store i64 %91, ptr %90, align 8
  br label %92

92:                                               ; preds = %328, %3
  %93 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  br i1 %93, label %95, label %94

94:                                               ; preds = %92
  store i32 2, ptr %11, align 4
  br label %336

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %96 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  %97 = getelementptr inbounds %"class.simdjson::dom::element", ptr %12, i32 0, i32 0
  %98 = getelementptr inbounds { ptr, i64 }, ptr %97, i32 0, i32 0
  %99 = extractvalue { ptr, i64 } %96, 0
  store ptr %99, ptr %98, align 8
  %100 = getelementptr inbounds { ptr, i64 }, ptr %97, i32 0, i32 1
  %101 = extractvalue { ptr, i64 } %96, 1
  store i64 %101, ptr %100, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #8
  %102 = getelementptr inbounds %"struct.fastgltf::Camera", ptr %13, i32 0, i32 0
  call void @llvm.memset.p0.i64(ptr align 8 %102, i8 0, i64 20, i1 false)
  call void @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEC2Ev(ptr noundef nonnull align 4 dereferenceable(17) %102) #8
  %103 = getelementptr inbounds %"struct.fastgltf::Camera", ptr %13, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %103) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  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) #8
  %104 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %15, ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  %105 = icmp ne i32 %104, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  %106 = call i1 @llvm.expect.i1(i1 %105, i1 false)
  br i1 %106, label %107, label %108

107:                                              ; preds = %95
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %322

108:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #8
  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.49) #8
  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) #8
  %109 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %17, ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  %110 = icmp eq i32 %109, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  br i1 %110, label %111, label %127

111:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %112 = getelementptr inbounds %"class.fastgltf::Parser", ptr %72, i32 0, i32 3
  %113 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %112) #8
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef %113) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %114 unwind label %118

114:                                              ; preds = %111
  %115 = getelementptr inbounds %"struct.fastgltf::Camera", ptr %13, i32 0, i32 1
  %116 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %115, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %117 unwind label %122

117:                                              ; preds = %114
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #8
  br label %127

118:                                              ; preds = %111
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %21, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %22, align 4
  br label %126

122:                                              ; preds = %114
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %21, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #8
  br label %126

126:                                              ; preds = %122, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #8
  br label %335

127:                                              ; preds = %117, %108
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.38) #8
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %24, ptr noundef nonnull align 8 dereferenceable(20) %25) #8
  %128 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %24, ptr noundef nonnull align 8 dereferenceable(16) %23) #8
  %129 = icmp ne i32 %128, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #8
  %130 = call i1 @llvm.expect.i1(i1 %129, i1 false)
  br i1 %130, label %131, label %132

131:                                              ; preds = %127
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %321

132:                                              ; preds = %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str.70) #8
  %133 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 0
  %134 = load i64, ptr %133, align 8
  %135 = getelementptr inbounds { i64, ptr }, ptr %26, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8
  %137 = getelementptr inbounds { i64, ptr }, ptr %27, i32 0, i32 0
  %138 = load i64, ptr %137, align 8
  %139 = getelementptr inbounds { i64, ptr }, ptr %27, i32 0, i32 1
  %140 = load ptr, ptr %139, align 8
  %141 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %134, ptr %136, i64 %138, ptr %140) #8
  br i1 %141, label %142, label %216

142:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %30, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.70) #8
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %29, ptr noundef nonnull align 8 dereferenceable(20) %30) #8
  %143 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %29, ptr noundef nonnull align 8 dereferenceable(16) %28) #8
  %144 = icmp ne i32 %143, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #8
  %145 = call i1 @llvm.expect.i1(i1 %144, i1 false)
  br i1 %145, label %146, label %147

146:                                              ; preds = %142
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %213

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %148 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 0
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %148) #8
  %149 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 1
  store float 0.000000e+00, ptr %149, align 4, !tbaa !12
  %150 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 2
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %150) #8
  %151 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 3
  store float 0.000000e+00, ptr %151, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %35, ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.71) #8
  %152 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %35) #8
  store { double, i32 } %152, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %36, i64 12, i1 false)
  %153 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %34, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  store i32 %153, ptr %33, align 4, !tbaa !17
  %154 = load i32, ptr %33, align 4, !tbaa !17
  %155 = icmp eq i32 %154, 0
  %156 = call i1 @llvm.expect.i1(i1 %155, i1 true)
  br i1 %156, label %157, label %162

157:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %158 = load double, ptr %32, align 8, !tbaa !19
  %159 = fptrunc double %158 to float
  store float %159, ptr %37, align 4, !tbaa !21
  %160 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 0
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %160, ptr noundef nonnull align 4 dereferenceable(4) %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %167

162:                                              ; preds = %147
  %163 = load i32, ptr %33, align 4, !tbaa !17
  %164 = icmp ne i32 %163, 20
  br i1 %164, label %165, label %166

165:                                              ; preds = %162
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %168

166:                                              ; preds = %162
  br label %167

167:                                              ; preds = %166, %157
  store i32 0, ptr %11, align 4
  br label %168

168:                                              ; preds = %167, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  %169 = load i32, ptr %11, align 4
  switch i32 %169, label %212 [
    i32 0, label %170
  ]

170:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %40, ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.72) #8
  %171 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %40) #8
  store { double, i32 } %171, ptr %41, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %41, i64 12, i1 false)
  %172 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %39, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #8
  store i32 %172, ptr %38, align 4, !tbaa !17
  %173 = load i32, ptr %38, align 4, !tbaa !17
  %174 = icmp eq i32 %173, 0
  %175 = call i1 @llvm.expect.i1(i1 %174, i1 true)
  br i1 %175, label %176, label %181

176:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %177 = load double, ptr %32, align 8, !tbaa !19
  %178 = fptrunc double %177 to float
  store float %178, ptr %42, align 4, !tbaa !21
  %179 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 2
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %179, ptr noundef nonnull align 4 dereferenceable(4) %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %186

181:                                              ; preds = %170
  %182 = load i32, ptr %38, align 4, !tbaa !17
  %183 = icmp ne i32 %182, 20
  br i1 %183, label %184, label %185

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

185:                                              ; preds = %181
  br label %186

186:                                              ; preds = %185, %176
  store i32 0, ptr %11, align 4
  br label %187

187:                                              ; preds = %186, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  %188 = load i32, ptr %11, align 4
  switch i32 %188, label %212 [
    i32 0, label %189
  ]

189:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %44, ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.73) #8
  %190 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %44) #8
  store { double, i32 } %190, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %45, i64 12, i1 false)
  %191 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %43, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  %192 = icmp eq i32 %191, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  %193 = call i1 @llvm.expect.i1(i1 %192, i1 true)
  br i1 %193, label %194, label %198

194:                                              ; preds = %189
  %195 = load double, ptr %32, align 8, !tbaa !19
  %196 = fptrunc double %195 to float
  %197 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 1
  store float %196, ptr %197, align 4, !tbaa !12
  br label %199

198:                                              ; preds = %189
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %212

199:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %47, ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.74) #8
  %200 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %47) #8
  store { double, i32 } %200, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %48, i64 12, i1 false)
  %201 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %46, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  %202 = icmp eq i32 %201, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  %203 = call i1 @llvm.expect.i1(i1 %202, i1 true)
  br i1 %203, label %204, label %208

204:                                              ; preds = %199
  %205 = load double, ptr %32, align 8, !tbaa !19
  %206 = fptrunc double %205 to float
  %207 = getelementptr inbounds %"struct.fastgltf::Camera::Perspective", ptr %31, i32 0, i32 3
  store float %206, ptr %207, align 4, !tbaa !16
  br label %209

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

209:                                              ; preds = %204
  %210 = getelementptr inbounds %"struct.fastgltf::Camera", ptr %13, i32 0, i32 0
  %211 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS2_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17) %210, ptr noundef nonnull align 4 dereferenceable(16) %31) #8
  store i32 0, ptr %11, align 4
  br label %212

212:                                              ; preds = %209, %208, %198, %187, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @_ZN8fastgltf6Camera11PerspectiveD2Ev(ptr noundef nonnull align 4 dereferenceable(16) %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %213

213:                                              ; preds = %212, %146
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  %214 = load i32, ptr %11, align 4
  switch i32 %214, label %321 [
    i32 0, label %215
  ]

215:                                              ; preds = %213
  br label %280

216:                                              ; preds = %132
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef @.str.75) #8
  %217 = getelementptr inbounds { i64, ptr }, ptr %49, i32 0, i32 0
  %218 = load i64, ptr %217, align 8
  %219 = getelementptr inbounds { i64, ptr }, ptr %49, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8
  %221 = getelementptr inbounds { i64, ptr }, ptr %50, i32 0, i32 0
  %222 = load i64, ptr %221, align 8
  %223 = getelementptr inbounds { i64, ptr }, ptr %50, i32 0, i32 1
  %224 = load ptr, ptr %223, align 8
  %225 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %218, ptr %220, i64 %222, ptr %224) #8
  br i1 %225, label %226, label %278

226:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #8
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %53, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.75) #8
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %52, ptr noundef nonnull align 8 dereferenceable(20) %53) #8
  %227 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %52, ptr noundef nonnull align 8 dereferenceable(16) %51) #8
  %228 = icmp ne i32 %227, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #8
  %229 = call i1 @llvm.expect.i1(i1 %228, i1 false)
  br i1 %229, label %230, label %231

230:                                              ; preds = %226
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %275

231:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #8
  call void @llvm.memset.p0.i64(ptr align 4 %54, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %57, ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef @.str.76) #8
  %232 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %57) #8
  store { double, i32 } %232, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 8 %58, i64 12, i1 false)
  %233 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %56, ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %234 = icmp eq i32 %233, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  %235 = call i1 @llvm.expect.i1(i1 %234, i1 true)
  br i1 %235, label %236, label %240

236:                                              ; preds = %231
  %237 = load double, ptr %55, align 8, !tbaa !19
  %238 = fptrunc double %237 to float
  %239 = getelementptr inbounds %"struct.fastgltf::Camera::Orthographic", ptr %54, i32 0, i32 0
  store float %238, ptr %239, align 4, !tbaa !22
  br label %241

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

241:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %60, ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef @.str.77) #8
  %242 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %60) #8
  store { double, i32 } %242, ptr %61, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %59, ptr align 8 %61, i64 12, i1 false)
  %243 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %59, ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %244 = icmp eq i32 %243, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #8
  %245 = call i1 @llvm.expect.i1(i1 %244, i1 true)
  br i1 %245, label %246, label %250

246:                                              ; preds = %241
  %247 = load double, ptr %55, align 8, !tbaa !19
  %248 = fptrunc double %247 to float
  %249 = getelementptr inbounds %"struct.fastgltf::Camera::Orthographic", ptr %54, i32 0, i32 1
  store float %248, ptr %249, align 4, !tbaa !24
  br label %251

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

251:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %63, ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef @.str.72) #8
  %252 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %63) #8
  store { double, i32 } %252, ptr %64, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %62, ptr align 8 %64, i64 12, i1 false)
  %253 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %62, ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %254 = icmp eq i32 %253, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  %255 = call i1 @llvm.expect.i1(i1 %254, i1 true)
  br i1 %255, label %256, label %260

256:                                              ; preds = %251
  %257 = load double, ptr %55, align 8, !tbaa !19
  %258 = fptrunc double %257 to float
  %259 = getelementptr inbounds %"struct.fastgltf::Camera::Orthographic", ptr %54, i32 0, i32 2
  store float %258, ptr %259, align 4, !tbaa !25
  br label %261

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

261:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 16, ptr %65) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %66, ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef @.str.74) #8
  %262 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %66) #8
  store { double, i32 } %262, ptr %67, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %65, ptr align 8 %67, i64 12, i1 false)
  %263 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %65, ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %264 = icmp eq i32 %263, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #8
  %265 = call i1 @llvm.expect.i1(i1 %264, i1 true)
  br i1 %265, label %266, label %270

266:                                              ; preds = %261
  %267 = load double, ptr %55, align 8, !tbaa !19
  %268 = fptrunc double %267 to float
  %269 = getelementptr inbounds %"struct.fastgltf::Camera::Orthographic", ptr %54, i32 0, i32 3
  store float %268, ptr %269, align 4, !tbaa !26
  br label %271

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

271:                                              ; preds = %266
  %272 = getelementptr inbounds %"struct.fastgltf::Camera", ptr %13, i32 0, i32 0
  %273 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS3_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17) %272, ptr noundef nonnull align 4 dereferenceable(16) %54) #8
  store i32 0, ptr %11, align 4
  br label %274

274:                                              ; preds = %271, %270, %260, %250, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #8
  br label %275

275:                                              ; preds = %274, %230
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #8
  %276 = load i32, ptr %11, align 4
  switch i32 %276, label %321 [
    i32 0, label %277
  ]

277:                                              ; preds = %275
  br label %279

278:                                              ; preds = %216
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %321

279:                                              ; preds = %277
  br label %280

280:                                              ; preds = %279, %215
  %281 = getelementptr inbounds %"class.fastgltf::Parser", ptr %72, i32 0, i32 1
  %282 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %281, i32 0, i32 3
  %283 = load ptr, ptr %282, align 8, !tbaa !27
  %284 = icmp ne ptr %283, null
  br i1 %284, label %285, label %316

285:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #8
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %70) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %71) #8
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %71, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef @.str.48) #8
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %70, ptr noundef nonnull align 8 dereferenceable(20) %71) #8
  %286 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %70, ptr noundef nonnull align 8 dereferenceable(16) %68) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %70) #8
  store i32 %286, ptr %69, align 4, !tbaa !17
  %287 = load i32, ptr %69, align 4, !tbaa !17
  %288 = icmp eq i32 %287, 0
  br i1 %288, label %289, label %304

289:                                              ; preds = %285
  %290 = getelementptr inbounds %"class.fastgltf::Parser", ptr %72, i32 0, i32 1
  %291 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %290, i32 0, i32 3
  %292 = load ptr, ptr %291, align 8, !tbaa !27
  %293 = load ptr, ptr %7, align 8, !tbaa !5
  %294 = getelementptr inbounds %"class.fastgltf::Asset", ptr %293, i32 0, i32 9
  %295 = call noundef i64 @_ZNKSt6vectorIN8fastgltf6CameraESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %294) #8
  %296 = getelementptr inbounds %"class.fastgltf::Parser", ptr %72, i32 0, i32 1
  %297 = getelementptr inbounds %"struct.fastgltf::ParserInternalConfig", ptr %296, i32 0, i32 4
  %298 = load ptr, ptr %297, align 8, !tbaa !58
  invoke void %292(ptr noundef %68, i64 noundef %295, i32 noundef 128, ptr noundef %298)
          to label %299 unwind label %300

299:                                              ; preds = %289
  br label %309

300:                                              ; preds = %289
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %21, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  br label %334

304:                                              ; preds = %285
  %305 = load i32, ptr %69, align 4, !tbaa !17
  %306 = icmp ne i32 %305, 20
  br i1 %306, label %307, label %308

307:                                              ; preds = %304
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %310

308:                                              ; preds = %304
  br label %309

309:                                              ; preds = %308, %299
  store i32 0, ptr %11, align 4
  br label %310

310:                                              ; preds = %309, %307
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  %311 = load i32, ptr %11, align 4
  switch i32 %311, label %313 [
    i32 0, label %312
  ]

312:                                              ; preds = %310
  store i32 0, ptr %11, align 4
  br label %313

313:                                              ; preds = %312, %310
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  %314 = load i32, ptr %11, align 4
  switch i32 %314, label %321 [
    i32 0, label %315
  ]

315:                                              ; preds = %313
  br label %316

316:                                              ; preds = %315, %280
  %317 = load ptr, ptr %7, align 8, !tbaa !5
  %318 = getelementptr inbounds %"class.fastgltf::Asset", ptr %317, i32 0, i32 9
  %319 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorIN8fastgltf6CameraESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %318, ptr noundef nonnull align 8 dereferenceable(64) %13)
          to label %320 unwind label %330

320:                                              ; preds = %316
  store i32 0, ptr %11, align 4
  br label %321

321:                                              ; preds = %320, %313, %278, %275, %213, %131
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %322

322:                                              ; preds = %321, %107
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @_ZN8fastgltf6CameraD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #8
  %323 = load i32, ptr %11, align 4
  switch i32 %323, label %325 [
    i32 0, label %324
  ]

324:                                              ; preds = %322
  store i32 0, ptr %11, align 4
  br label %325

325:                                              ; preds = %324, %322
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  %326 = load i32, ptr %11, align 4
  switch i32 %326, label %336 [
    i32 0, label %327
  ]

327:                                              ; preds = %325
  br label %328

328:                                              ; preds = %327
  %329 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br label %92

330:                                              ; preds = %316
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %21, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %22, align 4
  br label %334

334:                                              ; preds = %330, %300
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %335

335:                                              ; preds = %334, %126
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @_ZN8fastgltf6CameraD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %341

336:                                              ; preds = %325, %94
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  %337 = load i32, ptr %11, align 4
  switch i32 %337, label %346 [
    i32 2, label %338
    i32 1, label %339
  ]

338:                                              ; preds = %336
  store i64 0, ptr %4, align 8
  br label %339

339:                                              ; preds = %338, %336
  %340 = load i64, ptr %4, align 8
  ret i64 %340

341:                                              ; preds = %335
  %342 = load ptr, ptr %21, align 8
  %343 = load i32, ptr %22, align 4
  %344 = insertvalue { ptr, i32 } poison, ptr %342, 0
  %345 = insertvalue { ptr, i32 } %344, i32 %343, 1
  resume { ptr, i32 } %345

346:                                              ; preds = %336
  unreachable
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS2_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS3_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

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

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

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

!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, !15, i64 4}
!13 = !{!"_ZTSN8fastgltf6Camera11PerspectiveE", !14, i64 0, !15, i64 4, !14, i64 8, !15, i64 12}
!14 = !{!"_ZTSN8fastgltf21OptionalWithFlagValueIfEE", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!13, !15, i64 12}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTSN8simdjson10error_codeE", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!15, !15, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"_ZTSN8fastgltf6Camera12OrthographicE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!23, !15, i64 4}
!25 = !{!23, !15, i64 8}
!26 = !{!23, !15, i64 12}
!27 = !{!28, !6, i64 32}
!28 = !{!"_ZTSN8fastgltf6ParserE", !29, i64 0, !35, i64 8, !37, i64 56, !44, i64 248, !47, i64 264, !57, i64 304}
!29 = !{!"_ZTSSt10unique_ptrIN8simdjson3dom6parserESt14default_deleteIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_dataIN8simdjson3dom6parserESt14default_deleteIS2_ELb1ELb1EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_implIN8simdjson3dom6parserESt14default_deleteIS2_EE", !32, i64 0}
!32 = !{!"_ZTSSt5tupleIJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !33, i64 0}
!33 = !{!"_ZTSSt11_Tuple_implILm0EJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !34, i64 0}
!34 = !{!"_ZTSSt10_Head_baseILm0EPN8simdjson3dom6parserELb0EE", !6, i64 0}
!35 = !{!"_ZTSN8fastgltf20ParserInternalConfigE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !36, i64 40}
!36 = !{!"_ZTSN8fastgltf10ExtensionsE", !7, i64 0}
!37 = !{!"_ZTSSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEE", !38, i64 0}
!38 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !39, i64 0}
!39 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !40, i64 0}
!40 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !41, i64 0}
!41 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !42, i64 0}
!42 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !43, i64 0}
!43 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !7, i64 0, !7, i64 184}
!44 = !{!"_ZTSSt10shared_ptrIN8fastgltf19ChunkMemoryResourceEE", !45, i64 0}
!45 = !{!"_ZTSSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !46, i64 8}
!46 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!47 = !{!"_ZTSNSt10filesystem7__cxx114pathE", !48, i64 0, !50, i64 32}
!48 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !49, i64 0, !11, i64 8, !7, i64 16}
!49 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!50 = !{!"_ZTSNSt10filesystem7__cxx114path5_ListE", !51, i64 0}
!51 = !{!"_ZTSSt10unique_ptrINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !52, i64 0}
!52 = !{!"_ZTSSt15__uniq_ptr_dataINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterELb1ELb1EE", !53, i64 0}
!53 = !{!"_ZTSSt15__uniq_ptr_implINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !54, i64 0}
!54 = !{!"_ZTSSt5tupleIJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !55, i64 0}
!55 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !56, i64 0}
!56 = !{!"_ZTSSt10_Head_baseILm0EPNSt10filesystem7__cxx114path5_List5_ImplELb0EE", !6, i64 0}
!57 = !{!"_ZTSN8fastgltf7OptionsE", !7, i64 0}
!58 = !{!28, !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" }
%"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::Camera" = type { %"class.std::variant.238", %"class.std::__cxx11::basic_string.74" }
%"class.std::variant.238" = type { %"struct.std::__detail::__variant::_Variant_base.base.255", [3 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base.255" = type { %"struct.std::__detail::__variant::_Move_assign_base.base.254" }
%"struct.std::__detail::__variant::_Move_assign_base.base.254" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base.253" }
%"struct.std::__detail::__variant::_Copy_assign_base.base.253" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base.252" }
%"struct.std::__detail::__variant::_Move_ctor_base.base.252" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base.251" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base.251" = type { %"struct.std::__detail::__variant::_Variant_storage.base.250" }
%"struct.std::__detail::__variant::_Variant_storage.base.250" = type <{ %"union.std::__detail::__variant::_Variadic_union.245", i8 }>
%"union.std::__detail::__variant::_Variadic_union.245" = type { %"union.std::__detail::__variant::_Variadic_union.248" }
%"union.std::__detail::__variant::_Variadic_union.248" = type { %"struct.std::__detail::__variant::_Uninitialized.249" }
%"struct.std::__detail::__variant::_Uninitialized.249" = type { %"struct.fastgltf::Camera::Orthographic" }
%"struct.fastgltf::Camera::Orthographic" = type { float, float, float, float }
%"class.std::__cxx11::basic_string.74" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider", i64, %union.anon.76 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, std::pmr::polymorphic_allocator<char>>::_Alloc_hider" = type { %"class.std::pmr::polymorphic_allocator.75", ptr }
%"class.std::pmr::polymorphic_allocator.75" = type { ptr }
%union.anon.76 = type { i64, [8 x i8] }
%"struct.fastgltf::Camera::Perspective" = type { %"class.fastgltf::OptionalWithFlagValue.260", float, %"class.fastgltf::OptionalWithFlagValue.260", float }
%"class.fastgltf::OptionalWithFlagValue.260" = type { %union.anon.261 }
%union.anon.261 = type { float }
%"struct.simdjson::simdjson_result.16" = type { %"struct.simdjson::internal::simdjson_result_base.base.21", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.21" = type { %"struct.std::pair.base.20" }
%"struct.std::pair.base.20" = type <{ double, i32 }>

@.str.38 = external hidden unnamed_addr constant [5 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.70 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [5 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #1 align 2

; 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)) local_unnamed_addr #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)) local_unnamed_addr #2 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 #3 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #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 #1 align 2

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

; 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 #1 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 #1 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 @_ZNKSt6vectorIN8fastgltf6CameraESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 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 #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)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 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 #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 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 #1 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 #3 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 #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN8fastgltf6Parser12parseCamerasERN8simdjson3dom5arrayERNS_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::Camera", 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 %"class.std::__cxx11::basic_string.74", align 8
  %14 = alloca %"class.std::pmr::polymorphic_allocator.75", align 8
  %15 = alloca %"class.std::basic_string_view", align 8
  %16 = alloca %"struct.simdjson::simdjson_result.409", align 8
  %17 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %18 = alloca %"class.std::basic_string_view", align 8
  %19 = alloca %"class.simdjson::dom::object", align 8
  %20 = alloca %"struct.simdjson::simdjson_result", align 8
  %21 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %22 = alloca %"struct.fastgltf::Camera::Perspective", align 4
  %23 = alloca double, align 8
  %24 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %25 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %26 = alloca float, align 4
  %27 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %28 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %29 = alloca float, align 4
  %30 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %31 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %32 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %33 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %34 = alloca %"class.std::basic_string_view", align 8
  %35 = alloca %"class.simdjson::dom::object", align 8
  %36 = alloca %"struct.simdjson::simdjson_result", align 8
  %37 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %38 = alloca %"struct.fastgltf::Camera::Orthographic", align 4
  %39 = alloca double, align 8
  %40 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %41 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %42 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %43 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %44 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %45 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %46 = alloca %"struct.simdjson::simdjson_result.16", align 8
  %47 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %48 = alloca %"class.simdjson::dom::object", align 8
  %49 = alloca %"struct.simdjson::simdjson_result", align 8
  %50 = alloca %"struct.simdjson::simdjson_result.0", align 8
  %51 = getelementptr inbounds i8, ptr %2, i64 312
  %52 = tail call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #6
  tail call void @_ZNSt6vectorIN8fastgltf6CameraESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %52)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %53 = tail call { ptr, i64 } @_ZNK8simdjson3dom5array5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #6
  %54 = extractvalue { ptr, i64 } %53, 0
  store ptr %54, ptr %4, align 8
  %55 = getelementptr inbounds i8, ptr %4, i64 8
  %56 = extractvalue { ptr, i64 } %53, 1
  store i64 %56, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %57 = tail call { ptr, i64 } @_ZNK8simdjson3dom5array3endEv(ptr noundef nonnull align 8 dereferenceable(16) %1) #6
  %58 = extractvalue { ptr, i64 } %57, 0
  store ptr %58, ptr %5, align 8
  %59 = getelementptr inbounds i8, ptr %5, i64 8
  %60 = extractvalue { ptr, i64 } %57, 1
  store i64 %60, ptr %59, align 8
  %61 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br i1 %61, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %3
  %62 = getelementptr inbounds i8, ptr %6, i64 8
  %63 = getelementptr inbounds i8, ptr %7, i64 24
  %64 = getelementptr inbounds i8, ptr %0, i64 248
  %.sroa.245.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  %65 = getelementptr inbounds i8, ptr %18, i64 8
  %66 = getelementptr inbounds i8, ptr %34, i64 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 8
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %42, i64 8
  %67 = getelementptr inbounds i8, ptr %38, i64 4
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %44, i64 8
  %68 = getelementptr inbounds i8, ptr %38, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %46, i64 8
  %69 = getelementptr inbounds i8, ptr %38, i64 12
  %70 = getelementptr inbounds i8, ptr %22, i64 4
  %71 = getelementptr inbounds i8, ptr %22, i64 8
  %72 = getelementptr inbounds i8, ptr %22, i64 12
  %.sroa.241.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  %.sroa.235.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  %.sroa.231.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  %.sroa.227.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  %73 = getelementptr inbounds i8, ptr %0, i64 32
  %74 = getelementptr inbounds i8, ptr %0, i64 40
  br label %75

75:                                               ; preds = %.lr.ph, %172
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %76 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  %77 = extractvalue { ptr, i64 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i64 } %76, 1
  store i64 %78, ptr %62, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %7, i8 0, i64 20, i1 false)
  call void @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEC2Ev(ptr noundef nonnull align 4 dereferenceable(17) %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  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) #6
  %79 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  %.not = icmp eq i32 %79, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br i1 %.not, label %80, label %.thread111, !prof !5

.thread111:                                       ; preds = %75
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN8fastgltf6CameraD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %.loopexit

80:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  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.49) #6
  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) #6
  %81 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  %82 = icmp eq i32 %81, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br i1 %82, label %83, label %93

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %84 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %64) #6
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %84) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %85 unwind label %88

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %63, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %87 unwind label %90

87:                                               ; preds = %85
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %93

88:                                               ; preds = %83
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %92

90:                                               ; preds = %85
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  br label %92

92:                                               ; preds = %90, %88
  %.pn = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %178

93:                                               ; preds = %87, %80
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.38) #6
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %16, ptr noundef nonnull align 8 dereferenceable(20) %17) #6
  %94 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  %.not85 = icmp eq i32 %94, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  br i1 %.not85, label %95, label %.thread115, !prof !5

95:                                               ; preds = %93
  %.sroa.044.0.copyload = load i64, ptr %15, align 8, !tbaa !6
  %.sroa.245.0.copyload = load ptr, ptr %.sroa.245.0..sroa_idx, align 8, !tbaa !10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.70) #6
  %96 = load i64, ptr %18, align 8
  %97 = load ptr, ptr %65, align 8
  %98 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %.sroa.044.0.copyload, ptr %.sroa.245.0.copyload, i64 %96, ptr %97) #6
  br i1 %98, label %99, label %127

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #6
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.70) #6
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %20, ptr noundef nonnull align 8 dereferenceable(20) %21) #6
  %100 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %20, ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  %.not87 = icmp eq i32 %100, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  br i1 %.not87, label %101, label %.thread, !prof !5

.thread:                                          ; preds = %99
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  br label %.thread115

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %22) #6
  store float 0.000000e+00, ptr %70, align 4, !tbaa !12
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %71) #6
  store float 0.000000e+00, ptr %72, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull @.str.71) #6
  %102 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %25) #6
  %.fca.0.extract38 = extractvalue { double, i32 } %102, 0
  %.fca.1.extract39 = extractvalue { double, i32 } %102, 1
  store double %.fca.0.extract38, ptr %24, align 8
  store i32 %.fca.1.extract39, ptr %.sroa.241.0..sroa_idx, align 8
  %103 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %24, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  switch i32 %103, label %.thread101 [
    i32 0, label %104
    i32 20, label %.critedge
  ], !prof !17

104:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #6
  %105 = load double, ptr %23, align 8, !tbaa !18
  %106 = fptrunc double %105 to float
  store float %106, ptr %26, align 4, !tbaa !20
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  br label %.critedge

.critedge:                                        ; preds = %101, %104
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull @.str.72) #6
  %108 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %28) #6
  %.fca.0.extract32 = extractvalue { double, i32 } %108, 0
  %.fca.1.extract33 = extractvalue { double, i32 } %108, 1
  store double %.fca.0.extract32, ptr %27, align 8
  store i32 %.fca.1.extract33, ptr %.sroa.235.0..sroa_idx, align 8
  %109 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %27, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #6
  switch i32 %109, label %.thread101 [
    i32 0, label %110
    i32 20, label %.critedge96
  ], !prof !17

110:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %111 = load double, ptr %23, align 8, !tbaa !18
  %112 = fptrunc double %111 to float
  store float %112, ptr %29, align 4, !tbaa !20
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(4) %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  br label %.critedge96

.critedge96:                                      ; preds = %.critedge, %110
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #6
  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) %19, ptr noundef nonnull @.str.73) #6
  %114 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %31) #6
  %.fca.0.extract28 = extractvalue { double, i32 } %114, 0
  %.fca.1.extract29 = extractvalue { double, i32 } %114, 1
  store double %.fca.0.extract28, ptr %30, align 8
  store i32 %.fca.1.extract29, ptr %.sroa.231.0..sroa_idx, align 8
  %115 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %30, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %116 = icmp eq i32 %115, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  br i1 %116, label %117, label %.thread101, !prof !5

117:                                              ; preds = %.critedge96
  %118 = load double, ptr %23, align 8, !tbaa !18
  %119 = fptrunc double %118 to float
  store float %119, ptr %70, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %33, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull @.str.74) #6
  %120 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %33) #6
  %.fca.0.extract24 = extractvalue { double, i32 } %120, 0
  %.fca.1.extract25 = extractvalue { double, i32 } %120, 1
  store double %.fca.0.extract24, ptr %32, align 8
  store i32 %.fca.1.extract25, ptr %.sroa.227.0..sroa_idx, align 8
  %121 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %32, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %122 = icmp eq i32 %121, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  br i1 %122, label %123, label %.thread101, !prof !5

.thread101:                                       ; preds = %101, %.critedge, %.critedge96, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @_ZN8fastgltf6Camera11PerspectiveD2Ev(ptr noundef nonnull align 4 dereferenceable(16) %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  br label %.thread115

123:                                              ; preds = %117
  %124 = load double, ptr %23, align 8, !tbaa !18
  %125 = fptrunc double %124 to float
  store float %125, ptr %72, align 4, !tbaa !16
  %126 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS2_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17) %7, ptr noundef nonnull align 4 dereferenceable(16) %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @_ZN8fastgltf6Camera11PerspectiveD2Ev(ptr noundef nonnull align 4 dereferenceable(16) %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  br label %159

127:                                              ; preds = %95
  %.sroa.022.0.copyload = load i64, ptr %15, align 8, !tbaa !6
  %.sroa.223.0.copyload = load ptr, ptr %.sroa.245.0..sroa_idx, align 8, !tbaa !10
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef @.str.75) #6
  %128 = load i64, ptr %34, align 8
  %129 = load ptr, ptr %66, align 8
  %130 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcEEbSt17basic_string_viewIT_T0_ENSt15__type_identityIS5_E4typeE(i64 %.sroa.022.0.copyload, ptr %.sroa.223.0.copyload, i64 %128, ptr %129) #6
  br i1 %130, label %131, label %.thread115

131:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #6
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.75) #6
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %36, ptr noundef nonnull align 8 dereferenceable(20) %37) #6
  %132 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %36, ptr noundef nonnull align 8 dereferenceable(16) %35) #6
  %.not86 = icmp eq i32 %132, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #6
  br i1 %.not86, label %133, label %.thread104, !prof !5

.thread104:                                       ; preds = %131
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #6
  br label %.thread115

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %38, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %41, ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull @.str.76) #6
  %134 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %41) #6
  %.fca.0.extract18 = extractvalue { double, i32 } %134, 0
  %.fca.1.extract19 = extractvalue { double, i32 } %134, 1
  store double %.fca.0.extract18, ptr %40, align 8
  store i32 %.fca.1.extract19, ptr %.sroa.221.0..sroa_idx, align 8
  %135 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %40, ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  %136 = icmp eq i32 %135, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #6
  br i1 %136, label %137, label %.thread108, !prof !5

137:                                              ; preds = %133
  %138 = load double, ptr %39, align 8, !tbaa !18
  %139 = fptrunc double %138 to float
  store float %139, ptr %38, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %43, ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull @.str.77) #6
  %140 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %43) #6
  %.fca.0.extract14 = extractvalue { double, i32 } %140, 0
  %.fca.1.extract15 = extractvalue { double, i32 } %140, 1
  store double %.fca.0.extract14, ptr %42, align 8
  store i32 %.fca.1.extract15, ptr %.sroa.217.0..sroa_idx, align 8
  %141 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %42, ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  %142 = icmp eq i32 %141, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #6
  br i1 %142, label %143, label %.thread108, !prof !5

143:                                              ; preds = %137
  %144 = load double, ptr %39, align 8, !tbaa !18
  %145 = fptrunc double %144 to float
  store float %145, ptr %67, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %45, ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull @.str.72) #6
  %146 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %45) #6
  %.fca.0.extract10 = extractvalue { double, i32 } %146, 0
  %.fca.1.extract11 = extractvalue { double, i32 } %146, 1
  store double %.fca.0.extract10, ptr %44, align 8
  store i32 %.fca.1.extract11, ptr %.sroa.213.0..sroa_idx, align 8
  %147 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %44, ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  %148 = icmp eq i32 %147, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #6
  br i1 %148, label %149, label %.thread108, !prof !5

149:                                              ; preds = %143
  %150 = load double, ptr %39, align 8, !tbaa !18
  %151 = fptrunc double %150 to float
  store float %151, ptr %68, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %47) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %47, ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull @.str.74) #6
  %152 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %47) #6
  %.fca.0.extract = extractvalue { double, i32 } %152, 0
  %.fca.1.extract = extractvalue { double, i32 } %152, 1
  store double %.fca.0.extract, ptr %46, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %153 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %46, ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  %154 = icmp eq i32 %153, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #6
  br i1 %154, label %155, label %.thread108, !prof !5

.thread108:                                       ; preds = %133, %137, %143, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #6
  br label %.thread115

155:                                              ; preds = %149
  %156 = load double, ptr %39, align 8, !tbaa !18
  %157 = fptrunc double %156 to float
  store float %157, ptr %69, align 4, !tbaa !25
  %158 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS3_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17) %7, ptr noundef nonnull align 4 dereferenceable(16) %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #6
  br label %159

159:                                              ; preds = %155, %123
  %160 = load ptr, ptr %73, align 8, !tbaa !26
  %.not90 = icmp eq ptr %160, null
  br i1 %.not90, label %170, label %161

161:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %48) #6
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %50) #6
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %50, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.48) #6
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %49, ptr noundef nonnull align 8 dereferenceable(20) %50) #6
  %162 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %49, ptr noundef nonnull align 8 dereferenceable(16) %48) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #6
  switch i32 %162, label %169 [
    i32 0, label %163
    i32 20, label %.critedge98
  ]

163:                                              ; preds = %161
  %164 = load ptr, ptr %73, align 8, !tbaa !26
  %165 = call noundef i64 @_ZNKSt6vectorIN8fastgltf6CameraESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  %166 = load ptr, ptr %74, align 8, !tbaa !57
  invoke void %164(ptr noundef nonnull %48, i64 noundef %165, i32 noundef 128, ptr noundef %166)
          to label %.critedge98 unwind label %167

167:                                              ; preds = %163
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #6
  br label %177

.critedge98:                                      ; preds = %161, %163
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #6
  br label %170

169:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #6
  br label %.thread115

170:                                              ; preds = %.critedge98, %159
  %171 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorIN8fastgltf6CameraESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %172 unwind label %175

.thread115:                                       ; preds = %93, %127, %169, %.thread, %.thread101, %.thread104, %.thread108
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN8fastgltf6CameraD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %.loopexit

172:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN8fastgltf6CameraD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  %173 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  %174 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br i1 %174, label %75, label %.loopexit

175:                                              ; preds = %170
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %177

177:                                              ; preds = %175, %167
  %.pn92 = phi { ptr, i32 } [ %176, %175 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  br label %178

178:                                              ; preds = %177, %92
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %177 ], [ %.pn, %92 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN8fastgltf6CameraD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn92.pn

.loopexit:                                        ; preds = %172, %3, %.thread115, %.thread111
  %spec.select = phi i64 [ 5, %.thread111 ], [ 5, %.thread115 ], [ 0, %3 ], [ 0, %172 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  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 #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS2_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt7variantIJN8fastgltf6Camera11PerspectiveENS1_12OrthographicEEEaSIRS3_EENSt9enable_ifIXaaaa14__exactly_onceINSt9_Nth_typeIX16__accepted_indexIOT_EEJS2_S3_EE4typeEE18is_constructible_vISC_S9_E15is_assignable_vIRSC_S9_EERS4_E4typeESA_(ptr noundef nonnull align 4 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

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

!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, !15, i64 4}
!13 = !{!"_ZTSN8fastgltf6Camera11PerspectiveE", !14, i64 0, !15, i64 4, !14, i64 8, !15, i64 12}
!14 = !{!"_ZTSN8fastgltf21OptionalWithFlagValueIfEE", !8, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = !{!13, !15, i64 12}
!17 = !{!"branch_weights", i32 1, i32 4000, i32 1}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !8, i64 0}
!20 = !{!15, !15, i64 0}
!21 = !{!22, !15, i64 0}
!22 = !{!"_ZTSN8fastgltf6Camera12OrthographicE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!22, !15, i64 4}
!24 = !{!22, !15, i64 8}
!25 = !{!22, !15, i64 12}
!26 = !{!27, !11, i64 32}
!27 = !{!"_ZTSN8fastgltf6ParserE", !28, i64 0, !34, i64 8, !36, i64 56, !43, i64 248, !46, i64 264, !56, i64 304}
!28 = !{!"_ZTSSt10unique_ptrIN8simdjson3dom6parserESt14default_deleteIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_dataIN8simdjson3dom6parserESt14default_deleteIS2_ELb1ELb1EE", !30, i64 0}
!30 = !{!"_ZTSSt15__uniq_ptr_implIN8simdjson3dom6parserESt14default_deleteIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt5tupleIJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !32, i64 0}
!32 = !{!"_ZTSSt11_Tuple_implILm0EJPN8simdjson3dom6parserESt14default_deleteIS2_EEE", !33, i64 0}
!33 = !{!"_ZTSSt10_Head_baseILm0EPN8simdjson3dom6parserELb0EE", !11, i64 0}
!34 = !{!"_ZTSN8fastgltf20ParserInternalConfigE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !35, i64 40}
!35 = !{!"_ZTSN8fastgltf10ExtensionsE", !8, i64 0}
!36 = !{!"_ZTSSt7variantIJSt9monostateN8fastgltf7sources10BufferViewENS2_3URIENS2_5ArrayENS2_6VectorENS2_12CustomBufferENS2_8ByteViewENS2_8FallbackEEE", !37, i64 0}
!37 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !38, i64 0}
!38 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !39, i64 0}
!39 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !40, i64 0}
!40 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !41, i64 0}
!41 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !42, i64 0}
!42 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJSt9monostateN8fastgltf7sources10BufferViewENS4_3URIENS4_5ArrayENS4_6VectorENS4_12CustomBufferENS4_8ByteViewENS4_8FallbackEEEE", !8, i64 0, !8, i64 184}
!43 = !{!"_ZTSSt10shared_ptrIN8fastgltf19ChunkMemoryResourceEE", !44, i64 0}
!44 = !{!"_ZTSSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !45, i64 8}
!45 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0}
!46 = !{!"_ZTSNSt10filesystem7__cxx114pathE", !47, i64 0, !49, i64 32}
!47 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !48, i64 0, !7, i64 8, !8, i64 16}
!48 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!49 = !{!"_ZTSNSt10filesystem7__cxx114path5_ListE", !50, i64 0}
!50 = !{!"_ZTSSt10unique_ptrINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !51, i64 0}
!51 = !{!"_ZTSSt15__uniq_ptr_dataINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterELb1ELb1EE", !52, i64 0}
!52 = !{!"_ZTSSt15__uniq_ptr_implINSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEE", !53, i64 0}
!53 = !{!"_ZTSSt5tupleIJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !54, i64 0}
!54 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt10filesystem7__cxx114path5_List5_ImplENS3_13_Impl_deleterEEE", !55, i64 0}
!55 = !{!"_ZTSSt10_Head_baseILm0EPNSt10filesystem7__cxx114path5_List5_ImplELb0EE", !11, i64 0}
!56 = !{!"_ZTSN8fastgltf7OptionsE", !8, i64 0}
!57 = !{!27, !11, i64 40}


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