; 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.23" = type { %"struct.simdjson::internal::simdjson_result_base.base.28", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.28" = type { %"struct.std::pair.base.27" }
%"struct.std::pair.base.27" = type <{ %"class.simdjson::dom::array", i32 }>
%"class.simdjson::dom::array" = 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::Light" = type { i8, %"class.fastgltf::math::vec.264", float, %"class.fastgltf::OptionalWithFlagValue.260", %"class.fastgltf::OptionalWithFlagValue.260", %"class.fastgltf::OptionalWithFlagValue.260", %"class.std::__cxx11::basic_string.74" }
%"class.fastgltf::math::vec.264" = type { %"struct.std::array.265" }
%"struct.std::array.265" = type { [3 x float] }
%"class.fastgltf::OptionalWithFlagValue.260" = type { %union.anon.261 }
%union.anon.261 = type { 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.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 }

@_ZN8fastgltfL17crcStringFunctionE = external hidden global ptr, align 8
@.str.38 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE9get_arrayEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.23") 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_3dom5arrayEE3getERS3_(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 void @_ZNK8simdjson3dom5array2atEm(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.0") align 8, ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 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 #0 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 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 #0 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: 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 nounwind uwtable
declare dso_local void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 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)) #0 align 2

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

83:                                               ; preds = %291, %3
  %84 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br i1 %84, label %86, label %85

85:                                               ; preds = %83
  store i32 2, ptr %11, align 4
  br label %299

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %87 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  %88 = getelementptr inbounds %"class.simdjson::dom::element", ptr %12, i32 0, i32 0
  %89 = getelementptr inbounds { ptr, i64 }, ptr %88, i32 0, i32 0
  %90 = extractvalue { ptr, i64 } %87, 0
  store ptr %90, ptr %89, align 8
  %91 = getelementptr inbounds { ptr, i64 }, ptr %88, i32 0, i32 1
  %92 = extractvalue { ptr, i64 } %87, 1
  store i64 %92, ptr %91, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  call void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  %93 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %14, ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  %94 = icmp ne i32 %93, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  %95 = call i1 @llvm.expect.i1(i1 %94, i1 false)
  br i1 %95, label %96, label %97

96:                                               ; preds = %86
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %285

97:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 72, ptr %15) #7
  %98 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 0
  store i8 0, ptr %98, align 8, !tbaa !9
  %99 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 1
  call void @_ZN8fastgltf4math3vecIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %99) #7
  %100 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 2
  store float 0.000000e+00, ptr %100, align 8, !tbaa !20
  %101 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 3
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %101) #7
  %102 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 4
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %102) #7
  %103 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 5
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %103) #7
  %104 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %104) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.38) #7
  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) #7
  %105 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %17, ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  %106 = icmp eq i32 %105, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  %107 = call i1 @llvm.expect.i1(i1 %106, i1 true)
  br i1 %107, label %108, label %129

108:                                              ; preds = %97
  %109 = load ptr, ptr @_ZN8fastgltfL17crcStringFunctionE, align 8, !tbaa !5
  %110 = call noundef ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef %110) #7
  %111 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 0
  %112 = load i64, ptr %111, align 8
  %113 = getelementptr inbounds { i64, ptr }, ptr %19, i32 0, i32 1
  %114 = load ptr, ptr %113, align 8
  %115 = invoke noundef i32 %109(i64 %112, ptr %114)
          to label %116 unwind label %117

116:                                              ; preds = %108
  switch i32 %115, label %127 [
    i32 -668405739, label %121
    i32 1889638854, label %123
    i32 1231588738, label %125
  ]

117:                                              ; preds = %108
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %20, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %21, align 4
  br label %298

121:                                              ; preds = %116
  %122 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 0
  store i8 0, ptr %122, align 8, !tbaa !9
  br label %128

123:                                              ; preds = %116
  %124 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 0
  store i8 1, ptr %124, align 8, !tbaa !9
  br label %128

125:                                              ; preds = %116
  %126 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 0
  store i8 2, ptr %126, align 8, !tbaa !9
  br label %128

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

