; LLVM IR from Try/Tempest :: Engine/thirdparty/spirv_cross (spirv_msl)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.spirv_cross::SmallVector.615" = type { %"class.spirv_cross::VectorView.616", i64, %"class.spirv_cross::AlignedBuffer.617" }
%"class.spirv_cross::VectorView.616" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.617" = type { [512 x i8] }
%"class.spirv_cross::SmallVector.92" = type { %"class.spirv_cross::VectorView.93", i64, %"class.spirv_cross::AlignedBuffer.94" }
%"class.spirv_cross::VectorView.93" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.94" = type { [32 x i8] }
%class.anon.618 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.spirv_cross::SPIRType" = type { %"struct.spirv_cross::IVariant.base", i32, i32, i32, i32, i32, %"class.spirv_cross::SmallVector.92", %"class.spirv_cross::SmallVector.416", i32, i8, i8, i32, %"class.spirv_cross::SmallVector.227", %"class.spirv_cross::SmallVector.92", %"struct.spirv_cross::SPIRType::ImageType", %"class.spirv_cross::TypedID.414", %"class.spirv_cross::TypedID.414", %"class.std::unordered_set.165" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.413" }>
%"class.spirv_cross::TypedID.413" = type { i32 }
%"class.spirv_cross::SmallVector.416" = type { %"class.spirv_cross::VectorView.417", i64, %"class.spirv_cross::AlignedBuffer.418" }
%"class.spirv_cross::VectorView.417" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.418" = type { [8 x i8] }
%"class.spirv_cross::SmallVector.227" = type { %"class.spirv_cross::VectorView.228", i64, %"class.spirv_cross::AlignedBuffer.229" }
%"class.spirv_cross::VectorView.228" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.229" = type { [32 x i8] }
%"struct.spirv_cross::SPIRType::ImageType" = type { %"class.spirv_cross::TypedID.414", i32, i8, i8, i8, i32, i32, i32 }
%"class.spirv_cross::TypedID.414" = type { i32 }
%"class.std::unordered_set.165" = type { %"class.std::_Hashtable.166" }
%"class.std::_Hashtable.166" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::allocator.71" = type { i8 }
%struct.Resource.619 = type <{ ptr, %"class.std::__cxx11::basic_string", i32, i32, i32, i32, i32, [4 x i8] }>
%class.anon.620 = type { i8 }
%"struct.spirv_cross::MSLResourceBinding" = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%"struct.spirv_cross::SetBindingPair" = type { i32, i32 }
%"class.std::function.489" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.622 = type { ptr, %struct.Resource.619 }
%class.anon.623 = type { ptr, %struct.Resource.619 }
%"struct.std::pair.444" = type <{ %"struct.std::__detail::_Node_iterator.446", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator.446" = type { %"struct.std::__detail::_Node_iterator_base.447" }
%"struct.std::__detail::_Node_iterator_base.447" = type { ptr }
%class.anon.624 = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.spirv_cross::CompilerMSL" = type <{ %"class.spirv_cross::CompilerGLSL", %"class.std::unordered_map.277", i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8], %"struct.spirv_cross::CompilerMSL::Options", %"class.std::set", %"class.std::map", %"class.std::unordered_map.299", %"class.std::map", %"class.std::unordered_map.299", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_map.213", %"class.std::unordered_map.213", %"class.std::unordered_map.213", %"class.std::set.313", %"class.std::set.313", %"class.spirv_cross::SmallVector.92", %"class.std::unordered_map.319", %"class.std::unordered_map.336", i32, i32, i32, [8 x i32], %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::TypedID.350", i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::map.351", %"class.std::unordered_map.357", %"class.std::unordered_set", %"class.spirv_cross::SmallVector.374", %"class.spirv_cross::SmallVector.92", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.spirv_cross::SmallVector.377", %"class.std::map.380", %"class.spirv_cross::SmallVector.92", %"class.std::unordered_set.386", [8 x i32], i32, i32, i8, i8, [6 x i8] }>
%"class.spirv_cross::CompilerGLSL" = type { %"class.spirv_cross::Compiler", ptr, %"class.spirv_cross::SmallVector.159", i8, %"class.spirv_cross::StringStream", ptr, ptr, i8, i8, %"struct.spirv_cross::CompilerGLSL::Options", %"class.std::unordered_set.165", %"class.std::unordered_set.165", %"class.std::unordered_set.165", %"class.std::unordered_set.165", %"class.std::unordered_set.165", %"class.std::unordered_set.165", %"class.std::unordered_set.165", %"class.std::unordered_map.185", %"class.std::unordered_map.145", i8, [7 x i8], %"struct.spirv_cross::CompilerGLSL::BackendVariations", i32, %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_map.199", %"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper", %"class.std::unordered_map.213", %"class.spirv_cross::SmallVector.27", %"class.spirv_cross::SmallVector.27", %"class.std::unordered_map.213", %"class.spirv_cross::SmallVector.227", i32, i32, i32, i8, i8, %"class.std::vector.230", %"class.std::vector.230", %"class.std::vector.235", %"class.std::vector.240", %"class.std::unordered_map.213", %"class.std::unordered_set", %"class.std::unordered_set", i8, %"class.std::unordered_set.245", %"class.std::unordered_set", ptr, %"class.std::unordered_map.263" }
%"class.spirv_cross::Compiler" = type { ptr, %"class.spirv_cross::ParsedIR", %"class.spirv_cross::SmallVector.92", %"class.spirv_cross::SmallVector.92", ptr, ptr, i32, %"class.std::unordered_set.95", i8, %"class.std::unordered_set", i8, i8, %"class.spirv_cross::SmallVector.114", %"class.spirv_cross::SmallVector.92", %"class.std::function", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.std::unordered_set", %"class.spirv_cross::Bitset", %"class.spirv_cross::Bitset", i32, i32, i8, %"class.std::unordered_set", i8, i8, i32, %"class.std::unordered_map.117", %"class.spirv_cross::SmallVector.92", %"class.std::unordered_map.131", %"class.std::unordered_set", i8, %"class.std::unordered_map.145" }
%"class.spirv_cross::ParsedIR" = type { %"class.std::unique_ptr", %"class.std::vector", %"class.spirv_cross::SmallVector", %"class.std::unordered_map", [14 x %"class.spirv_cross::SmallVector.7"], %"class.spirv_cross::SmallVector.7", %"class.spirv_cross::SmallVector.7", %"class.std::unordered_map.10", %"class.spirv_cross::SmallVector.24", %"class.spirv_cross::SmallVector.27", %"class.spirv_cross::SmallVector.30", %"class.std::unordered_map.33", %"class.std::unordered_map.52", %"class.spirv_cross::TypedID", %"struct.spirv_cross::ParsedIR::Source", i32, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.spirv_cross::Bitset", %"class.std::unordered_set" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.spirv_cross::SmallVector" = type { %"class.spirv_cross::VectorView", i64, %"class.spirv_cross::AlignedBuffer" }
%"class.spirv_cross::VectorView" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer" = type { [192 x i8] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.7" = type { %"class.spirv_cross::VectorView.8", i64, %"class.spirv_cross::AlignedBuffer.9" }
%"class.spirv_cross::VectorView.8" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.9" = type { [32 x i8] }
%"class.std::unordered_map.10" = type { %"class.std::_Hashtable.11" }
%"class.std::_Hashtable.11" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.24" = type { %"class.spirv_cross::VectorView.25", i64, %"class.spirv_cross::AlignedBuffer.26" }
%"class.spirv_cross::VectorView.25" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.26" = type { [32 x i8] }
%"class.spirv_cross::SmallVector.30" = type { %"class.spirv_cross::VectorView.31", i64, %"class.spirv_cross::AlignedBuffer.32" }
%"class.spirv_cross::VectorView.31" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.32" = type { [8 x i8] }
%"class.std::unordered_map.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.52" = type { %"class.std::_Hashtable.53" }
%"class.std::_Hashtable.53" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::TypedID" = type { i32 }
%"struct.spirv_cross::ParsedIR::Source" = type <{ i32, i8, i8, i8, i8 }>
%"class.std::unordered_set.95" = type { %"class.std::_Hashtable.96" }
%"class.std::_Hashtable.96" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.114" = type { %"class.spirv_cross::VectorView.115", i64, %"class.spirv_cross::AlignedBuffer.116" }
%"class.spirv_cross::VectorView.115" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.116" = type { [96 x i8] }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.spirv_cross::Bitset" = type { i64, %"class.std::unordered_set" }
%"class.std::unordered_map.117" = type { %"class.std::_Hashtable.118" }
%"class.std::_Hashtable.118" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.131" = type { %"class.std::_Hashtable.132" }
%"class.std::_Hashtable.132" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.159" = type { %"class.spirv_cross::VectorView.160", i64, %"class.spirv_cross::AlignedBuffer.161" }
%"class.spirv_cross::VectorView.160" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.161" = type { [64 x i8] }
%"class.spirv_cross::StringStream" = type { %"struct.spirv_cross::StringStream<>::Buffer", [4096 x i8], %"class.spirv_cross::SmallVector.162" }
%"struct.spirv_cross::StringStream<>::Buffer" = type { ptr, i64, i64 }
%"class.spirv_cross::SmallVector.162" = type { %"class.spirv_cross::VectorView.163", i64, %"class.spirv_cross::AlignedBuffer.164" }
%"class.spirv_cross::VectorView.163" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.164" = type { [192 x i8] }
%"struct.spirv_cross::CompilerGLSL::Options" = type { i32, i8, i8, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, %"struct.spirv_cross::CompilerGLSL::Options::VertexOptions", %"struct.spirv_cross::CompilerGLSL::Options::FragmentOptions" }
%"struct.spirv_cross::CompilerGLSL::Options::VertexOptions" = type { i8, i8, i8 }
%"struct.spirv_cross::CompilerGLSL::Options::FragmentOptions" = type { i32, i32 }
%"class.std::unordered_map.185" = type { %"class.std::_Hashtable.186" }
%"class.std::_Hashtable.186" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.145" = type { %"class.std::_Hashtable.146" }
%"class.std::_Hashtable.146" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.spirv_cross::CompilerGLSL::BackendVariations" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i8, i8, i8, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [4 x i8] }>
%"class.std::unordered_map.199" = type { %"class.std::_Hashtable.200" }
%"class.std::_Hashtable.200" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.spirv_cross::CompilerGLSL::ShaderSubgroupSupportHelper" = type { i32 }
%"class.spirv_cross::SmallVector.27" = type { %"class.spirv_cross::VectorView.28", i64, %"class.spirv_cross::AlignedBuffer.29" }
%"class.spirv_cross::VectorView.28" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.29" = type { [256 x i8] }
%"class.std::vector.230" = type { %"struct.std::_Vector_base.231" }
%"struct.std::_Vector_base.231" = type { %"struct.std::_Vector_base<spirv_cross::PlsRemap, std::allocator<spirv_cross::PlsRemap>>::_Vector_impl" }
%"struct.std::_Vector_base<spirv_cross::PlsRemap, std::allocator<spirv_cross::PlsRemap>>::_Vector_impl" = type { %"struct.std::_Vector_base<spirv_cross::PlsRemap, std::allocator<spirv_cross::PlsRemap>>::_Vector_impl_data" }
%"struct.std::_Vector_base<spirv_cross::PlsRemap, std::allocator<spirv_cross::PlsRemap>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.235" = type { %"struct.std::_Vector_base.236" }
%"struct.std::_Vector_base.236" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.240" = type { %"struct.std::_Vector_base.241" }
%"struct.std::_Vector_base.241" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_set.245" = type { %"class.std::_Hashtable.246" }
%"class.std::_Hashtable.246" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.263" = type { %"class.std::_Hashtable.264" }
%"class.std::_Hashtable.264" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.277" = type { %"class.std::_Hashtable.278" }
%"class.std::_Hashtable.278" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.spirv_cross::CompilerMSL::Options" = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8], i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8] }>
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<spirv_cross::CompilerMSL::SPVFuncImpl, spirv_cross::CompilerMSL::SPVFuncImpl, std::_Identity<spirv_cross::CompilerMSL::SPVFuncImpl>, std::less<spirv_cross::CompilerMSL::SPVFuncImpl>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<spirv_cross::CompilerMSL::SPVFuncImpl, spirv_cross::CompilerMSL::SPVFuncImpl, std::_Identity<spirv_cross::CompilerMSL::SPVFuncImpl>, std::less<spirv_cross::CompilerMSL::SPVFuncImpl>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree.294" }
%"class.std::_Rb_tree.294" = type { %"struct.std::_Rb_tree<spirv_cross::LocationComponentPair, std::pair<const spirv_cross::LocationComponentPair, spirv_cross::MSLShaderInterfaceVariable>, std::_Select1st<std::pair<const spirv_cross::LocationComponentPair, spirv_cross::MSLShaderInterfaceVariable>>, std::less<spirv_cross::LocationComponentPair>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<spirv_cross::LocationComponentPair, std::pair<const spirv_cross::LocationComponentPair, spirv_cross::MSLShaderInterfaceVariable>, std::_Select1st<std::pair<const spirv_cross::LocationComponentPair, spirv_cross::MSLShaderInterfaceVariable>>, std::less<spirv_cross::LocationComponentPair>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::unordered_map.299" = type { %"class.std::_Hashtable.300" }
%"class.std::_Hashtable.300" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.213" = type { %"class.std::_Hashtable.214" }
%"class.std::_Hashtable.214" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::set.313" = type { %"class.std::_Rb_tree.314" }
%"class.std::_Rb_tree.314" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::unordered_map.319" = type { %"class.std::_Hashtable.320" }
%"class.std::_Hashtable.320" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.336" = type { %"class.std::_Hashtable.337" }
%"class.std::_Hashtable.337" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::TypedID.350" = type { i32 }
%"class.std::map.351" = type { %"class.std::_Rb_tree.352" }
%"class.std::_Rb_tree.352" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, spirv_cross::MSLConstexprSampler>, std::_Select1st<std::pair<const unsigned int, spirv_cross::MSLConstexprSampler>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, spirv_cross::MSLConstexprSampler>, std::_Select1st<std::pair<const unsigned int, spirv_cross::MSLConstexprSampler>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::unordered_map.357" = type { %"class.std::_Hashtable.358" }
%"class.std::_Hashtable.358" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.374" = type { %"class.spirv_cross::VectorView.375", i64, %"class.spirv_cross::AlignedBuffer.376" }
%"class.spirv_cross::VectorView.375" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.376" = type { [64 x i8] }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.74" }
%"class.std::_Hashtable.74" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.spirv_cross::SmallVector.377" = type { %"class.spirv_cross::VectorView.378", i64, %"class.spirv_cross::AlignedBuffer.379" }
%"class.spirv_cross::VectorView.378" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.379" = type { [64 x i8] }
%"class.std::map.380" = type { %"class.std::_Rb_tree.381" }
%"class.std::_Rb_tree.381" = type { %"struct.std::_Rb_tree<spirv_cross::SetBindingPair, std::pair<const spirv_cross::SetBindingPair, std::pair<unsigned int, unsigned int>>, std::_Select1st<std::pair<const spirv_cross::SetBindingPair, std::pair<unsigned int, unsigned int>>>, std::less<spirv_cross::SetBindingPair>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<spirv_cross::SetBindingPair, std::pair<const spirv_cross::SetBindingPair, std::pair<unsigned int, unsigned int>>, std::_Select1st<std::pair<const spirv_cross::SetBindingPair, std::pair<unsigned int, unsigned int>>>, std::less<spirv_cross::SetBindingPair>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::unordered_set.386" = type { %"class.std::_Hashtable.387" }
%"class.std::_Hashtable.387" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.spirv_cross::IVariant" = type <{ ptr, %"class.spirv_cross::TypedID.413", [4 x i8] }>
%"struct.spirv_cross::SPIRFunction" = type <{ %"struct.spirv_cross::IVariant.base", %"class.spirv_cross::TypedID.414", %"class.spirv_cross::TypedID.414", [4 x i8], %"class.spirv_cross::SmallVector.430", %"class.spirv_cross::SmallVector.430", %"class.spirv_cross::SmallVector.419", %"class.spirv_cross::TypedID.415", [4 x i8], %"class.spirv_cross::SmallVector.433", %"class.spirv_cross::SmallVector.436", %"struct.spirv_cross::SPIRFunction::EntryLine", %"class.spirv_cross::SmallVector.439", %"class.spirv_cross::SmallVector.439", %"class.spirv_cross::SmallVector.7", i8, i8, i8, [5 x i8] }>
%"class.spirv_cross::SmallVector.430" = type { %"class.spirv_cross::VectorView.431", i64, %"class.spirv_cross::AlignedBuffer.432" }
%"class.spirv_cross::VectorView.431" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.432" = type { [160 x i8] }
%"class.spirv_cross::SmallVector.419" = type { %"class.spirv_cross::VectorView.420", i64, %"class.spirv_cross::AlignedBuffer.421" }
%"class.spirv_cross::VectorView.420" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.421" = type { [32 x i8] }
%"class.spirv_cross::TypedID.415" = type { i32 }
%"class.spirv_cross::SmallVector.433" = type { %"class.spirv_cross::VectorView.434", i64, %"class.spirv_cross::AlignedBuffer.435" }
%"class.spirv_cross::VectorView.434" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.435" = type { [32 x i8] }
%"class.spirv_cross::SmallVector.436" = type { %"class.spirv_cross::VectorView.437", i64, %"class.spirv_cross::AlignedBuffer.438" }
%"class.spirv_cross::VectorView.437" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.438" = type { [128 x i8] }
%"struct.spirv_cross::SPIRFunction::EntryLine" = type { i32, i32 }
%"class.spirv_cross::SmallVector.439" = type <{ %"class.spirv_cross::VectorView.440", i64, [8 x i8] }>
%"class.spirv_cross::VectorView.440" = type { ptr, i64 }
%"struct.spirv_cross::SPIRVariable" = type { %"struct.spirv_cross::IVariant.base", %"class.spirv_cross::TypedID.414", i32, i32, %"class.spirv_cross::TypedID.413", %"class.spirv_cross::TypedID.350", %"class.spirv_cross::SmallVector.92", i8, i8, %"class.spirv_cross::TypedID.413", %"class.spirv_cross::SmallVector.7", i8, i8, i8, i8, i32, %"class.spirv_cross::TypedID.415", i8, i8, i8, ptr }
%"struct.std::pair.401" = type { i32, i32 }

@_ZTIN11spirv_cross13CompilerErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1763 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__._ZN11spirv_cross11CompilerMSL24analyze_argument_buffersEv = external hidden unnamed_addr constant [58 x i8], align 1
@.str.1764 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1765 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1766 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.1767 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.1768 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorIjLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #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: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL25is_var_runtime_size_arrayERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(176)) #2 align 2

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

declare noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL33descriptor_set_is_argument_bufferEj(ptr noundef nonnull align 8 dereferenceable(12482), i32 noundef) #0 align 2

declare noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920), i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross8SPIRTypeC2EN3spv2OpE(ptr noundef nonnull align 8 dereferenceable(336), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(336)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN11spirv_cross8SPIRTypeC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 8 dereferenceable(336)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

declare void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef, i32 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross11CompilerMSL13get_uint_typeEv(ptr noundef nonnull align 8 dereferenceable(12482)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11spirv_cross11CompilerMSL16get_uint_type_idEv(ptr noundef nonnull align 8 dereferenceable(12482)) #2 align 2

declare void @_ZN11spirv_cross8Compiler23set_extended_decorationEjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef, i32 noundef) #5

declare void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176), i32, ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL7Options20supports_msl_versionEjjj(ptr noundef nonnull align 4 dereferenceable(137), i32 noundef, i32 noundef, i32 noundef) #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRVariableEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) #2 align 2

declare noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler22get_variable_data_typeERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(176)) #5

declare void @_ZN11spirv_cross12CompilerGLSL17add_resource_nameEj(ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL26get_argument_address_spaceB5cxx11ERKNS_12SPIRVariableE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(176)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL17ensure_valid_nameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11spirv_cross11CompilerMSL24analyze_argument_buffersEv(ptr noundef nonnull align 8 dereferenceable(12482) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca [8 x %"class.spirv_cross::SmallVector.615"], align 16
  %8 = alloca %"class.spirv_cross::SmallVector.92", align 8
  %9 = alloca [8 x i8], align 1
  %10 = alloca [8 x i8], align 1
  %11 = alloca i8, align 1
  %12 = alloca %class.anon.618, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.spirv_cross::SPIRType", align 8
  %18 = alloca %"class.spirv_cross::TypedID.414", align 4
  %19 = alloca %"class.spirv_cross::TypedID.413", align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.spirv_cross::TypedID.413", align 4
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.71", align 1
  %26 = alloca %"class.spirv_cross::TypedID.413", align 4
  %27 = alloca %"class.spirv_cross::TypedID.413", align 4
  %28 = alloca %struct.Resource.619, align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.spirv_cross::TypedID.413", align 4
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.71", align 1
  %35 = alloca %"class.spirv_cross::TypedID.413", align 4
  %36 = alloca %"class.spirv_cross::TypedID.413", align 4
  %37 = alloca %struct.Resource.619, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  %44 = alloca %"class.spirv_cross::TypedID.413", align 4
  %45 = alloca %struct.Resource.619, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca ptr, align 8
  %53 = alloca i32, align 4
  %54 = alloca %"class.spirv_cross::TypedID.413", align 4
  %55 = alloca %"class.spirv_cross::TypedID.413", align 4
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.spirv_cross::TypedID.413", align 4
  %58 = alloca ptr, align 8
  %59 = alloca i32, align 4
  %60 = alloca %"class.spirv_cross::TypedID.414", align 4
  %61 = alloca i32, align 4
  %62 = alloca ptr, align 8
  %63 = alloca i32, align 4
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.spirv_cross::TypedID.413", align 4
  %66 = alloca %class.anon.620, align 1
  %67 = alloca i64, align 8
  %68 = alloca ptr, align 8
  %69 = alloca ptr, align 8
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca ptr, align 8
  %74 = alloca ptr, align 8
  %75 = alloca ptr, align 8
  %76 = alloca ptr, align 8
  %77 = alloca ptr, align 8
  %78 = alloca ptr, align 8
  %79 = alloca %"struct.spirv_cross::MSLResourceBinding", align 4
  %80 = alloca i32, align 4
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.std::__cxx11::basic_string", align 8
  %84 = alloca %"class.std::allocator.71", align 1
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.spirv_cross::TypedID.414", align 4
  %87 = alloca i8, align 1
  %88 = alloca i32, align 4
  %89 = alloca ptr, align 8
  %90 = alloca i32, align 4
  %91 = alloca i32, align 4
  %92 = alloca ptr, align 8
  %93 = alloca i32, align 4
  %94 = alloca %"class.spirv_cross::TypedID.414", align 4
  %95 = alloca %"class.spirv_cross::TypedID.414", align 4
  %96 = alloca %"class.spirv_cross::TypedID.414", align 4
  %97 = alloca i32, align 4
  %98 = alloca %"class.spirv_cross::TypedID.413", align 4
  %99 = alloca %"struct.spirv_cross::SetBindingPair", align 4
  %100 = alloca %"class.spirv_cross::TypedID.414", align 4
  %101 = alloca ptr, align 8
  %102 = alloca %"class.std::function.489", align 8
  %103 = alloca %class.anon.622, align 8
  %104 = alloca %"class.std::__cxx11::basic_string", align 8
  %105 = alloca %"class.std::__cxx11::basic_string", align 8
  %106 = alloca %"class.spirv_cross::TypedID.414", align 4
  %107 = alloca %"class.std::__cxx11::basic_string", align 8
  %108 = alloca %"class.std::__cxx11::basic_string", align 8
  %109 = alloca i32, align 4
  %110 = alloca i32, align 4
  %111 = alloca i32, align 4
  %112 = alloca i32, align 4
  %113 = alloca %"struct.spirv_cross::SPIRType", align 8
  %114 = alloca %"class.spirv_cross::TypedID.414", align 4
  %115 = alloca ptr, align 8
  %116 = alloca %"class.spirv_cross::TypedID.413", align 4
  %117 = alloca %"class.spirv_cross::TypedID.414", align 4
  %118 = alloca ptr, align 8
  %119 = alloca %"class.std::function.489", align 8
  %120 = alloca %class.anon.623, align 8
  %121 = alloca %"class.std::__cxx11::basic_string", align 8
  %122 = alloca %"class.std::__cxx11::basic_string", align 8
  %123 = alloca %"class.std::__cxx11::basic_string", align 8
  %124 = alloca %"class.std::__cxx11::basic_string", align 8
  %125 = alloca %"struct.std::pair.444", align 8
  %126 = alloca ptr, align 8
  %127 = alloca %"class.std::__cxx11::basic_string", align 8
  %128 = alloca %"class.std::function.489", align 8
  %129 = alloca %class.anon.624, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %130 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %131 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 116
  store ptr %131, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds [8 x i32], ptr %132, i64 0, i64 0
  store ptr %133, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds [8 x i32], ptr %134, i64 0, i64 0
  %136 = getelementptr inbounds i32, ptr %135, i64 8
  store ptr %136, ptr %5, align 8, !tbaa !5
  br label %137

137:                                              ; preds = %145, %1
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = icmp ne ptr %138, %139
  br i1 %140, label %142, label %141

141:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %148

142:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %143, ptr %6, align 8, !tbaa !5
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 0, ptr %144, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  br label %145

145:                                              ; preds = %142
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds i32, ptr %146, i32 1
  store ptr %147, ptr %4, align 8, !tbaa !5
  br label %137

148:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4288, ptr %7) #10
  %149 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i32 0, i32 0
  %150 = getelementptr inbounds %"class.spirv_cross::SmallVector.615", ptr %149, i64 8
  br label %151

151:                                              ; preds = %151, %148
  %152 = phi ptr [ %149, %148 ], [ %153, %151 ]
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %152) #10
  %153 = getelementptr inbounds %"class.spirv_cross::SmallVector.615", ptr %152, i64 1
  %154 = icmp eq ptr %153, %150
  br i1 %154, label %155, label %151

155:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #10
  call void @_ZN11spirv_cross11SmallVectorIjLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  call void @llvm.memset.p0.i64(ptr align 1 %10, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #10
  store i8 0, ptr %11, align 1, !tbaa !11
  %156 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #10
  %157 = getelementptr inbounds %class.anon.618, ptr %12, i32 0, i32 0
  store ptr %130, ptr %157, align 8, !tbaa !13
  %158 = getelementptr inbounds %class.anon.618, ptr %12, i32 0, i32 1
  store ptr %7, ptr %158, align 8, !tbaa !5
  %159 = getelementptr inbounds %class.anon.618, ptr %12, i32 0, i32 2
  store ptr %8, ptr %159, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.anon.618, ptr %12, i32 0, i32 3
  store ptr %9, ptr %160, align 8, !tbaa !5
  %161 = getelementptr inbounds %class.anon.618, ptr %12, i32 0, i32 4
  store ptr %10, ptr %161, align 8, !tbaa !5
  %162 = getelementptr inbounds %class.anon.618, ptr %12, i32 0, i32 5
  store ptr %11, ptr %162, align 8, !tbaa !5
  invoke void @"_ZN11spirv_cross8ParsedIR17for_each_typed_idINS_12SPIRVariableEZNS_11CompilerMSL24analyze_argument_buffersEvE3$_3EEvRKT0_"(ptr noundef nonnull align 8 dereferenceable(1920) %156, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %163 unwind label %175

163:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #10
  %164 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 77
  %165 = load i8, ptr %164, align 1, !tbaa !15, !range !177, !noundef !178
  %166 = trunc i8 %165 to i1
  br i1 %166, label %170, label %167

167:                                              ; preds = %163
  %168 = load i8, ptr %11, align 1, !tbaa !11, !range !177, !noundef !178
  %169 = trunc i8 %168 to i1
  br i1 %169, label %170, label %406

170:                                              ; preds = %167, %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %171

171:                                              ; preds = %401, %170
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = icmp ult i32 %172, 8
  br i1 %173, label %179, label %174

174:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %405

175:                                              ; preds = %155
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %13, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #10
  br label %1466

179:                                              ; preds = %171
  %180 = load i32, ptr %16, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 %181
  %183 = load i8, ptr %182, align 1, !tbaa !11, !range !177, !noundef !178
  %184 = trunc i8 %183 to i1
  br i1 %184, label %192, label %185

185:                                              ; preds = %179
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 %187
  %189 = load i8, ptr %188, align 1, !tbaa !11, !range !177, !noundef !178
  %190 = trunc i8 %189 to i1
  br i1 %190, label %192, label %191

191:                                              ; preds = %185
  br label %401

192:                                              ; preds = %185, %179
  %193 = load i32, ptr %15, align 4, !tbaa !9
  %194 = icmp eq i32 %193, 0
  br i1 %194, label %195, label %238

195:                                              ; preds = %192
  %196 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %197 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %196, i32 noundef 1)
          to label %198 unwind label %220

198:                                              ; preds = %195
  store i32 %197, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 336, ptr %17) #10
  %199 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross11CompilerMSL13get_uint_typeEv(ptr noundef nonnull align 8 dereferenceable(12482) %130)
          to label %200 unwind label %224

200:                                              ; preds = %198
  invoke void @_ZN11spirv_cross8SPIRTypeC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(336) %17, ptr noundef nonnull align 8 dereferenceable(336) %199)
          to label %201 unwind label %224

201:                                              ; preds = %200
  %202 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %17, i32 0, i32 1
  store i32 32, ptr %202, align 4, !tbaa !179
  %203 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %17, i32 0, i32 9
  store i8 1, ptr %203, align 4, !tbaa !192
  %204 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %17, i32 0, i32 8
  %205 = load i32, ptr %204, align 8, !tbaa !193
  %206 = add i32 %205, 1
  store i32 %206, ptr %204, align 8, !tbaa !193
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  %207 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL16get_uint_type_idEv(ptr noundef nonnull align 8 dereferenceable(12482) %130)
          to label %208 unwind label %228

208:                                              ; preds = %201
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 noundef %207)
          to label %209 unwind label %228

209:                                              ; preds = %208
  %210 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %17, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %210, ptr align 4 %18, i64 4, i1 false), !tbaa.struct !194
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  %211 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %17, i32 0, i32 11
  store i32 2, ptr %211, align 8, !tbaa !195
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %212, ptr noundef nonnull align 8 dereferenceable(336) %17)
          to label %214 unwind label %232

214:                                              ; preds = %209
  %215 = load i32, ptr %15, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %19, i32 noundef %215)
          to label %216 unwind label %232

216:                                              ; preds = %214
  %217 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %19, i32 0, i32 0
  %218 = load i32, ptr %217, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %218, i32 noundef 6, i32 noundef 4)
          to label %219 unwind label %232

219:                                              ; preds = %216
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %17) #10
  call void @llvm.lifetime.end.p0(i64 336, ptr %17) #10
  br label %238

220:                                              ; preds = %195
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %13, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %14, align 4
  br label %404

224:                                              ; preds = %200, %198
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %13, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %14, align 4
  br label %237

228:                                              ; preds = %208, %201
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %13, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %236

232:                                              ; preds = %216, %214, %209
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %13, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %14, align 4
  br label %236

236:                                              ; preds = %232, %228
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %17) #10
  br label %237

237:                                              ; preds = %236, %224
  call void @llvm.lifetime.end.p0(i64 336, ptr %17) #10
  br label %404

238:                                              ; preds = %219, %192
  %239 = load i32, ptr %16, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 %240
  %242 = load i8, ptr %241, align 1, !tbaa !11, !range !177, !noundef !178
  %243 = trunc i8 %242 to i1
  br i1 %243, label %244, label %319

244:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %245 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %246 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %245, i32 noundef 1)
          to label %247 unwind label %287

247:                                              ; preds = %244
  store i32 %246, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %248 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  store i32 0, ptr %22, align 4, !tbaa !196
  %249 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %248, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %250 unwind label %291

250:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  store ptr %249, ptr %21, align 8, !tbaa !5
  %251 = load i32, ptr %20, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 noundef %251)
          to label %252 unwind label %295

252:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %253 unwind label %299

253:                                              ; preds = %252
  %254 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %23, i32 0, i32 0
  %255 = load i32, ptr %254, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %255, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %256 unwind label %303

256:                                              ; preds = %253
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #10
  %257 = load i32, ptr %20, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %26, i32 noundef %257)
          to label %258 unwind label %295

258:                                              ; preds = %256
  %259 = load i32, ptr %16, align 4, !tbaa !9
  %260 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %26, i32 0, i32 0
  %261 = load i32, ptr %260, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %261, i32 noundef 34, i32 noundef %259)
          to label %262 unwind label %295

262:                                              ; preds = %258
  %263 = load i32, ptr %20, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef %263)
          to label %264 unwind label %295

264:                                              ; preds = %262
  %265 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %27, i32 0, i32 0
  %266 = load i32, ptr %265, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %266, i32 noundef 33, i32 noundef -2)
          to label %267 unwind label %295