128:                                              ; preds = %125, %123, %121
  br label %130

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

130:                                              ; preds = %128
  %131 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 0
  %132 = load i8, ptr %131, align 8, !tbaa !9
  %133 = icmp eq i8 %132, 1
  br i1 %133, label %134, label %189

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %24, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.81) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result") align 8 %23, ptr noundef nonnull align 8 dereferenceable(20) %24) #7
  %135 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %23, ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  %136 = icmp ne i32 %135, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  %137 = call i1 @llvm.expect.i1(i1 %136, i1 false)
  br i1 %137, label %138, label %139

138:                                              ; preds = %134
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %186

139:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str.82) #7
  %140 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %28) #7
  store { double, i32 } %140, ptr %29, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %29, i64 12, i1 false)
  %141 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %27, ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  store i32 %141, ptr %26, align 4, !tbaa !21
  %142 = load i32, ptr %26, align 4, !tbaa !21
  %143 = icmp eq i32 %142, 0
  %144 = call i1 @llvm.expect.i1(i1 %143, i1 true)
  br i1 %144, label %145, label %150

145:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %146 = load double, ptr %25, align 8, !tbaa !23
  %147 = fptrunc double %146 to float
  store float %147, ptr %30, align 4, !tbaa !25
  %148 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 4
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %148, ptr noundef nonnull align 4 dereferenceable(4) %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %158

150:                                              ; preds = %139
  %151 = load i32, ptr %26, align 4, !tbaa !21
  %152 = icmp eq i32 %151, 20
  br i1 %152, label %153, label %156

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store float 0.000000e+00, ptr %31, align 4, !tbaa !25
  %154 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 4
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %154, ptr noundef nonnull align 4 dereferenceable(4) %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %157

156:                                              ; preds = %150
  store i64 5, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %159

157:                                              ; preds = %153
  br label %158

158:                                              ; preds = %157, %145
  store i32 0, ptr %11, align 4
  br label %159

159:                                              ; preds = %158, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  %160 = load i32, ptr %11, align 4
  switch i32 %160, label %185 [
    i32 0, label %161
  ]

161:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %35, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef @.str.83) #7
  %162 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %35) #7
  store { double, i32 } %162, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %36, i64 12, i1 false)
  %163 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %34, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  store i32 %163, ptr %33, align 4, !tbaa !21
  %164 = load i32, ptr %33, align 4, !tbaa !21
  %165 = icmp eq i32 %164, 0
  %166 = call i1 @llvm.expect.i1(i1 %165, i1 true)
  br i1 %166, label %167, label %172

167:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %168 = load double, ptr %32, align 8, !tbaa !23
  %169 = fptrunc double %168 to float
  store float %169, ptr %37, align 4, !tbaa !25
  %170 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 5
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %170, ptr noundef nonnull align 4 dereferenceable(4) %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %180

172:                                              ; preds = %161
  %173 = load i32, ptr %33, align 4, !tbaa !21
  %174 = icmp eq i32 %173, 20
  br i1 %174, label %175, label %178

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store float 0x3FE921FB60000000, ptr %38, align 4, !tbaa !25
  %176 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 5
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %176, ptr noundef nonnull align 4 dereferenceable(4) %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %179

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

179:                                              ; preds = %175
  br label %180

180:                                              ; preds = %179, %167
  store i32 0, ptr %11, align 4
  br label %181

181:                                              ; preds = %180, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  %182 = load i32, ptr %11, align 4
  switch i32 %182, label %184 [
    i32 0, label %183
  ]

183:                                              ; preds = %181
  store i32 0, ptr %11, align 4
  br label %184

184:                                              ; preds = %183, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %185

185:                                              ; preds = %184, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %186

186:                                              ; preds = %185, %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  %187 = load i32, ptr %11, align 4
  switch i32 %187, label %284 [
    i32 0, label %188
  ]

188:                                              ; preds = %186
  br label %189

189:                                              ; preds = %188, %130
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  call void @_ZN8simdjson3dom5arrayC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %42, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.84) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE9get_arrayEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.23") align 8 %41, ptr noundef nonnull align 8 dereferenceable(20) %42) #7
  %190 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom5arrayEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %41, ptr noundef nonnull align 8 dereferenceable(16) %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #7
  store i32 %190, ptr %40, align 4, !tbaa !21
  %191 = load i32, ptr %40, align 4, !tbaa !21
  %192 = icmp eq i32 %191, 0
  %193 = call i1 @llvm.expect.i1(i1 %192, i1 true)
  br i1 %193, label %194, label %227

194:                                              ; preds = %189
  %195 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %39) #7
  %196 = icmp ne i64 %195, 3
  br i1 %196, label %197, label %198

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

198:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  store i64 0, ptr %43, align 8, !tbaa !26
  br label %199

199:                                              ; preds = %221, %198
  %200 = load i64, ptr %43, align 8, !tbaa !26
  %201 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %39) #7
  %202 = icmp ult i64 %200, %201
  br i1 %202, label %204, label %203

203:                                              ; preds = %199
  store i32 5, ptr %11, align 4
  br label %224

204:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #7
  %205 = load i64, ptr %43, align 8, !tbaa !26
  call void @_ZNK8simdjson3dom5array2atEm(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %46, ptr noundef nonnull align 8 dereferenceable(16) %39, i64 noundef %205) #7
  %206 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %46) #7
  store { double, i32 } %206, ptr %47, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %47, i64 12, i1 false)
  %207 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %45, ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  %208 = icmp eq i32 %207, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  %209 = call i1 @llvm.expect.i1(i1 %208, i1 true)
  br i1 %209, label %210, label %216

210:                                              ; preds = %204
  %211 = load double, ptr %44, align 8, !tbaa !23
  %212 = fptrunc double %211 to float
  %213 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 1
  %214 = load i64, ptr %43, align 8, !tbaa !26
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf4math3vecIfLm3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %213, i64 noundef %214) #7
  store float %212, ptr %215, align 4, !tbaa !25
  br label %217

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

217:                                              ; preds = %210
  store i32 0, ptr %11, align 4
  br label %218

218:                                              ; preds = %217, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  %219 = load i32, ptr %11, align 4
  switch i32 %219, label %224 [
    i32 0, label %220
  ]

220:                                              ; preds = %218
  br label %221

221:                                              ; preds = %220
  %222 = load i64, ptr %43, align 8, !tbaa !26
  %223 = add i64 %222, 1
  store i64 %223, ptr %43, align 8, !tbaa !26
  br label %199, !llvm.loop !27

224:                                              ; preds = %218, %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  %225 = load i32, ptr %11, align 4
  switch i32 %225, label %236 [
    i32 5, label %226
  ]

226:                                              ; preds = %224
  br label %235

227:                                              ; preds = %189
  %228 = load i32, ptr %40, align 4, !tbaa !21
  %229 = icmp eq i32 %228, 20
  br i1 %229, label %230, label %233

230:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 12, ptr %48) #7
  call void @_ZN8fastgltf4math3vecIfLm3EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %48, float noundef 1.000000e+00) #7
  %231 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 1
  %232 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8fastgltf4math3vecIfLm3EEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %231, ptr noundef nonnull align 4 dereferenceable(12) %48) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %48) #7
  br label %234

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

234:                                              ; preds = %230
  br label %235

235:                                              ; preds = %234, %226
  store i32 0, ptr %11, align 4
  br label %236

236:                                              ; preds = %235, %233, %224, %197
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  %237 = load i32, ptr %11, align 4
  switch i32 %237, label %283 [
    i32 0, label %238
  ]

238:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %51, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.85) #7
  %239 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %51) #7
  store { double, i32 } %239, ptr %52, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 8 %52, i64 12, i1 false)
  %240 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %50, ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  %241 = icmp eq i32 %240, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #7
  %242 = call i1 @llvm.expect.i1(i1 %241, i1 true)
  br i1 %242, label %243, label %247