267:                                              ; preds = %264
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i64 0, i64 %269
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #10
  %271 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 0
  %272 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %272, ptr %271, align 8, !tbaa !197
  %273 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 1
  %274 = load i32, ptr %20, align 4, !tbaa !9
  %275 = load ptr, ptr %130, align 8, !tbaa !199
  %276 = getelementptr inbounds ptr, ptr %275, i64 6
  %277 = load ptr, ptr %276, align 8
  invoke void %277(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %273, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %274, i1 noundef zeroext true)
          to label %278 unwind label %308

278:                                              ; preds = %267
  %279 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 2
  store i32 8, ptr %279, align 8, !tbaa !201
  %280 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 3
  %281 = load ptr, ptr %21, align 8, !tbaa !5
  %282 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(176) %281, i32 noundef 8, i32 noundef 0)
          to label %283 unwind label %312

283:                                              ; preds = %278
  store i32 %282, ptr %280, align 4, !tbaa !202
  %284 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 4
  store i32 1, ptr %284, align 8, !tbaa !203
  %285 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 5
  store i32 0, ptr %285, align 4, !tbaa !204
  %286 = getelementptr inbounds %struct.Resource.619, ptr %28, i32 0, i32 6
  store i32 0, ptr %286, align 8, !tbaa !205
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536) %270, ptr noundef nonnull align 8 dereferenceable(60) %28) #10
  call void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %319

287:                                              ; preds = %244
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %13, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %14, align 4
  br label %318

291:                                              ; preds = %247
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %13, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %317

295:                                              ; preds = %264, %262, %258, %256, %250
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %13, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %14, align 4
  br label %317

299:                                              ; preds = %252
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %13, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %14, align 4
  br label %307

303:                                              ; preds = %253
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %13, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #10
  br label %307

307:                                              ; preds = %303, %299
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #10
  br label %317

308:                                              ; preds = %267
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %13, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %14, align 4
  br label %316

312:                                              ; preds = %278
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %13, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %273) #10
  br label %316

316:                                              ; preds = %312, %308
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  br label %317

317:                                              ; preds = %316, %307, %295, %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %318

318:                                              ; preds = %317, %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %404

319:                                              ; preds = %283, %238
  %320 = load i32, ptr %16, align 4, !tbaa !9
  %321 = zext i32 %320 to i64
  %322 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 %321
  %323 = load i8, ptr %322, align 1, !tbaa !11, !range !177, !noundef !178
  %324 = trunc i8 %323 to i1
  br i1 %324, label %325, label %400

325:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  %326 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %327 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %326, i32 noundef 1)
          to label %328 unwind label %368

328:                                              ; preds = %325
  store i32 %327, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %329 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  store i32 0, ptr %31, align 4, !tbaa !196
  %330 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %329, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %331 unwind label %372

331:                                              ; preds = %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  store ptr %330, ptr %30, align 8, !tbaa !5
  %332 = load i32, ptr %29, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %32, i32 noundef %332)
          to label %333 unwind label %376

333:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %334 unwind label %380

334:                                              ; preds = %333
  %335 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %32, i32 0, i32 0
  %336 = load i32, ptr %335, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %336, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %337 unwind label %384

337:                                              ; preds = %334
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  %338 = load i32, ptr %29, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %35, i32 noundef %338)
          to label %339 unwind label %376

339:                                              ; preds = %337
  %340 = load i32, ptr %16, align 4, !tbaa !9
  %341 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %35, i32 0, i32 0
  %342 = load i32, ptr %341, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %342, i32 noundef 34, i32 noundef %340)
          to label %343 unwind label %376

343:                                              ; preds = %339
  %344 = load i32, ptr %29, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %36, i32 noundef %344)
          to label %345 unwind label %376

345:                                              ; preds = %343
  %346 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %36, i32 0, i32 0
  %347 = load i32, ptr %346, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %347, i32 noundef 33, i32 noundef -3)
          to label %348 unwind label %376

348:                                              ; preds = %345
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i64 0, i64 %350
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #10
  %352 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 0
  %353 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %353, ptr %352, align 8, !tbaa !197
  %354 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 1
  %355 = load i32, ptr %29, align 4, !tbaa !9
  %356 = load ptr, ptr %130, align 8, !tbaa !199
  %357 = getelementptr inbounds ptr, ptr %356, i64 6
  %358 = load ptr, ptr %357, align 8
  invoke void %358(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %354, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %355, i1 noundef zeroext true)
          to label %359 unwind label %389

359:                                              ; preds = %348
  %360 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 2
  store i32 8, ptr %360, align 8, !tbaa !201
  %361 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 3
  %362 = load ptr, ptr %30, align 8, !tbaa !5
  %363 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(176) %362, i32 noundef 8, i32 noundef 0)
          to label %364 unwind label %393

364:                                              ; preds = %359
  store i32 %363, ptr %361, align 4, !tbaa !202
  %365 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 4
  store i32 1, ptr %365, align 8, !tbaa !203
  %366 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 5
  store i32 0, ptr %366, align 4, !tbaa !204
  %367 = getelementptr inbounds %struct.Resource.619, ptr %37, i32 0, i32 6
  store i32 0, ptr %367, align 8, !tbaa !205
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536) %351, ptr noundef nonnull align 8 dereferenceable(60) %37) #10
  call void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %37) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  br label %400

368:                                              ; preds = %325
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %13, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %14, align 4
  br label %399

372:                                              ; preds = %328
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %13, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %398

376:                                              ; preds = %345, %343, %339, %337, %331
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %13, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %14, align 4
  br label %398

380:                                              ; preds = %333
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %13, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %14, align 4
  br label %388

384:                                              ; preds = %334
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %13, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  br label %388

388:                                              ; preds = %384, %380
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  br label %398

389:                                              ; preds = %348
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %13, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %14, align 4
  br label %397

393:                                              ; preds = %359
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %13, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %354) #10
  br label %397

397:                                              ; preds = %393, %389
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #10
  br label %398

398:                                              ; preds = %397, %388, %376, %372
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %399

399:                                              ; preds = %398, %368
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  br label %404

400:                                              ; preds = %364, %319
  br label %401

401:                                              ; preds = %400, %191
  %402 = load i32, ptr %16, align 4, !tbaa !9
  %403 = add i32 %402, 1
  store i32 %403, ptr %16, align 4, !tbaa !9
  br label %171, !llvm.loop !206

404:                                              ; preds = %399, %318, %237, %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %1466

405:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %406

406:                                              ; preds = %405, %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  store ptr %8, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %407 = load ptr, ptr %38, align 8, !tbaa !5
  %408 = call noundef ptr @_ZN11spirv_cross10VectorViewIjE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %407) #10
  store ptr %408, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %409 = load ptr, ptr %38, align 8, !tbaa !5
  %410 = call noundef ptr @_ZN11spirv_cross10VectorViewIjE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %409) #10
  store ptr %410, ptr %40, align 8, !tbaa !5
  br label %411

411:                                              ; preds = %449, %406
  %412 = load ptr, ptr %39, align 8, !tbaa !5
  %413 = load ptr, ptr %40, align 8, !tbaa !5
  %414 = icmp ne ptr %412, %413
  br i1 %414, label %416, label %415

415:                                              ; preds = %411
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %471

416:                                              ; preds = %411
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %417 = load ptr, ptr %39, align 8, !tbaa !5
  %418 = load i32, ptr %417, align 4, !tbaa !9
  store i32 %418, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %419 = load i32, ptr %41, align 4, !tbaa !9
  %420 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRVariableEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %419)
          to label %421 unwind label %452

421:                                              ; preds = %416
  store ptr %420, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %422 = load i32, ptr %41, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %44, i32 noundef %422)
          to label %423 unwind label %456

423:                                              ; preds = %421
  %424 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %44, i32 0, i32 0
  %425 = load i32, ptr %424, align 4
  %426 = invoke noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %425, i32 noundef 34)
          to label %427 unwind label %456

427:                                              ; preds = %423
  store i32 %426, ptr %43, align 4, !tbaa !9
  %428 = load i32, ptr %41, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross12CompilerGLSL17add_resource_nameEj(ptr noundef nonnull align 8 dereferenceable(9848) %130, i32 noundef %428)
          to label %429 unwind label %456

429:                                              ; preds = %427
  %430 = load i32, ptr %43, align 4, !tbaa !9
  %431 = zext i32 %430 to i64
  %432 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i64 0, i64 %431
  call void @llvm.lifetime.start.p0(i64 64, ptr %45) #10
  %433 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 0
  %434 = load ptr, ptr %42, align 8, !tbaa !5
  store ptr %434, ptr %433, align 8, !tbaa !197
  %435 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 1
  %436 = load i32, ptr %41, align 4, !tbaa !9
  %437 = load ptr, ptr %130, align 8, !tbaa !199
  %438 = getelementptr inbounds ptr, ptr %437, i64 6
  %439 = load ptr, ptr %438, align 8
  invoke void %439(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %435, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %436, i1 noundef zeroext true)
          to label %440 unwind label %460

440:                                              ; preds = %429
  %441 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 2
  store i32 15, ptr %441, align 8, !tbaa !201
  %442 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 3
  %443 = load ptr, ptr %42, align 8, !tbaa !5
  %444 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(176) %443, i32 noundef 15, i32 noundef 0)
          to label %445 unwind label %464

445:                                              ; preds = %440
  store i32 %444, ptr %442, align 4, !tbaa !202
  %446 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 4
  store i32 1, ptr %446, align 8, !tbaa !203
  %447 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 5
  store i32 0, ptr %447, align 4, !tbaa !204
  %448 = getelementptr inbounds %struct.Resource.619, ptr %45, i32 0, i32 6
  store i32 0, ptr %448, align 8, !tbaa !205
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536) %432, ptr noundef nonnull align 8 dereferenceable(60) %45) #10
  call void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %45) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %449

449:                                              ; preds = %445
  %450 = load ptr, ptr %39, align 8, !tbaa !5
  %451 = getelementptr inbounds i32, ptr %450, i32 1
  store ptr %451, ptr %39, align 8, !tbaa !5
  br label %411

452:                                              ; preds = %416
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %13, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %14, align 4
  br label %470

456:                                              ; preds = %427, %423, %421
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %13, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %14, align 4
  br label %469

460:                                              ; preds = %429
  %461 = landingpad { ptr, i32 }
          cleanup
  %462 = extractvalue { ptr, i32 } %461, 0
  store ptr %462, ptr %13, align 8
  %463 = extractvalue { ptr, i32 } %461, 1
  store i32 %463, ptr %14, align 4
  br label %468

464:                                              ; preds = %440
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %13, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %435) #10
  br label %468

468:                                              ; preds = %464, %460
  call void @llvm.lifetime.end.p0(i64 64, ptr %45) #10
  br label %469

469:                                              ; preds = %468, %456
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %470

470:                                              ; preds = %469, %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %1466

471:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #10
  store i32 0, ptr %46, align 4, !tbaa !9
  br label %472

472:                                              ; preds = %1446, %471
  %473 = load i32, ptr %46, align 4, !tbaa !9
  %474 = icmp ult i32 %473, 8
  br i1 %474, label %476, label %475

475:                                              ; preds = %472
  store i32 9, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %1458

476:                                              ; preds = %472
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  %477 = load i32, ptr %46, align 4, !tbaa !9
  %478 = zext i32 %477 to i64
  %479 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i64 0, i64 %478
  store ptr %479, ptr %48, align 8, !tbaa !5
  %480 = load ptr, ptr %48, align 8, !tbaa !5
  %481 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %480) #10
  br i1 %481, label %482, label %483

482:                                              ; preds = %476
  store i32 11, ptr %47, align 4
  br label %1443

483:                                              ; preds = %476
  %484 = load i32, ptr %46, align 4, !tbaa !9
  %485 = call noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL33descriptor_set_is_argument_bufferEj(ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %484)
  br i1 %485, label %486, label %487

486:                                              ; preds = %483
  br label %489

487:                                              ; preds = %483
  call void @__assert_fail(ptr noundef @.str.1763, ptr noundef @.str.25, i32 noundef 18747, ptr noundef @__PRETTY_FUNCTION__._ZN11spirv_cross11CompilerMSL24analyze_argument_buffersEv) #11
  unreachable

488:                                              ; No predecessors!
  br label %489

489:                                              ; preds = %488, %486
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #10
  %490 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %491 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %490, i32 noundef 3)
          to label %492 unwind label %526

492:                                              ; preds = %489
  store i32 %491, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #10
  %493 = load i32, ptr %49, align 4, !tbaa !9
  %494 = add i32 %493, 1
  store i32 %494, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #10
  %495 = load i32, ptr %49, align 4, !tbaa !9
  %496 = add i32 %495, 2
  store i32 %496, ptr %51, align 4, !tbaa !9
  %497 = load i32, ptr %49, align 4, !tbaa !9
  %498 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 116
  %499 = load i32, ptr %46, align 4, !tbaa !9
  %500 = zext i32 %499 to i64
  %501 = getelementptr inbounds [8 x i32], ptr %498, i64 0, i64 %500
  store i32 %497, ptr %501, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #10
  %502 = load i32, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #10
  store i32 30, ptr %53, align 4, !tbaa !208
  %503 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %502, ptr noundef nonnull align 4 dereferenceable(4) %53)
          to label %504 unwind label %530

504:                                              ; preds = %492
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #10
  store ptr %503, ptr %52, align 8, !tbaa !5
  %505 = load ptr, ptr %52, align 8, !tbaa !5
  %506 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %505, i32 0, i32 2
  store i32 15, ptr %506, align 8, !tbaa !209
  %507 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 118
  %508 = load i32, ptr %507, align 4, !tbaa !210
  %509 = load i32, ptr %46, align 4, !tbaa !9
  %510 = shl i32 1, %509
  %511 = and i32 %508, %510
  %512 = icmp ne i32 %511, 0
  br i1 %512, label %513, label %538

513:                                              ; preds = %504
  %514 = load ptr, ptr %52, align 8, !tbaa !5
  %515 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %514, i32 0, i32 11
  store i32 12, ptr %515, align 8, !tbaa !195
  %516 = load i32, ptr %49, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %54, i32 noundef %516)
          to label %517 unwind label %534

517:                                              ; preds = %513
  %518 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %54, i32 0, i32 0
  %519 = load i32, ptr %518, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %519, i32 noundef 24, i32 noundef 0)
          to label %520 unwind label %534

520:                                              ; preds = %517
  %521 = load i32, ptr %50, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %55, i32 noundef %521)
          to label %522 unwind label %534

522:                                              ; preds = %520
  %523 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %55, i32 0, i32 0
  %524 = load i32, ptr %523, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %524, i32 noundef 2, i32 noundef 0)
          to label %525 unwind label %534

525:                                              ; preds = %522
  br label %541

526:                                              ; preds = %489
  %527 = landingpad { ptr, i32 }
          cleanup
  %528 = extractvalue { ptr, i32 } %527, 0
  store ptr %528, ptr %13, align 8
  %529 = extractvalue { ptr, i32 } %527, 1
  store i32 %529, ptr %14, align 4
  br label %1457

530:                                              ; preds = %492
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %13, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #10
  br label %1456

534:                                              ; preds = %522, %520, %517, %513
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %13, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %14, align 4
  br label %1456

538:                                              ; preds = %504
  %539 = load ptr, ptr %52, align 8, !tbaa !5
  %540 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %539, i32 0, i32 11
  store i32 2, ptr %540, align 8, !tbaa !195
  br label %541

541:                                              ; preds = %538, %525
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #10
  invoke void @_ZN11spirv_cross4joinIJRA23_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %56, ptr noundef nonnull align 1 dereferenceable(23) @.str.1764, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %542 unwind label %591

542:                                              ; preds = %541
  %543 = load i32, ptr %50, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %57, i32 noundef %543)
          to label %544 unwind label %595

544:                                              ; preds = %542
  %545 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %57, i32 0, i32 0
  %546 = load i32, ptr %545, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %546, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %547 unwind label %595

547:                                              ; preds = %544
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  %548 = load i32, ptr %51, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #10
  store i32 32, ptr %59, align 4, !tbaa !208
  %549 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %548, ptr noundef nonnull align 4 dereferenceable(4) %59)
          to label %550 unwind label %599

550:                                              ; preds = %547
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #10
  store ptr %549, ptr %58, align 8, !tbaa !5
  %551 = load ptr, ptr %52, align 8, !tbaa !5
  %552 = load ptr, ptr %58, align 8, !tbaa !5
  %553 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8SPIRTypeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(336) %552, ptr noundef nonnull align 8 dereferenceable(336) %551)
          to label %554 unwind label %603

554:                                              ; preds = %550
  %555 = load ptr, ptr %58, align 8, !tbaa !5
  %556 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %555, i32 0, i32 1
  store i32 32, ptr %556, align 4, !tbaa !179
  %557 = load ptr, ptr %58, align 8, !tbaa !5
  %558 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %557, i32 0, i32 9
  store i8 1, ptr %558, align 4, !tbaa !192
  %559 = load ptr, ptr %58, align 8, !tbaa !5
  %560 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %559, i32 0, i32 8
  %561 = load i32, ptr %560, align 8, !tbaa !193
  %562 = add i32 %561, 1
  store i32 %562, ptr %560, align 8, !tbaa !193
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #10
  %563 = load i32, ptr %50, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %60, i32 noundef %563)
          to label %564 unwind label %607

564:                                              ; preds = %554
  %565 = load ptr, ptr %58, align 8, !tbaa !5
  %566 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %565, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %566, ptr align 4 %60, i64 4, i1 false), !tbaa.struct !194
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #10
  %567 = load i32, ptr %49, align 4, !tbaa !9
  store i32 %567, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #10
  %568 = load i32, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #10
  store i32 2, ptr %63, align 4, !tbaa !196
  %569 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %568, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %570 unwind label %611

570:                                              ; preds = %564
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #10
  store ptr %569, ptr %62, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #10
  invoke void @_ZN11spirv_cross4joinIJRA17_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %64, ptr noundef nonnull align 1 dereferenceable(17) @.str.1765, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %571 unwind label %615

571:                                              ; preds = %570
  %572 = load i32, ptr %61, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %65, i32 noundef %572)
          to label %573 unwind label %619

573:                                              ; preds = %571
  %574 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %65, i32 0, i32 0
  %575 = load i32, ptr %574, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %575, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %576 unwind label %619

576:                                              ; preds = %573
  %577 = load ptr, ptr %48, align 8, !tbaa !5
  %578 = invoke noundef ptr @_ZSt5beginIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(536) %577)
          to label %579 unwind label %619

579:                                              ; preds = %576
  %580 = load ptr, ptr %48, align 8, !tbaa !5
  %581 = invoke noundef ptr @_ZSt3endIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(536) %580)
          to label %582 unwind label %619

582:                                              ; preds = %579
  invoke void @"_ZSt11stable_sortIPZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE8ResourceZNS1_24analyze_argument_buffersEvE3$_4EvT_S5_T0_"(ptr noundef %578, ptr noundef %581)
          to label %583 unwind label %619

583:                                              ; preds = %582
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #10
  store i64 0, ptr %67, align 8, !tbaa !211
  br label %584

584:                                              ; preds = %674, %583
  %585 = load i64, ptr %67, align 8, !tbaa !211
  %586 = load ptr, ptr %48, align 8, !tbaa !5
  %587 = call noundef i64 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %586) #10
  %588 = sub i64 %587, 1
  %589 = icmp ult i64 %585, %588
  br i1 %589, label %623, label %590

590:                                              ; preds = %584
  store i32 12, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  br label %677

591:                                              ; preds = %541
  %592 = landingpad { ptr, i32 }
          cleanup
  %593 = extractvalue { ptr, i32 } %592, 0
  store ptr %593, ptr %13, align 8
  %594 = extractvalue { ptr, i32 } %592, 1
  store i32 %594, ptr %14, align 4
  br label %1455

595:                                              ; preds = %544, %542
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %13, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %14, align 4
  br label %1454

599:                                              ; preds = %547
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %13, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #10
  br label %1453

603:                                              ; preds = %550
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %13, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %14, align 4
  br label %1453

607:                                              ; preds = %554
  %608 = landingpad { ptr, i32 }
          cleanup
  %609 = extractvalue { ptr, i32 } %608, 0
  store ptr %609, ptr %13, align 8
  %610 = extractvalue { ptr, i32 } %608, 1
  store i32 %610, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #10
  br label %1453

611:                                              ; preds = %564
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %13, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #10
  br label %1452

615:                                              ; preds = %570
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %13, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %14, align 4
  br label %1451

619:                                              ; preds = %582, %579, %576, %573, %571
  %620 = landingpad { ptr, i32 }
          cleanup
  %621 = extractvalue { ptr, i32 } %620, 0
  store ptr %621, ptr %13, align 8
  %622 = extractvalue { ptr, i32 } %620, 1
  store i32 %622, ptr %14, align 4
  br label %1450

623:                                              ; preds = %584
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  %624 = load ptr, ptr %48, align 8, !tbaa !5
  %625 = load i64, ptr %67, align 8, !tbaa !211
  %626 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceEixEm(ptr noundef nonnull align 8 dereferenceable(16) %624, i64 noundef %625) #10
  store ptr %626, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #10
  %627 = load ptr, ptr %48, align 8, !tbaa !5
  %628 = load i64, ptr %67, align 8, !tbaa !211
  %629 = add i64 %628, 1
  %630 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceEixEm(ptr noundef nonnull align 8 dereferenceable(16) %627, i64 noundef %629) #10
  store ptr %630, ptr %69, align 8, !tbaa !5
  %631 = load ptr, ptr %68, align 8, !tbaa !5
  %632 = getelementptr inbounds %struct.Resource.619, ptr %631, i32 0, i32 3
  %633 = load i32, ptr %632, align 4, !tbaa !202
  %634 = load ptr, ptr %69, align 8, !tbaa !5
  %635 = getelementptr inbounds %struct.Resource.619, ptr %634, i32 0, i32 3
  %636 = load i32, ptr %635, align 4, !tbaa !202
  %637 = icmp eq i32 %633, %636
  br i1 %637, label %638, label %673

638:                                              ; preds = %623
  %639 = load ptr, ptr %68, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.Resource.619, ptr %639, i32 0, i32 6
  %641 = load i32, ptr %640, align 8, !tbaa !205
  %642 = icmp ne i32 %641, 0
  br i1 %642, label %643, label %649

643:                                              ; preds = %638
  %644 = load ptr, ptr %68, align 8, !tbaa !5
  %645 = getelementptr inbounds %struct.Resource.619, ptr %644, i32 0, i32 6
  %646 = load i32, ptr %645, align 8, !tbaa !205
  %647 = load ptr, ptr %69, align 8, !tbaa !5
  %648 = getelementptr inbounds %struct.Resource.619, ptr %647, i32 0, i32 6
  store i32 %646, ptr %648, align 8, !tbaa !205
  br label %662

649:                                              ; preds = %638
  %650 = load ptr, ptr %68, align 8, !tbaa !5
  %651 = getelementptr inbounds %struct.Resource.619, ptr %650, i32 0, i32 0
  %652 = load ptr, ptr %651, align 8, !tbaa !197
  %653 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %652, i32 0, i32 1
  %654 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %653)
          to label %655 unwind label %658

655:                                              ; preds = %649
  %656 = load ptr, ptr %69, align 8, !tbaa !5
  %657 = getelementptr inbounds %struct.Resource.619, ptr %656, i32 0, i32 6
  store i32 %654, ptr %657, align 8, !tbaa !205
  br label %662

658:                                              ; preds = %668, %662, %649
  %659 = landingpad { ptr, i32 }
          cleanup
  %660 = extractvalue { ptr, i32 } %659, 0
  store ptr %660, ptr %13, align 8
  %661 = extractvalue { ptr, i32 } %659, 1
  store i32 %661, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  br label %1450

662:                                              ; preds = %655, %643
  %663 = load ptr, ptr %69, align 8, !tbaa !5
  %664 = getelementptr inbounds %struct.Resource.619, ptr %663, i32 0, i32 0
  %665 = load ptr, ptr %664, align 8, !tbaa !197
  %666 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %665, i32 0, i32 1
  %667 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %666)
          to label %668 unwind label %658

668:                                              ; preds = %662
  %669 = load ptr, ptr %69, align 8, !tbaa !5
  %670 = getelementptr inbounds %struct.Resource.619, ptr %669, i32 0, i32 6
  %671 = load i32, ptr %670, align 8, !tbaa !205
  invoke void @_ZN11spirv_cross8Compiler23set_extended_decorationEjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %667, i32 noundef 17, i32 noundef %671)
          to label %672 unwind label %658

672:                                              ; preds = %668
  br label %673

673:                                              ; preds = %672, %623
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  br label %674

674:                                              ; preds = %673
  %675 = load i64, ptr %67, align 8, !tbaa !211
  %676 = add i64 %675, 1
  store i64 %676, ptr %67, align 8, !tbaa !211
  br label %584, !llvm.loop !212

677:                                              ; preds = %590
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #10
  store i32 0, ptr %70, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #10
  store i32 0, ptr %71, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #10
  store i32 0, ptr %72, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #10
  %678 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %678, ptr %73, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #10
  %679 = load ptr, ptr %73, align 8, !tbaa !5
  %680 = call noundef ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %679) #10
  store ptr %680, ptr %74, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #10
  %681 = load ptr, ptr %73, align 8, !tbaa !5
  %682 = call noundef ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %681) #10
  store ptr %682, ptr %75, align 8, !tbaa !5
  br label %683

683:                                              ; preds = %1369, %677
  %684 = load ptr, ptr %74, align 8, !tbaa !5
  %685 = load ptr, ptr %75, align 8, !tbaa !5
  %686 = icmp ne ptr %684, %685
  br i1 %686, label %688, label %687

687:                                              ; preds = %683
  store i32 15, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #10
  br label %1375

688:                                              ; preds = %683
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #10
  %689 = load ptr, ptr %74, align 8, !tbaa !5
  store ptr %689, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #10
  %690 = load ptr, ptr %76, align 8, !tbaa !5
  %691 = getelementptr inbounds %struct.Resource.619, ptr %690, i32 0, i32 0
  %692 = load ptr, ptr %691, align 8, !tbaa !197
  store ptr %692, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #10
  %693 = load ptr, ptr %77, align 8, !tbaa !5
  %694 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler22get_variable_data_typeERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176) %130, ptr noundef nonnull align 8 dereferenceable(176) %693)
          to label %695 unwind label %709

695:                                              ; preds = %688
  store ptr %694, ptr %78, align 8, !tbaa !5
  %696 = load ptr, ptr %77, align 8, !tbaa !5
  %697 = invoke noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL25is_var_runtime_size_arrayERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(176) %696)
          to label %698 unwind label %709

698:                                              ; preds = %695
  br i1 %697, label %699, label %717

699:                                              ; preds = %698
  %700 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 118
  %701 = load i32, ptr %700, align 4, !tbaa !210
  %702 = load i32, ptr %46, align 4, !tbaa !9
  %703 = shl i32 1, %702
  %704 = and i32 %701, %703
  %705 = icmp eq i32 %704, 0
  br i1 %705, label %706, label %717

706:                                              ; preds = %699
  %707 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN11spirv_cross13CompilerErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %707, ptr noundef @.str.1766)
          to label %708 unwind label %713

708:                                              ; preds = %706
  invoke void @__cxa_throw(ptr %707, ptr @_ZTIN11spirv_cross13CompilerErrorE, ptr @_ZNSt13runtime_errorD2Ev) #12
          to label %1479 unwind label %709

709:                                              ; preds = %708, %695, %688
  %710 = landingpad { ptr, i32 }
          cleanup
  %711 = extractvalue { ptr, i32 } %710, 0
  store ptr %711, ptr %13, align 8
  %712 = extractvalue { ptr, i32 } %710, 1
  store i32 %712, ptr %14, align 4
  br label %1374

713:                                              ; preds = %706
  %714 = landingpad { ptr, i32 }
          cleanup
  %715 = extractvalue { ptr, i32 } %714, 0
  store ptr %715, ptr %13, align 8
  %716 = extractvalue { ptr, i32 } %714, 1
  store i32 %716, ptr %14, align 4
  call void @__cxa_free_exception(ptr %707) #10
  br label %1374

717:                                              ; preds = %699, %698
  %718 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 37
  %719 = getelementptr inbounds %"struct.spirv_cross::CompilerMSL::Options", ptr %718, i32 0, i32 45
  %720 = load i8, ptr %719, align 2, !tbaa !213, !range !177, !noundef !178
  %721 = trunc i8 %720 to i1
  br i1 %721, label %722, label %801

722:                                              ; preds = %717
  %723 = load ptr, ptr %76, align 8, !tbaa !5
  %724 = getelementptr inbounds %struct.Resource.619, ptr %723, i32 0, i32 5
  %725 = load i32, ptr %724, align 4, !tbaa !204
  %726 = icmp eq i32 %725, 0
  br i1 %726, label %727, label %801

727:                                              ; preds = %722
  %728 = load ptr, ptr %76, align 8, !tbaa !5
  %729 = getelementptr inbounds %struct.Resource.619, ptr %728, i32 0, i32 6
  %730 = load i32, ptr %729, align 8, !tbaa !205
  %731 = icmp eq i32 %730, 0
  br i1 %731, label %732, label %801

732:                                              ; preds = %727
  call void @llvm.lifetime.start.p0(i64 32, ptr %79) #10
  %733 = load i32, ptr %46, align 4, !tbaa !9
  %734 = load i32, ptr %71, align 4, !tbaa !9
  %735 = load i32, ptr %72, align 4, !tbaa !9
  %736 = sub i32 %734, %735
  %737 = invoke noundef nonnull align 4 dereferenceable(32) ptr @_ZNK11spirv_cross11CompilerMSL28get_argument_buffer_resourceEjj(ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %733, i32 noundef %736)
          to label %738 unwind label %752

738:                                              ; preds = %732
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %737, i64 32, i1 false), !tbaa.struct !214
  %739 = load i32, ptr %72, align 4, !tbaa !9
  %740 = getelementptr inbounds %"struct.spirv_cross::MSLResourceBinding", ptr %79, i32 0, i32 4
  %741 = load i32, ptr %740, align 4, !tbaa !218
  %742 = sub i32 %741, %739
  store i32 %742, ptr %740, align 4, !tbaa !218
  br label %743

743:                                              ; preds = %782, %738
  %744 = load ptr, ptr %76, align 8, !tbaa !5
  %745 = getelementptr inbounds %struct.Resource.619, ptr %744, i32 0, i32 3
  %746 = load i32, ptr %745, align 4, !tbaa !202
  %747 = load i32, ptr %71, align 4, !tbaa !9
  %748 = icmp ugt i32 %746, %747
  br i1 %748, label %749, label %783

749:                                              ; preds = %743
  %750 = getelementptr inbounds %"struct.spirv_cross::MSLResourceBinding", ptr %79, i32 0, i32 1
  %751 = load i32, ptr %750, align 4, !tbaa !220
  switch i32 %751, label %777 [
    i32 1, label %756
    i32 2, label %756
    i32 3, label %756
    i32 4, label %756
    i32 5, label %756
    i32 6, label %756
    i32 7, label %756
    i32 8, label %756
    i32 9, label %756
    i32 10, label %756
    i32 11, label %756
    i32 12, label %756
    i32 13, label %756
    i32 14, label %756
    i32 16, label %759
    i32 18, label %762
    i32 17, label %765
  ]

752:                                              ; preds = %778, %773, %770, %762, %759, %756, %732
  %753 = landingpad { ptr, i32 }
          cleanup
  %754 = extractvalue { ptr, i32 } %753, 0
  store ptr %754, ptr %13, align 8
  %755 = extractvalue { ptr, i32 } %753, 1
  store i32 %755, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #10
  br label %1374

756:                                              ; preds = %749, %749, %749, %749, %749, %749, %749, %749, %749, %749, %749, %749, %749, %749
  %757 = load ptr, ptr %52, align 8, !tbaa !5
  invoke void @_ZN11spirv_cross11CompilerMSL39add_argument_buffer_padding_buffer_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(336) %757, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(32) %79)
          to label %758 unwind label %752

758:                                              ; preds = %756
  br label %778

759:                                              ; preds = %749
  %760 = load ptr, ptr %52, align 8, !tbaa !5
  invoke void @_ZN11spirv_cross11CompilerMSL38add_argument_buffer_padding_image_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(336) %760, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(32) %79)
          to label %761 unwind label %752

761:                                              ; preds = %759
  br label %778

762:                                              ; preds = %749
  %763 = load ptr, ptr %52, align 8, !tbaa !5
  invoke void @_ZN11spirv_cross11CompilerMSL40add_argument_buffer_padding_sampler_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(336) %763, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(32) %79)
          to label %764 unwind label %752

764:                                              ; preds = %762
  br label %778

765:                                              ; preds = %749
  %766 = load i32, ptr %71, align 4, !tbaa !9
  %767 = getelementptr inbounds %"struct.spirv_cross::MSLResourceBinding", ptr %79, i32 0, i32 7
  %768 = load i32, ptr %767, align 4, !tbaa !221
  %769 = icmp eq i32 %766, %768
  br i1 %769, label %770, label %773

770:                                              ; preds = %765
  %771 = load ptr, ptr %52, align 8, !tbaa !5
  invoke void @_ZN11spirv_cross11CompilerMSL40add_argument_buffer_padding_sampler_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(336) %771, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(32) %79)
          to label %772 unwind label %752

772:                                              ; preds = %770
  br label %776

773:                                              ; preds = %765
  %774 = load ptr, ptr %52, align 8, !tbaa !5
  invoke void @_ZN11spirv_cross11CompilerMSL38add_argument_buffer_padding_image_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(336) %774, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %71, ptr noundef nonnull align 4 dereferenceable(32) %79)
          to label %775 unwind label %752

775:                                              ; preds = %773
  br label %776

776:                                              ; preds = %775, %772
  br label %778

777:                                              ; preds = %749
  br label %778

778:                                              ; preds = %777, %776, %764, %761, %758
  %779 = load i32, ptr %46, align 4, !tbaa !9
  %780 = load i32, ptr %71, align 4, !tbaa !9
  %781 = invoke noundef nonnull align 4 dereferenceable(32) ptr @_ZNK11spirv_cross11CompilerMSL28get_argument_buffer_resourceEjj(ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %779, i32 noundef %780)
          to label %782 unwind label %752

782:                                              ; preds = %778
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %781, i64 32, i1 false), !tbaa.struct !214
  store i32 0, ptr %72, align 4, !tbaa !9
  br label %743, !llvm.loop !222

783:                                              ; preds = %743
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #10
  %784 = getelementptr inbounds %"struct.spirv_cross::MSLResourceBinding", ptr %79, i32 0, i32 4
  %785 = load i32, ptr %784, align 4, !tbaa !218
  store i32 %785, ptr %80, align 4, !tbaa !9
  %786 = load i32, ptr %80, align 4, !tbaa !9
  %787 = icmp ugt i32 %786, 1
  br i1 %787, label %788, label %793

788:                                              ; preds = %783
  %789 = load ptr, ptr %78, align 8, !tbaa !5
  %790 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %789, i32 0, i32 6
  %791 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %790) #10
  br i1 %791, label %792, label %793

792:                                              ; preds = %788
  store i32 1, ptr %72, align 4, !tbaa !9
  store i32 1, ptr %80, align 4, !tbaa !9
  br label %793

793:                                              ; preds = %792, %788, %783
  %794 = load ptr, ptr %76, align 8, !tbaa !5
  %795 = getelementptr inbounds %struct.Resource.619, ptr %794, i32 0, i32 4
  %796 = load i32, ptr %795, align 8, !tbaa !203
  %797 = load i32, ptr %80, align 4, !tbaa !9
  %798 = mul i32 %796, %797
  %799 = load i32, ptr %71, align 4, !tbaa !9
  %800 = add i32 %799, %798
  store i32 %800, ptr %71, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #10
  br label %801

801:                                              ; preds = %793, %727, %722, %717
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #10
  %802 = load ptr, ptr %76, align 8, !tbaa !5
  %803 = getelementptr inbounds %struct.Resource.619, ptr %802, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(32) %803)
          to label %804 unwind label %818

804:                                              ; preds = %801
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef @.str.67, ptr noundef nonnull align 1 dereferenceable(1) %84)
          to label %805 unwind label %822

805:                                              ; preds = %804
  invoke void @_ZN11spirv_cross11CompilerMSL17ensure_valid_nameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %81, ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef %82, ptr noundef %83)
          to label %806 unwind label %826

806:                                              ; preds = %805
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #10
  %807 = load ptr, ptr %76, align 8, !tbaa !5
  %808 = getelementptr inbounds %struct.Resource.619, ptr %807, i32 0, i32 5
  %809 = load i32, ptr %808, align 4, !tbaa !204
  %810 = icmp ugt i32 %809, 0
  br i1 %810, label %811, label %840

811:                                              ; preds = %806
  call void @llvm.lifetime.start.p0(i64 32, ptr %85) #10
  %812 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 94
  %813 = load ptr, ptr %76, align 8, !tbaa !5
  %814 = getelementptr inbounds %struct.Resource.619, ptr %813, i32 0, i32 5
  invoke void @_ZN11spirv_cross4joinIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERjEEES6_DpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %85, ptr noundef nonnull align 8 dereferenceable(32) %812, ptr noundef nonnull align 4 dereferenceable(4) %814)
          to label %815 unwind label %831

815:                                              ; preds = %811
  %816 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(32) %85)
          to label %817 unwind label %835

817:                                              ; preds = %815
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #10
  br label %840

818:                                              ; preds = %801
  %819 = landingpad { ptr, i32 }
          cleanup
  %820 = extractvalue { ptr, i32 } %819, 0
  store ptr %820, ptr %13, align 8
  %821 = extractvalue { ptr, i32 } %819, 1
  store i32 %821, ptr %14, align 4
  br label %1373

822:                                              ; preds = %804
  %823 = landingpad { ptr, i32 }
          cleanup
  %824 = extractvalue { ptr, i32 } %823, 0
  store ptr %824, ptr %13, align 8
  %825 = extractvalue { ptr, i32 } %823, 1
  store i32 %825, ptr %14, align 4
  br label %830

826:                                              ; preds = %805
  %827 = landingpad { ptr, i32 }
          cleanup
  %828 = extractvalue { ptr, i32 } %827, 0
  store ptr %828, ptr %13, align 8
  %829 = extractvalue { ptr, i32 } %827, 1
  store i32 %829, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #10
  br label %830

830:                                              ; preds = %826, %822
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #10
  br label %1373

831:                                              ; preds = %811
  %832 = landingpad { ptr, i32 }
          cleanup
  %833 = extractvalue { ptr, i32 } %832, 0
  store ptr %833, ptr %13, align 8
  %834 = extractvalue { ptr, i32 } %832, 1
  store i32 %834, ptr %14, align 4
  br label %839

835:                                              ; preds = %815
  %836 = landingpad { ptr, i32 }
          cleanup
  %837 = extractvalue { ptr, i32 } %836, 0
  store ptr %837, ptr %13, align 8
  %838 = extractvalue { ptr, i32 } %836, 1
  store i32 %838, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #10
  br label %839

839:                                              ; preds = %835, %831
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #10
  br label %1372

840:                                              ; preds = %817, %806
  %841 = load ptr, ptr %52, align 8, !tbaa !5
  %842 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %841, i32 0, i32 1
  %843 = invoke i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_1EEEv(ptr noundef nonnull align 4 dereferenceable(4) %842)
          to label %844 unwind label %909

844:                                              ; preds = %840
  %845 = getelementptr inbounds %"class.spirv_cross::TypedID.414", ptr %86, i32 0, i32 0
  store i32 %843, ptr %845, align 4
  %846 = load i32, ptr %70, align 4, !tbaa !9
  %847 = getelementptr inbounds %"class.spirv_cross::TypedID.414", ptr %86, i32 0, i32 0
  %848 = load i32, ptr %847, align 4
  invoke void @_ZN11spirv_cross8Compiler15set_member_nameENS_7TypedIDILNS_5TypesE1EEEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %848, i32 noundef %846, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %849 unwind label %909

849:                                              ; preds = %844
  %850 = load ptr, ptr %76, align 8, !tbaa !5
  %851 = getelementptr inbounds %struct.Resource.619, ptr %850, i32 0, i32 2
  %852 = load i32, ptr %851, align 8, !tbaa !201
  %853 = icmp eq i32 %852, 18
  br i1 %853, label %854, label %950

854:                                              ; preds = %849
  %855 = load ptr, ptr %78, align 8, !tbaa !5
  %856 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %855, i32 0, i32 2
  %857 = load i32, ptr %856, align 8, !tbaa !209
  %858 = icmp ne i32 %857, 18
  br i1 %858, label %859, label %950

859:                                              ; preds = %854
  call void @llvm.lifetime.start.p0(i64 1, ptr %87) #10
  %860 = load ptr, ptr %78, align 8, !tbaa !5
  %861 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %860, i32 0, i32 6
  %862 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %861) #10
  %863 = xor i1 %862, true
  %864 = zext i1 %863 to i8
  store i8 %864, ptr %87, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %88) #10
  %865 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %866 = load i8, ptr %87, align 1, !tbaa !11, !range !177, !noundef !178
  %867 = trunc i8 %866 to i1
  %868 = zext i1 %867 to i64
  %869 = select i1 %867, i32 2, i32 1
  %870 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %865, i32 noundef %869)
          to label %871 unwind label %913

871:                                              ; preds = %859
  store i32 %870, ptr %88, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #10
  %872 = load i32, ptr %88, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %90) #10
  store i32 26, ptr %90, align 4, !tbaa !208
  %873 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %872, ptr noundef nonnull align 4 dereferenceable(4) %90)
          to label %874 unwind label %917

874:                                              ; preds = %871
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #10
  store ptr %873, ptr %89, align 8, !tbaa !5
  %875 = load ptr, ptr %89, align 8, !tbaa !5
  %876 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %875, i32 0, i32 2
  store i32 18, ptr %876, align 8, !tbaa !209
  %877 = load ptr, ptr %89, align 8, !tbaa !5
  %878 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %877, i32 0, i32 11
  store i32 0, ptr %878, align 8, !tbaa !195
  %879 = load i8, ptr %87, align 1, !tbaa !11, !range !177, !noundef !178
  %880 = trunc i8 %879 to i1
  br i1 %880, label %881, label %938

881:                                              ; preds = %874
  call void @llvm.lifetime.start.p0(i64 4, ptr %91) #10
  %882 = load i32, ptr %88, align 4, !tbaa !9
  %883 = add i32 %882, 1
  store i32 %883, ptr %91, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #10
  %884 = load i32, ptr %91, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %93) #10
  store i32 28, ptr %93, align 4, !tbaa !208
  %885 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %884, ptr noundef nonnull align 4 dereferenceable(4) %93)
          to label %886 unwind label %921

886:                                              ; preds = %881
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #10
  store ptr %885, ptr %92, align 8, !tbaa !5
  %887 = load ptr, ptr %89, align 8, !tbaa !5
  %888 = load ptr, ptr %92, align 8, !tbaa !5
  %889 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8SPIRTypeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(336) %888, ptr noundef nonnull align 8 dereferenceable(336) %887)
          to label %890 unwind label %925

890:                                              ; preds = %886
  %891 = load ptr, ptr %78, align 8, !tbaa !5
  %892 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %891, i32 0, i32 6
  %893 = load ptr, ptr %92, align 8, !tbaa !5
  %894 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %893, i32 0, i32 6
  %895 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorIjLm8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %894, ptr noundef nonnull align 8 dereferenceable(56) %892) #10
  %896 = load ptr, ptr %78, align 8, !tbaa !5
  %897 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %896, i32 0, i32 7
  %898 = load ptr, ptr %92, align 8, !tbaa !5
  %899 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %898, i32 0, i32 7
  %900 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11spirv_cross11SmallVectorIbLm8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %899, ptr noundef nonnull align 8 dereferenceable(32) %897) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #10
  %901 = load i32, ptr %88, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %94, i32 noundef %901)
          to label %902 unwind label %929

902:                                              ; preds = %890
  %903 = load ptr, ptr %92, align 8, !tbaa !5
  %904 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %903, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %904, ptr align 4 %94, i64 4, i1 false), !tbaa.struct !194
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #10
  %905 = load ptr, ptr %52, align 8, !tbaa !5
  %906 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %905, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 4, ptr %95) #10
  %907 = load i32, ptr %91, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %95, i32 noundef %907)
          to label %908 unwind label %933

908:                                              ; preds = %902
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %906, ptr noundef nonnull align 4 dereferenceable(4) %95) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #10
  br label %947

909:                                              ; preds = %1363, %1359, %1356, %1352, %1351, %1346, %1342, %1337, %1333, %844, %840
  %910 = landingpad { ptr, i32 }
          cleanup
  %911 = extractvalue { ptr, i32 } %910, 0
  store ptr %911, ptr %13, align 8
  %912 = extractvalue { ptr, i32 } %910, 1
  store i32 %912, ptr %14, align 4
  br label %1372

913:                                              ; preds = %859
  %914 = landingpad { ptr, i32 }
          cleanup
  %915 = extractvalue { ptr, i32 } %914, 0
  store ptr %915, ptr %13, align 8
  %916 = extractvalue { ptr, i32 } %914, 1
  store i32 %916, ptr %14, align 4
  br label %949

917:                                              ; preds = %871
  %918 = landingpad { ptr, i32 }
          cleanup
  %919 = extractvalue { ptr, i32 } %918, 0
  store ptr %919, ptr %13, align 8
  %920 = extractvalue { ptr, i32 } %918, 1
  store i32 %920, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #10
  br label %948

921:                                              ; preds = %881
  %922 = landingpad { ptr, i32 }
          cleanup
  %923 = extractvalue { ptr, i32 } %922, 0
  store ptr %923, ptr %13, align 8
  %924 = extractvalue { ptr, i32 } %922, 1
  store i32 %924, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #10
  br label %937

925:                                              ; preds = %886
  %926 = landingpad { ptr, i32 }
          cleanup
  %927 = extractvalue { ptr, i32 } %926, 0
  store ptr %927, ptr %13, align 8
  %928 = extractvalue { ptr, i32 } %926, 1
  store i32 %928, ptr %14, align 4
  br label %937

929:                                              ; preds = %890
  %930 = landingpad { ptr, i32 }
          cleanup
  %931 = extractvalue { ptr, i32 } %930, 0
  store ptr %931, ptr %13, align 8
  %932 = extractvalue { ptr, i32 } %930, 1
  store i32 %932, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #10
  br label %937

933:                                              ; preds = %902
  %934 = landingpad { ptr, i32 }
          cleanup
  %935 = extractvalue { ptr, i32 } %934, 0
  store ptr %935, ptr %13, align 8
  %936 = extractvalue { ptr, i32 } %934, 1
  store i32 %936, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #10
  br label %937

937:                                              ; preds = %933, %929, %925, %921
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %91) #10
  br label %948

938:                                              ; preds = %874
  %939 = load ptr, ptr %52, align 8, !tbaa !5
  %940 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %939, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 4, ptr %96) #10
  %941 = load i32, ptr %88, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %96, i32 noundef %941)
          to label %942 unwind label %943

942:                                              ; preds = %938
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %940, ptr noundef nonnull align 4 dereferenceable(4) %96) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #10
  br label %947

943:                                              ; preds = %938
  %944 = landingpad { ptr, i32 }
          cleanup
  %945 = extractvalue { ptr, i32 } %944, 0
  store ptr %945, ptr %13, align 8
  %946 = extractvalue { ptr, i32 } %944, 1
  store i32 %946, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #10
  br label %948

947:                                              ; preds = %942, %908
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #10
  br label %1333

948:                                              ; preds = %943, %937, %917
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  br label %949

949:                                              ; preds = %948, %913
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #10
  br label %1372

950:                                              ; preds = %854, %849
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #10
  %951 = load ptr, ptr %77, align 8, !tbaa !5
  %952 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %951, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %98, ptr align 8 %952, i64 4, i1 false), !tbaa.struct !194
  %953 = getelementptr inbounds %"class.spirv_cross::TypedID.413", ptr %98, i32 0, i32 0
  %954 = load i32, ptr %953, align 4
  %955 = invoke noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 %954, i32 noundef 33)
          to label %956 unwind label %995

956:                                              ; preds = %950
  store i32 %955, ptr %97, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %99) #10
  %957 = getelementptr inbounds %"struct.spirv_cross::SetBindingPair", ptr %99, i32 0, i32 0
  %958 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %958, ptr %957, align 4, !tbaa !223
  %959 = getelementptr inbounds %"struct.spirv_cross::SetBindingPair", ptr %99, i32 0, i32 1
  %960 = load i32, ptr %97, align 4, !tbaa !9
  store i32 %960, ptr %959, align 4, !tbaa !225
  %961 = load ptr, ptr %76, align 8, !tbaa !5
  %962 = getelementptr inbounds %struct.Resource.619, ptr %961, i32 0, i32 2
  %963 = load i32, ptr %962, align 8, !tbaa !201
  %964 = icmp eq i32 %963, 16
  br i1 %964, label %975, label %965

965:                                              ; preds = %956
  %966 = load ptr, ptr %76, align 8, !tbaa !5
  %967 = getelementptr inbounds %struct.Resource.619, ptr %966, i32 0, i32 2
  %968 = load i32, ptr %967, align 8, !tbaa !201
  %969 = icmp eq i32 %968, 18
  br i1 %969, label %975, label %970

970:                                              ; preds = %965
  %971 = load ptr, ptr %76, align 8, !tbaa !5
  %972 = getelementptr inbounds %struct.Resource.619, ptr %971, i32 0, i32 2
  %973 = load i32, ptr %972, align 8, !tbaa !201
  %974 = icmp eq i32 %973, 17
  br i1 %974, label %975, label %1072

975:                                              ; preds = %970, %965, %956
  %976 = load ptr, ptr %52, align 8, !tbaa !5
  %977 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %976, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 4, ptr %100) #10
  %978 = load ptr, ptr %77, align 8, !tbaa !5
  %979 = invoke noundef i32 @_ZNK11spirv_cross8Compiler25get_variable_data_type_idERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176) %130, ptr noundef nonnull align 8 dereferenceable(176) %978)
          to label %980 unwind label %999

980:                                              ; preds = %975
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %100, i32 noundef %979)
          to label %981 unwind label %999

981:                                              ; preds = %980
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %977, ptr noundef nonnull align 4 dereferenceable(4) %100) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #10
  %982 = load ptr, ptr %77, align 8, !tbaa !5
  %983 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %982, i32 0, i32 1
  %984 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %983)
          to label %985 unwind label %1003

985:                                              ; preds = %981
  %986 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %984, i32 noundef 17)
          to label %987 unwind label %1003

987:                                              ; preds = %985
  br i1 %986, label %988, label %1039

988:                                              ; preds = %987
  %989 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 37
  %990 = invoke noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL7Options20supports_msl_versionEjjj(ptr noundef nonnull align 4 dereferenceable(137) %989, i32 noundef 3, i32 noundef 0, i32 noundef 0)
          to label %991 unwind label %1003

991:                                              ; preds = %988
  br i1 %990, label %1011, label %992

992:                                              ; preds = %991
  %993 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN11spirv_cross13CompilerErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %993, ptr noundef @.str.1767)
          to label %994 unwind label %1007

994:                                              ; preds = %992
  invoke void @__cxa_throw(ptr %993, ptr @_ZTIN11spirv_cross13CompilerErrorE, ptr @_ZNSt13runtime_errorD2Ev) #12
          to label %1479 unwind label %1003

995:                                              ; preds = %950
  %996 = landingpad { ptr, i32 }
          cleanup
  %997 = extractvalue { ptr, i32 } %996, 0
  store ptr %997, ptr %13, align 8
  %998 = extractvalue { ptr, i32 } %996, 1
  store i32 %998, ptr %14, align 4
  br label %1332

999:                                              ; preds = %980, %975
  %1000 = landingpad { ptr, i32 }
          cleanup
  %1001 = extractvalue { ptr, i32 } %1000, 0
  store ptr %1001, ptr %13, align 8
  %1002 = extractvalue { ptr, i32 } %1000, 1
  store i32 %1002, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #10
  br label %1331

1003:                                             ; preds = %1299, %1273, %1236, %1230, %1221, %1218, %1210, %1101, %1090, %1085, %1077, %1072, %1044, %994, %988, %985, %981
  %1004 = landingpad { ptr, i32 }
          cleanup
  %1005 = extractvalue { ptr, i32 } %1004, 0
  store ptr %1005, ptr %13, align 8
  %1006 = extractvalue { ptr, i32 } %1004, 1
  store i32 %1006, ptr %14, align 4
  br label %1331

1007:                                             ; preds = %992
  %1008 = landingpad { ptr, i32 }
          cleanup
  %1009 = extractvalue { ptr, i32 } %1008, 0
  store ptr %1009, ptr %13, align 8
  %1010 = extractvalue { ptr, i32 } %1008, 1
  store i32 %1010, ptr %14, align 4
  call void @__cxa_free_exception(ptr %993) #10
  br label %1331

1011:                                             ; preds = %991
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #10
  %1012 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %1013 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %1012, i32 0, i32 13
  %1014 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE4EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1013)
          to label %1015 unwind label %1025

1015:                                             ; preds = %1011
  %1016 = invoke noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1014)
          to label %1017 unwind label %1025

1017:                                             ; preds = %1015
  store ptr %1016, ptr %101, align 8, !tbaa !5
  %1018 = load ptr, ptr %101, align 8, !tbaa !5
  %1019 = getelementptr inbounds %"struct.spirv_cross::SPIRFunction", ptr %1018, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 32, ptr %102) #10
  call void @llvm.lifetime.start.p0(i64 72, ptr %103) #10
  %1020 = getelementptr inbounds %class.anon.622, ptr %103, i32 0, i32 0
  store ptr %130, ptr %1020, align 8, !tbaa !226
  %1021 = getelementptr inbounds %class.anon.622, ptr %103, i32 0, i32 1
  %1022 = load ptr, ptr %76, align 8, !tbaa !5
  invoke void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %1021, ptr noundef nonnull align 8 dereferenceable(60) %1022)
          to label %1023 unwind label %1029

1023:                                             ; preds = %1017
  invoke void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef nonnull align 8 dereferenceable(72) %103)
          to label %1024 unwind label %1033

1024:                                             ; preds = %1023
  call void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25) %1019, ptr noundef nonnull align 8 dereferenceable(32) %102) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #10
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %103) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr %103) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #10
  br label %1071

1025:                                             ; preds = %1015, %1011
  %1026 = landingpad { ptr, i32 }
          cleanup
  %1027 = extractvalue { ptr, i32 } %1026, 0
  store ptr %1027, ptr %13, align 8
  %1028 = extractvalue { ptr, i32 } %1026, 1
  store i32 %1028, ptr %14, align 4
  br label %1038

1029:                                             ; preds = %1017
  %1030 = landingpad { ptr, i32 }
          cleanup
  %1031 = extractvalue { ptr, i32 } %1030, 0
  store ptr %1031, ptr %13, align 8
  %1032 = extractvalue { ptr, i32 } %1030, 1
  store i32 %1032, ptr %14, align 4
  br label %1037

1033:                                             ; preds = %1023
  %1034 = landingpad { ptr, i32 }
          cleanup
  %1035 = extractvalue { ptr, i32 } %1034, 0
  store ptr %1035, ptr %13, align 8
  %1036 = extractvalue { ptr, i32 } %1034, 1
  store i32 %1036, ptr %14, align 4
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %103) #10
  br label %1037

1037:                                             ; preds = %1033, %1029
  call void @llvm.lifetime.end.p0(i64 72, ptr %103) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #10
  br label %1038

1038:                                             ; preds = %1037, %1025
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #10
  br label %1331

1039:                                             ; preds = %987
  %1040 = load ptr, ptr %76, align 8, !tbaa !5
  %1041 = getelementptr inbounds %struct.Resource.619, ptr %1040, i32 0, i32 5
  %1042 = load i32, ptr %1041, align 4, !tbaa !204
  %1043 = icmp eq i32 %1042, 0
  br i1 %1043, label %1044, label %1070

1044:                                             ; preds = %1039
  %1045 = load ptr, ptr %77, align 8, !tbaa !5
  %1046 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1045, i32 0, i32 1
  %1047 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1046)
          to label %1048 unwind label %1003

1048:                                             ; preds = %1044
  call void @llvm.lifetime.start.p0(i64 32, ptr %104) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %105) #10
  %1049 = load i32, ptr %61, align 4, !tbaa !9
  %1050 = load ptr, ptr %130, align 8, !tbaa !199
  %1051 = getelementptr inbounds ptr, ptr %1050, i64 6
  %1052 = load ptr, ptr %1051, align 8
  invoke void %1052(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %105, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %1049, i1 noundef zeroext true)
          to label %1053 unwind label %1056

1053:                                             ; preds = %1048
  invoke void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %104, ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %1054 unwind label %1060

1054:                                             ; preds = %1053
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1047, ptr noundef nonnull align 8 dereferenceable(32) %104)
          to label %1055 unwind label %1064

1055:                                             ; preds = %1054
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %105) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %104) #10
  br label %1070

1056:                                             ; preds = %1048
  %1057 = landingpad { ptr, i32 }
          cleanup
  %1058 = extractvalue { ptr, i32 } %1057, 0
  store ptr %1058, ptr %13, align 8
  %1059 = extractvalue { ptr, i32 } %1057, 1
  store i32 %1059, ptr %14, align 4
  br label %1069

1060:                                             ; preds = %1053
  %1061 = landingpad { ptr, i32 }
          cleanup
  %1062 = extractvalue { ptr, i32 } %1061, 0
  store ptr %1062, ptr %13, align 8
  %1063 = extractvalue { ptr, i32 } %1061, 1
  store i32 %1063, ptr %14, align 4
  br label %1068

1064:                                             ; preds = %1054
  %1065 = landingpad { ptr, i32 }
          cleanup
  %1066 = extractvalue { ptr, i32 } %1065, 0
  store ptr %1066, ptr %13, align 8
  %1067 = extractvalue { ptr, i32 } %1065, 1
  store i32 %1067, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #10
  br label %1068

1068:                                             ; preds = %1064, %1060
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #10
  br label %1069

1069:                                             ; preds = %1068, %1056
  call void @llvm.lifetime.end.p0(i64 32, ptr %105) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %104) #10
  br label %1331

1070:                                             ; preds = %1055, %1039
  br label %1071

1071:                                             ; preds = %1070, %1024
  br label %1330

1072:                                             ; preds = %970
  %1073 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 113
  %1074 = invoke noundef i64 @_ZNKSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48) %1073, ptr noundef nonnull align 4 dereferenceable(8) %99)
          to label %1075 unwind label %1003

1075:                                             ; preds = %1072
  %1076 = icmp ne i64 %1074, 0
  br i1 %1076, label %1077, label %1090

1077:                                             ; preds = %1075
  %1078 = load ptr, ptr %52, align 8, !tbaa !5
  %1079 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %1078, i32 0, i32 12
  %1080 = load ptr, ptr %77, align 8, !tbaa !5
  %1081 = getelementptr inbounds %"struct.spirv_cross::SPIRVariable", ptr %1080, i32 0, i32 1
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %1079, ptr noundef nonnull align 4 dereferenceable(4) %1081) #10
  %1082 = load ptr, ptr %77, align 8, !tbaa !5
  %1083 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1082, i32 0, i32 1
  %1084 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1083)
          to label %1085 unwind label %1003

1085:                                             ; preds = %1077
  %1086 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 113
  %1087 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %1086, ptr noundef nonnull align 4 dereferenceable(8) %99)
          to label %1088 unwind label %1003

1088:                                             ; preds = %1085
  %1089 = getelementptr inbounds %"struct.std::pair.401", ptr %1087, i32 0, i32 1
  store i32 %1084, ptr %1089, align 4, !tbaa !228
  br label %1329

1090:                                             ; preds = %1075
  %1091 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 115
  %1092 = invoke noundef i64 @_ZNKSt13unordered_setIN11spirv_cross14SetBindingPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %1091, ptr noundef nonnull align 4 dereferenceable(8) %99)
          to label %1093 unwind label %1003

1093:                                             ; preds = %1090
  %1094 = icmp ne i64 %1092, 0
  br i1 %1094, label %1095, label %1131

1095:                                             ; preds = %1093
  %1096 = load ptr, ptr %52, align 8, !tbaa !5
  %1097 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %1096, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 4, ptr %106) #10
  %1098 = load ptr, ptr %77, align 8, !tbaa !5
  %1099 = invoke noundef i32 @_ZNK11spirv_cross8Compiler25get_variable_data_type_idERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176) %130, ptr noundef nonnull align 8 dereferenceable(176) %1098)
          to label %1100 unwind label %1113

1100:                                             ; preds = %1095
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %106, i32 noundef %1099)
          to label %1101 unwind label %1113

1101:                                             ; preds = %1100
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %1097, ptr noundef nonnull align 4 dereferenceable(4) %106) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %106) #10
  %1102 = load ptr, ptr %77, align 8, !tbaa !5
  %1103 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1102, i32 0, i32 1
  %1104 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1103)
          to label %1105 unwind label %1003

1105:                                             ; preds = %1101
  call void @llvm.lifetime.start.p0(i64 32, ptr %107) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %108) #10
  %1106 = load i32, ptr %61, align 4, !tbaa !9
  %1107 = load ptr, ptr %130, align 8, !tbaa !199
  %1108 = getelementptr inbounds ptr, ptr %1107, i64 6
  %1109 = load ptr, ptr %1108, align 8
  invoke void %1109(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %108, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %1106, i1 noundef zeroext true)
          to label %1110 unwind label %1117

1110:                                             ; preds = %1105
  invoke void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %107, ptr noundef nonnull align 8 dereferenceable(32) %108, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %1111 unwind label %1121

1111:                                             ; preds = %1110
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1104, ptr noundef nonnull align 8 dereferenceable(32) %107)
          to label %1112 unwind label %1125

1112:                                             ; preds = %1111
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %107) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %108) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %108) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %107) #10
  br label %1328

1113:                                             ; preds = %1100, %1095
  %1114 = landingpad { ptr, i32 }
          cleanup
  %1115 = extractvalue { ptr, i32 } %1114, 0
  store ptr %1115, ptr %13, align 8
  %1116 = extractvalue { ptr, i32 } %1114, 1
  store i32 %1116, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %106) #10
  br label %1331

1117:                                             ; preds = %1105
  %1118 = landingpad { ptr, i32 }
          cleanup
  %1119 = extractvalue { ptr, i32 } %1118, 0
  store ptr %1119, ptr %13, align 8
  %1120 = extractvalue { ptr, i32 } %1118, 1
  store i32 %1120, ptr %14, align 4
  br label %1130

1121:                                             ; preds = %1110
  %1122 = landingpad { ptr, i32 }
          cleanup
  %1123 = extractvalue { ptr, i32 } %1122, 0
  store ptr %1123, ptr %13, align 8
  %1124 = extractvalue { ptr, i32 } %1122, 1
  store i32 %1124, ptr %14, align 4
  br label %1129

1125:                                             ; preds = %1111
  %1126 = landingpad { ptr, i32 }
          cleanup
  %1127 = extractvalue { ptr, i32 } %1126, 0
  store ptr %1127, ptr %13, align 8
  %1128 = extractvalue { ptr, i32 } %1126, 1
  store i32 %1128, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %107) #10
  br label %1129

1129:                                             ; preds = %1125, %1121
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %108) #10
  br label %1130

1130:                                             ; preds = %1129, %1117
  call void @llvm.lifetime.end.p0(i64 32, ptr %108) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %107) #10
  br label %1331

1131:                                             ; preds = %1093
  %1132 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 109
  call void @llvm.lifetime.start.p0(i64 4, ptr %109) #10
  %1133 = load ptr, ptr %77, align 8, !tbaa !5
  %1134 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1133, i32 0, i32 1
  %1135 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1134)
          to label %1136 unwind label %1174

1136:                                             ; preds = %1131
  store i32 %1135, ptr %109, align 4, !tbaa !9
  %1137 = invoke noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56) %1132, ptr noundef nonnull align 4 dereferenceable(4) %109)
          to label %1138 unwind label %1174

1138:                                             ; preds = %1136
  %1139 = icmp ne i64 %1137, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #10
  br i1 %1139, label %1140, label %1210

1140:                                             ; preds = %1138
  call void @llvm.lifetime.start.p0(i64 4, ptr %110) #10
  %1141 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %1142 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %1141, i32 noundef 2)
          to label %1143 unwind label %1178

1143:                                             ; preds = %1140
  store i32 %1142, ptr %110, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %111) #10
  %1144 = load i32, ptr %110, align 4, !tbaa !9
  store i32 %1144, ptr %111, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %112) #10
  %1145 = load i32, ptr %110, align 4, !tbaa !9
  %1146 = add i32 %1145, 1
  store i32 %1146, ptr %112, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 336, ptr %113) #10
  invoke void @_ZN11spirv_cross8SPIRTypeC2EN3spv2OpE(ptr noundef nonnull align 8 dereferenceable(336) %113, i32 noundef 21)
          to label %1147 unwind label %1182

1147:                                             ; preds = %1143
  %1148 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 2
  store i32 11, ptr %1148, align 8, !tbaa !209
  %1149 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 3
  store i32 32, ptr %1149, align 4, !tbaa !230
  %1150 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 4
  store i32 1, ptr %1150, align 8, !tbaa !231
  %1151 = load i32, ptr %111, align 4, !tbaa !9
  %1152 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1151, ptr noundef nonnull align 8 dereferenceable(336) %113)
          to label %1153 unwind label %1186

1153:                                             ; preds = %1147
  %1154 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 1
  store i32 32, ptr %1154, align 4, !tbaa !179
  %1155 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 9
  store i8 1, ptr %1155, align 4, !tbaa !192
  %1156 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 8
  %1157 = load i32, ptr %1156, align 8, !tbaa !193
  %1158 = add i32 %1157, 1
  store i32 %1158, ptr %1156, align 8, !tbaa !193
  call void @llvm.lifetime.start.p0(i64 4, ptr %114) #10
  %1159 = load i32, ptr %111, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %114, i32 noundef %1159)
          to label %1160 unwind label %1190