243:                                              ; preds = %238
  %244 = load double, ptr %49, align 8, !tbaa !23
  %245 = fptrunc double %244 to float
  %246 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 2
  store float %245, ptr %246, align 8, !tbaa !20
  br label %249

247:                                              ; preds = %238
  %248 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 2
  store float 0.000000e+00, ptr %248, align 8, !tbaa !20
  br label %249

249:                                              ; preds = %247, %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %55, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.86) #7
  %250 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %55) #7
  store { double, i32 } %250, ptr %56, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 8 %56, i64 12, i1 false)
  %251 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %54, ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  %252 = icmp eq i32 %251, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #7
  %253 = call i1 @llvm.expect.i1(i1 %252, i1 true)
  br i1 %253, label %254, label %259

254:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #7
  %255 = load double, ptr %53, align 8, !tbaa !23
  %256 = fptrunc double %255 to float
  store float %256, ptr %57, align 4, !tbaa !25
  %257 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 3
  %258 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %257, ptr noundef nonnull align 4 dereferenceable(4) %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  br label %259

259:                                              ; preds = %254, %249
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #7
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %58) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #7
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.0") align 8 %60, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.49) #7
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind writable sret(%"struct.simdjson::simdjson_result.409") align 8 %59, ptr noundef nonnull align 8 dereferenceable(20) %60) #7
  %260 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %59, ptr noundef nonnull align 8 dereferenceable(16) %58) #7
  %261 = icmp eq i32 %260, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #7
  br i1 %261, label %262, label %278

262:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 40, ptr %61) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #7
  %263 = getelementptr inbounds %"class.fastgltf::Parser", ptr %63, i32 0, i32 3
  %264 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %263) #7
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef %264) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 8 dereferenceable(8) %62)
          to label %265 unwind label %269

265:                                              ; preds = %262
  %266 = getelementptr inbounds %"struct.fastgltf::Light", ptr %15, i32 0, i32 6
  %267 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(40) %266, ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %268 unwind label %273

268:                                              ; preds = %265
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %61) #7
  br label %278

269:                                              ; preds = %262
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %20, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %21, align 4
  br label %277

273:                                              ; preds = %265
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %20, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #7
  br label %277

277:                                              ; preds = %273, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %61) #7
  br label %297

278:                                              ; preds = %268, %259
  %279 = load ptr, ptr %7, align 8, !tbaa !5
  %280 = getelementptr inbounds %"class.fastgltf::Asset", ptr %279, i32 0, i32 11
  %281 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN8fastgltf5LightESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %280, ptr noundef nonnull align 8 dereferenceable(72) %15)
          to label %282 unwind label %293

282:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  store i32 0, ptr %11, align 4
  br label %283

283:                                              ; preds = %282, %236
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  br label %284

284:                                              ; preds = %283, %186, %129, %127
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @_ZN8fastgltf5LightD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #7
  br label %285

285:                                              ; preds = %284, %96
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  %286 = load i32, ptr %11, align 4
  switch i32 %286, label %288 [
    i32 0, label %287
  ]

287:                                              ; preds = %285
  store i32 0, ptr %11, align 4
  br label %288

288:                                              ; preds = %287, %285
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %289 = load i32, ptr %11, align 4
  switch i32 %289, label %299 [
    i32 0, label %290
  ]

290:                                              ; preds = %288
  br label %291

291:                                              ; preds = %290
  %292 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %83

293:                                              ; preds = %278
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %20, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %21, align 4
  br label %297

297:                                              ; preds = %293, %277
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  br label %298

298:                                              ; preds = %297, %117
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @_ZN8fastgltf5LightD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %304

299:                                              ; preds = %288, %85
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %300 = load i32, ptr %11, align 4
  switch i32 %300, label %309 [
    i32 2, label %301
    i32 1, label %302
  ]

301:                                              ; preds = %299
  store i64 0, ptr %4, align 8
  br label %302

302:                                              ; preds = %301, %299
  %303 = load i64, ptr %4, align 8
  ret i64 %303