1160:                                             ; preds = %1153
  %1161 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1161, ptr align 4 %114, i64 4, i1 false), !tbaa.struct !194
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #10
  %1162 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %113, i32 0, i32 11
  store i32 12, ptr %1162, align 8, !tbaa !195
  call void @llvm.lifetime.start.p0(i64 8, ptr %115) #10
  %1163 = load i32, ptr %112, align 4, !tbaa !9
  %1164 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1163, ptr noundef nonnull align 8 dereferenceable(336) %113)
          to label %1165 unwind label %1194

1165:                                             ; preds = %1160
  store ptr %1164, ptr %115, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %116) #10
  %1166 = load i32, ptr %111, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %116, i32 noundef %1166)
          to label %1167 unwind label %1198

1167:                                             ; preds = %1165
  %1168 = load ptr, ptr %115, align 8, !tbaa !5
  %1169 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1168, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1169, ptr align 4 %116, i64 4, i1 false), !tbaa.struct !194
  call void @llvm.lifetime.end.p0(i64 4, ptr %116) #10
  %1170 = load ptr, ptr %52, align 8, !tbaa !5
  %1171 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %1170, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 4, ptr %117) #10
  %1172 = load i32, ptr %112, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %117, i32 noundef %1172)
          to label %1173 unwind label %1202

1173:                                             ; preds = %1167
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %1171, ptr noundef nonnull align 4 dereferenceable(4) %117) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %117) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #10
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %113) #10
  call void @llvm.lifetime.end.p0(i64 336, ptr %113) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %112) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %111) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #10
  br label %1327

1174:                                             ; preds = %1136, %1131
  %1175 = landingpad { ptr, i32 }
          cleanup
  %1176 = extractvalue { ptr, i32 } %1175, 0
  store ptr %1176, ptr %13, align 8
  %1177 = extractvalue { ptr, i32 } %1175, 1
  store i32 %1177, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #10
  br label %1331

1178:                                             ; preds = %1140
  %1179 = landingpad { ptr, i32 }
          cleanup
  %1180 = extractvalue { ptr, i32 } %1179, 0
  store ptr %1180, ptr %13, align 8
  %1181 = extractvalue { ptr, i32 } %1179, 1
  store i32 %1181, ptr %14, align 4
  br label %1209

1182:                                             ; preds = %1143
  %1183 = landingpad { ptr, i32 }
          cleanup
  %1184 = extractvalue { ptr, i32 } %1183, 0
  store ptr %1184, ptr %13, align 8
  %1185 = extractvalue { ptr, i32 } %1183, 1
  store i32 %1185, ptr %14, align 4
  br label %1208

1186:                                             ; preds = %1147
  %1187 = landingpad { ptr, i32 }
          cleanup
  %1188 = extractvalue { ptr, i32 } %1187, 0
  store ptr %1188, ptr %13, align 8
  %1189 = extractvalue { ptr, i32 } %1187, 1
  store i32 %1189, ptr %14, align 4
  br label %1207

1190:                                             ; preds = %1153
  %1191 = landingpad { ptr, i32 }
          cleanup
  %1192 = extractvalue { ptr, i32 } %1191, 0
  store ptr %1192, ptr %13, align 8
  %1193 = extractvalue { ptr, i32 } %1191, 1
  store i32 %1193, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #10
  br label %1207

1194:                                             ; preds = %1160
  %1195 = landingpad { ptr, i32 }
          cleanup
  %1196 = extractvalue { ptr, i32 } %1195, 0
  store ptr %1196, ptr %13, align 8
  %1197 = extractvalue { ptr, i32 } %1195, 1
  store i32 %1197, ptr %14, align 4
  br label %1206

1198:                                             ; preds = %1165
  %1199 = landingpad { ptr, i32 }
          cleanup
  %1200 = extractvalue { ptr, i32 } %1199, 0
  store ptr %1200, ptr %13, align 8
  %1201 = extractvalue { ptr, i32 } %1199, 1
  store i32 %1201, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %116) #10
  br label %1206

1202:                                             ; preds = %1167
  %1203 = landingpad { ptr, i32 }
          cleanup
  %1204 = extractvalue { ptr, i32 } %1203, 0
  store ptr %1204, ptr %13, align 8
  %1205 = extractvalue { ptr, i32 } %1203, 1
  store i32 %1205, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %117) #10
  br label %1206

1206:                                             ; preds = %1202, %1198, %1194
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #10
  br label %1207

1207:                                             ; preds = %1206, %1190, %1186
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %113) #10
  br label %1208

1208:                                             ; preds = %1207, %1182
  call void @llvm.lifetime.end.p0(i64 336, ptr %113) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %112) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %111) #10
  br label %1209

1209:                                             ; preds = %1208, %1178
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #10
  br label %1331

1210:                                             ; preds = %1138
  %1211 = load ptr, ptr %52, align 8, !tbaa !5
  %1212 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %1211, i32 0, i32 12
  %1213 = load ptr, ptr %77, align 8, !tbaa !5
  %1214 = getelementptr inbounds %"struct.spirv_cross::SPIRVariable", ptr %1213, i32 0, i32 1
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %1212, ptr noundef nonnull align 4 dereferenceable(4) %1214) #10
  %1215 = load ptr, ptr %77, align 8, !tbaa !5
  %1216 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1215, i32 0, i32 1
  %1217 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1216)
          to label %1218 unwind label %1003

1218:                                             ; preds = %1210
  %1219 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1217, i32 noundef 17)
          to label %1220 unwind label %1003

1220:                                             ; preds = %1218
  br i1 %1219, label %1221, label %1269

1221:                                             ; preds = %1220
  %1222 = load ptr, ptr %76, align 8, !tbaa !5
  %1223 = getelementptr inbounds %struct.Resource.619, ptr %1222, i32 0, i32 6
  %1224 = load i32, ptr %1223, align 8, !tbaa !205
  %1225 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRVariableEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1224)
          to label %1226 unwind label %1003

1226:                                             ; preds = %1221
  %1227 = getelementptr inbounds %"struct.spirv_cross::SPIRVariable", ptr %1225, i32 0, i32 2
  %1228 = load i32, ptr %1227, align 8, !tbaa !232
  %1229 = icmp eq i32 %1228, 0
  br i1 %1229, label %1230, label %1241

1230:                                             ; preds = %1226
  %1231 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 37
  %1232 = invoke noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL7Options20supports_msl_versionEjjj(ptr noundef nonnull align 4 dereferenceable(137) %1231, i32 noundef 3, i32 noundef 0, i32 noundef 0)
          to label %1233 unwind label %1003

1233:                                             ; preds = %1230
  br i1 %1232, label %1241, label %1234

1234:                                             ; preds = %1233
  %1235 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN11spirv_cross13CompilerErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %1235, ptr noundef @.str.1767)
          to label %1236 unwind label %1237

1236:                                             ; preds = %1234
  invoke void @__cxa_throw(ptr %1235, ptr @_ZTIN11spirv_cross13CompilerErrorE, ptr @_ZNSt13runtime_errorD2Ev) #12
          to label %1479 unwind label %1003

1237:                                             ; preds = %1234
  %1238 = landingpad { ptr, i32 }
          cleanup
  %1239 = extractvalue { ptr, i32 } %1238, 0
  store ptr %1239, ptr %13, align 8
  %1240 = extractvalue { ptr, i32 } %1238, 1
  store i32 %1240, ptr %14, align 4
  call void @__cxa_free_exception(ptr %1235) #10
  br label %1331

1241:                                             ; preds = %1233, %1226
  call void @llvm.lifetime.start.p0(i64 8, ptr %118) #10
  %1242 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %1243 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %1242, i32 0, i32 13
  %1244 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE4EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1243)
          to label %1245 unwind label %1255

1245:                                             ; preds = %1241
  %1246 = invoke noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1244)
          to label %1247 unwind label %1255

1247:                                             ; preds = %1245
  store ptr %1246, ptr %118, align 8, !tbaa !5
  %1248 = load ptr, ptr %118, align 8, !tbaa !5
  %1249 = getelementptr inbounds %"struct.spirv_cross::SPIRFunction", ptr %1248, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 32, ptr %119) #10
  call void @llvm.lifetime.start.p0(i64 72, ptr %120) #10
  %1250 = getelementptr inbounds %class.anon.623, ptr %120, i32 0, i32 0
  store ptr %130, ptr %1250, align 8, !tbaa !235
  %1251 = getelementptr inbounds %class.anon.623, ptr %120, i32 0, i32 1
  %1252 = load ptr, ptr %76, align 8, !tbaa !5
  invoke void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %1251, ptr noundef nonnull align 8 dereferenceable(60) %1252)
          to label %1253 unwind label %1259

1253:                                             ; preds = %1247
  invoke void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %119, ptr noundef nonnull align 8 dereferenceable(72) %120)
          to label %1254 unwind label %1263

1254:                                             ; preds = %1253
  call void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25) %1249, ptr noundef nonnull align 8 dereferenceable(32) %119) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %119) #10
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %120) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr %120) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %119) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %118) #10
  br label %1326

1255:                                             ; preds = %1245, %1241
  %1256 = landingpad { ptr, i32 }
          cleanup
  %1257 = extractvalue { ptr, i32 } %1256, 0
  store ptr %1257, ptr %13, align 8
  %1258 = extractvalue { ptr, i32 } %1256, 1
  store i32 %1258, ptr %14, align 4
  br label %1268

1259:                                             ; preds = %1247
  %1260 = landingpad { ptr, i32 }
          cleanup
  %1261 = extractvalue { ptr, i32 } %1260, 0
  store ptr %1261, ptr %13, align 8
  %1262 = extractvalue { ptr, i32 } %1260, 1
  store i32 %1262, ptr %14, align 4
  br label %1267

1263:                                             ; preds = %1253
  %1264 = landingpad { ptr, i32 }
          cleanup
  %1265 = extractvalue { ptr, i32 } %1264, 0
  store ptr %1265, ptr %13, align 8
  %1266 = extractvalue { ptr, i32 } %1264, 1
  store i32 %1266, ptr %14, align 4
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %120) #10
  br label %1267

1267:                                             ; preds = %1263, %1259
  call void @llvm.lifetime.end.p0(i64 72, ptr %120) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %119) #10
  br label %1268

1268:                                             ; preds = %1267, %1255
  call void @llvm.lifetime.end.p0(i64 8, ptr %118) #10
  br label %1331

1269:                                             ; preds = %1220
  %1270 = load ptr, ptr %78, align 8, !tbaa !5
  %1271 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %1270, i32 0, i32 6
  %1272 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %1271) #10
  br i1 %1272, label %1273, label %1299

1273:                                             ; preds = %1269
  %1274 = load ptr, ptr %77, align 8, !tbaa !5
  %1275 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1274, i32 0, i32 1
  %1276 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1275)
          to label %1277 unwind label %1003

1277:                                             ; preds = %1273
  call void @llvm.lifetime.start.p0(i64 32, ptr %121) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %122) #10
  %1278 = load i32, ptr %61, align 4, !tbaa !9
  %1279 = load ptr, ptr %130, align 8, !tbaa !199
  %1280 = getelementptr inbounds ptr, ptr %1279, i64 6
  %1281 = load ptr, ptr %1280, align 8
  invoke void %1281(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %122, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %1278, i1 noundef zeroext true)
          to label %1282 unwind label %1285

1282:                                             ; preds = %1277
  invoke void @_ZN11spirv_cross4joinIJRA3_KcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_S1_RS9_SB_EEES9_DpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %121, ptr noundef nonnull align 1 dereferenceable(3) @.str.1768, ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 1 dereferenceable(2) @.str.53)
          to label %1283 unwind label %1289

1283:                                             ; preds = %1282
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1276, ptr noundef nonnull align 8 dereferenceable(32) %121)
          to label %1284 unwind label %1293

1284:                                             ; preds = %1283
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %121) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %122) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %122) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %121) #10
  br label %1325

1285:                                             ; preds = %1277
  %1286 = landingpad { ptr, i32 }
          cleanup
  %1287 = extractvalue { ptr, i32 } %1286, 0
  store ptr %1287, ptr %13, align 8
  %1288 = extractvalue { ptr, i32 } %1286, 1
  store i32 %1288, ptr %14, align 4
  br label %1298

1289:                                             ; preds = %1282
  %1290 = landingpad { ptr, i32 }
          cleanup
  %1291 = extractvalue { ptr, i32 } %1290, 0
  store ptr %1291, ptr %13, align 8
  %1292 = extractvalue { ptr, i32 } %1290, 1
  store i32 %1292, ptr %14, align 4
  br label %1297

1293:                                             ; preds = %1283
  %1294 = landingpad { ptr, i32 }
          cleanup
  %1295 = extractvalue { ptr, i32 } %1294, 0
  store ptr %1295, ptr %13, align 8
  %1296 = extractvalue { ptr, i32 } %1294, 1
  store i32 %1296, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %121) #10
  br label %1297

1297:                                             ; preds = %1293, %1289
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %122) #10
  br label %1298

1298:                                             ; preds = %1297, %1285
  call void @llvm.lifetime.end.p0(i64 32, ptr %122) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %121) #10
  br label %1331

1299:                                             ; preds = %1269
  %1300 = load ptr, ptr %77, align 8, !tbaa !5
  %1301 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1300, i32 0, i32 1
  %1302 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1301)
          to label %1303 unwind label %1003

1303:                                             ; preds = %1299
  call void @llvm.lifetime.start.p0(i64 32, ptr %123) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %124) #10
  %1304 = load i32, ptr %61, align 4, !tbaa !9
  %1305 = load ptr, ptr %130, align 8, !tbaa !199
  %1306 = getelementptr inbounds ptr, ptr %1305, i64 6
  %1307 = load ptr, ptr %1306, align 8
  invoke void %1307(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %124, ptr noundef nonnull align 8 dereferenceable(12482) %130, i32 noundef %1304, i1 noundef zeroext true)
          to label %1308 unwind label %1311

1308:                                             ; preds = %1303
  invoke void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %123, ptr noundef nonnull align 8 dereferenceable(32) %124, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %1309 unwind label %1315

1309:                                             ; preds = %1308
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1302, ptr noundef nonnull align 8 dereferenceable(32) %123)
          to label %1310 unwind label %1319

1310:                                             ; preds = %1309
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %123) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %124) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %124) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %123) #10
  br label %1325

1311:                                             ; preds = %1303
  %1312 = landingpad { ptr, i32 }
          cleanup
  %1313 = extractvalue { ptr, i32 } %1312, 0
  store ptr %1313, ptr %13, align 8
  %1314 = extractvalue { ptr, i32 } %1312, 1
  store i32 %1314, ptr %14, align 4
  br label %1324

1315:                                             ; preds = %1308
  %1316 = landingpad { ptr, i32 }
          cleanup
  %1317 = extractvalue { ptr, i32 } %1316, 0
  store ptr %1317, ptr %13, align 8
  %1318 = extractvalue { ptr, i32 } %1316, 1
  store i32 %1318, ptr %14, align 4
  br label %1323

1319:                                             ; preds = %1309
  %1320 = landingpad { ptr, i32 }
          cleanup
  %1321 = extractvalue { ptr, i32 } %1320, 0
  store ptr %1321, ptr %13, align 8
  %1322 = extractvalue { ptr, i32 } %1320, 1
  store i32 %1322, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %123) #10
  br label %1323

1323:                                             ; preds = %1319, %1315
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %124) #10
  br label %1324

1324:                                             ; preds = %1323, %1311
  call void @llvm.lifetime.end.p0(i64 32, ptr %124) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %123) #10
  br label %1331

1325:                                             ; preds = %1310, %1284
  br label %1326

1326:                                             ; preds = %1325, %1254
  br label %1327

1327:                                             ; preds = %1326, %1173
  br label %1328

1328:                                             ; preds = %1327, %1112
  br label %1329

1329:                                             ; preds = %1328, %1088
  br label %1330

1330:                                             ; preds = %1329, %1071
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #10
  br label %1333

1331:                                             ; preds = %1324, %1298, %1268, %1237, %1209, %1174, %1130, %1113, %1069, %1038, %1007, %1003, %999
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #10
  br label %1332

1332:                                             ; preds = %1331, %995
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #10
  br label %1372

1333:                                             ; preds = %1330, %947
  %1334 = load ptr, ptr %52, align 8, !tbaa !5
  %1335 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1334, i32 0, i32 1
  %1336 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1335)
          to label %1337 unwind label %909

1337:                                             ; preds = %1333
  %1338 = load i32, ptr %70, align 4, !tbaa !9
  %1339 = load ptr, ptr %76, align 8, !tbaa !5
  %1340 = getelementptr inbounds %struct.Resource.619, ptr %1339, i32 0, i32 3
  %1341 = load i32, ptr %1340, align 4, !tbaa !202
  invoke void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1336, i32 noundef %1338, i32 noundef 6, i32 noundef %1341)
          to label %1342 unwind label %909

1342:                                             ; preds = %1337
  %1343 = load ptr, ptr %52, align 8, !tbaa !5
  %1344 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1343, i32 0, i32 1
  %1345 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1344)
          to label %1346 unwind label %909

1346:                                             ; preds = %1342
  %1347 = load i32, ptr %70, align 4, !tbaa !9
  %1348 = load ptr, ptr %77, align 8, !tbaa !5
  %1349 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1348, i32 0, i32 1
  %1350 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1349)
          to label %1351 unwind label %909

1351:                                             ; preds = %1346
  invoke void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1345, i32 noundef %1347, i32 noundef 5, i32 noundef %1350)
          to label %1352 unwind label %909

1352:                                             ; preds = %1351
  %1353 = load ptr, ptr %77, align 8, !tbaa !5
  %1354 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1353, i32 0, i32 1
  %1355 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1354)
          to label %1356 unwind label %909

1356:                                             ; preds = %1352
  %1357 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1355, i32 noundef 17)
          to label %1358 unwind label %909

1358:                                             ; preds = %1356
  br i1 %1357, label %1359, label %1366

1359:                                             ; preds = %1358
  %1360 = load ptr, ptr %52, align 8, !tbaa !5
  %1361 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %1360, i32 0, i32 1
  %1362 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1361)
          to label %1363 unwind label %909

1363:                                             ; preds = %1359
  %1364 = load i32, ptr %70, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1362, i32 noundef %1364, i32 noundef 17, i32 noundef 0)
          to label %1365 unwind label %909

1365:                                             ; preds = %1363
  br label %1366

1366:                                             ; preds = %1365, %1358
  %1367 = load i32, ptr %70, align 4, !tbaa !9
  %1368 = add i32 %1367, 1
  store i32 %1368, ptr %70, align 4, !tbaa !9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #10
  br label %1369

1369:                                             ; preds = %1366
  %1370 = load ptr, ptr %74, align 8, !tbaa !5
  %1371 = getelementptr inbounds %struct.Resource.619, ptr %1370, i32 1
  store ptr %1371, ptr %74, align 8, !tbaa !5
  br label %683

1372:                                             ; preds = %1332, %949, %909, %839
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #10
  br label %1373

1373:                                             ; preds = %1372, %830, %818
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #10
  br label %1374

1374:                                             ; preds = %1373, %752, %713, %709
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #10
  br label %1449

1375:                                             ; preds = %687
  %1376 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 37
  %1377 = getelementptr inbounds %"struct.spirv_cross::CompilerMSL::Options", ptr %1376, i32 0, i32 62
  %1378 = load i8, ptr %1377, align 1, !tbaa !237, !range !177, !noundef !178
  %1379 = trunc i8 %1378 to i1
  br i1 %1379, label %1380, label %1442

1380:                                             ; preds = %1375
  %1381 = load ptr, ptr %52, align 8, !tbaa !5
  %1382 = invoke noundef zeroext i1 @_ZN11spirv_cross8Compiler23type_contains_recursionERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176) %130, ptr noundef nonnull align 8 dereferenceable(336) %1381)
          to label %1383 unwind label %1410

1383:                                             ; preds = %1380
  br i1 %1382, label %1384, label %1442

1384:                                             ; preds = %1383
  %1385 = getelementptr inbounds %"class.spirv_cross::CompilerMSL", ptr %130, i32 0, i32 111
  %1386 = invoke { ptr, i8 } @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(56) %1385, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %1387 unwind label %1410

1387:                                             ; preds = %1384
  %1388 = getelementptr inbounds { ptr, i8 }, ptr %125, i32 0, i32 0
  %1389 = extractvalue { ptr, i8 } %1386, 0
  store ptr %1389, ptr %1388, align 8
  %1390 = getelementptr inbounds { ptr, i8 }, ptr %125, i32 0, i32 1
  %1391 = extractvalue { ptr, i8 } %1386, 1
  store i8 %1391, ptr %1390, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %126) #10
  %1392 = getelementptr inbounds %"class.spirv_cross::Compiler", ptr %130, i32 0, i32 1
  %1393 = getelementptr inbounds %"class.spirv_cross::ParsedIR", ptr %1392, i32 0, i32 13
  %1394 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE4EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %1393)
          to label %1395 unwind label %1414

1395:                                             ; preds = %1387
  %1396 = invoke noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %130, i32 noundef %1394)
          to label %1397 unwind label %1414

1397:                                             ; preds = %1395
  store ptr %1396, ptr %126, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %127) #10
  %1398 = load ptr, ptr %62, align 8, !tbaa !5
  invoke void @_ZN11spirv_cross11CompilerMSL26get_argument_address_spaceB5cxx11ERKNS_12SPIRVariableE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %127, ptr noundef nonnull align 8 dereferenceable(12482) %130, ptr noundef nonnull align 8 dereferenceable(176) %1398)
          to label %1399 unwind label %1418

1399:                                             ; preds = %1397
  %1400 = load ptr, ptr %126, align 8, !tbaa !5
  %1401 = getelementptr inbounds %"struct.spirv_cross::SPIRFunction", ptr %1400, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 32, ptr %128) #10
  call void @llvm.lifetime.start.p0(i64 104, ptr %129) #10
  %1402 = getelementptr inbounds %class.anon.624, ptr %129, i32 0, i32 0
  store ptr %130, ptr %1402, align 8, !tbaa !238
  %1403 = getelementptr inbounds %class.anon.624, ptr %129, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %1403, ptr noundef nonnull align 8 dereferenceable(32) %127)
          to label %1404 unwind label %1422

1404:                                             ; preds = %1399
  %1405 = getelementptr inbounds %class.anon.624, ptr %129, i32 0, i32 2
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %1405, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %1406 unwind label %1426

1406:                                             ; preds = %1404
  %1407 = getelementptr inbounds %class.anon.624, ptr %129, i32 0, i32 3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %1407, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %1408 unwind label %1430

1408:                                             ; preds = %1406
  invoke void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %128, ptr noundef nonnull align 8 dereferenceable(104) %129)
          to label %1409 unwind label %1435

1409:                                             ; preds = %1408
  call void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25) %1401, ptr noundef nonnull align 8 dereferenceable(32) %128) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %128) #10
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(104) %129) #10
  call void @llvm.lifetime.end.p0(i64 104, ptr %129) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %128) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %127) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %127) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #10
  br label %1442

1410:                                             ; preds = %1384, %1380
  %1411 = landingpad { ptr, i32 }
          cleanup
  %1412 = extractvalue { ptr, i32 } %1411, 0
  store ptr %1412, ptr %13, align 8
  %1413 = extractvalue { ptr, i32 } %1411, 1
  store i32 %1413, ptr %14, align 4
  br label %1449

1414:                                             ; preds = %1395, %1387
  %1415 = landingpad { ptr, i32 }
          cleanup
  %1416 = extractvalue { ptr, i32 } %1415, 0
  store ptr %1416, ptr %13, align 8
  %1417 = extractvalue { ptr, i32 } %1415, 1
  store i32 %1417, ptr %14, align 4
  br label %1441

1418:                                             ; preds = %1397
  %1419 = landingpad { ptr, i32 }
          cleanup
  %1420 = extractvalue { ptr, i32 } %1419, 0
  store ptr %1420, ptr %13, align 8
  %1421 = extractvalue { ptr, i32 } %1419, 1
  store i32 %1421, ptr %14, align 4
  br label %1440

1422:                                             ; preds = %1399
  %1423 = landingpad { ptr, i32 }
          cleanup
  %1424 = extractvalue { ptr, i32 } %1423, 0
  store ptr %1424, ptr %13, align 8
  %1425 = extractvalue { ptr, i32 } %1423, 1
  store i32 %1425, ptr %14, align 4
  br label %1439

1426:                                             ; preds = %1404
  %1427 = landingpad { ptr, i32 }
          cleanup
  %1428 = extractvalue { ptr, i32 } %1427, 0
  store ptr %1428, ptr %13, align 8
  %1429 = extractvalue { ptr, i32 } %1427, 1
  store i32 %1429, ptr %14, align 4
  br label %1434

1430:                                             ; preds = %1406
  %1431 = landingpad { ptr, i32 }
          cleanup
  %1432 = extractvalue { ptr, i32 } %1431, 0
  store ptr %1432, ptr %13, align 8
  %1433 = extractvalue { ptr, i32 } %1431, 1
  store i32 %1433, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1405) #10
  br label %1434

1434:                                             ; preds = %1430, %1426
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1403) #10
  br label %1439

1435:                                             ; preds = %1408
  %1436 = landingpad { ptr, i32 }
          cleanup
  %1437 = extractvalue { ptr, i32 } %1436, 0
  store ptr %1437, ptr %13, align 8
  %1438 = extractvalue { ptr, i32 } %1436, 1
  store i32 %1438, ptr %14, align 4
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(104) %129) #10
  br label %1439

1439:                                             ; preds = %1435, %1434, %1422
  call void @llvm.lifetime.end.p0(i64 104, ptr %129) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %128) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %127) #10
  br label %1440

1440:                                             ; preds = %1439, %1418
  call void @llvm.lifetime.end.p0(i64 32, ptr %127) #10
  br label %1441

1441:                                             ; preds = %1440, %1414
  call void @llvm.lifetime.end.p0(i64 8, ptr %126) #10
  br label %1449

1442:                                             ; preds = %1409, %1383, %1375
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  store i32 0, ptr %47, align 4
  br label %1443

1443:                                             ; preds = %1442, %482
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  %1444 = load i32, ptr %47, align 4
  switch i32 %1444, label %1479 [
    i32 0, label %1445
    i32 11, label %1446
  ]

1445:                                             ; preds = %1443
  br label %1446

1446:                                             ; preds = %1445, %1443
  %1447 = load i32, ptr %46, align 4, !tbaa !9
  %1448 = add i32 %1447, 1
  store i32 %1448, ptr %46, align 4, !tbaa !9
  br label %472, !llvm.loop !240

1449:                                             ; preds = %1441, %1410, %1374
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #10
  br label %1450

1450:                                             ; preds = %1449, %658, %619
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  br label %1451

1451:                                             ; preds = %1450, %615
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #10
  br label %1452

1452:                                             ; preds = %1451, %611
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  br label %1453

1453:                                             ; preds = %1452, %607, %603, %599
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  br label %1454

1454:                                             ; preds = %1453, %595
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  br label %1455

1455:                                             ; preds = %1454, %591
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #10
  br label %1456

1456:                                             ; preds = %1455, %534, %530
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  br label %1457

1457:                                             ; preds = %1456, %526
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %1466

1458:                                             ; preds = %475
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @_ZN11spirv_cross11SmallVectorIjLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #10
  %1459 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i32 0, i32 0
  %1460 = getelementptr inbounds %"class.spirv_cross::SmallVector.615", ptr %1459, i64 8
  br label %1461

1461:                                             ; preds = %1461, %1458
  %1462 = phi ptr [ %1460, %1458 ], [ %1463, %1461 ]
  %1463 = getelementptr inbounds %"class.spirv_cross::SmallVector.615", ptr %1462, i64 -1
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %1463) #10
  %1464 = icmp eq ptr %1463, %1459
  br i1 %1464, label %1465, label %1461

1465:                                             ; preds = %1461
  call void @llvm.lifetime.end.p0(i64 4288, ptr %7) #10
  ret void

1466:                                             ; preds = %1457, %470, %404, %175
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @_ZN11spirv_cross11SmallVectorIjLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #10
  %1467 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %7, i32 0, i32 0
  %1468 = getelementptr inbounds %"class.spirv_cross::SmallVector.615", ptr %1467, i64 8
  br label %1469

1469:                                             ; preds = %1469, %1466
  %1470 = phi ptr [ %1468, %1466 ], [ %1471, %1469 ]
  %1471 = getelementptr inbounds %"class.spirv_cross::SmallVector.615", ptr %1470, i64 -1
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %1471) #10
  %1472 = icmp eq ptr %1471, %1467
  br i1 %1472, label %1473, label %1469

1473:                                             ; preds = %1469
  call void @llvm.lifetime.end.p0(i64 4288, ptr %7) #10
  br label %1474

1474:                                             ; preds = %1473
  %1475 = load ptr, ptr %13, align 8
  %1476 = load i32, ptr %14, align 4
  %1477 = insertvalue { ptr, i32 } poison, ptr %1475, 0
  %1478 = insertvalue { ptr, i32 } %1477, i32 %1476, 1
  resume { ptr, i32 } %1478

1479:                                             ; preds = %1443, %1236, %994, %708
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

declare void @_ZN11spirv_cross8Compiler15set_member_nameENS_7TypedIDILNS_5TypesE1EEEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_1EEEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

declare void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

declare noundef i32 @_ZNK11spirv_cross8Compiler25get_variable_data_type_idERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(176)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRA3_KcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_S1_RS9_SB_EEES9_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(3), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERjEEES6_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, i32 noundef) #2 align 2

declare void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN11spirv_cross8ParsedIR17for_each_typed_idINS_12SPIRVariableEZNS_11CompilerMSL24analyze_argument_buffersEvE3$_3EEvRKT0_"(ptr noundef nonnull align 8 dereferenceable(1920), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536), ptr noundef nonnull align 8 dereferenceable(60)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRA23_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(23), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRA17_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt11stable_sortIPZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE8ResourceZNS1_24analyze_argument_buffersEvE3$_4EvT_S5_T0_"(ptr noundef, ptr noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZSt5beginIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(536)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZSt3endIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(536)) #7

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(60) ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNK11spirv_cross11CompilerMSL28get_argument_buffer_resourceEjj(ptr noundef nonnull align 8 dereferenceable(12482), i32 noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL39add_argument_buffer_padding_buffer_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL38add_argument_buffer_padding_image_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL40add_argument_buffer_padding_sampler_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(32)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_setIN11spirv_cross14SetBindingPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

declare noundef zeroext i1 @_ZN11spirv_cross8Compiler23type_contains_recursionERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(336)) #5

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536)) unnamed_addr #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_3", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!15 = !{!16, !12, i64 11189}
!16 = !{!"_ZTSN11spirv_cross11CompilerMSLE", !17, i64 0, !124, i64 9848, !10, i64 9904, !10, i64 9908, !10, i64 9912, !10, i64 9916, !10, i64 9920, !10, i64 9924, !10, i64 9928, !10, i64 9932, !10, i64 9936, !10, i64 9940, !10, i64 9944, !10, i64 9948, !10, i64 9952, !10, i64 9956, !10, i64 9960, !10, i64 9964, !10, i64 9968, !10, i64 9972, !10, i64 9976, !10, i64 9980, !10, i64 9984, !10, i64 9988, !10, i64 9992, !10, i64 9996, !10, i64 10000, !10, i64 10004, !10, i64 10008, !10, i64 10012, !10, i64 10016, !10, i64 10020, !10, i64 10024, !10, i64 10028, !12, i64 10032, !12, i64 10033, !126, i64 10036, !130, i64 10176, !138, i64 10224, !143, i64 10272, !138, i64 10328, !143, i64 10376, !64, i64 10432, !64, i64 10488, !64, i64 10544, !64, i64 10600, !103, i64 10656, !103, i64 10712, !103, i64 10768, !145, i64 10824, !145, i64 10872, !66, i64 10920, !150, i64 10976, !152, i64 11032, !10, i64 11088, !10, i64 11092, !10, i64 11096, !7, i64 11100, !154, i64 11132, !154, i64 11136, !154, i64 11140, !154, i64 11144, !154, i64 11148, !154, i64 11152, !154, i64 11156, !154, i64 11160, !154, i64 11164, !154, i64 11168, !154, i64 11172, !155, i64 11176, !155, i64 11180, !12, i64 11184, !12, i64 11185, !12, i64 11186, !12, i64 11187, !12, i64 11188, !12, i64 11189, !12, i64 11190, !12, i64 11191, !12, i64 11192, !12, i64 11193, !12, i64 11194, !12, i64 11195, !12, i64 11196, !61, i64 11200, !61, i64 11232, !61, i64 11264, !61, i64 11296, !61, i64 11328, !61, i64 11360, !61, i64 11392, !61, i64 11424, !61, i64 11456, !61, i64 11488, !61, i64 11520, !61, i64 11552, !61, i64 11584, !61, i64 11616, !61, i64 11648, !61, i64 11680, !156, i64 11712, !157, i64 11720, !162, i64 11768, !64, i64 11824, !164, i64 11880, !66, i64 11968, !64, i64 12024, !64, i64 12080, !64, i64 12136, !167, i64 12192, !170, i64 12280, !66, i64 12328, !175, i64 12384, !7, i64 12440, !10, i64 12472, !10, i64 12476, !12, i64 12480, !12, i64 12481}
!17 = !{!"_ZTSN11spirv_cross12CompilerGLSLE", !18, i64 0, !6, i64 3176, !82, i64 3184, !12, i64 3272, !85, i64 3280, !6, i64 7616, !6, i64 7624, !12, i64 7632, !12, i64 7633, !90, i64 7636, !94, i64 7680, !94, i64 7736, !94, i64 7792, !94, i64 7848, !94, i64 7904, !94, i64 7960, !94, i64 8016, !96, i64 8072, !80, i64 8128, !12, i64 8184, !98, i64 8192, !10, i64 8416, !64, i64 8424, !64, i64 8480, !64, i64 8536, !100, i64 8592, !102, i64 8648, !103, i64 8656, !47, i64 8712, !47, i64 8992, !103, i64 9272, !105, i64 9328, !10, i64 9384, !10, i64 9388, !10, i64 9392, !12, i64 9396, !12, i64 9397, !108, i64 9400, !108, i64 9424, !112, i64 9448, !116, i64 9472, !103, i64 9496, !64, i64 9552, !64, i64 9608, !7, i64 9664, !120, i64 9672, !64, i64 9728, !6, i64 9784, !122, i64 9792}
!18 = !{!"_ZTSN11spirv_cross8CompilerE", !19, i64 8, !66, i64 1928, !66, i64 1984, !6, i64 2040, !6, i64 2048, !10, i64 2056, !69, i64 2064, !12, i64 2120, !64, i64 2128, !12, i64 2184, !12, i64 2185, !71, i64 2192, !66, i64 2312, !74, i64 2368, !64, i64 2400, !64, i64 2456, !64, i64 2512, !64, i64 2568, !64, i64 2624, !63, i64 2680, !63, i64 2744, !10, i64 2808, !10, i64 2812, !12, i64 2816, !64, i64 2824, !12, i64 2880, !12, i64 2881, !10, i64 2884, !76, i64 2888, !66, i64 2944, !78, i64 3000, !64, i64 3056, !12, i64 3112, !80, i64 3120}
!19 = !{!"_ZTSN11spirv_cross8ParsedIRE", !20, i64 0, !26, i64 8, !30, i64 32, !34, i64 248, !7, i64 304, !39, i64 1088, !39, i64 1144, !42, i64 1200, !44, i64 1256, !47, i64 1312, !50, i64 1592, !53, i64 1624, !55, i64 1680, !57, i64 1736, !58, i64 1740, !59, i64 1748, !60, i64 1752, !10, i64 1756, !10, i64 1760, !61, i64 1768, !63, i64 1800, !64, i64 1864}
!20 = !{!"_ZTSSt10unique_ptrIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_ELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPN11spirv_cross15ObjectPoolGroupELb0EE", !6, i64 0}
!26 = !{!"_ZTSSt6vectorIjSaIjEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7VariantELm8EEE", !31, i64 0, !32, i64 16, !33, i64 24}
!31 = !{!"_ZTSN11spirv_cross10VectorViewINS_7VariantEEE", !6, i64 0, !32, i64 8}
!32 = !{!"long", !7, i64 0}
!33 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7VariantELm8EEE", !7, i64 0}
!34 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEENS0_4MetaESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE0EEESt4pairIKS3_NS0_4MetaEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!36 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!37 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !38, i64 0, !32, i64 8}
!38 = !{!"float", !7, i64 0}
!39 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !40, i64 0, !32, i64 16, !41, i64 24}
!40 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !6, i64 0, !32, i64 8}
!41 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !7, i64 0}
!42 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEEjSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_jEEE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE0EEESt4pairIKS3_jESaIS6_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!44 = !{!"_ZTSN11spirv_cross11SmallVectorIN3spv10CapabilityELm8EEE", !45, i64 0, !32, i64 16, !46, i64 24}
!45 = !{!"_ZTSN11spirv_cross10VectorViewIN3spv10CapabilityEEE", !6, i64 0, !32, i64 8}
!46 = !{!"_ZTSN11spirv_cross13AlignedBufferIN3spv10CapabilityELm8EEE", !7, i64 0}
!47 = !{!"_ZTSN11spirv_cross11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEE", !48, i64 0, !32, i64 16, !49, i64 24}
!48 = !{!"_ZTSN11spirv_cross10VectorViewINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0, !32, i64 8}
!49 = !{!"_ZTSN11spirv_cross13AlignedBufferINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEE", !7, i64 0}
!50 = !{!"_ZTSN11spirv_cross11SmallVectorIhLm8EEE", !51, i64 0, !32, i64 16, !52, i64 24}
!51 = !{!"_ZTSN11spirv_cross10VectorViewIhEE", !6, i64 0, !32, i64 8}
!52 = !{!"_ZTSN11spirv_cross13AlignedBufferIhLm8EEE", !7, i64 0}
!53 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE6EEES3_St4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S3_EEE", !54, i64 0}
!54 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE6EEESt4pairIKS3_S3_ESaIS6_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!55 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE4EEENS0_14SPIREntryPointESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE", !56, i64 0}
!56 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE4EEESt4pairIKS3_NS0_14SPIREntryPointEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!57 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE4EEE", !10, i64 0}
!58 = !{!"_ZTSN11spirv_cross8ParsedIR6SourceE", !10, i64 0, !12, i64 4, !12, i64 5, !12, i64 6}
!59 = !{!"_ZTSN3spv15AddressingModelE", !7, i64 0}
!60 = !{!"_ZTSN3spv11MemoryModelE", !7, i64 0}
!61 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !62, i64 0, !32, i64 8, !7, i64 16}
!62 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!63 = !{!"_ZTSN11spirv_cross6BitsetE", !32, i64 0, !64, i64 8}
!64 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !65, i64 0}
!65 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!66 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !67, i64 0, !32, i64 16, !68, i64 24}
!67 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !6, i64 0, !32, i64 8}
!68 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !7, i64 0}
!69 = !{!"_ZTSSt13unordered_setIN11spirv_cross7TypedIDILNS0_5TypesE2EEESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !70, i64 0}
!70 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE2EEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!71 = !{!"_ZTSN11spirv_cross11SmallVectorINS_20CombinedImageSamplerELm8EEE", !72, i64 0, !32, i64 16, !73, i64 24}
!72 = !{!"_ZTSN11spirv_cross10VectorViewINS_20CombinedImageSamplerEEE", !6, i64 0, !32, i64 8}
!73 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_20CombinedImageSamplerELm8EEE", !7, i64 0}
!74 = !{!"_ZTSSt8functionIFvRKN11spirv_cross8SPIRTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS9_EE", !75, i64 0, !6, i64 24}
!75 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!76 = !{!"_ZTSSt13unordered_mapIjSt10unique_ptrIN11spirv_cross3CFGESt14default_deleteIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !77, i64 0}
!77 = !{!"_ZTSSt10_HashtableIjSt4pairIKjSt10unique_ptrIN11spirv_cross3CFGESt14default_deleteIS4_EEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!78 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross8Compiler17PhysicalBlockMetaESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE", !79, i64 0}
!79 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross8Compiler17PhysicalBlockMetaEESaIS5_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!80 = !{!"_ZTSSt13unordered_mapIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !81, i64 0}
!81 = !{!"_ZTSSt10_HashtableIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!82 = !{!"_ZTSN11spirv_cross11SmallVectorIPNS_9SPIRBlockELm8EEE", !83, i64 0, !32, i64 16, !84, i64 24}
!83 = !{!"_ZTSN11spirv_cross10VectorViewIPNS_9SPIRBlockEEE", !6, i64 0, !32, i64 8}
!84 = !{!"_ZTSN11spirv_cross13AlignedBufferIPNS_9SPIRBlockELm8EEE", !7, i64 0}
!85 = !{!"_ZTSN11spirv_cross12StringStreamILm4096ELm4096EEE", !86, i64 0, !7, i64 24, !87, i64 4120}
!86 = !{!"_ZTSN11spirv_cross12StringStreamILm4096ELm4096EE6BufferE", !6, i64 0, !32, i64 8, !32, i64 16}
!87 = !{!"_ZTSN11spirv_cross11SmallVectorINS_12StringStreamILm4096ELm4096EE6BufferELm8EEE", !88, i64 0, !32, i64 16, !89, i64 24}
!88 = !{!"_ZTSN11spirv_cross10VectorViewINS_12StringStreamILm4096ELm4096EE6BufferEEE", !6, i64 0, !32, i64 8}
!89 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_12StringStreamILm4096ELm4096EE6BufferELm8EEE", !7, i64 0}
!90 = !{!"_ZTSN11spirv_cross12CompilerGLSL7OptionsE", !10, i64 0, !12, i64 4, !12, i64 5, !10, i64 8, !12, i64 12, !12, i64 13, !12, i64 14, !12, i64 15, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19, !12, i64 20, !12, i64 21, !12, i64 22, !12, i64 23, !10, i64 24, !91, i64 28, !92, i64 32}
!91 = !{!"_ZTSN11spirv_cross12CompilerGLSL7Options13VertexOptionsE", !12, i64 0, !12, i64 1, !12, i64 2}
!92 = !{!"_ZTSN11spirv_cross12CompilerGLSL7Options15FragmentOptionsE", !93, i64 0, !93, i64 4}
!93 = !{!"_ZTSN11spirv_cross12CompilerGLSL7Options9PrecisionE", !7, i64 0}
!94 = !{!"_ZTSSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !95, i64 0}
!95 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!96 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13unordered_setImSt4hashImESt8equal_toImESaImEES7_IS5_ES9_IS5_ESaISt4pairIKS5_SC_EEE", !97, i64 0}
!97 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St13unordered_setImSt4hashImESt8equal_toImESaImEEESaISF_ENSt8__detail10_Select1stESB_IS5_ES9_IS5_ENSH_18_Mod_range_hashingENSH_20_Default_ranged_hashENSH_20_Prime_rehash_policyENSH_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!98 = !{!"_ZTSN11spirv_cross12CompilerGLSL17BackendVariationsE", !61, i64 0, !61, i64 32, !61, i64 64, !12, i64 96, !12, i64 97, !12, i64 98, !12, i64 99, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !99, i64 184, !12, i64 188, !12, i64 189, !12, i64 190, !12, i64 191, !12, i64 192, !12, i64 193, !12, i64 194, !12, i64 195, !12, i64 196, !12, i64 197, !12, i64 198, !12, i64 199, !12, i64 200, !12, i64 201, !12, i64 202, !12, i64 203, !12, i64 204, !12, i64 205, !12, i64 206, !12, i64 207, !12, i64 208, !12, i64 209, !12, i64 210, !12, i64 211, !12, i64 212, !12, i64 213, !12, i64 214, !12, i64 215, !12, i64 216, !12, i64 217, !12, i64 218, !12, i64 219}
!99 = !{!"_ZTSN11spirv_cross8SPIRType8BaseTypeE", !7, i64 0}
!100 = !{!"_ZTSSt13unordered_mapIjbSt4hashIjESt8equal_toIjESaISt4pairIKjbEEE", !101, i64 0}
!101 = !{!"_ZTSSt10_HashtableIjSt4pairIKjbESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!102 = !{!"_ZTSN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelperE", !10, i64 0}
!103 = !{!"_ZTSSt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEE", !104, i64 0}
!104 = !{!"_ZTSSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!105 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EEE", !106, i64 0, !32, i64 16, !107, i64 24}
!106 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE1EEEEE", !6, i64 0, !32, i64 8}
!107 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE1EEELm8EEE", !7, i64 0}
!108 = !{!"_ZTSSt6vectorIN11spirv_cross8PlsRemapESaIS1_EE", !109, i64 0}
!109 = !{!"_ZTSSt12_Vector_baseIN11spirv_cross8PlsRemapESaIS1_EE", !110, i64 0}
!110 = !{!"_ZTSNSt12_Vector_baseIN11spirv_cross8PlsRemapESaIS1_EE12_Vector_implE", !111, i64 0}
!111 = !{!"_ZTSNSt12_Vector_baseIN11spirv_cross8PlsRemapESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!112 = !{!"_ZTSSt6vectorISt4pairIjjESaIS1_EE", !113, i64 0}
!113 = !{!"_ZTSSt12_Vector_baseISt4pairIjjESaIS1_EE", !114, i64 0}
!114 = !{!"_ZTSNSt12_Vector_baseISt4pairIjjESaIS1_EE12_Vector_implE", !115, i64 0}
!115 = !{!"_ZTSNSt12_Vector_baseISt4pairIjjESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!116 = !{!"_ZTSSt6vectorISt4pairIjbESaIS1_EE", !117, i64 0}
!117 = !{!"_ZTSSt12_Vector_baseISt4pairIjbESaIS1_EE", !118, i64 0}
!118 = !{!"_ZTSNSt12_Vector_baseISt4pairIjbESaIS1_EE12_Vector_implE", !119, i64 0}
!119 = !{!"_ZTSNSt12_Vector_baseISt4pairIjbESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!120 = !{!"_ZTSSt13unordered_setIN11spirv_cross21LocationComponentPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE", !121, i64 0}
!121 = !{!"_ZTSSt10_HashtableIN11spirv_cross21LocationComponentPairES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ENS0_14InternalHasherENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!122 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross11SmallVectorINS0_7TypedIDILNS0_5TypesE3EEELm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !123, i64 0}
!123 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross11SmallVectorINS2_7TypedIDILNS2_5TypesE3EEELm8EEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!124 = !{!"_ZTSSt13unordered_mapIjSt3setIjSt4lessIjESaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEE", !125, i64 0}
!125 = !{!"_ZTSSt10_HashtableIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!126 = !{!"_ZTSN11spirv_cross11CompilerMSL7OptionsE", !127, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !12, i64 80, !12, i64 81, !12, i64 82, !12, i64 83, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !12, i64 88, !12, i64 89, !12, i64 90, !12, i64 91, !12, i64 92, !128, i64 96, !12, i64 100, !12, i64 101, !12, i64 102, !12, i64 103, !12, i64 104, !12, i64 105, !12, i64 106, !12, i64 107, !12, i64 108, !12, i64 109, !12, i64 110, !12, i64 111, !12, i64 112, !12, i64 113, !12, i64 114, !12, i64 115, !12, i64 116, !12, i64 117, !12, i64 118, !10, i64 120, !129, i64 124, !12, i64 128, !12, i64 129, !12, i64 130, !12, i64 131, !12, i64 132, !12, i64 133, !12, i64 134, !12, i64 135, !12, i64 136}
!127 = !{!"_ZTSN11spirv_cross11CompilerMSL7Options8PlatformE", !7, i64 0}
!128 = !{!"_ZTSN11spirv_cross11CompilerMSL7Options19ArgumentBuffersTierE", !7, i64 0}
!129 = !{!"_ZTSN11spirv_cross11CompilerMSL7Options9IndexTypeE", !7, i64 0}
!130 = !{!"_ZTSSt3setIN11spirv_cross11CompilerMSL11SPVFuncImplESt4lessIS2_ESaIS2_EE", !131, i64 0}
!131 = !{!"_ZTSSt8_Rb_treeIN11spirv_cross11CompilerMSL11SPVFuncImplES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE", !132, i64 0}
!132 = !{!"_ZTSNSt8_Rb_treeIN11spirv_cross11CompilerMSL11SPVFuncImplES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !133, i64 0, !135, i64 8}
!133 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11spirv_cross11CompilerMSL11SPVFuncImplEEE", !134, i64 0}
!134 = !{!"_ZTSSt4lessIN11spirv_cross11CompilerMSL11SPVFuncImplEE"}
!135 = !{!"_ZTSSt15_Rb_tree_header", !136, i64 0, !32, i64 32}
!136 = !{!"_ZTSSt18_Rb_tree_node_base", !137, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!137 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!138 = !{!"_ZTSSt3mapIN11spirv_cross21LocationComponentPairENS0_26MSLShaderInterfaceVariableESt4lessIS1_ESaISt4pairIKS1_S2_EEE", !139, i64 0}
!139 = !{!"_ZTSSt8_Rb_treeIN11spirv_cross21LocationComponentPairESt4pairIKS1_NS0_26MSLShaderInterfaceVariableEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !140, i64 0}
!140 = !{!"_ZTSNSt8_Rb_treeIN11spirv_cross21LocationComponentPairESt4pairIKS1_NS0_26MSLShaderInterfaceVariableEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !141, i64 0, !135, i64 8}
!141 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11spirv_cross21LocationComponentPairEEE", !142, i64 0}
!142 = !{!"_ZTSSt4lessIN11spirv_cross21LocationComponentPairEE"}
!143 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross26MSLShaderInterfaceVariableESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !144, i64 0}
!144 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross26MSLShaderInterfaceVariableEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!145 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !146, i64 0}
!146 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !147, i64 0}
!147 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !148, i64 0, !135, i64 8}
!148 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !149, i64 0}
!149 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!150 = !{!"_ZTSSt13unordered_mapIN11spirv_cross15StageSetBindingESt4pairINS0_18MSLResourceBindingEbENS0_14InternalHasherESt8equal_toIS1_ESaIS2_IKS1_S4_EEE", !151, i64 0}
!151 = !{!"_ZTSSt10_HashtableIN11spirv_cross15StageSetBindingESt4pairIKS1_S2_INS0_18MSLResourceBindingEbEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_14InternalHasherENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!152 = !{!"_ZTSSt13unordered_mapIN11spirv_cross15StageSetBindingEjNS0_14InternalHasherESt8equal_toIS1_ESaISt4pairIKS1_jEEE", !153, i64 0}
!153 = !{!"_ZTSSt10_HashtableIN11spirv_cross15StageSetBindingESt4pairIKS1_jESaIS4_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_14InternalHasherENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!154 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE2EEE", !10, i64 0}
!155 = !{!"_ZTSN11spirv_cross11CompilerMSL8TriStateE", !7, i64 0}
!156 = !{!"_ZTSN3spv2OpE", !7, i64 0}
!157 = !{!"_ZTSSt3mapIjN11spirv_cross19MSLConstexprSamplerESt4lessIjESaISt4pairIKjS1_EEE", !158, i64 0}
!158 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjN11spirv_cross19MSLConstexprSamplerEESt10_Select1stIS4_ESt4lessIjESaIS4_EE", !159, i64 0}
!159 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjN11spirv_cross19MSLConstexprSamplerEESt10_Select1stIS4_ESt4lessIjESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !160, i64 0, !135, i64 8}
!160 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !161, i64 0}
!161 = !{!"_ZTSSt4lessIjE"}
!162 = !{!"_ZTSSt13unordered_mapIN11spirv_cross14SetBindingPairENS0_19MSLConstexprSamplerENS0_14InternalHasherESt8equal_toIS1_ESaISt4pairIKS1_S2_EEE", !163, i64 0}
!163 = !{!"_ZTSSt10_HashtableIN11spirv_cross14SetBindingPairESt4pairIKS1_NS0_19MSLConstexprSamplerEESaIS5_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_14InternalHasherENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!164 = !{!"_ZTSN11spirv_cross11SmallVectorISt4pairIjjELm8EEE", !165, i64 0, !32, i64 16, !166, i64 24}
!165 = !{!"_ZTSN11spirv_cross10VectorViewISt4pairIjjEEE", !6, i64 0, !32, i64 8}
!166 = !{!"_ZTSN11spirv_cross13AlignedBufferISt4pairIjjELm8EEE", !7, i64 0}
!167 = !{!"_ZTSN11spirv_cross11SmallVectorIPNS_12SPIRVariableELm8EEE", !168, i64 0, !32, i64 16, !169, i64 24}
!168 = !{!"_ZTSN11spirv_cross10VectorViewIPNS_12SPIRVariableEEE", !6, i64 0, !32, i64 8}
!169 = !{!"_ZTSN11spirv_cross13AlignedBufferIPNS_12SPIRVariableELm8EEE", !7, i64 0}
!170 = !{!"_ZTSSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEE", !171, i64 0}
!171 = !{!"_ZTSSt8_Rb_treeIN11spirv_cross14SetBindingPairESt4pairIKS1_S2_IjjEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !172, i64 0}
!172 = !{!"_ZTSNSt8_Rb_treeIN11spirv_cross14SetBindingPairESt4pairIKS1_S2_IjjEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !173, i64 0, !135, i64 8}
!173 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11spirv_cross14SetBindingPairEEE", !174, i64 0}
!174 = !{!"_ZTSSt4lessIN11spirv_cross14SetBindingPairEE"}
!175 = !{!"_ZTSSt13unordered_setIN11spirv_cross14SetBindingPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE", !176, i64 0}
!176 = !{!"_ZTSSt10_HashtableIN11spirv_cross14SetBindingPairES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ENS0_14InternalHasherENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !6, i64 48}
!177 = !{i8 0, i8 2}
!178 = !{}
!179 = !{!180, !156, i64 12}
!180 = !{!"_ZTSN11spirv_cross8SPIRTypeE", !181, i64 0, !156, i64 12, !99, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !66, i64 32, !183, i64 88, !10, i64 120, !12, i64 124, !12, i64 125, !186, i64 128, !105, i64 136, !66, i64 192, !187, i64 248, !188, i64 272, !188, i64 276, !94, i64 280}
!181 = !{!"_ZTSN11spirv_cross8IVariantE", !182, i64 8}
!182 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !10, i64 0}
!183 = !{!"_ZTSN11spirv_cross11SmallVectorIbLm8EEE", !184, i64 0, !32, i64 16, !185, i64 24}
!184 = !{!"_ZTSN11spirv_cross10VectorViewIbEE", !6, i64 0, !32, i64 8}
!185 = !{!"_ZTSN11spirv_cross13AlignedBufferIbLm8EEE", !7, i64 0}
!186 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!187 = !{!"_ZTSN11spirv_cross8SPIRType9ImageTypeE", !188, i64 0, !189, i64 4, !12, i64 8, !12, i64 9, !12, i64 10, !10, i64 12, !190, i64 16, !191, i64 20}
!188 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !10, i64 0}
!189 = !{!"_ZTSN3spv3DimE", !7, i64 0}
!190 = !{!"_ZTSN3spv11ImageFormatE", !7, i64 0}
!191 = !{!"_ZTSN3spv15AccessQualifierE", !7, i64 0}
!192 = !{!180, !12, i64 124}
!193 = !{!180, !10, i64 120}
!194 = !{i64 0, i64 4, !9}
!195 = !{!180, !186, i64 128}
!196 = !{!186, !186, i64 0}
!197 = !{!198, !6, i64 0}
!198 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE8Resource", !6, i64 0, !61, i64 8, !99, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56}
!199 = !{!200, !200, i64 0}
!200 = !{!"vtable pointer", !8, i64 0}
!201 = !{!198, !99, i64 40}
!202 = !{!198, !10, i64 44}
!203 = !{!198, !10, i64 48}
!204 = !{!198, !10, i64 52}
!205 = !{!198, !10, i64 56}
!206 = distinct !{!206, !207}
!207 = !{!"llvm.loop.mustprogress"}
!208 = !{!156, !156, i64 0}
!209 = !{!180, !99, i64 16}
!210 = !{!16, !10, i64 12476}
!211 = !{!32, !32, i64 0}
!212 = distinct !{!212, !207}
!213 = !{!16, !12, i64 10146}
!214 = !{i64 0, i64 4, !215, i64 4, i64 4, !217, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !9, i64 28, i64 4, !9}
!215 = !{!216, !216, i64 0}
!216 = !{!"_ZTSN3spv14ExecutionModelE", !7, i64 0}
!217 = !{!99, !99, i64 0}
!218 = !{!219, !10, i64 16}
!219 = !{!"_ZTSN11spirv_cross18MSLResourceBindingE", !216, i64 0, !99, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!220 = !{!219, !99, i64 4}
!221 = !{!219, !10, i64 28}
!222 = distinct !{!222, !207}
!223 = !{!224, !10, i64 0}
!224 = !{!"_ZTSN11spirv_cross14SetBindingPairE", !10, i64 0, !10, i64 4}
!225 = !{!224, !10, i64 4}
!226 = !{!227, !6, i64 0}
!227 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_0", !6, i64 0, !198, i64 8}
!228 = !{!229, !10, i64 4}
!229 = !{!"_ZTSSt4pairIjjE", !10, i64 0, !10, i64 4}
!230 = !{!180, !10, i64 20}
!231 = !{!180, !10, i64 24}
!232 = !{!233, !186, i64 16}
!233 = !{!"_ZTSN11spirv_cross12SPIRVariableE", !181, i64 0, !188, i64 12, !186, i64 16, !10, i64 20, !182, i64 24, !154, i64 28, !66, i64 32, !12, i64 88, !12, i64 89, !182, i64 92, !39, i64 96, !12, i64 152, !12, i64 153, !12, i64 154, !12, i64 155, !10, i64 156, !234, i64 160, !12, i64 164, !12, i64 165, !12, i64 166, !6, i64 168}
!234 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE6EEE", !10, i64 0}
!235 = !{!236, !6, i64 0}
!236 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_1", !6, i64 0, !198, i64 8}
!237 = !{!16, !12, i64 10169}
!238 = !{!239, !6, i64 0}
!239 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_2", !6, i64 0, !61, i64 8, !61, i64 40, !61, i64 72}
!240 = distinct !{!240, !207}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.spirv_cross::SmallVector.615" = type { %"class.spirv_cross::VectorView.616", i64, %"class.spirv_cross::AlignedBuffer.617" }
%"class.spirv_cross::VectorView.616" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.617" = type { [512 x i8] }
%"class.spirv_cross::SmallVector.92" = type { %"class.spirv_cross::VectorView.93", i64, %"class.spirv_cross::AlignedBuffer.94" }
%"class.spirv_cross::VectorView.93" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.94" = type { [32 x i8] }
%class.anon.618 = type { ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.spirv_cross::SPIRType" = type { %"struct.spirv_cross::IVariant.base", i32, i32, i32, i32, i32, %"class.spirv_cross::SmallVector.92", %"class.spirv_cross::SmallVector.416", i32, i8, i8, i32, %"class.spirv_cross::SmallVector.227", %"class.spirv_cross::SmallVector.92", %"struct.spirv_cross::SPIRType::ImageType", %"class.spirv_cross::TypedID.414", %"class.spirv_cross::TypedID.414", %"class.std::unordered_set.165" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.413" }>
%"class.spirv_cross::TypedID.413" = type { i32 }
%"class.spirv_cross::SmallVector.416" = type { %"class.spirv_cross::VectorView.417", i64, %"class.spirv_cross::AlignedBuffer.418" }
%"class.spirv_cross::VectorView.417" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.418" = type { [8 x i8] }
%"class.spirv_cross::SmallVector.227" = type { %"class.spirv_cross::VectorView.228", i64, %"class.spirv_cross::AlignedBuffer.229" }
%"class.spirv_cross::VectorView.228" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.229" = type { [32 x i8] }
%"struct.spirv_cross::SPIRType::ImageType" = type { %"class.spirv_cross::TypedID.414", i32, i8, i8, i8, i32, i32, i32 }
%"class.spirv_cross::TypedID.414" = type { i32 }
%"class.std::unordered_set.165" = type { %"class.std::_Hashtable.166" }
%"class.std::_Hashtable.166" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::allocator.71" = type { i8 }
%struct.Resource.619 = type <{ ptr, %"class.std::__cxx11::basic_string", i32, i32, i32, i32, i32, [4 x i8] }>
%"struct.spirv_cross::MSLResourceBinding" = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%"struct.spirv_cross::SetBindingPair" = type { i32, i32 }
%"class.std::function.489" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.622 = type { ptr, %struct.Resource.619 }
%class.anon.623 = type { ptr, %struct.Resource.619 }
%class.anon.624 = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }

@_ZTIN11spirv_cross13CompilerErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1763 = external hidden unnamed_addr constant [44 x i8], align 1
@__PRETTY_FUNCTION__._ZN11spirv_cross11CompilerMSL24analyze_argument_buffersEv = external hidden unnamed_addr constant [58 x i8], align 1
@.str.1764 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1765 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1766 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.1767 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.1768 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorIjLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) 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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress 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) #3

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL25is_var_runtime_size_arrayERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #2 align 2

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

declare noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef) local_unnamed_addr #5

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

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

declare noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross8SPIRTypeC2EN3spv2OpE(ptr noundef nonnull align 8 dereferenceable(336), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(336)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN11spirv_cross8SPIRTypeC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 8 dereferenceable(336)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

declare void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef, i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross11CompilerMSL13get_uint_typeEv(ptr noundef nonnull align 8 dereferenceable(12482)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11spirv_cross11CompilerMSL16get_uint_type_idEv(ptr noundef nonnull align 8 dereferenceable(12482)) local_unnamed_addr #2 align 2

declare void @_ZN11spirv_cross8Compiler23set_extended_decorationEjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176), i32, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL7Options20supports_msl_versionEjjj(ptr noundef nonnull align 4 dereferenceable(137), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRVariableEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler22get_variable_data_typeERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #5

declare void @_ZN11spirv_cross12CompilerGLSL17add_resource_nameEj(ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL26get_argument_address_spaceB5cxx11ERKNS_12SPIRVariableE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL17ensure_valid_nameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11spirv_cross11CompilerMSL24analyze_argument_buffersEv(ptr noundef nonnull align 8 dereferenceable(12482) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [8 x %"class.spirv_cross::SmallVector.615"], align 16
  %3 = alloca %"class.spirv_cross::SmallVector.92", align 8
  %4 = alloca [8 x i8], align 8
  %5 = alloca [8 x i8], align 8
  %6 = alloca i8, align 1
  %7 = alloca %class.anon.618, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.spirv_cross::SPIRType", align 8
  %10 = alloca %"class.spirv_cross::TypedID.414", align 4
  %11 = alloca %"class.spirv_cross::TypedID.413", align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.spirv_cross::TypedID.413", align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.71", align 1
  %16 = alloca %"class.spirv_cross::TypedID.413", align 4
  %17 = alloca %"class.spirv_cross::TypedID.413", align 4
  %18 = alloca %struct.Resource.619, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.spirv_cross::TypedID.413", align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.71", align 1
  %23 = alloca %"class.spirv_cross::TypedID.413", align 4
  %24 = alloca %"class.spirv_cross::TypedID.413", align 4
  %25 = alloca %struct.Resource.619, align 8
  %26 = alloca %"class.spirv_cross::TypedID.413", align 4
  %27 = alloca %struct.Resource.619, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.spirv_cross::TypedID.413", align 4
  %33 = alloca %"class.spirv_cross::TypedID.413", align 4
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.spirv_cross::TypedID.413", align 4
  %36 = alloca i32, align 4
  %37 = alloca %"class.spirv_cross::TypedID.414", align 4
  %38 = alloca i32, align 4
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.spirv_cross::TypedID.413", align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %"struct.spirv_cross::MSLResourceBinding", align 4
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator.71", align 1
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca %"class.spirv_cross::TypedID.414", align 4
  %52 = alloca %"class.spirv_cross::TypedID.414", align 4
  %53 = alloca %"class.spirv_cross::TypedID.414", align 4
  %54 = alloca %"struct.spirv_cross::SetBindingPair", align 4
  %55 = alloca %"class.spirv_cross::TypedID.414", align 4
  %56 = alloca %"class.std::function.489", align 8
  %57 = alloca %class.anon.622, align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.spirv_cross::TypedID.414", align 4
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca i32, align 4
  %64 = alloca %"struct.spirv_cross::SPIRType", align 8
  %65 = alloca %"class.spirv_cross::TypedID.414", align 4
  %66 = alloca %"class.spirv_cross::TypedID.413", align 4
  %67 = alloca %"class.spirv_cross::TypedID.414", align 4
  %68 = alloca %"class.std::function.489", align 8
  %69 = alloca %class.anon.623, align 8
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::function.489", align 8
  %76 = alloca %class.anon.624, align 8
  %.ptr255 = getelementptr inbounds i8, ptr %0, i64 12440
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %.ptr255, i8 0, i64 32, i1 false), !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4288, ptr nonnull %2) #10
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %2) #10
  %.ptr.1 = getelementptr inbounds i8, ptr %2, i64 536
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.1) #10
  %.ptr.2 = getelementptr inbounds i8, ptr %2, i64 1072
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.2) #10
  %.ptr.3 = getelementptr inbounds i8, ptr %2, i64 1608
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.3) #10
  %.ptr.4 = getelementptr inbounds i8, ptr %2, i64 2144
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.4) #10
  %.ptr.5 = getelementptr inbounds i8, ptr %2, i64 2680
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.5) #10
  %.ptr.6 = getelementptr inbounds i8, ptr %2, i64 3216
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.6) #10
  %.ptr.7 = getelementptr inbounds i8, ptr %2, i64 3752
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536) %.ptr.7) #10
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #10
  call void @_ZN11spirv_cross11SmallVectorIjLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  store i64 0, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  store i64 0, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #10
  store i8 0, ptr %6, align 1, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #10
  store ptr %0, ptr %7, align 8, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %2, ptr %78, align 8, !tbaa !14
  %79 = getelementptr inbounds i8, ptr %7, i64 16
  store ptr %3, ptr %79, align 8, !tbaa !14
  %80 = getelementptr inbounds i8, ptr %7, i64 24
  store ptr %4, ptr %80, align 8, !tbaa !14
  %81 = getelementptr inbounds i8, ptr %7, i64 32
  store ptr %5, ptr %81, align 8, !tbaa !14
  %82 = getelementptr inbounds i8, ptr %7, i64 40
  store ptr %6, ptr %82, align 8, !tbaa !14
  invoke void @"_ZN11spirv_cross8ParsedIR17for_each_typed_idINS_12SPIRVariableEZNS_11CompilerMSL24analyze_argument_buffersEvE3$_3EEvRKT0_"(ptr noundef nonnull align 8 dereferenceable(1920) %77, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %83 unwind label %109

83:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #10
  %84 = getelementptr inbounds i8, ptr %0, i64 11189
  %85 = load i8, ptr %84, align 1, !tbaa !15, !range !177, !noundef !178
  %86 = trunc nuw i8 %85 to i1
  br i1 %86, label %90, label %87

87:                                               ; preds = %83
  %88 = load i8, ptr %6, align 1, !tbaa !9, !range !177, !noundef !178
  %89 = trunc nuw i8 %88 to i1
  br i1 %89, label %90, label %230

90:                                               ; preds = %87, %83
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #10
  store i32 0, ptr %8, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %9, i64 12
  %92 = getelementptr inbounds i8, ptr %9, i64 124
  %93 = getelementptr inbounds i8, ptr %9, i64 120
  %94 = getelementptr inbounds i8, ptr %9, i64 276
  %95 = getelementptr inbounds i8, ptr %9, i64 128
  %96 = getelementptr inbounds i8, ptr %18, i64 8
  %97 = getelementptr inbounds i8, ptr %18, i64 40
  %98 = getelementptr inbounds i8, ptr %18, i64 44
  %99 = getelementptr inbounds i8, ptr %18, i64 48
  %100 = getelementptr inbounds i8, ptr %18, i64 52
  %101 = getelementptr inbounds i8, ptr %18, i64 56
  %102 = getelementptr inbounds i8, ptr %25, i64 8
  %103 = getelementptr inbounds i8, ptr %25, i64 40
  %104 = getelementptr inbounds i8, ptr %25, i64 44
  %105 = getelementptr inbounds i8, ptr %25, i64 48
  %106 = getelementptr inbounds i8, ptr %25, i64 52
  %107 = getelementptr inbounds i8, ptr %25, i64 56
  br label %111

108:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #10
  br label %230

109:                                              ; preds = %1
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #10
  br label %797

111:                                              ; preds = %90, %228
  %indvars.iv = phi i64 [ 0, %90 ], [ %indvars.iv.next, %228 ]
  %112 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 %indvars.iv
  %113 = load i8, ptr %112, align 1, !tbaa !9, !range !177, !noundef !178
  %114 = trunc nuw i8 %113 to i1
  br i1 %114, label %119, label %115

115:                                              ; preds = %111
  %116 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 %indvars.iv
  %117 = load i8, ptr %116, align 1, !tbaa !9, !range !177, !noundef !178
  %118 = trunc nuw i8 %117 to i1
  br i1 %118, label %119, label %228

119:                                              ; preds = %115, %111
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %149

122:                                              ; preds = %119
  %123 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %77, i32 noundef 1)
          to label %124 unwind label %139

124:                                              ; preds = %122
  store i32 %123, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %9) #10
  %125 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross11CompilerMSL13get_uint_typeEv(ptr noundef nonnull align 8 dereferenceable(12482) %0)
          to label %126 unwind label %141