304:                                              ; preds = %298
  %305 = load ptr, ptr %20, align 8
  %306 = load i32, ptr %21, align 4
  %307 = insertvalue { ptr, i32 } poison, ptr %305, 0
  %308 = insertvalue { ptr, i32 } %307, i32 %306, 1
  resume { ptr, i32 } %308

309:                                              ; preds = %299
  unreachable
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf4math3vecIfLm3EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #0 align 2

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN8fastgltf5LightE", !11, i64 0, !12, i64 4, !14, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !16, i64 32}
!11 = !{!"_ZTSN8fastgltf9LightTypeE", !7, i64 0}
!12 = !{!"_ZTSN8fastgltf4math3vecIfLm3EEE", !13, i64 0}
!13 = !{!"_ZTSSt5arrayIfLm3EE", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTSN8fastgltf21OptionalWithFlagValueIfEE", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEE", !17, i64 0, !19, i64 16, !7, i64 24}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEE12_Alloc_hiderE", !18, i64 0, !6, i64 8}
!18 = !{!"_ZTSNSt3pmr21polymorphic_allocatorIcEE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!10, !14, i64 16}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTSN8simdjson10error_codeE", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !7, i64 0}
!25 = !{!14, !14, i64 0}
!26 = !{!19, !19, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


; 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.23" = type { %"struct.simdjson::internal::simdjson_result_base.base.28", [4 x i8] }
%"struct.simdjson::internal::simdjson_result_base.base.28" = type { %"struct.std::pair.base.27" }
%"struct.std::pair.base.27" = type <{ %"class.simdjson::dom::array", i32 }>
%"class.simdjson::dom::array" = 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::Light" = type { i8, %"class.fastgltf::math::vec.264", float, %"class.fastgltf::OptionalWithFlagValue.260", %"class.fastgltf::OptionalWithFlagValue.260", %"class.fastgltf::OptionalWithFlagValue.260", %"class.std::__cxx11::basic_string.74" }
%"class.fastgltf::math::vec.264" = type { %"struct.std::array.265" }
%"struct.std::array.265" = type { [3 x float] }
%"class.fastgltf::OptionalWithFlagValue.260" = type { %union.anon.261 }
%union.anon.261 = type { 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.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 }>

@_ZN8fastgltfL17crcStringFunctionE = external hidden local_unnamed_addr global ptr, align 8
@.str.38 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE9get_arrayEv(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.23") 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_3dom5arrayEE3getERS3_(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 @_ZNK8simdjson3dom5array2atEm(ptr dead_on_unwind noalias writable sret(%"struct.simdjson::simdjson_result.0") align 8, ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #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 #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 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 #0 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 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 #0 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: 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 nounwind uwtable
declare dso_local void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 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 #0 align 2

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

.lr.ph112:                                        ; preds = %3
  %57 = getelementptr inbounds i8, ptr %6, i64 8
  %58 = getelementptr inbounds i8, ptr %9, i64 4
  %59 = getelementptr inbounds i8, ptr %9, i64 16
  %60 = getelementptr inbounds i8, ptr %9, i64 20
  %61 = getelementptr inbounds i8, ptr %9, i64 24
  %62 = getelementptr inbounds i8, ptr %9, i64 28
  %63 = getelementptr inbounds i8, ptr %9, i64 32
  %64 = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.231.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 8
  %65 = getelementptr inbounds i8, ptr %0, i64 248
  br label %66

66:                                               ; preds = %.lr.ph112, %148
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %67 = call { ptr, i64 } @_ZNK8simdjson3dom5array8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  %68 = extractvalue { ptr, i64 } %67, 0
  store ptr %68, ptr %6, align 8
  %69 = extractvalue { ptr, i64 } %67, 1
  store i64 %69, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNK8simdjson3dom7element10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  %70 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %8, ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  %.not = icmp eq i32 %70, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br i1 %.not, label %71, label %.thread98, !prof !5

.thread98:                                        ; preds = %66
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %.loopexit108

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %9) #5
  store i8 0, ptr %9, align 8, !tbaa !6
  call void @_ZN8fastgltf4math3vecIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %58) #5
  store float 0.000000e+00, ptr %59, align 8, !tbaa !20
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %60) #5
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %61) #5
  call void @_ZN8fastgltf21OptionalWithFlagValueIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %62) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  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) %7, ptr noundef nonnull @.str.38) #5
  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) #5
  %72 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  %73 = icmp eq i32 %72, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br i1 %73, label %74, label %.thread102, !prof !5

74:                                               ; preds = %71
  %75 = load ptr, ptr @_ZN8fastgltfL17crcStringFunctionE, align 8, !tbaa !21
  %76 = call noundef ptr @_ZNKSt17basic_string_viewIcSt11char_traitsIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %76) #5
  %77 = load i64, ptr %13, align 8
  %78 = load ptr, ptr %64, align 8
  %79 = invoke noundef i32 %75(i64 %77, ptr %78)
          to label %80 unwind label %81

80:                                               ; preds = %74
  switch i32 %79, label %.thread102 [
    i32 -668405739, label %83
    i32 1889638854, label %85
    i32 1231588738, label %84
  ]

81:                                               ; preds = %74
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %154

83:                                               ; preds = %80
  store i8 0, ptr %9, align 8, !tbaa !6
  br label %.thread

84:                                               ; preds = %80
  store i8 2, ptr %9, align 8, !tbaa !6
  br label %.thread

85:                                               ; preds = %80
  store i8 1, ptr %9, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  call void @_ZN8simdjson3dom6objectC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #5
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull @.str.81) #5
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_objectEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result") align 8 %15, ptr noundef nonnull align 8 dereferenceable(20) %16) #5
  %86 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom6objectEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %15, ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  %.not73 = icmp eq i32 %86, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  br i1 %.not73, label %87, label %.thread82, !prof !5

.thread82:                                        ; preds = %85
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %.thread102

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #5
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull @.str.82) #5
  %88 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %19) #5
  %.fca.0.extract28 = extractvalue { double, i32 } %88, 0
  %.fca.1.extract29 = extractvalue { double, i32 } %88, 1
  store double %.fca.0.extract28, ptr %18, align 8
  store i32 %.fca.1.extract29, ptr %.sroa.231.0..sroa_idx, align 8
  %89 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %18, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  switch i32 %89, label %.thread85 [
    i32 0, label %90
    i32 20, label %94
  ], !prof !22

.thread85:                                        ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %.thread102

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  %91 = load double, ptr %17, align 8, !tbaa !23
  %92 = fptrunc double %91 to float
  store float %92, ptr %20, align 4, !tbaa !25
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  br label %96

94:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  store float 0.000000e+00, ptr %21, align 4, !tbaa !25
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  br label %96

96:                                               ; preds = %94, %90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #5
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %24, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull @.str.83) #5
  %97 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %24) #5
  %.fca.0.extract22 = extractvalue { double, i32 } %97, 0
  %.fca.1.extract23 = extractvalue { double, i32 } %97, 1
  store double %.fca.0.extract22, ptr %23, align 8
  store i32 %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  %98 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %23, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  switch i32 %98, label %105 [
    i32 0, label %99
    i32 20, label %103
  ], !prof !22

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #5
  %100 = load double, ptr %22, align 8, !tbaa !23
  %101 = fptrunc double %100 to float
  store float %101, ptr %25, align 4, !tbaa !25
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #5
  br label %.thread89

103:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #5
  store float 0x3FE921FB60000000, ptr %26, align 4, !tbaa !25
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #5
  br label %.thread89

.thread89:                                        ; preds = %103, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %.thread

105:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %.thread102