126:                                              ; preds = %124
  invoke void @_ZN11spirv_cross8SPIRTypeC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(336) %9, ptr noundef nonnull align 8 dereferenceable(336) %125)
          to label %127 unwind label %141

127:                                              ; preds = %126
  store i32 32, ptr %91, align 4, !tbaa !179
  store i8 1, ptr %92, align 4, !tbaa !192
  %128 = load i32, ptr %93, align 8, !tbaa !193
  %129 = add i32 %128, 1
  store i32 %129, ptr %93, align 8, !tbaa !193
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #10
  %130 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL16get_uint_type_idEv(ptr noundef nonnull align 8 dereferenceable(12482) %0)
          to label %131 unwind label %143

131:                                              ; preds = %127
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 noundef %130)
  %132 = load i32, ptr %10, align 4, !tbaa !5
  store i32 %132, ptr %94, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #10
  store i32 2, ptr %95, align 8, !tbaa !194
  %133 = load i32, ptr %8, align 4, !tbaa !5
  %134 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %133, ptr noundef nonnull align 8 dereferenceable(336) %9)
          to label %135 unwind label %145

135:                                              ; preds = %131
  %136 = load i32, ptr %8, align 4, !tbaa !5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef %136)
  %137 = load i32, ptr %11, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %137, i32 noundef 6, i32 noundef 4)
          to label %138 unwind label %145

138:                                              ; preds = %135
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %9) #10
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %9) #10
  %.pre = load i8, ptr %112, align 1, !tbaa !9, !range !177
  br label %149

139:                                              ; preds = %122
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %229

141:                                              ; preds = %126, %124
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %148

143:                                              ; preds = %127
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #10
  br label %147

145:                                              ; preds = %135, %131
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %147

147:                                              ; preds = %145, %143
  %.pn322 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %9) #10
  br label %148

148:                                              ; preds = %147, %141
  %.pn322.pn = phi { ptr, i32 } [ %.pn322, %147 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %9) #10
  br label %229

149:                                              ; preds = %138, %119
  %150 = phi i8 [ %.pre, %138 ], [ %113, %119 ]
  %151 = trunc nuw i8 %150 to i1
  br i1 %151, label %152, label %188

152:                                              ; preds = %149
  %153 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %77, i32 noundef 1)
          to label %154 unwind label %172

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #10
  store i32 0, ptr %12, align 4, !tbaa !195
  %155 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %153, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %156 unwind label %174

156:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 noundef %153)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %157 unwind label %178

157:                                              ; preds = %156
  %158 = load i32, ptr %13, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %158, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %159 unwind label %180

159:                                              ; preds = %157
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %16, i32 noundef %153)
  %160 = load i32, ptr %16, align 4
  %161 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %160, i32 noundef 34, i32 noundef %161)
          to label %162 unwind label %176

162:                                              ; preds = %159
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %17, i32 noundef %153)
  %163 = load i32, ptr %17, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %163, i32 noundef 33, i32 noundef -2)
          to label %164 unwind label %176

164:                                              ; preds = %162
  %165 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %2, i64 0, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #10
  store ptr %155, ptr %18, align 8, !tbaa !196
  %166 = load ptr, ptr %0, align 8, !tbaa !198
  %167 = getelementptr inbounds i8, ptr %166, i64 48
  %168 = load ptr, ptr %167, align 8
  invoke void %168(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %96, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %153, i1 noundef zeroext true)
          to label %169 unwind label %183

169:                                              ; preds = %164
  store i32 8, ptr %97, align 8, !tbaa !200
  %170 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(176) %155, i32 noundef 8, i32 noundef 0)
          to label %171 unwind label %185

171:                                              ; preds = %169
  store i32 %170, ptr %98, align 4, !tbaa !201
  store i32 1, ptr %99, align 8, !tbaa !202
  store i32 0, ptr %100, align 4, !tbaa !203
  store i32 0, ptr %101, align 8, !tbaa !204
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536) %165, ptr noundef nonnull align 8 dereferenceable(60) %18) #10
  call void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %18) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #10
  br label %188

172:                                              ; preds = %152
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %229

174:                                              ; preds = %154
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #10
  br label %229

176:                                              ; preds = %162, %159
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %229

178:                                              ; preds = %156
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %157
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  br label %182

182:                                              ; preds = %180, %178
  %.pn325 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  br label %229

183:                                              ; preds = %164
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %187

185:                                              ; preds = %169
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %96) #10
  br label %187

187:                                              ; preds = %185, %183
  %.pn327 = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #10
  br label %229

188:                                              ; preds = %171, %149
  %189 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 %indvars.iv
  %190 = load i8, ptr %189, align 1, !tbaa !9, !range !177, !noundef !178
  %191 = trunc nuw i8 %190 to i1
  br i1 %191, label %192, label %228

192:                                              ; preds = %188
  %193 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %77, i32 noundef 1)
          to label %194 unwind label %212

194:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #10
  store i32 0, ptr %19, align 4, !tbaa !195
  %195 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %193, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %196 unwind label %214

196:                                              ; preds = %194
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef %193)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %197 unwind label %218

197:                                              ; preds = %196
  %198 = load i32, ptr %20, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %198, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %199 unwind label %220

199:                                              ; preds = %197
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 noundef %193)
  %200 = load i32, ptr %23, align 4
  %201 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %200, i32 noundef 34, i32 noundef %201)
          to label %202 unwind label %216

202:                                              ; preds = %199
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %24, i32 noundef %193)
  %203 = load i32, ptr %24, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %203, i32 noundef 33, i32 noundef -3)
          to label %204 unwind label %216

204:                                              ; preds = %202
  %205 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %2, i64 0, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #10
  store ptr %195, ptr %25, align 8, !tbaa !196
  %206 = load ptr, ptr %0, align 8, !tbaa !198
  %207 = getelementptr inbounds i8, ptr %206, i64 48
  %208 = load ptr, ptr %207, align 8
  invoke void %208(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %102, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %193, i1 noundef zeroext true)
          to label %209 unwind label %223

209:                                              ; preds = %204
  store i32 8, ptr %103, align 8, !tbaa !200
  %210 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(176) %195, i32 noundef 8, i32 noundef 0)
          to label %211 unwind label %225

211:                                              ; preds = %209
  store i32 %210, ptr %104, align 4, !tbaa !201
  store i32 1, ptr %105, align 8, !tbaa !202
  store i32 0, ptr %106, align 4, !tbaa !203
  store i32 0, ptr %107, align 8, !tbaa !204
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536) %205, ptr noundef nonnull align 8 dereferenceable(60) %25) #10
  call void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %25) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #10
  br label %228

212:                                              ; preds = %192
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %229

214:                                              ; preds = %194
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #10
  br label %229

216:                                              ; preds = %202, %199
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %229

218:                                              ; preds = %196
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %222

220:                                              ; preds = %197
  %221 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %222

222:                                              ; preds = %220, %218
  %.pn331 = phi { ptr, i32 } [ %221, %220 ], [ %219, %218 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  br label %229

223:                                              ; preds = %204
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %227

225:                                              ; preds = %209
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #10
  br label %227

227:                                              ; preds = %225, %223
  %.pn333 = phi { ptr, i32 } [ %226, %225 ], [ %224, %223 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #10
  br label %229

228:                                              ; preds = %188, %211, %115
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 8
  br i1 %exitcond.not, label %108, label %111, !llvm.loop !205

229:                                              ; preds = %212, %227, %222, %216, %214, %172, %187, %182, %176, %174, %148, %139
  %.pn333.pn.pn.pn = phi { ptr, i32 } [ %.pn322.pn, %148 ], [ %140, %139 ], [ %173, %172 ], [ %.pn327, %187 ], [ %177, %176 ], [ %.pn325, %182 ], [ %175, %174 ], [ %213, %212 ], [ %.pn333, %227 ], [ %217, %216 ], [ %.pn331, %222 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #10
  br label %797

230:                                              ; preds = %108, %87
  %231 = call noundef ptr @_ZN11spirv_cross10VectorViewIjE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #10
  %232 = call noundef ptr @_ZN11spirv_cross10VectorViewIjE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #10
  %.not257364 = icmp eq ptr %231, %232
  br i1 %.not257364, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %230
  %233 = getelementptr inbounds i8, ptr %27, i64 8
  %234 = getelementptr inbounds i8, ptr %27, i64 40
  %235 = getelementptr inbounds i8, ptr %27, i64 44
  %236 = getelementptr inbounds i8, ptr %27, i64 48
  %237 = getelementptr inbounds i8, ptr %27, i64 52
  %238 = getelementptr inbounds i8, ptr %27, i64 56
  br label %266

._crit_edge:                                      ; preds = %281, %230
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #10
  store i32 0, ptr %28, align 4, !tbaa !5
  %239 = getelementptr inbounds i8, ptr %0, i64 12476
  %240 = getelementptr inbounds i8, ptr %0, i64 10036
  %241 = getelementptr inbounds i8, ptr %0, i64 10146
  %242 = getelementptr inbounds i8, ptr %43, i64 16
  %243 = getelementptr inbounds i8, ptr %43, i64 4
  %244 = getelementptr inbounds i8, ptr %43, i64 28
  %245 = getelementptr inbounds i8, ptr %0, i64 11456
  %246 = getelementptr inbounds i8, ptr %54, i64 4
  %247 = getelementptr inbounds i8, ptr %0, i64 12280
  %248 = getelementptr inbounds i8, ptr %0, i64 12384
  %249 = getelementptr inbounds i8, ptr %0, i64 12024
  %250 = getelementptr inbounds i8, ptr %64, i64 16
  %251 = getelementptr inbounds i8, ptr %64, i64 20
  %252 = getelementptr inbounds i8, ptr %64, i64 24
  %253 = getelementptr inbounds i8, ptr %64, i64 12
  %254 = getelementptr inbounds i8, ptr %64, i64 124
  %255 = getelementptr inbounds i8, ptr %64, i64 120
  %256 = getelementptr inbounds i8, ptr %64, i64 276
  %257 = getelementptr inbounds i8, ptr %64, i64 128
  %258 = getelementptr inbounds i8, ptr %0, i64 1744
  %259 = getelementptr inbounds i8, ptr %69, i64 8
  %260 = getelementptr inbounds i8, ptr %57, i64 8
  %261 = getelementptr inbounds i8, ptr %0, i64 10169
  %262 = getelementptr inbounds i8, ptr %0, i64 12136
  %263 = getelementptr inbounds i8, ptr %76, i64 8
  %264 = getelementptr inbounds i8, ptr %76, i64 40
  %265 = getelementptr inbounds i8, ptr %76, i64 72
  br label %300

266:                                              ; preds = %.lr.ph, %281
  %.0238365 = phi ptr [ %231, %.lr.ph ], [ %282, %281 ]
  %267 = load i32, ptr %.0238365, align 4, !tbaa !5
  %268 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRVariableEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %267)
          to label %269 unwind label %283

269:                                              ; preds = %266
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %26, i32 noundef %267)
  %270 = load i32, ptr %26, align 4
  %271 = invoke noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %270, i32 noundef 34)
          to label %272 unwind label %285

272:                                              ; preds = %269
  invoke void @_ZN11spirv_cross12CompilerGLSL17add_resource_nameEj(ptr noundef nonnull align 8 dereferenceable(9848) %0, i32 noundef %267)
          to label %273 unwind label %285

273:                                              ; preds = %272
  %274 = zext i32 %271 to i64
  %275 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %2, i64 0, i64 %274
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #10
  store ptr %268, ptr %27, align 8, !tbaa !196
  %276 = load ptr, ptr %0, align 8, !tbaa !198
  %277 = getelementptr inbounds i8, ptr %276, i64 48
  %278 = load ptr, ptr %277, align 8
  invoke void %278(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %233, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %267, i1 noundef zeroext true)
          to label %279 unwind label %287

279:                                              ; preds = %273
  store i32 15, ptr %234, align 8, !tbaa !200
  %280 = invoke noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(176) %268, i32 noundef 15, i32 noundef 0)
          to label %281 unwind label %289

281:                                              ; preds = %279
  store i32 %280, ptr %235, align 4, !tbaa !201
  store i32 1, ptr %236, align 8, !tbaa !202
  store i32 0, ptr %237, align 4, !tbaa !203
  store i32 0, ptr %238, align 8, !tbaa !204
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536) %275, ptr noundef nonnull align 8 dereferenceable(60) %27) #10
  call void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %27) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #10
  %282 = getelementptr inbounds i8, ptr %.0238365, i64 4
  %.not257 = icmp eq ptr %282, %232
  br i1 %.not257, label %._crit_edge, label %266

283:                                              ; preds = %266
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %797

285:                                              ; preds = %272, %269
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %797

287:                                              ; preds = %273
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

289:                                              ; preds = %279
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %233) #10
  br label %291

291:                                              ; preds = %289, %287
  %.pn318 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #10
  br label %797

292:                                              ; preds = %786
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @_ZN11spirv_cross11SmallVectorIjLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #10
  %293 = getelementptr inbounds i8, ptr %2, i64 3752
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %293) #10
  %294 = getelementptr inbounds i8, ptr %2, i64 3216
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %294) #10
  %295 = getelementptr inbounds i8, ptr %2, i64 2680
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %295) #10
  %296 = getelementptr inbounds i8, ptr %2, i64 2144
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %296) #10
  %297 = getelementptr inbounds i8, ptr %2, i64 1608
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %297) #10
  %298 = getelementptr inbounds i8, ptr %2, i64 1072
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %298) #10
  %299 = getelementptr inbounds i8, ptr %2, i64 536
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %299) #10
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %2) #10
  call void @llvm.lifetime.end.p0(i64 4288, ptr nonnull %2) #10
  ret void

300:                                              ; preds = %._crit_edge, %786
  %storemerge378 = phi i32 [ 0, %._crit_edge ], [ %788, %786 ]
  %301 = zext nneg i32 %storemerge378 to i64
  %302 = getelementptr inbounds [8 x %"class.spirv_cross::SmallVector.615"], ptr %2, i64 0, i64 %301
  %303 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %302) #10
  br i1 %303, label %786, label %304

304:                                              ; preds = %300
  %305 = load i32, ptr %28, align 4, !tbaa !5
  %306 = call noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL33descriptor_set_is_argument_bufferEj(ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %305)
  br i1 %306, label %308, label %307

307:                                              ; preds = %304
  call void @__assert_fail(ptr noundef nonnull @.str.1763, ptr noundef nonnull @.str.25, i32 noundef 18747, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11spirv_cross11CompilerMSL24analyze_argument_buffersEv) #11
  unreachable

308:                                              ; preds = %304
  %309 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %77, i32 noundef 3)
          to label %310 unwind label %329

310:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #10
  %311 = add i32 %309, 1
  store i32 %311, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #10
  %312 = add i32 %309, 2
  store i32 %312, ptr %30, align 4, !tbaa !5
  %313 = load i32, ptr %28, align 4, !tbaa !5
  %314 = zext i32 %313 to i64
  %315 = getelementptr inbounds [8 x i32], ptr %.ptr255, i64 0, i64 %314
  store i32 %309, ptr %315, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #10
  store i32 30, ptr %31, align 4, !tbaa !207
  %316 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %311, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %317 unwind label %331

317:                                              ; preds = %310
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #10
  %318 = getelementptr inbounds i8, ptr %316, i64 16
  store i32 15, ptr %318, align 8, !tbaa !208
  %319 = load i32, ptr %239, align 4, !tbaa !209
  %320 = load i32, ptr %28, align 4, !tbaa !5
  %321 = shl nuw i32 1, %320
  %322 = and i32 %321, %319
  %.not258 = icmp eq i32 %322, 0
  %323 = getelementptr inbounds i8, ptr %316, i64 128
  br i1 %.not258, label %335, label %324

324:                                              ; preds = %317
  store i32 12, ptr %323, align 8, !tbaa !194
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %32, i32 noundef %309)
  %325 = load i32, ptr %32, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %325, i32 noundef 24, i32 noundef 0)
          to label %326 unwind label %333

326:                                              ; preds = %324
  %327 = load i32, ptr %29, align 4, !tbaa !5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %33, i32 noundef %327)
  %328 = load i32, ptr %33, align 4
  invoke void @_ZN11spirv_cross8Compiler14set_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %328, i32 noundef 2, i32 noundef 0)
          to label %336 unwind label %333

329:                                              ; preds = %308
  %330 = landingpad { ptr, i32 }
          cleanup
  br label %796

331:                                              ; preds = %310
  %332 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #10
  br label %795

333:                                              ; preds = %326, %324
  %334 = landingpad { ptr, i32 }
          cleanup
  br label %795

335:                                              ; preds = %317
  store i32 2, ptr %323, align 8, !tbaa !194
  br label %336

336:                                              ; preds = %326, %335
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #10
  invoke void @_ZN11spirv_cross4joinIJRA23_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %34, ptr noundef nonnull align 1 dereferenceable(23) @.str.1764, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %337 unwind label %366

337:                                              ; preds = %336
  %338 = load i32, ptr %29, align 4, !tbaa !5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %35, i32 noundef %338)
  %339 = load i32, ptr %35, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %339, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %340 unwind label %368

340:                                              ; preds = %337
  %341 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #10
  store i32 32, ptr %36, align 4, !tbaa !207
  %342 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %341, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %343 unwind label %370

343:                                              ; preds = %340
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #10
  %344 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8SPIRTypeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(336) %342, ptr noundef nonnull align 8 dereferenceable(336) %316)
          to label %345 unwind label %372

345:                                              ; preds = %343
  %346 = getelementptr inbounds i8, ptr %342, i64 12
  store i32 32, ptr %346, align 4, !tbaa !179
  %347 = getelementptr inbounds i8, ptr %342, i64 124
  store i8 1, ptr %347, align 4, !tbaa !192
  %348 = getelementptr inbounds i8, ptr %342, i64 120
  %349 = load i32, ptr %348, align 8, !tbaa !193
  %350 = add i32 %349, 1
  store i32 %350, ptr %348, align 8, !tbaa !193
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #10
  %351 = load i32, ptr %29, align 4, !tbaa !5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %37, i32 noundef %351)
  %352 = getelementptr inbounds i8, ptr %342, i64 276
  %353 = load i32, ptr %37, align 4, !tbaa !5
  store i32 %353, ptr %352, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #10
  store i32 2, ptr %38, align 4, !tbaa !195
  %354 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3setINS_12SPIRVariableEJRjN3spv12StorageClassEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %309, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %355 unwind label %374

355:                                              ; preds = %345
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #10
  invoke void @_ZN11spirv_cross4joinIJRA17_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %39, ptr noundef nonnull align 1 dereferenceable(17) @.str.1765, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %356 unwind label %376

356:                                              ; preds = %355
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %40, i32 noundef %309)
  %357 = load i32, ptr %40, align 4
  invoke void @_ZN11spirv_cross8Compiler8set_nameENS_7TypedIDILNS_5TypesE0EEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %357, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %358 unwind label %378

358:                                              ; preds = %356
  %359 = call noundef ptr @_ZSt5beginIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(536) %302)
  %360 = call noundef ptr @_ZSt3endIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(536) %302)
  invoke void @"_ZSt11stable_sortIPZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE8ResourceZNS1_24analyze_argument_buffersEvE3$_4EvT_S5_T0_"(ptr noundef %359, ptr noundef %360)
          to label %.preheader unwind label %378

.preheader:                                       ; preds = %358
  %361 = call noundef i64 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %302) #10
  %.not379 = icmp eq i64 %361, 1
  br i1 %.not379, label %._crit_edge368, label %.lr.ph367

._crit_edge368:                                   ; preds = %403, %.preheader
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #10
  store i32 0, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #10
  store i32 0, ptr %42, align 4, !tbaa !5
  %362 = call noundef ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %302) #10
  %363 = call noundef ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %302) #10
  %.not259372 = icmp eq ptr %362, %363
  br i1 %.not259372, label %._crit_edge377, label %.lr.ph376

.lr.ph376:                                        ; preds = %._crit_edge368
  %364 = getelementptr inbounds i8, ptr %316, i64 8
  %365 = getelementptr inbounds i8, ptr %316, i64 136
  br label %409

366:                                              ; preds = %336
  %367 = landingpad { ptr, i32 }
          cleanup
  br label %794

368:                                              ; preds = %337
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %793

370:                                              ; preds = %340
  %371 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #10
  br label %793

372:                                              ; preds = %343
  %373 = landingpad { ptr, i32 }
          cleanup
  br label %793

374:                                              ; preds = %345
  %375 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #10
  br label %793

376:                                              ; preds = %355
  %377 = landingpad { ptr, i32 }
          cleanup
  br label %792

378:                                              ; preds = %358, %356
  %379 = landingpad { ptr, i32 }
          cleanup
  br label %791

.lr.ph367:                                        ; preds = %.preheader, %403
  %.0239366 = phi i64 [ %381, %403 ], [ 0, %.preheader ]
  %380 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceEixEm(ptr noundef nonnull align 8 dereferenceable(16) %302, i64 noundef %.0239366) #10
  %381 = add nuw i64 %.0239366, 1
  %382 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceEixEm(ptr noundef nonnull align 8 dereferenceable(16) %302, i64 noundef %381) #10
  %383 = getelementptr inbounds i8, ptr %380, i64 44
  %384 = load i32, ptr %383, align 4, !tbaa !201
  %385 = getelementptr inbounds i8, ptr %382, i64 44
  %386 = load i32, ptr %385, align 4, !tbaa !201
  %387 = icmp eq i32 %384, %386
  br i1 %387, label %388, label %403

388:                                              ; preds = %.lr.ph367
  %389 = getelementptr inbounds i8, ptr %380, i64 56
  %390 = load i32, ptr %389, align 8, !tbaa !204
  %.not308 = icmp eq i32 %390, 0
  br i1 %.not308, label %391, label %397

391:                                              ; preds = %388
  %392 = load ptr, ptr %380, align 8, !tbaa !196
  %393 = getelementptr inbounds i8, ptr %392, i64 8
  %394 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %393)
  br label %397

395:                                              ; preds = %397
  %396 = landingpad { ptr, i32 }
          cleanup
  br label %791

397:                                              ; preds = %388, %391
  %.sink = phi i32 [ %394, %391 ], [ %390, %388 ]
  %398 = getelementptr inbounds i8, ptr %382, i64 56
  store i32 %.sink, ptr %398, align 8
  %399 = load ptr, ptr %382, align 8, !tbaa !196
  %400 = getelementptr inbounds i8, ptr %399, i64 8
  %401 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %400)
  %402 = load i32, ptr %398, align 8, !tbaa !204
  invoke void @_ZN11spirv_cross8Compiler23set_extended_decorationEjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %401, i32 noundef 17, i32 noundef %402)
          to label %403 unwind label %395

403:                                              ; preds = %397, %.lr.ph367
  %404 = call noundef i64 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %302) #10
  %405 = add i64 %404, -1
  %406 = icmp ult i64 %381, %405
  br i1 %406, label %.lr.ph367, label %._crit_edge368, !llvm.loop !210

._crit_edge377:                                   ; preds = %747, %._crit_edge368
  %407 = load i8, ptr %261, align 1, !tbaa !211, !range !177, !noundef !178
  %408 = trunc nuw i8 %407 to i1
  br i1 %408, label %753, label %785

409:                                              ; preds = %.lr.ph376, %747
  %.0240374 = phi i32 [ 0, %.lr.ph376 ], [ %.3243, %747 ]
  %.0244373 = phi ptr [ %362, %.lr.ph376 ], [ %750, %747 ]
  %410 = load ptr, ptr %.0244373, align 8, !tbaa !196
  %411 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler22get_variable_data_typeERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 8 dereferenceable(176) %410)
          to label %412 unwind label %.loopexit341

412:                                              ; preds = %409
  %413 = invoke noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL25is_var_runtime_size_arrayERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(176) %410)
          to label %414 unwind label %.loopexit341

414:                                              ; preds = %412
  br i1 %413, label %415, label %426

415:                                              ; preds = %414
  %416 = load i32, ptr %239, align 4, !tbaa !209
  %417 = load i32, ptr %28, align 4, !tbaa !5
  %418 = shl nuw i32 1, %417
  %419 = and i32 %418, %416
  %420 = icmp eq i32 %419, 0
  br i1 %420, label %421, label %426

421:                                              ; preds = %415
  %422 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN11spirv_cross13CompilerErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %422, ptr noundef nonnull @.str.1766)
          to label %423 unwind label %424

423:                                              ; preds = %421
  invoke void @__cxa_throw(ptr nonnull %422, ptr nonnull @_ZTIN11spirv_cross13CompilerErrorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #12
          to label %805 unwind label %.loopexit.split-lp342

.loopexit341:                                     ; preds = %409, %412
  %lpad.loopexit343 = landingpad { ptr, i32 }
          cleanup
  br label %790

.loopexit.split-lp342:                            ; preds = %423
  %lpad.loopexit.split-lp344 = landingpad { ptr, i32 }
          cleanup
  br label %790

424:                                              ; preds = %421
  %425 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %422) #10
  br label %790

426:                                              ; preds = %415, %414
  %427 = load i8, ptr %241, align 2, !tbaa !212, !range !177, !noundef !178
  %428 = trunc nuw i8 %427 to i1
  br i1 %428, label %429, label %476

429:                                              ; preds = %426
  %430 = getelementptr inbounds i8, ptr %.0244373, i64 52
  %431 = load i32, ptr %430, align 4, !tbaa !203
  %432 = icmp eq i32 %431, 0
  br i1 %432, label %433, label %476

433:                                              ; preds = %429
  %434 = getelementptr inbounds i8, ptr %.0244373, i64 56
  %435 = load i32, ptr %434, align 8, !tbaa !204
  %436 = icmp eq i32 %435, 0
  br i1 %436, label %437, label %476

437:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #10
  %438 = load i32, ptr %28, align 4, !tbaa !5
  %439 = load i32, ptr %42, align 4, !tbaa !5
  %440 = sub i32 %439, %.0240374
  %441 = invoke noundef nonnull align 4 dereferenceable(32) ptr @_ZNK11spirv_cross11CompilerMSL28get_argument_buffer_resourceEjj(ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %438, i32 noundef %440)
          to label %442 unwind label %.loopexit.split-lp

442:                                              ; preds = %437
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %43, ptr noundef nonnull align 4 dereferenceable(32) %441, i64 32, i1 false), !tbaa.struct !213
  %443 = load i32, ptr %242, align 4, !tbaa !217
  %444 = sub i32 %443, %.0240374
  store i32 %444, ptr %242, align 4, !tbaa !217
  %445 = getelementptr inbounds i8, ptr %.0244373, i64 44
  %446 = load i32, ptr %445, align 4, !tbaa !201
  %447 = load i32, ptr %42, align 4, !tbaa !5
  %448 = icmp ugt i32 %446, %447
  br i1 %448, label %.lr.ph370, label %._crit_edge371

.lr.ph370:                                        ; preds = %442, %460
  %449 = phi i32 [ %462, %460 ], [ %447, %442 ]
  %450 = load i32, ptr %243, align 4, !tbaa !219
  switch i32 %450, label %456 [
    i32 1, label %452
    i32 2, label %452
    i32 3, label %452
    i32 4, label %452
    i32 5, label %452
    i32 6, label %452
    i32 7, label %452
    i32 8, label %452
    i32 9, label %452
    i32 10, label %452
    i32 11, label %452
    i32 12, label %452
    i32 13, label %452
    i32 14, label %452
    i32 16, label %.invoke
    i32 18, label %.invoke383
    i32 17, label %453
  ]

.loopexit:                                        ; preds = %.invoke383, %.invoke, %452, %456
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %451

.loopexit.split-lp:                               ; preds = %437
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %451

451:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #10
  br label %790

452:                                              ; preds = %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370, %.lr.ph370
  invoke void @_ZN11spirv_cross11CompilerMSL39add_argument_buffer_padding_buffer_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(336) %316, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(32) %43)
          to label %456 unwind label %.loopexit

.invoke:                                          ; preds = %453, %.lr.ph370
  invoke void @_ZN11spirv_cross11CompilerMSL38add_argument_buffer_padding_image_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(336) %316, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(32) %43)
          to label %456 unwind label %.loopexit

.invoke383:                                       ; preds = %453, %.lr.ph370
  invoke void @_ZN11spirv_cross11CompilerMSL40add_argument_buffer_padding_sampler_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(336) %316, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(32) %43)
          to label %456 unwind label %.loopexit

453:                                              ; preds = %.lr.ph370
  %454 = load i32, ptr %244, align 4, !tbaa !220
  %455 = icmp eq i32 %449, %454
  br i1 %455, label %.invoke383, label %.invoke

456:                                              ; preds = %.invoke383, %.invoke, %.lr.ph370, %452
  %457 = load i32, ptr %28, align 4, !tbaa !5
  %458 = load i32, ptr %42, align 4, !tbaa !5
  %459 = invoke noundef nonnull align 4 dereferenceable(32) ptr @_ZNK11spirv_cross11CompilerMSL28get_argument_buffer_resourceEjj(ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %457, i32 noundef %458)
          to label %460 unwind label %.loopexit