.thread:                                          ; preds = %84, %83, %.thread89
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #5
  call void @_ZN8simdjson3dom5arrayC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #5
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull @.str.84) #5
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE9get_arrayEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.23") align 8 %28, ptr noundef nonnull align 8 dereferenceable(20) %29) #5
  %106 = call noundef i32 @_ZNO8simdjson8internal20simdjson_result_baseINS_3dom5arrayEE3getERS3_(ptr noundef nonnull align 8 dereferenceable(20) %28, ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #5
  switch i32 %106, label %.loopexit109 [
    i32 0, label %107
    i32 20, label %119
  ], !prof !22

107:                                              ; preds = %.thread
  %108 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  %.not74 = icmp eq i64 %108, 3
  br i1 %.not74, label %.preheader, label %.loopexit109

.preheader:                                       ; preds = %107
  %109 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  %.not75110.not = icmp eq i64 %109, 0
  br i1 %.not75110.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %113
  %.069111 = phi i64 [ %117, %113 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #5
  call void @_ZNK8simdjson3dom5array2atEm(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %32, ptr noundef nonnull align 8 dereferenceable(16) %27, i64 noundef %.069111) #5
  %110 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %32) #5
  %.fca.0.extract13 = extractvalue { double, i32 } %110, 0
  %.fca.1.extract14 = extractvalue { double, i32 } %110, 1
  store double %.fca.0.extract13, ptr %31, align 8
  store i32 %.fca.1.extract14, ptr %.sroa.216.0..sroa_idx, align 8
  %111 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %31, ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  %112 = icmp eq i32 %111, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #5
  br i1 %112, label %113, label %.thread92, !prof !5

113:                                              ; preds = %.lr.ph
  %114 = load double, ptr %30, align 8, !tbaa !23
  %115 = fptrunc double %114 to float
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf4math3vecIfLm3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %58, i64 noundef %.069111) #5
  store float %115, ptr %116, align 4, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #5
  %117 = add nuw i64 %.069111, 1
  %118 = call noundef i64 @_ZNK8simdjson3dom5array4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  %.not75 = icmp ult i64 %117, %118
  br i1 %.not75, label %.lr.ph, label %.loopexit, !llvm.loop !26

.thread92:                                        ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #5
  br label %.loopexit109

119:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #5
  call void @_ZN8fastgltf4math3vecIfLm3EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef 1.000000e+00) #5
  %120 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8fastgltf4math3vecIfLm3EEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %58, ptr noundef nonnull align 4 dereferenceable(12) %33) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #5
  br label %.loopexit

.loopexit:                                        ; preds = %113, %.preheader, %119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #5
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %36, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull @.str.85) #5
  %121 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %36) #5
  %.fca.0.extract9 = extractvalue { double, i32 } %121, 0
  %.fca.1.extract10 = extractvalue { double, i32 } %121, 1
  store double %.fca.0.extract9, ptr %35, align 8
  store i32 %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  %122 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %35, ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %123 = icmp eq i32 %122, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #5
  %124 = load double, ptr %34, align 8
  %125 = fptrunc double %124 to float
  %storemerge = select i1 %123, float %125, float 0.000000e+00, !prof !5
  store float %storemerge, ptr %59, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #5
  call void @_ZNK8simdjson3dom6objectixEPKc(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.0") align 8 %39, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull @.str.86) #5
  %126 = call { double, i32 } @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_doubleEv(ptr noundef nonnull align 8 dereferenceable(20) %39) #5
  %.fca.0.extract = extractvalue { double, i32 } %126, 0
  %.fca.1.extract = extractvalue { double, i32 } %126, 1
  store double %.fca.0.extract, ptr %38, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %127 = call noundef i32 @_ZNO8simdjson15simdjson_resultIdE3getERd(ptr noundef nonnull align 8 dereferenceable(12) %38, ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  %128 = icmp eq i32 %127, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #5
  br i1 %128, label %129, label %133, !prof !5

129:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #5
  %130 = load double, ptr %37, align 8, !tbaa !23
  %131 = fptrunc double %130 to float
  store float %131, ptr %40, align 4, !tbaa !25
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8fastgltf21OptionalWithFlagValueIfEaSIfTnNSt9enable_ifIXsr3stdE18is_constructible_vIfOT_EEiE4typeELi0EEERS1_S5_(ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #5
  br label %133

133:                                              ; preds = %129, %.loopexit
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %42) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #5
  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) %7, ptr noundef nonnull @.str.49) #5
  call void @_ZNK8simdjson15simdjson_resultINS_3dom7elementEE10get_stringEv(ptr dead_on_unwind nonnull writable sret(%"struct.simdjson::simdjson_result.409") align 8 %42, ptr noundef nonnull align 8 dereferenceable(20) %43) #5
  %134 = call noundef i32 @_ZNO8simdjson15simdjson_resultISt17basic_string_viewIcSt11char_traitsIcEEE3getERS4_(ptr noundef nonnull align 8 dereferenceable(20) %42, ptr noundef nonnull align 8 dereferenceable(16) %41) #5
  %135 = icmp eq i32 %134, 0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %42) #5
  br i1 %135, label %136, label %146

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #5
  %137 = call noundef ptr @_ZNKSt12__shared_ptrIN8fastgltf19ChunkMemoryResourceELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %65) #5
  call void @_ZNSt3pmr21polymorphic_allocatorIcEC2EPNS_15memory_resourceE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef %137) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEC2ISt17basic_string_viewIcS2_EvEERKT_RKS5_(ptr noundef nonnull align 8 dereferenceable(40) %44, ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %138 unwind label %141

138:                                              ; preds = %136
  %139 = 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) %44)
          to label %140 unwind label %143