460:                                              ; preds = %456
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %43, ptr noundef nonnull align 4 dereferenceable(32) %459, i64 32, i1 false), !tbaa.struct !213
  %461 = load i32, ptr %445, align 4, !tbaa !201
  %462 = load i32, ptr %42, align 4, !tbaa !5
  %463 = icmp ugt i32 %461, %462
  br i1 %463, label %.lr.ph370, label %._crit_edge371.loopexit, !llvm.loop !221

._crit_edge371.loopexit:                          ; preds = %460
  %.pre381 = load i32, ptr %242, align 4, !tbaa !217
  br label %._crit_edge371

._crit_edge371:                                   ; preds = %._crit_edge371.loopexit, %442
  %464 = phi i32 [ %447, %442 ], [ %462, %._crit_edge371.loopexit ]
  %465 = phi i32 [ %444, %442 ], [ %.pre381, %._crit_edge371.loopexit ]
  %.1241.lcssa = phi i32 [ %.0240374, %442 ], [ 0, %._crit_edge371.loopexit ]
  %466 = icmp ugt i32 %465, 1
  br i1 %466, label %467, label %470

467:                                              ; preds = %._crit_edge371
  %468 = getelementptr inbounds i8, ptr %411, i64 32
  %469 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %468) #10
  %spec.select = select i1 %469, i32 1, i32 %465
  %spec.select339 = select i1 %469, i32 1, i32 %.1241.lcssa
  %.pre382 = load i32, ptr %42, align 4, !tbaa !5
  br label %470

470:                                              ; preds = %467, %._crit_edge371
  %471 = phi i32 [ %464, %._crit_edge371 ], [ %.pre382, %467 ]
  %.0245 = phi i32 [ %465, %._crit_edge371 ], [ %spec.select, %467 ]
  %.2242 = phi i32 [ %.1241.lcssa, %._crit_edge371 ], [ %spec.select339, %467 ]
  %472 = getelementptr inbounds i8, ptr %.0244373, i64 48
  %473 = load i32, ptr %472, align 8, !tbaa !202
  %474 = mul i32 %473, %.0245
  %475 = add i32 %471, %474
  store i32 %475, ptr %42, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #10
  br label %476

476:                                              ; preds = %470, %433, %429, %426
  %.3243 = phi i32 [ %.2242, %470 ], [ %.0240374, %433 ], [ %.0240374, %429 ], [ %.0240374, %426 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #10
  %477 = getelementptr inbounds i8, ptr %.0244373, i64 8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %477)
          to label %478 unwind label %487

478:                                              ; preds = %476
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull @.str.67, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %479 unwind label %489

479:                                              ; preds = %478
  invoke void @_ZN11spirv_cross11CompilerMSL17ensure_valid_nameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %44, ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull %45, ptr noundef nonnull %46)
          to label %480 unwind label %491

480:                                              ; preds = %479
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  %481 = getelementptr inbounds i8, ptr %.0244373, i64 52
  %482 = load i32, ptr %481, align 4, !tbaa !203
  %.not267 = icmp eq i32 %482, 0
  br i1 %.not267, label %499, label %483

483:                                              ; preds = %480
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %48) #10
  invoke void @_ZN11spirv_cross4joinIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERjEEES6_DpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %245, ptr noundef nonnull align 4 dereferenceable(4) %481)
          to label %484 unwind label %494

484:                                              ; preds = %483
  %485 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %486 unwind label %496

486:                                              ; preds = %484
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #10
  br label %499

487:                                              ; preds = %476
  %488 = landingpad { ptr, i32 }
          cleanup
  br label %752

489:                                              ; preds = %478
  %490 = landingpad { ptr, i32 }
          cleanup
  br label %493

491:                                              ; preds = %479
  %492 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #10
  br label %493

493:                                              ; preds = %491, %489
  %.pn265 = phi { ptr, i32 } [ %492, %491 ], [ %490, %489 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  br label %752

494:                                              ; preds = %483
  %495 = landingpad { ptr, i32 }
          cleanup
  br label %498

496:                                              ; preds = %484
  %497 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  br label %498

498:                                              ; preds = %496, %494
  %.pn268 = phi { ptr, i32 } [ %497, %496 ], [ %495, %494 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #10
  br label %751

499:                                              ; preds = %486, %480
  %500 = invoke i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_1EEEv(ptr noundef nonnull align 4 dereferenceable(4) %364)
          to label %501 unwind label %532

501:                                              ; preds = %499
  %502 = load i32, ptr %41, align 4, !tbaa !5
  invoke void @_ZN11spirv_cross8Compiler15set_member_nameENS_7TypedIDILNS_5TypesE1EEEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %500, i32 noundef %502, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %503 unwind label %532

503:                                              ; preds = %501
  %504 = getelementptr inbounds i8, ptr %.0244373, i64 40
  %505 = load i32, ptr %504, align 8, !tbaa !200
  %506 = icmp ne i32 %505, 18
  %507 = getelementptr inbounds i8, ptr %411, i64 16
  %508 = load i32, ptr %507, align 8
  %.not270 = icmp eq i32 %508, 18
  %or.cond = select i1 %506, i1 true, i1 %.not270
  br i1 %or.cond, label %543, label %509

509:                                              ; preds = %503
  %510 = getelementptr inbounds i8, ptr %411, i64 32
  %511 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %510) #10
  %512 = select i1 %511, i32 1, i32 2
  %513 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %77, i32 noundef %512)
          to label %514 unwind label %534

514:                                              ; preds = %509
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #10
  store i32 26, ptr %49, align 4, !tbaa !207
  %515 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %513, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %516 unwind label %536

516:                                              ; preds = %514
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #10
  %517 = getelementptr inbounds i8, ptr %515, i64 16
  store i32 18, ptr %517, align 8, !tbaa !208
  %518 = getelementptr inbounds i8, ptr %515, i64 128
  store i32 0, ptr %518, align 8, !tbaa !194
  br i1 %511, label %542, label %519

519:                                              ; preds = %516
  %520 = add i32 %513, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #10
  store i32 28, ptr %50, align 4, !tbaa !207
  %521 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %520, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %522 unwind label %538

522:                                              ; preds = %519
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #10
  %523 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8SPIRTypeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(336) %521, ptr noundef nonnull align 8 dereferenceable(336) %515)
          to label %524 unwind label %540

524:                                              ; preds = %522
  %525 = getelementptr inbounds i8, ptr %521, i64 32
  %526 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN11spirv_cross11SmallVectorIjLm8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %525, ptr noundef nonnull align 8 dereferenceable(56) %510) #10
  %527 = getelementptr inbounds i8, ptr %411, i64 88
  %528 = getelementptr inbounds i8, ptr %521, i64 88
  %529 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11spirv_cross11SmallVectorIbLm8EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %528, ptr noundef nonnull align 8 dereferenceable(32) %527) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %51, i32 noundef %513)
  %530 = getelementptr inbounds i8, ptr %521, i64 276
  %531 = load i32, ptr %51, align 4, !tbaa !5
  store i32 %531, ptr %530, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %52, i32 noundef %520)
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %52) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #10
  br label %730

532:                                              ; preds = %744, %740, %735, %730, %501, %499
  %533 = landingpad { ptr, i32 }
          cleanup
  br label %751

534:                                              ; preds = %509
  %535 = landingpad { ptr, i32 }
          cleanup
  br label %751

536:                                              ; preds = %514
  %537 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #10
  br label %751

538:                                              ; preds = %519
  %539 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #10
  br label %751

540:                                              ; preds = %522
  %541 = landingpad { ptr, i32 }
          cleanup
  br label %751

542:                                              ; preds = %516
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %53, i32 noundef %513)
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %53) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #10
  br label %730

543:                                              ; preds = %503
  %544 = getelementptr inbounds i8, ptr %410, i64 8
  %.sroa.010.0.copyload = load i32, ptr %544, align 8, !tbaa !5
  %545 = invoke noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %.sroa.010.0.copyload, i32 noundef 33)
          to label %546 unwind label %560

546:                                              ; preds = %543
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #10
  %547 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %547, ptr %54, align 4, !tbaa !222
  store i32 %545, ptr %246, align 4, !tbaa !224
  %548 = load i32, ptr %504, align 8, !tbaa !200
  %.off = add i32 %548, -16
  %switch = icmp ult i32 %.off, 3
  br i1 %switch, label %549, label %599

549:                                              ; preds = %546
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %55) #10
  %550 = invoke noundef i32 @_ZNK11spirv_cross8Compiler25get_variable_data_type_idERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 8 dereferenceable(176) %410)
          to label %551 unwind label %562

551:                                              ; preds = %549
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %55, i32 noundef %550)
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %55) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #10
  %552 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  %553 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %552, i32 noundef 17)
          to label %554 unwind label %.loopexit346

554:                                              ; preds = %551
  br i1 %553, label %555, label %580

555:                                              ; preds = %554
  %556 = call noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL7Options20supports_msl_versionEjjj(ptr noundef nonnull align 4 dereferenceable(137) %240, i32 noundef 3, i32 noundef 0, i32 noundef 0)
  br i1 %556, label %566, label %557

557:                                              ; preds = %555
  %558 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN11spirv_cross13CompilerErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %558, ptr noundef nonnull @.str.1767)
          to label %.invoke384 unwind label %564

.invoke384:                                       ; preds = %557, %676
  %559 = phi ptr [ %677, %676 ], [ %558, %557 ]
  invoke void @__cxa_throw(ptr nonnull %559, ptr nonnull @_ZTIN11spirv_cross13CompilerErrorE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #12
          to label %.cont unwind label %.loopexit.split-lp347

.cont:                                            ; preds = %.invoke384
  unreachable

560:                                              ; preds = %543
  %561 = landingpad { ptr, i32 }
          cleanup
  br label %751

562:                                              ; preds = %549
  %563 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #10
  br label %729

.loopexit346:                                     ; preds = %551, %599, %602, %608, %661, %666
  %lpad.loopexit348 = landingpad { ptr, i32 }
          cleanup
  br label %729

.loopexit.split-lp347:                            ; preds = %.invoke384
  %lpad.loopexit.split-lp349 = landingpad { ptr, i32 }
          cleanup
  br label %729

564:                                              ; preds = %557
  %565 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %558) #10
  br label %729

566:                                              ; preds = %555
  %567 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE4EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %258)
  %568 = invoke noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %567)
          to label %569 unwind label %573

569:                                              ; preds = %566
  %570 = getelementptr inbounds i8, ptr %568, i64 704
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %56) #10
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %57) #10
  store ptr %0, ptr %57, align 8, !tbaa !225
  invoke void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %260, ptr noundef nonnull align 8 dereferenceable(60) %.0244373)
          to label %571 unwind label %575

571:                                              ; preds = %569
  invoke void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(72) %57)
          to label %572 unwind label %577

572:                                              ; preds = %571
  call void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25) %570, ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %57) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %57) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #10
  br label %728

573:                                              ; preds = %566
  %574 = landingpad { ptr, i32 }
          cleanup
  br label %729

575:                                              ; preds = %569
  %576 = landingpad { ptr, i32 }
          cleanup
  br label %579

577:                                              ; preds = %571
  %578 = landingpad { ptr, i32 }
          cleanup
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %57) #10
  br label %579

579:                                              ; preds = %577, %575
  %.pn293 = phi { ptr, i32 } [ %578, %577 ], [ %576, %575 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %57) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #10
  br label %729

580:                                              ; preds = %554
  %581 = load i32, ptr %481, align 4, !tbaa !203
  %582 = icmp eq i32 %581, 0
  br i1 %582, label %583, label %728

583:                                              ; preds = %580
  %584 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %59) #10
  %585 = load ptr, ptr %0, align 8, !tbaa !198
  %586 = getelementptr inbounds i8, ptr %585, i64 48
  %587 = load ptr, ptr %586, align 8
  invoke void %587(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %59, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %309, i1 noundef zeroext true)
          to label %588 unwind label %591

588:                                              ; preds = %583
  invoke void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %58, ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %589 unwind label %593

589:                                              ; preds = %588
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %584, ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %590 unwind label %595

590:                                              ; preds = %589
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #10
  br label %728

591:                                              ; preds = %583
  %592 = landingpad { ptr, i32 }
          cleanup
  br label %598

593:                                              ; preds = %588
  %594 = landingpad { ptr, i32 }
          cleanup
  br label %597

595:                                              ; preds = %589
  %596 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #10
  br label %597

597:                                              ; preds = %595, %593
  %.pn290 = phi { ptr, i32 } [ %596, %595 ], [ %594, %593 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #10
  br label %598

598:                                              ; preds = %597, %591
  %.pn290.pn = phi { ptr, i32 } [ %.pn290, %597 ], [ %592, %591 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #10
  br label %729

599:                                              ; preds = %546
  %600 = invoke noundef i64 @_ZNKSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEE5countERS6_(ptr noundef nonnull align 8 dereferenceable(48) %247, ptr noundef nonnull align 4 dereferenceable(8) %54)
          to label %601 unwind label %.loopexit346

601:                                              ; preds = %599
  %.not271 = icmp eq i64 %600, 0
  br i1 %.not271, label %608, label %602

602:                                              ; preds = %601
  %603 = getelementptr inbounds i8, ptr %410, i64 12
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %603) #10
  %604 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  %605 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(48) %247, ptr noundef nonnull align 4 dereferenceable(8) %54)
          to label %606 unwind label %.loopexit346

606:                                              ; preds = %602
  %607 = getelementptr inbounds i8, ptr %605, i64 4
  store i32 %604, ptr %607, align 4, !tbaa !227
  br label %728

608:                                              ; preds = %601
  %609 = invoke noundef i64 @_ZNKSt13unordered_setIN11spirv_cross14SetBindingPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %248, ptr noundef nonnull align 4 dereferenceable(8) %54)
          to label %610 unwind label %.loopexit346

610:                                              ; preds = %608
  %.not272 = icmp eq i64 %609, 0
  br i1 %.not272, label %631, label %611

611:                                              ; preds = %610
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %60) #10
  %612 = invoke noundef i32 @_ZNK11spirv_cross8Compiler25get_variable_data_type_idERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 8 dereferenceable(176) %410)
          to label %613 unwind label %621

613:                                              ; preds = %611
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %60, i32 noundef %612)
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %60) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #10
  %614 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %62) #10
  %615 = load ptr, ptr %0, align 8, !tbaa !198
  %616 = getelementptr inbounds i8, ptr %615, i64 48
  %617 = load ptr, ptr %616, align 8
  invoke void %617(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %62, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %309, i1 noundef zeroext true)
          to label %618 unwind label %623

618:                                              ; preds = %613
  invoke void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %61, ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %619 unwind label %625

619:                                              ; preds = %618
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %614, ptr noundef nonnull align 8 dereferenceable(32) %61)
          to label %620 unwind label %627

620:                                              ; preds = %619
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #10
  br label %728

621:                                              ; preds = %611
  %622 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #10
  br label %729

623:                                              ; preds = %613
  %624 = landingpad { ptr, i32 }
          cleanup
  br label %630

625:                                              ; preds = %618
  %626 = landingpad { ptr, i32 }
          cleanup
  br label %629

627:                                              ; preds = %619
  %628 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #10
  br label %629

629:                                              ; preds = %627, %625
  %.pn287 = phi { ptr, i32 } [ %628, %627 ], [ %626, %625 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  br label %630

630:                                              ; preds = %629, %623
  %.pn287.pn = phi { ptr, i32 } [ %.pn287, %629 ], [ %624, %623 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #10
  br label %729

631:                                              ; preds = %610
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %63) #10
  %632 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  store i32 %632, ptr %63, align 4, !tbaa !5
  %633 = invoke noundef i64 @_ZNKSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE5countERKj(ptr noundef nonnull align 8 dereferenceable(56) %249, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %634 unwind label %649

634:                                              ; preds = %631
  %.not273 = icmp eq i64 %633, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #10
  br i1 %.not273, label %661, label %635

635:                                              ; preds = %634
  %636 = invoke noundef i32 @_ZN11spirv_cross8ParsedIR17increase_bound_byEj(ptr noundef nonnull align 8 dereferenceable(1920) %77, i32 noundef 2)
          to label %637 unwind label %651

637:                                              ; preds = %635
  %638 = add i32 %636, 1
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %64) #10
  invoke void @_ZN11spirv_cross8SPIRTypeC2EN3spv2OpE(ptr noundef nonnull align 8 dereferenceable(336) %64, i32 noundef 21)
          to label %639 unwind label %653

639:                                              ; preds = %637
  store i32 11, ptr %250, align 8, !tbaa !208
  store i32 32, ptr %251, align 4, !tbaa !229
  store i32 1, ptr %252, align 8, !tbaa !230
  %640 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %636, ptr noundef nonnull align 8 dereferenceable(336) %64)
          to label %641 unwind label %655

641:                                              ; preds = %639
  store i32 32, ptr %253, align 4, !tbaa !179
  store i8 1, ptr %254, align 4, !tbaa !192
  %642 = load i32, ptr %255, align 8, !tbaa !193
  %643 = add i32 %642, 1
  store i32 %643, ptr %255, align 8, !tbaa !193
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %65) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %65, i32 noundef %636)
  %644 = load i32, ptr %65, align 4, !tbaa !5
  store i32 %644, ptr %256, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %65) #10
  store i32 12, ptr %257, align 8, !tbaa !194
  %645 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJRS2_EEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %638, ptr noundef nonnull align 8 dereferenceable(336) %64)
          to label %646 unwind label %657

646:                                              ; preds = %641
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %66) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %66, i32 noundef %636)
  %647 = getelementptr inbounds i8, ptr %645, i64 8
  %648 = load i32, ptr %66, align 4, !tbaa !5
  store i32 %648, ptr %647, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %66) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %67) #10
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %67, i32 noundef %638)
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %67) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %67) #10
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %64) #10
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %64) #10
  br label %728

649:                                              ; preds = %631
  %650 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #10
  br label %729

651:                                              ; preds = %635
  %652 = landingpad { ptr, i32 }
          cleanup
  br label %729

653:                                              ; preds = %637
  %654 = landingpad { ptr, i32 }
          cleanup
  br label %660

655:                                              ; preds = %639
  %656 = landingpad { ptr, i32 }
          cleanup
  br label %659

657:                                              ; preds = %641
  %658 = landingpad { ptr, i32 }
          cleanup
  br label %659

659:                                              ; preds = %657, %655
  %.pn283 = phi { ptr, i32 } [ %658, %657 ], [ %656, %655 ]
  call void @_ZN11spirv_cross8SPIRTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(336) %64) #10
  br label %660

660:                                              ; preds = %659, %653
  %.pn283.pn = phi { ptr, i32 } [ %.pn283, %659 ], [ %654, %653 ]
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %64) #10
  br label %729

661:                                              ; preds = %634
  %662 = getelementptr inbounds i8, ptr %410, i64 12
  call void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(56) %365, ptr noundef nonnull align 4 dereferenceable(4) %662) #10
  %663 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  %664 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %663, i32 noundef 17)
          to label %665 unwind label %.loopexit346

665:                                              ; preds = %661
  br i1 %664, label %666, label %694

666:                                              ; preds = %665
  %667 = getelementptr inbounds i8, ptr %.0244373, i64 56
  %668 = load i32, ptr %667, align 8, !tbaa !204
  %669 = invoke noundef nonnull align 8 dereferenceable(176) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRVariableEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %668)
          to label %670 unwind label %.loopexit346

670:                                              ; preds = %666
  %671 = getelementptr inbounds i8, ptr %669, i64 16
  %672 = load i32, ptr %671, align 8, !tbaa !231
  %673 = icmp eq i32 %672, 0
  br i1 %673, label %674, label %680

674:                                              ; preds = %670
  %675 = call noundef zeroext i1 @_ZNK11spirv_cross11CompilerMSL7Options20supports_msl_versionEjjj(ptr noundef nonnull align 4 dereferenceable(137) %240, i32 noundef 3, i32 noundef 0, i32 noundef 0)
  br i1 %675, label %680, label %676

676:                                              ; preds = %674
  %677 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN11spirv_cross13CompilerErrorC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %677, ptr noundef nonnull @.str.1767)
          to label %.invoke384 unwind label %678

678:                                              ; preds = %676
  %679 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %677) #10
  br label %729

680:                                              ; preds = %674, %670
  %681 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE4EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %258)
  %682 = invoke noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %681)
          to label %683 unwind label %687

683:                                              ; preds = %680
  %684 = getelementptr inbounds i8, ptr %682, i64 704
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %68) #10
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %69) #10
  store ptr %0, ptr %69, align 8, !tbaa !234
  invoke void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60) %259, ptr noundef nonnull align 8 dereferenceable(60) %.0244373)
          to label %685 unwind label %689

685:                                              ; preds = %683
  invoke void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(72) %69)
          to label %686 unwind label %691

686:                                              ; preds = %685
  call void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25) %684, ptr noundef nonnull align 8 dereferenceable(32) %68) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #10
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %69) #10
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %69) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #10
  br label %728

687:                                              ; preds = %680
  %688 = landingpad { ptr, i32 }
          cleanup
  br label %729

689:                                              ; preds = %683
  %690 = landingpad { ptr, i32 }
          cleanup
  br label %693

691:                                              ; preds = %685
  %692 = landingpad { ptr, i32 }
          cleanup
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(72) %69) #10
  br label %693

693:                                              ; preds = %691, %689
  %.pn280 = phi { ptr, i32 } [ %692, %691 ], [ %690, %689 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %69) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #10
  br label %729

694:                                              ; preds = %665
  %695 = getelementptr inbounds i8, ptr %411, i64 32
  %696 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %695) #10
  %697 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %544)
  br i1 %696, label %698, label %713

698:                                              ; preds = %694
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %70) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %71) #10
  %699 = load ptr, ptr %0, align 8, !tbaa !198
  %700 = getelementptr inbounds i8, ptr %699, i64 48
  %701 = load ptr, ptr %700, align 8
  invoke void %701(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %71, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %309, i1 noundef zeroext true)
          to label %702 unwind label %705

702:                                              ; preds = %698
  invoke void @_ZN11spirv_cross4joinIJRA3_KcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_S1_RS9_SB_EEES9_DpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %70, ptr noundef nonnull align 1 dereferenceable(3) @.str.1768, ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 1 dereferenceable(2) @.str.53)
          to label %703 unwind label %707

703:                                              ; preds = %702
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %697, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %704 unwind label %709

704:                                              ; preds = %703
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #10
  br label %728

705:                                              ; preds = %698
  %706 = landingpad { ptr, i32 }
          cleanup
  br label %712

707:                                              ; preds = %702
  %708 = landingpad { ptr, i32 }
          cleanup
  br label %711

709:                                              ; preds = %703
  %710 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #10
  br label %711

711:                                              ; preds = %709, %707
  %.pn277 = phi { ptr, i32 } [ %710, %709 ], [ %708, %707 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #10
  br label %712

712:                                              ; preds = %711, %705
  %.pn277.pn = phi { ptr, i32 } [ %.pn277, %711 ], [ %706, %705 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #10
  br label %729

713:                                              ; preds = %694
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %73) #10
  %714 = load ptr, ptr %0, align 8, !tbaa !198
  %715 = getelementptr inbounds i8, ptr %714, i64 48
  %716 = load ptr, ptr %715, align 8
  invoke void %716(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %73, ptr noundef nonnull align 8 dereferenceable(12482) %0, i32 noundef %309, i1 noundef zeroext true)
          to label %717 unwind label %720

717:                                              ; preds = %713
  invoke void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %72, ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 1 dereferenceable(2) @.str.66, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %718 unwind label %722

718:                                              ; preds = %717
  invoke void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %697, ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %719 unwind label %724

719:                                              ; preds = %718
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #10
  br label %728

720:                                              ; preds = %713
  %721 = landingpad { ptr, i32 }
          cleanup
  br label %727

722:                                              ; preds = %717
  %723 = landingpad { ptr, i32 }
          cleanup
  br label %726

724:                                              ; preds = %718
  %725 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #10
  br label %726

726:                                              ; preds = %724, %722
  %.pn274 = phi { ptr, i32 } [ %725, %724 ], [ %723, %722 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #10
  br label %727

727:                                              ; preds = %726, %720
  %.pn274.pn = phi { ptr, i32 } [ %.pn274, %726 ], [ %721, %720 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #10
  br label %729

728:                                              ; preds = %606, %646, %704, %719, %686, %620, %572, %590, %580
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #10
  br label %730

729:                                              ; preds = %.loopexit346, %.loopexit.split-lp347, %687, %693, %651, %660, %573, %579, %727, %712, %678, %649, %630, %621, %598, %564, %562
  %.pn293.pn.pn = phi { ptr, i32 } [ %565, %564 ], [ %.pn290.pn, %598 ], [ %563, %562 ], [ %.pn287.pn, %630 ], [ %622, %621 ], [ %679, %678 ], [ %.pn277.pn, %712 ], [ %.pn274.pn, %727 ], [ %650, %649 ], [ %.pn293, %579 ], [ %574, %573 ], [ %.pn283.pn, %660 ], [ %652, %651 ], [ %.pn280, %693 ], [ %688, %687 ], [ %lpad.loopexit348, %.loopexit346 ], [ %lpad.loopexit.split-lp349, %.loopexit.split-lp347 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #10
  br label %751

730:                                              ; preds = %524, %542, %728
  %731 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %364)
  %732 = load i32, ptr %41, align 4, !tbaa !5
  %733 = getelementptr inbounds i8, ptr %.0244373, i64 44
  %734 = load i32, ptr %733, align 4, !tbaa !201
  invoke void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %731, i32 noundef %732, i32 noundef 6, i32 noundef %734)
          to label %735 unwind label %532

735:                                              ; preds = %730
  %736 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %364)
  %737 = load i32, ptr %41, align 4, !tbaa !5
  %738 = getelementptr inbounds i8, ptr %410, i64 8
  %739 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %738)
  invoke void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %736, i32 noundef %737, i32 noundef 5, i32 noundef %739)
          to label %740 unwind label %532

740:                                              ; preds = %735
  %741 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %738)
  %742 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %741, i32 noundef 17)
          to label %743 unwind label %532

743:                                              ; preds = %740
  br i1 %742, label %744, label %747

744:                                              ; preds = %743
  %745 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %364)
  %746 = load i32, ptr %41, align 4, !tbaa !5
  invoke void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %745, i32 noundef %746, i32 noundef 17, i32 noundef 0)
          to label %747 unwind label %532

747:                                              ; preds = %744, %743
  %748 = load i32, ptr %41, align 4, !tbaa !5
  %749 = add i32 %748, 1
  store i32 %749, ptr %41, align 4, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #10
  %750 = getelementptr inbounds i8, ptr %.0244373, i64 64
  %.not259 = icmp eq ptr %750, %363
  br i1 %.not259, label %._crit_edge377, label %409

751:                                              ; preds = %560, %729, %534, %538, %540, %536, %532, %498
  %.pn302 = phi { ptr, i32 } [ %533, %532 ], [ %.pn268, %498 ], [ %535, %534 ], [ %537, %536 ], [ %541, %540 ], [ %539, %538 ], [ %.pn293.pn.pn, %729 ], [ %561, %560 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  br label %752

752:                                              ; preds = %751, %493, %487
  %.pn302.pn = phi { ptr, i32 } [ %.pn302, %751 ], [ %.pn265, %493 ], [ %488, %487 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #10
  br label %790

753:                                              ; preds = %._crit_edge377
  %754 = invoke noundef zeroext i1 @_ZN11spirv_cross8Compiler23type_contains_recursionERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 8 dereferenceable(336) %316)
          to label %755 unwind label %768

755:                                              ; preds = %753
  br i1 %754, label %756, label %785

756:                                              ; preds = %755
  %757 = invoke { ptr, i8 } @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(56) %262, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %758 unwind label %768

758:                                              ; preds = %756
  %759 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE4EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %258)
  %760 = invoke noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %759)
          to label %761 unwind label %770

761:                                              ; preds = %758
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %74) #10
  invoke void @_ZN11spirv_cross11CompilerMSL26get_argument_address_spaceB5cxx11ERKNS_12SPIRVariableE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %74, ptr noundef nonnull align 8 dereferenceable(12482) %0, ptr noundef nonnull align 8 dereferenceable(176) %354)
          to label %762 unwind label %772

762:                                              ; preds = %761
  %763 = getelementptr inbounds i8, ptr %760, i64 704
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %75) #10
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %76) #10
  store ptr %0, ptr %76, align 8, !tbaa !236
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %263, ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %764 unwind label %774

764:                                              ; preds = %762
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %264, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %765 unwind label %776

765:                                              ; preds = %764
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %265, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %766 unwind label %778

766:                                              ; preds = %765
  invoke void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(104) %76)
          to label %767 unwind label %781

767:                                              ; preds = %766
  call void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25) %763, ptr noundef nonnull align 8 dereferenceable(32) %75) #10
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #10
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(104) %76) #10
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %76) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #10
  br label %785

768:                                              ; preds = %756, %753
  %769 = landingpad { ptr, i32 }
          cleanup
  br label %790

770:                                              ; preds = %758
  %771 = landingpad { ptr, i32 }
          cleanup
  br label %790

772:                                              ; preds = %761
  %773 = landingpad { ptr, i32 }
          cleanup
  br label %784

774:                                              ; preds = %762
  %775 = landingpad { ptr, i32 }
          cleanup
  br label %783

776:                                              ; preds = %764
  %777 = landingpad { ptr, i32 }
          cleanup
  br label %780

778:                                              ; preds = %765
  %779 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %264) #10
  br label %780

780:                                              ; preds = %778, %776
  %.pn = phi { ptr, i32 } [ %779, %778 ], [ %777, %776 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %263) #10
  br label %783

781:                                              ; preds = %766
  %782 = landingpad { ptr, i32 }
          cleanup
  call void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(104) %76) #10
  br label %783

783:                                              ; preds = %781, %780, %774
  %.pn261 = phi { ptr, i32 } [ %782, %781 ], [ %.pn, %780 ], [ %775, %774 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %76) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #10
  br label %784

784:                                              ; preds = %783, %772
  %.pn261.pn = phi { ptr, i32 } [ %.pn261, %783 ], [ %773, %772 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #10
  br label %790

785:                                              ; preds = %767, %755, %._crit_edge377
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #10
  br label %786

786:                                              ; preds = %300, %785
  %787 = load i32, ptr %28, align 4, !tbaa !5
  %788 = add i32 %787, 1
  store i32 %788, ptr %28, align 4, !tbaa !5
  %789 = icmp ult i32 %788, 8
  br i1 %789, label %300, label %292, !llvm.loop !238

790:                                              ; preds = %.loopexit341, %.loopexit.split-lp342, %770, %784, %424, %451, %752, %768
  %.pn305.pn = phi { ptr, i32 } [ %769, %768 ], [ %425, %424 ], [ %lpad.phi, %451 ], [ %.pn302.pn, %752 ], [ %.pn261.pn, %784 ], [ %771, %770 ], [ %lpad.loopexit343, %.loopexit341 ], [ %lpad.loopexit.split-lp344, %.loopexit.split-lp342 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #10
  br label %791

791:                                              ; preds = %790, %395, %378
  %.pn309 = phi { ptr, i32 } [ %396, %395 ], [ %.pn305.pn, %790 ], [ %379, %378 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #10
  br label %792

792:                                              ; preds = %791, %376
  %.pn309.pn = phi { ptr, i32 } [ %.pn309, %791 ], [ %377, %376 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #10
  br label %793

793:                                              ; preds = %370, %372, %792, %374, %368
  %.pn309.pn.pn.pn.pn = phi { ptr, i32 } [ %369, %368 ], [ %373, %372 ], [ %371, %370 ], [ %.pn309.pn, %792 ], [ %375, %374 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  br label %794

794:                                              ; preds = %793, %366
  %.pn309.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn309.pn.pn.pn.pn, %793 ], [ %367, %366 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #10
  br label %795

795:                                              ; preds = %794, %333, %331
  %.pn309.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn309.pn.pn.pn.pn.pn, %794 ], [ %334, %333 ], [ %332, %331 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #10
  br label %796

796:                                              ; preds = %795, %329
  %.pn309.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn309.pn.pn.pn.pn.pn.pn, %795 ], [ %330, %329 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #10
  br label %797

797:                                              ; preds = %283, %291, %285, %796, %229, %109
  %.pn333.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn333.pn.pn.pn, %229 ], [ %.pn309.pn.pn.pn.pn.pn.pn.pn, %796 ], [ %110, %109 ], [ %284, %283 ], [ %.pn318, %291 ], [ %286, %285 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @_ZN11spirv_cross11SmallVectorIjLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #10
  %798 = getelementptr inbounds i8, ptr %2, i64 3752
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %798) #10
  %799 = getelementptr inbounds i8, ptr %2, i64 3216
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %799) #10
  %800 = getelementptr inbounds i8, ptr %2, i64 2680
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %800) #10
  %801 = getelementptr inbounds i8, ptr %2, i64 2144
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %801) #10
  %802 = getelementptr inbounds i8, ptr %2, i64 1608
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %802) #10
  %803 = getelementptr inbounds i8, ptr %2, i64 1072
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %803) #10
  %804 = getelementptr inbounds i8, ptr %2, i64 536
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %804) #10
  call void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536) %2) #10
  call void @llvm.lifetime.end.p0(i64 4288, ptr nonnull %2) #10
  resume { ptr, i32 } %.pn333.pn.pn.pn.pn