140:                                              ; preds = %138
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %44) #5
  br label %146

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

143:                                              ; preds = %138
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %44) #5
  br label %145

145:                                              ; preds = %143, %141
  %.pn = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %44) #5
  br label %153

146:                                              ; preds = %140, %133
  %147 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN8fastgltf5LightESaIS1_EE12emplace_backIJS1_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(72) %9)
          to label %148 unwind label %151

.thread102:                                       ; preds = %80, %71, %105, %.thread82, %.thread85
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN8fastgltf5LightD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %.loopexit108

.loopexit109:                                     ; preds = %107, %.thread, %.thread92
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN8fastgltf5LightD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %.loopexit108

148:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN8fastgltf5LightD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %149 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8simdjson3dom5array8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  %150 = call noundef zeroext i1 @_ZNK8simdjson3dom5array8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  br i1 %150, label %66, label %.loopexit108

151:                                              ; preds = %146
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %153

153:                                              ; preds = %151, %145
  %.pn77 = phi { ptr, i32 } [ %152, %151 ], [ %.pn, %145 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  br label %154

154:                                              ; preds = %153, %81
  %.pn77.pn = phi { ptr, i32 } [ %.pn77, %153 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN8fastgltf5LightD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn77.pn

.loopexit108:                                     ; preds = %148, %3, %.loopexit109, %.thread102, %.thread98
  %spec.select = phi i64 [ 5, %.loopexit109 ], [ 5, %.thread98 ], [ 5, %.thread102 ], [ 0, %3 ], [ 0, %148 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret i64 %spec.select
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN8fastgltf5LightESaIS1_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 @_ZN8fastgltf4math3vecIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8fastgltf4math3vecIfLm3EEC2Ef(ptr noundef nonnull align 4 dereferenceable(12), float noundef) unnamed_addr #0 align 2

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

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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, !8, i64 0}
!7 = !{!"_ZTSN8fastgltf5LightE", !8, i64 0, !11, i64 4, !13, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !15, i64 32}
!8 = !{!"_ZTSN8fastgltf9LightTypeE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN8fastgltf4math3vecIfLm3EEE", !12, i64 0}
!12 = !{!"_ZTSSt5arrayIfLm3EE", !9, i64 0}
!13 = !{!"float", !9, i64 0}
!14 = !{!"_ZTSN8fastgltf21OptionalWithFlagValueIfEE", !9, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEEE", !16, i64 0, !19, i64 16, !9, i64 24}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcENSt3pmr21polymorphic_allocatorIcEEE12_Alloc_hiderE", !17, i64 0, !18, i64 8}
!17 = !{!"_ZTSNSt3pmr21polymorphic_allocatorIcEE", !18, i64 0}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!7, !13, i64 16}
!21 = !{!18, !18, i64 0}
!22 = !{!"branch_weights", i32 1, i32 4000, i32 1}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !9, i64 0}
!25 = !{!13, !13, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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