805:                                              ; preds = %423
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(795) ptr @_ZN11spirv_cross8Compiler3getINS_12SPIRFunctionEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE6insertERKj(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler23has_extended_decorationEjNS_19ExtendedDecorationsE(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorISt8functionIFvvEELm0EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

declare void @_ZN11spirv_cross8Compiler15set_member_nameENS_7TypedIDILNS_5TypesE1EEEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_1EEEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

declare void @_ZN11spirv_cross8Compiler30set_extended_member_decorationEjjNS_19ExtendedDecorationsEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare noundef i32 @_ZNK11spirv_cross8Compiler25get_variable_data_type_idERKNS_12SPIRVariableE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3setINS_8SPIRTypeEJN3spv2OpEEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRA3_KcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_S1_RS9_SB_EEES9_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(3), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8SPIRTypeaSERKS0_(ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 8 dereferenceable(336)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERjEEES6_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11spirv_cross11CompilerMSL24get_metal_resource_indexERNS_12SPIRVariableENS_8SPIRType8BaseTypeEj(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(176), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

declare void @_ZN11spirv_cross8Compiler18set_qualified_nameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(536)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN11spirv_cross8ParsedIR17for_each_typed_idINS_12SPIRVariableEZNS_11CompilerMSL24analyze_argument_buffersEvE3$_3EEvRKT0_"(ptr noundef nonnull align 8 dereferenceable(1920), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(536), ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceD2Ev(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRA23_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(23), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJRA17_KcRjEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 1 dereferenceable(17), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt11stable_sortIPZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE8ResourceZNS1_24analyze_argument_buffersEvE3$_4EvT_S5_T0_"(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZSt5beginIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(536)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZSt3endIN11spirv_cross11SmallVectorIZNS0_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EEEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(536)) local_unnamed_addr #7

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(60) ptr @_ZN11spirv_cross10VectorViewIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZNK11spirv_cross11CompilerMSL28get_argument_buffer_resourceEjj(ptr noundef nonnull align 8 dereferenceable(12482), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL39add_argument_buffer_padding_buffer_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL38add_argument_buffer_padding_image_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross11CompilerMSL40add_argument_buffer_padding_sampler_typeERNS_8SPIRTypeERjS3_RNS_18MSLResourceBindingE(ptr noundef nonnull align 8 dereferenceable(12482), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN8ResourceC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_0D2Ev"(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross4joinIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA2_KcRS6_EEES6_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

declare noundef zeroext i1 @_ZN11spirv_cross8Compiler23type_contains_recursionERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(336)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFvvEEC2IZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvEN3$_2D2Ev"(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11spirv_cross11SmallVectorIZNS_11CompilerMSL24analyze_argument_buffersEvE8ResourceLm8EED2Ev(ptr noundef nonnull align 8 dereferenceable(536)) unnamed_addr #0 align 2

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_3", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !10, i64 11189}
!16 = !{!"_ZTSN11spirv_cross11CompilerMSLE", !17, i64 0, !124, i64 9848, !6, i64 9904, !6, i64 9908, !6, i64 9912, !6, i64 9916, !6, i64 9920, !6, i64 9924, !6, i64 9928, !6, i64 9932, !6, i64 9936, !6, i64 9940, !6, i64 9944, !6, i64 9948, !6, i64 9952, !6, i64 9956, !6, i64 9960, !6, i64 9964, !6, i64 9968, !6, i64 9972, !6, i64 9976, !6, i64 9980, !6, i64 9984, !6, i64 9988, !6, i64 9992, !6, i64 9996, !6, i64 10000, !6, i64 10004, !6, i64 10008, !6, i64 10012, !6, i64 10016, !6, i64 10020, !6, i64 10024, !6, i64 10028, !10, i64 10032, !10, i64 10033, !126, i64 10036, !130, i64 10176, !138, i64 10224, !143, i64 10272, !138, i64 10328, !143, i64 10376, !64, i64 10432, !64, i64 10488, !64, i64 10544, !64, i64 10600, !103, i64 10656, !103, i64 10712, !103, i64 10768, !145, i64 10824, !145, i64 10872, !66, i64 10920, !150, i64 10976, !152, i64 11032, !6, i64 11088, !6, i64 11092, !6, i64 11096, !7, i64 11100, !154, i64 11132, !154, i64 11136, !154, i64 11140, !154, i64 11144, !154, i64 11148, !154, i64 11152, !154, i64 11156, !154, i64 11160, !154, i64 11164, !154, i64 11168, !154, i64 11172, !155, i64 11176, !155, i64 11180, !10, i64 11184, !10, i64 11185, !10, i64 11186, !10, i64 11187, !10, i64 11188, !10, i64 11189, !10, i64 11190, !10, i64 11191, !10, i64 11192, !10, i64 11193, !10, i64 11194, !10, i64 11195, !10, i64 11196, !61, i64 11200, !61, i64 11232, !61, i64 11264, !61, i64 11296, !61, i64 11328, !61, i64 11360, !61, i64 11392, !61, i64 11424, !61, i64 11456, !61, i64 11488, !61, i64 11520, !61, i64 11552, !61, i64 11584, !61, i64 11616, !61, i64 11648, !61, i64 11680, !156, i64 11712, !157, i64 11720, !162, i64 11768, !64, i64 11824, !164, i64 11880, !66, i64 11968, !64, i64 12024, !64, i64 12080, !64, i64 12136, !167, i64 12192, !170, i64 12280, !66, i64 12328, !175, i64 12384, !7, i64 12440, !6, i64 12472, !6, i64 12476, !10, i64 12480, !10, i64 12481}
!17 = !{!"_ZTSN11spirv_cross12CompilerGLSLE", !18, i64 0, !13, i64 3176, !82, i64 3184, !10, i64 3272, !85, i64 3280, !13, i64 7616, !13, i64 7624, !10, i64 7632, !10, i64 7633, !90, i64 7636, !94, i64 7680, !94, i64 7736, !94, i64 7792, !94, i64 7848, !94, i64 7904, !94, i64 7960, !94, i64 8016, !96, i64 8072, !80, i64 8128, !10, i64 8184, !98, i64 8192, !6, i64 8416, !64, i64 8424, !64, i64 8480, !64, i64 8536, !100, i64 8592, !102, i64 8648, !103, i64 8656, !47, i64 8712, !47, i64 8992, !103, i64 9272, !105, i64 9328, !6, i64 9384, !6, i64 9388, !6, i64 9392, !10, i64 9396, !10, i64 9397, !108, i64 9400, !108, i64 9424, !112, i64 9448, !116, i64 9472, !103, i64 9496, !64, i64 9552, !64, i64 9608, !7, i64 9664, !120, i64 9672, !64, i64 9728, !13, i64 9784, !122, i64 9792}
!18 = !{!"_ZTSN11spirv_cross8CompilerE", !19, i64 8, !66, i64 1928, !66, i64 1984, !13, i64 2040, !13, i64 2048, !6, i64 2056, !69, i64 2064, !10, i64 2120, !64, i64 2128, !10, i64 2184, !10, i64 2185, !71, i64 2192, !66, i64 2312, !74, i64 2368, !64, i64 2400, !64, i64 2456, !64, i64 2512, !64, i64 2568, !64, i64 2624, !63, i64 2680, !63, i64 2744, !6, i64 2808, !6, i64 2812, !10, i64 2816, !64, i64 2824, !10, i64 2880, !10, i64 2881, !6, i64 2884, !76, i64 2888, !66, i64 2944, !78, i64 3000, !64, i64 3056, !10, i64 3112, !80, i64 3120}
!19 = !{!"_ZTSN11spirv_cross8ParsedIRE", !20, i64 0, !26, i64 8, !30, i64 32, !34, i64 248, !7, i64 304, !39, i64 1088, !39, i64 1144, !42, i64 1200, !44, i64 1256, !47, i64 1312, !50, i64 1592, !53, i64 1624, !55, i64 1680, !57, i64 1736, !58, i64 1740, !59, i64 1748, !60, i64 1752, !6, i64 1756, !6, i64 1760, !61, i64 1768, !63, i64 1800, !64, i64 1864}
!20 = !{!"_ZTSSt10unique_ptrIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_ELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implIN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJPN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJPN11spirv_cross15ObjectPoolGroupESt14default_deleteIS1_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EPN11spirv_cross15ObjectPoolGroupELb0EE", !13, i64 0}
!26 = !{!"_ZTSSt6vectorIjSaIjEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!30 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7VariantELm8EEE", !31, i64 0, !32, i64 16, !33, i64 24}
!31 = !{!"_ZTSN11spirv_cross10VectorViewINS_7VariantEEE", !13, i64 0, !32, i64 8}
!32 = !{!"long", !7, i64 0}
!33 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7VariantELm8EEE", !7, i64 0}
!34 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEENS0_4MetaESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE0EEESt4pairIKS3_NS0_4MetaEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!36 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !13, i64 0}
!37 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !38, i64 0, !32, i64 8}
!38 = !{!"float", !7, i64 0}
!39 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !40, i64 0, !32, i64 16, !41, i64 24}
!40 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !13, i64 0, !32, i64 8}
!41 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !7, i64 0}
!42 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE0EEEjSt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_jEEE", !43, i64 0}
!43 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE0EEESt4pairIKS3_jESaIS6_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!44 = !{!"_ZTSN11spirv_cross11SmallVectorIN3spv10CapabilityELm8EEE", !45, i64 0, !32, i64 16, !46, i64 24}
!45 = !{!"_ZTSN11spirv_cross10VectorViewIN3spv10CapabilityEEE", !13, i64 0, !32, i64 8}
!46 = !{!"_ZTSN11spirv_cross13AlignedBufferIN3spv10CapabilityELm8EEE", !7, i64 0}
!47 = !{!"_ZTSN11spirv_cross11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEE", !48, i64 0, !32, i64 16, !49, i64 24}
!48 = !{!"_ZTSN11spirv_cross10VectorViewINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !13, i64 0, !32, i64 8}
!49 = !{!"_ZTSN11spirv_cross13AlignedBufferINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELm8EEE", !7, i64 0}
!50 = !{!"_ZTSN11spirv_cross11SmallVectorIhLm8EEE", !51, i64 0, !32, i64 16, !52, i64 24}
!51 = !{!"_ZTSN11spirv_cross10VectorViewIhEE", !13, i64 0, !32, i64 8}
!52 = !{!"_ZTSN11spirv_cross13AlignedBufferIhLm8EEE", !7, i64 0}
!53 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE6EEES3_St4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S3_EEE", !54, i64 0}
!54 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE6EEESt4pairIKS3_S3_ESaIS6_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!55 = !{!"_ZTSSt13unordered_mapIN11spirv_cross7TypedIDILNS0_5TypesE4EEENS0_14SPIREntryPointESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE", !56, i64 0}
!56 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE4EEESt4pairIKS3_NS0_14SPIREntryPointEESaIS7_ENSt8__detail10_Select1stESt8equal_toIS3_ESt4hashIS3_ENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!57 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE4EEE", !6, i64 0}
!58 = !{!"_ZTSN11spirv_cross8ParsedIR6SourceE", !6, i64 0, !10, i64 4, !10, i64 5, !10, i64 6}
!59 = !{!"_ZTSN3spv15AddressingModelE", !7, i64 0}
!60 = !{!"_ZTSN3spv11MemoryModelE", !7, i64 0}
!61 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !62, i64 0, !32, i64 8, !7, i64 16}
!62 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!63 = !{!"_ZTSN11spirv_cross6BitsetE", !32, i64 0, !64, i64 8}
!64 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !65, i64 0}
!65 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!66 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !67, i64 0, !32, i64 16, !68, i64 24}
!67 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !13, i64 0, !32, i64 8}
!68 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !7, i64 0}
!69 = !{!"_ZTSSt13unordered_setIN11spirv_cross7TypedIDILNS0_5TypesE2EEESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !70, i64 0}
!70 = !{!"_ZTSSt10_HashtableIN11spirv_cross7TypedIDILNS0_5TypesE2EEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb1ELb1ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!71 = !{!"_ZTSN11spirv_cross11SmallVectorINS_20CombinedImageSamplerELm8EEE", !72, i64 0, !32, i64 16, !73, i64 24}
!72 = !{!"_ZTSN11spirv_cross10VectorViewINS_20CombinedImageSamplerEEE", !13, i64 0, !32, i64 8}
!73 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_20CombinedImageSamplerELm8EEE", !7, i64 0}
!74 = !{!"_ZTSSt8functionIFvRKN11spirv_cross8SPIRTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS9_EE", !75, i64 0, !13, i64 24}
!75 = !{!"_ZTSSt14_Function_base", !7, i64 0, !13, i64 16}
!76 = !{!"_ZTSSt13unordered_mapIjSt10unique_ptrIN11spirv_cross3CFGESt14default_deleteIS2_EESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !77, i64 0}
!77 = !{!"_ZTSSt10_HashtableIjSt4pairIKjSt10unique_ptrIN11spirv_cross3CFGESt14default_deleteIS4_EEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!78 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross8Compiler17PhysicalBlockMetaESt4hashIjESt8equal_toIjESaISt4pairIKjS2_EEE", !79, i64 0}
!79 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross8Compiler17PhysicalBlockMetaEESaIS5_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!80 = !{!"_ZTSSt13unordered_mapIjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !81, i64 0}
!81 = !{!"_ZTSSt10_HashtableIjSt4pairIKjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!82 = !{!"_ZTSN11spirv_cross11SmallVectorIPNS_9SPIRBlockELm8EEE", !83, i64 0, !32, i64 16, !84, i64 24}
!83 = !{!"_ZTSN11spirv_cross10VectorViewIPNS_9SPIRBlockEEE", !13, i64 0, !32, i64 8}
!84 = !{!"_ZTSN11spirv_cross13AlignedBufferIPNS_9SPIRBlockELm8EEE", !7, i64 0}
!85 = !{!"_ZTSN11spirv_cross12StringStreamILm4096ELm4096EEE", !86, i64 0, !7, i64 24, !87, i64 4120}
!86 = !{!"_ZTSN11spirv_cross12StringStreamILm4096ELm4096EE6BufferE", !13, i64 0, !32, i64 8, !32, i64 16}
!87 = !{!"_ZTSN11spirv_cross11SmallVectorINS_12StringStreamILm4096ELm4096EE6BufferELm8EEE", !88, i64 0, !32, i64 16, !89, i64 24}
!88 = !{!"_ZTSN11spirv_cross10VectorViewINS_12StringStreamILm4096ELm4096EE6BufferEEE", !13, i64 0, !32, i64 8}
!89 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_12StringStreamILm4096ELm4096EE6BufferELm8EEE", !7, i64 0}
!90 = !{!"_ZTSN11spirv_cross12CompilerGLSL7OptionsE", !6, i64 0, !10, i64 4, !10, i64 5, !6, i64 8, !10, i64 12, !10, i64 13, !10, i64 14, !10, i64 15, !10, i64 16, !10, i64 17, !10, i64 18, !10, i64 19, !10, i64 20, !10, i64 21, !10, i64 22, !10, i64 23, !6, i64 24, !91, i64 28, !92, i64 32}
!91 = !{!"_ZTSN11spirv_cross12CompilerGLSL7Options13VertexOptionsE", !10, i64 0, !10, i64 1, !10, i64 2}
!92 = !{!"_ZTSN11spirv_cross12CompilerGLSL7Options15FragmentOptionsE", !93, i64 0, !93, i64 4}
!93 = !{!"_ZTSN11spirv_cross12CompilerGLSL7Options9PrecisionE", !7, i64 0}
!94 = !{!"_ZTSSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !95, i64 0}
!95 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb1ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!96 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt13unordered_setImSt4hashImESt8equal_toImESaImEES7_IS5_ES9_IS5_ESaISt4pairIKS5_SC_EEE", !97, i64 0}
!97 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St13unordered_setImSt4hashImESt8equal_toImESaImEEESaISF_ENSt8__detail10_Select1stESB_IS5_ES9_IS5_ENSH_18_Mod_range_hashingENSH_20_Default_ranged_hashENSH_20_Prime_rehash_policyENSH_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!98 = !{!"_ZTSN11spirv_cross12CompilerGLSL17BackendVariationsE", !61, i64 0, !61, i64 32, !61, i64 64, !10, i64 96, !10, i64 97, !10, i64 98, !10, i64 99, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !99, i64 184, !10, i64 188, !10, i64 189, !10, i64 190, !10, i64 191, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !10, i64 197, !10, i64 198, !10, i64 199, !10, i64 200, !10, i64 201, !10, i64 202, !10, i64 203, !10, i64 204, !10, i64 205, !10, i64 206, !10, i64 207, !10, i64 208, !10, i64 209, !10, i64 210, !10, i64 211, !10, i64 212, !10, i64 213, !10, i64 214, !10, i64 215, !10, i64 216, !10, i64 217, !10, i64 218, !10, i64 219}
!99 = !{!"_ZTSN11spirv_cross8SPIRType8BaseTypeE", !7, i64 0}
!100 = !{!"_ZTSSt13unordered_mapIjbSt4hashIjESt8equal_toIjESaISt4pairIKjbEEE", !101, i64 0}
!101 = !{!"_ZTSSt10_HashtableIjSt4pairIKjbESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!102 = !{!"_ZTSN11spirv_cross12CompilerGLSL27ShaderSubgroupSupportHelperE", !6, i64 0}
!103 = !{!"_ZTSSt13unordered_mapIjjSt4hashIjESt8equal_toIjESaISt4pairIKjjEEE", !104, i64 0}
!104 = !{!"_ZTSSt10_HashtableIjSt4pairIKjjESaIS2_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!105 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EEE", !106, i64 0, !32, i64 16, !107, i64 24}
!106 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE1EEEEE", !13, i64 0, !32, i64 8}
!107 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE1EEELm8EEE", !7, i64 0}
!108 = !{!"_ZTSSt6vectorIN11spirv_cross8PlsRemapESaIS1_EE", !109, i64 0}
!109 = !{!"_ZTSSt12_Vector_baseIN11spirv_cross8PlsRemapESaIS1_EE", !110, i64 0}
!110 = !{!"_ZTSNSt12_Vector_baseIN11spirv_cross8PlsRemapESaIS1_EE12_Vector_implE", !111, i64 0}
!111 = !{!"_ZTSNSt12_Vector_baseIN11spirv_cross8PlsRemapESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!112 = !{!"_ZTSSt6vectorISt4pairIjjESaIS1_EE", !113, i64 0}
!113 = !{!"_ZTSSt12_Vector_baseISt4pairIjjESaIS1_EE", !114, i64 0}
!114 = !{!"_ZTSNSt12_Vector_baseISt4pairIjjESaIS1_EE12_Vector_implE", !115, i64 0}
!115 = !{!"_ZTSNSt12_Vector_baseISt4pairIjjESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!116 = !{!"_ZTSSt6vectorISt4pairIjbESaIS1_EE", !117, i64 0}
!117 = !{!"_ZTSSt12_Vector_baseISt4pairIjbESaIS1_EE", !118, i64 0}
!118 = !{!"_ZTSNSt12_Vector_baseISt4pairIjbESaIS1_EE12_Vector_implE", !119, i64 0}
!119 = !{!"_ZTSNSt12_Vector_baseISt4pairIjbESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!120 = !{!"_ZTSSt13unordered_setIN11spirv_cross21LocationComponentPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE", !121, i64 0}
!121 = !{!"_ZTSSt10_HashtableIN11spirv_cross21LocationComponentPairES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ENS0_14InternalHasherENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!122 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross11SmallVectorINS0_7TypedIDILNS0_5TypesE3EEELm8EEESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !123, i64 0}
!123 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross11SmallVectorINS2_7TypedIDILNS2_5TypesE3EEELm8EEEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!124 = !{!"_ZTSSt13unordered_mapIjSt3setIjSt4lessIjESaIjEESt4hashIjESt8equal_toIjESaISt4pairIKjS4_EEE", !125, i64 0}
!125 = !{!"_ZTSSt10_HashtableIjSt4pairIKjSt3setIjSt4lessIjESaIjEEESaIS7_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS9_18_Mod_range_hashingENS9_20_Default_ranged_hashENS9_20_Prime_rehash_policyENS9_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!126 = !{!"_ZTSN11spirv_cross11CompilerMSL7OptionsE", !127, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !10, i64 80, !10, i64 81, !10, i64 82, !10, i64 83, !10, i64 84, !10, i64 85, !10, i64 86, !10, i64 87, !10, i64 88, !10, i64 89, !10, i64 90, !10, i64 91, !10, i64 92, !128, i64 96, !10, i64 100, !10, i64 101, !10, i64 102, !10, i64 103, !10, i64 104, !10, i64 105, !10, i64 106, !10, i64 107, !10, i64 108, !10, i64 109, !10, i64 110, !10, i64 111, !10, i64 112, !10, i64 113, !10, i64 114, !10, i64 115, !10, i64 116, !10, i64 117, !10, i64 118, !6, i64 120, !129, i64 124, !10, i64 128, !10, i64 129, !10, i64 130, !10, i64 131, !10, i64 132, !10, i64 133, !10, i64 134, !10, i64 135, !10, i64 136}
!127 = !{!"_ZTSN11spirv_cross11CompilerMSL7Options8PlatformE", !7, i64 0}
!128 = !{!"_ZTSN11spirv_cross11CompilerMSL7Options19ArgumentBuffersTierE", !7, i64 0}
!129 = !{!"_ZTSN11spirv_cross11CompilerMSL7Options9IndexTypeE", !7, i64 0}
!130 = !{!"_ZTSSt3setIN11spirv_cross11CompilerMSL11SPVFuncImplESt4lessIS2_ESaIS2_EE", !131, i64 0}
!131 = !{!"_ZTSSt8_Rb_treeIN11spirv_cross11CompilerMSL11SPVFuncImplES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE", !132, i64 0}
!132 = !{!"_ZTSNSt8_Rb_treeIN11spirv_cross11CompilerMSL11SPVFuncImplES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !133, i64 0, !135, i64 8}
!133 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11spirv_cross11CompilerMSL11SPVFuncImplEEE", !134, i64 0}
!134 = !{!"_ZTSSt4lessIN11spirv_cross11CompilerMSL11SPVFuncImplEE"}
!135 = !{!"_ZTSSt15_Rb_tree_header", !136, i64 0, !32, i64 32}
!136 = !{!"_ZTSSt18_Rb_tree_node_base", !137, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!137 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!138 = !{!"_ZTSSt3mapIN11spirv_cross21LocationComponentPairENS0_26MSLShaderInterfaceVariableESt4lessIS1_ESaISt4pairIKS1_S2_EEE", !139, i64 0}
!139 = !{!"_ZTSSt8_Rb_treeIN11spirv_cross21LocationComponentPairESt4pairIKS1_NS0_26MSLShaderInterfaceVariableEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !140, i64 0}
!140 = !{!"_ZTSNSt8_Rb_treeIN11spirv_cross21LocationComponentPairESt4pairIKS1_NS0_26MSLShaderInterfaceVariableEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !141, i64 0, !135, i64 8}
!141 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11spirv_cross21LocationComponentPairEEE", !142, i64 0}
!142 = !{!"_ZTSSt4lessIN11spirv_cross21LocationComponentPairEE"}
!143 = !{!"_ZTSSt13unordered_mapIjN11spirv_cross26MSLShaderInterfaceVariableESt4hashIjESt8equal_toIjESaISt4pairIKjS1_EEE", !144, i64 0}
!144 = !{!"_ZTSSt10_HashtableIjSt4pairIKjN11spirv_cross26MSLShaderInterfaceVariableEESaIS4_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!145 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !146, i64 0}
!146 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !147, i64 0}
!147 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !148, i64 0, !135, i64 8}
!148 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !149, i64 0}
!149 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!150 = !{!"_ZTSSt13unordered_mapIN11spirv_cross15StageSetBindingESt4pairINS0_18MSLResourceBindingEbENS0_14InternalHasherESt8equal_toIS1_ESaIS2_IKS1_S4_EEE", !151, i64 0}
!151 = !{!"_ZTSSt10_HashtableIN11spirv_cross15StageSetBindingESt4pairIKS1_S2_INS0_18MSLResourceBindingEbEESaIS6_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_14InternalHasherENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!152 = !{!"_ZTSSt13unordered_mapIN11spirv_cross15StageSetBindingEjNS0_14InternalHasherESt8equal_toIS1_ESaISt4pairIKS1_jEEE", !153, i64 0}
!153 = !{!"_ZTSSt10_HashtableIN11spirv_cross15StageSetBindingESt4pairIKS1_jESaIS4_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_14InternalHasherENS6_18_Mod_range_hashingENS6_20_Default_ranged_hashENS6_20_Prime_rehash_policyENS6_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!154 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE2EEE", !6, i64 0}
!155 = !{!"_ZTSN11spirv_cross11CompilerMSL8TriStateE", !7, i64 0}
!156 = !{!"_ZTSN3spv2OpE", !7, i64 0}
!157 = !{!"_ZTSSt3mapIjN11spirv_cross19MSLConstexprSamplerESt4lessIjESaISt4pairIKjS1_EEE", !158, i64 0}
!158 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjN11spirv_cross19MSLConstexprSamplerEESt10_Select1stIS4_ESt4lessIjESaIS4_EE", !159, i64 0}
!159 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjN11spirv_cross19MSLConstexprSamplerEESt10_Select1stIS4_ESt4lessIjESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !160, i64 0, !135, i64 8}
!160 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !161, i64 0}
!161 = !{!"_ZTSSt4lessIjE"}
!162 = !{!"_ZTSSt13unordered_mapIN11spirv_cross14SetBindingPairENS0_19MSLConstexprSamplerENS0_14InternalHasherESt8equal_toIS1_ESaISt4pairIKS1_S2_EEE", !163, i64 0}
!163 = !{!"_ZTSSt10_HashtableIN11spirv_cross14SetBindingPairESt4pairIKS1_NS0_19MSLConstexprSamplerEESaIS5_ENSt8__detail10_Select1stESt8equal_toIS1_ENS0_14InternalHasherENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!164 = !{!"_ZTSN11spirv_cross11SmallVectorISt4pairIjjELm8EEE", !165, i64 0, !32, i64 16, !166, i64 24}
!165 = !{!"_ZTSN11spirv_cross10VectorViewISt4pairIjjEEE", !13, i64 0, !32, i64 8}
!166 = !{!"_ZTSN11spirv_cross13AlignedBufferISt4pairIjjELm8EEE", !7, i64 0}
!167 = !{!"_ZTSN11spirv_cross11SmallVectorIPNS_12SPIRVariableELm8EEE", !168, i64 0, !32, i64 16, !169, i64 24}
!168 = !{!"_ZTSN11spirv_cross10VectorViewIPNS_12SPIRVariableEEE", !13, i64 0, !32, i64 8}
!169 = !{!"_ZTSN11spirv_cross13AlignedBufferIPNS_12SPIRVariableELm8EEE", !7, i64 0}
!170 = !{!"_ZTSSt3mapIN11spirv_cross14SetBindingPairESt4pairIjjESt4lessIS1_ESaIS2_IKS1_S3_EEE", !171, i64 0}
!171 = !{!"_ZTSSt8_Rb_treeIN11spirv_cross14SetBindingPairESt4pairIKS1_S2_IjjEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE", !172, i64 0}
!172 = !{!"_ZTSNSt8_Rb_treeIN11spirv_cross14SetBindingPairESt4pairIKS1_S2_IjjEESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !173, i64 0, !135, i64 8}
!173 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11spirv_cross14SetBindingPairEEE", !174, i64 0}
!174 = !{!"_ZTSSt4lessIN11spirv_cross14SetBindingPairEE"}
!175 = !{!"_ZTSSt13unordered_setIN11spirv_cross14SetBindingPairENS0_14InternalHasherESt8equal_toIS1_ESaIS1_EE", !176, i64 0}
!176 = !{!"_ZTSSt10_HashtableIN11spirv_cross14SetBindingPairES1_SaIS1_ENSt8__detail9_IdentityESt8equal_toIS1_ENS0_14InternalHasherENS3_18_Mod_range_hashingENS3_20_Default_ranged_hashENS3_20_Prime_rehash_policyENS3_17_Hashtable_traitsILb1ELb1ELb1EEEE", !13, i64 0, !32, i64 8, !36, i64 16, !32, i64 24, !37, i64 32, !13, i64 48}
!177 = !{i8 0, i8 2}
!178 = !{}
!179 = !{!180, !156, i64 12}
!180 = !{!"_ZTSN11spirv_cross8SPIRTypeE", !181, i64 0, !156, i64 12, !99, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !66, i64 32, !183, i64 88, !6, i64 120, !10, i64 124, !10, i64 125, !186, i64 128, !105, i64 136, !66, i64 192, !187, i64 248, !188, i64 272, !188, i64 276, !94, i64 280}
!181 = !{!"_ZTSN11spirv_cross8IVariantE", !182, i64 8}
!182 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !6, i64 0}
!183 = !{!"_ZTSN11spirv_cross11SmallVectorIbLm8EEE", !184, i64 0, !32, i64 16, !185, i64 24}
!184 = !{!"_ZTSN11spirv_cross10VectorViewIbEE", !13, i64 0, !32, i64 8}
!185 = !{!"_ZTSN11spirv_cross13AlignedBufferIbLm8EEE", !7, i64 0}
!186 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!187 = !{!"_ZTSN11spirv_cross8SPIRType9ImageTypeE", !188, i64 0, !189, i64 4, !10, i64 8, !10, i64 9, !10, i64 10, !6, i64 12, !190, i64 16, !191, i64 20}
!188 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !6, i64 0}
!189 = !{!"_ZTSN3spv3DimE", !7, i64 0}
!190 = !{!"_ZTSN3spv11ImageFormatE", !7, i64 0}
!191 = !{!"_ZTSN3spv15AccessQualifierE", !7, i64 0}
!192 = !{!180, !10, i64 124}
!193 = !{!180, !6, i64 120}
!194 = !{!180, !186, i64 128}
!195 = !{!186, !186, i64 0}
!196 = !{!197, !13, i64 0}
!197 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE8Resource", !13, i64 0, !61, i64 8, !99, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56}
!198 = !{!199, !199, i64 0}
!199 = !{!"vtable pointer", !8, i64 0}
!200 = !{!197, !99, i64 40}
!201 = !{!197, !6, i64 44}
!202 = !{!197, !6, i64 48}
!203 = !{!197, !6, i64 52}
!204 = !{!197, !6, i64 56}
!205 = distinct !{!205, !206}
!206 = !{!"llvm.loop.mustprogress"}
!207 = !{!156, !156, i64 0}
!208 = !{!180, !99, i64 16}
!209 = !{!16, !6, i64 12476}
!210 = distinct !{!210, !206}
!211 = !{!16, !10, i64 10169}
!212 = !{!16, !10, i64 10146}
!213 = !{i64 0, i64 4, !214, i64 4, i64 4, !216, i64 8, i64 4, !5, i64 12, i64 4, !5, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5}
!214 = !{!215, !215, i64 0}
!215 = !{!"_ZTSN3spv14ExecutionModelE", !7, i64 0}
!216 = !{!99, !99, i64 0}
!217 = !{!218, !6, i64 16}
!218 = !{!"_ZTSN11spirv_cross18MSLResourceBindingE", !215, i64 0, !99, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28}
!219 = !{!218, !99, i64 4}
!220 = !{!218, !6, i64 28}
!221 = distinct !{!221, !206}
!222 = !{!223, !6, i64 0}
!223 = !{!"_ZTSN11spirv_cross14SetBindingPairE", !6, i64 0, !6, i64 4}
!224 = !{!223, !6, i64 4}
!225 = !{!226, !13, i64 0}
!226 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_0", !13, i64 0, !197, i64 8}
!227 = !{!228, !6, i64 4}
!228 = !{!"_ZTSSt4pairIjjE", !6, i64 0, !6, i64 4}
!229 = !{!180, !6, i64 20}
!230 = !{!180, !6, i64 24}
!231 = !{!232, !186, i64 16}
!232 = !{!"_ZTSN11spirv_cross12SPIRVariableE", !181, i64 0, !188, i64 12, !186, i64 16, !6, i64 20, !182, i64 24, !154, i64 28, !66, i64 32, !10, i64 88, !10, i64 89, !182, i64 92, !39, i64 96, !10, i64 152, !10, i64 153, !10, i64 154, !10, i64 155, !6, i64 156, !233, i64 160, !10, i64 164, !10, i64 165, !10, i64 166, !13, i64 168}
!233 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE6EEE", !6, i64 0}
!234 = !{!235, !13, i64 0}
!235 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_1", !13, i64 0, !197, i64 8}
!236 = !{!237, !13, i64 0}
!237 = !{!"_ZTSZN11spirv_cross11CompilerMSL24analyze_argument_buffersEvE3$_2", !13, i64 0, !61, i64 8, !61, i64 40, !61, i64 72}
!238 = distinct !{!238, !206}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass