; LLVM IR from thepowersgang/mrustc :: src/mir/optimise.ll (Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)

; 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::vector.25" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.190" = type { i8 }
%"class.std::function.607" = 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.640 = type { ptr, ptr, ptr }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = 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 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.213" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.641" = type { ptr }
%struct.FmtLambda = type { %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%class.anon.642 = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.643 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.148" = type { ptr }
%"class.MIR::Statement" = type { i32, %"union.MIR::Statement::DataUnion" }
%"union.MIR::Statement::DataUnion" = type { %"struct.MIR::Statement::Data_Assign" }
%"struct.MIR::Statement::Data_Assign" = type { %"struct.MIR::LValue", %"class.MIR::RValue" }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector.106" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::RValue" = type { i32, %"union.MIR::RValue::DataUnion" }
%"union.MIR::RValue::DataUnion" = type { %"struct.MIR::RValue::Data_BinOp" }
%"struct.MIR::RValue::Data_BinOp" = type { %"class.MIR::Param", i32, %"class.MIR::Param" }
%"class.MIR::Param" = type { i32, %"union.MIR::Param::DataUnion" }
%"union.MIR::Param::DataUnion" = type { %"struct.MIR::Param::Data_Borrow" }
%"struct.MIR::Param::Data_Borrow" = type { i32, %"struct.MIR::LValue" }
%"class.std::function.267" = type { %"class.std::_Function_base", ptr }
%"class.__gnu_cxx::__normal_iterator.147" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.188" = type { ptr }
%class.anon.644 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.189" = type { ptr }
%class.anon.645 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.214" = type { ptr }
%"struct.std::_Bit_const_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"class.MIR::Function" = type { %"class.std::vector.20", %"class.std::vector.25", %"class.std::vector.29", %"class.MIR::EnumCachePtr" }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::EnumCachePtr" = type { ptr }
%"struct.MIR::BasicBlock" = type { %"class.std::vector.101", %"class.MIR::Terminator" }
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Terminator" = type { i32, %"union.MIR::Terminator::DataUnion" }
%"union.MIR::Terminator::DataUnion" = type { %"struct.MIR::Terminator::Data_Call" }
%"struct.MIR::Terminator::Data_Call" = type { i32, i32, %"struct.MIR::LValue", %"class.MIR::CallTarget", %"class.std::vector.138" }
%"class.MIR::CallTarget" = type { i32, %"union.MIR::CallTarget::DataUnion" }
%"union.MIR::CallTarget::DataUnion" = type { %"class.HIR::Path" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr" }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.133, %class.ThinVector.134, %class.ThinVector.135 }
%class.ThinVector.133 = type { ptr }
%class.ThinVector.134 = type { ptr }
%class.ThinVector.135 = type { ptr }
%"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.137" }
%"struct.std::_Head_base.137" = type { ptr }
%"class.std::vector.138" = type { %"struct.std::_Vector_base.139" }
%"struct.std::_Vector_base.139" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MIR::Statement::Data_Drop" = type <{ i32, [4 x i8], %"struct.MIR::LValue", i32, [4 x i8] }>
%"struct.MIR::Statement::Data_SetDropFlag" = type { i32, i8, i32 }
%"struct.MIR::Statement::Data_ScopeEnd" = type { %"class.std::vector.111" }
%"struct.MIR::Terminator::Data_If" = type { %"struct.MIR::LValue", i32, i32 }
%"struct.MIR::Terminator::Data_Switch" = type { %"struct.MIR::LValue", %"class.std::vector.111" }
%"struct.MIR::Terminator::Data_SwitchValue" = type { %"struct.MIR::LValue", i32, %"class.std::vector.111", %"class.MIR::SwitchValues" }
%"class.MIR::SwitchValues" = type { i32, %"union.MIR::SwitchValues::DataUnion" }
%"union.MIR::SwitchValues::DataUnion" = type { %"class.std::vector.116" }
%"class.std::vector.116" = type { %"struct.std::_Vector_base.117" }
%"struct.std::_Vector_base.117" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@g_debug_indent_level = external global i32, align 4
@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [39 x i8], align 1
@__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE = external hidden unnamed_addr constant [28 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE = external hidden unnamed_addr constant [74 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [53 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(96) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector.25", align 8
  %6 = alloca %"class.std::allocator.190", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.25", align 8
  %10 = alloca %"class.std::allocator.190", align 1
  %11 = alloca %"class.std::vector.25", align 8
  %12 = alloca %"class.std::allocator.190", align 1
  %13 = alloca %"class.std::function.607", align 8
  %14 = alloca %class.anon.640, align 8
  %15 = alloca %"class.std::vector.111", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::_Bit_reference", align 8
  %20 = alloca %"class.std::vector.111", align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::_Bit_reference", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.213", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.641", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.641", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.641", align 8
  %29 = alloca i32, align 4
  %30 = alloca %"struct.std::_Bit_reference", align 8
  %31 = alloca %struct.FmtLambda, align 8
  %32 = alloca %"class.std::function", align 8
  %33 = alloca %class.anon.642, align 8
  %34 = alloca %"class.std::vector.111", align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"struct.std::_Bit_reference", align 8
  %39 = alloca i32, align 4
  %40 = alloca %"struct.std::_Bit_reference", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"struct.std::_Bit_reference", align 8
  %45 = alloca %class.anon.643, align 8
  %46 = alloca %"class.std::vector.25", align 8
  %47 = alloca %"class.std::allocator.190", align 1
  %48 = alloca ptr, align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %51 = alloca ptr, align 8
  %52 = alloca i64, align 8
  %53 = alloca %"class.MIR::Statement", align 8
  %54 = alloca %"struct.std::_Bit_reference", align 8
  %55 = alloca ptr, align 8
  %56 = alloca %"struct.std::_Bit_reference", align 8
  %57 = alloca %"struct.std::_Bit_reference", align 8
  %58 = alloca %"struct.std::_Bit_reference", align 8
  %59 = alloca %"class.std::function.267", align 8
  %60 = alloca ptr, align 8
  %61 = alloca ptr, align 8
  %62 = alloca %"struct.std::_Bit_reference", align 8
  %63 = alloca ptr, align 8
  %64 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %65 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %66 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %68 = alloca %"struct.std::_Bit_reference", align 8
  %69 = alloca %"class.std::function.267", align 8
  %70 = alloca ptr, align 8
  %71 = alloca ptr, align 8
  %72 = alloca ptr, align 8
  %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 %"class.__gnu_cxx::__normal_iterator.147", align 8
  %79 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %80 = alloca ptr, align 8
  %81 = alloca ptr, align 8
  %82 = alloca ptr, align 8
  %83 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %84 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %85 = alloca ptr, align 8
  %86 = alloca ptr, align 8
  %87 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %88 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %89 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %90 = alloca %class.anon.644, align 8
  %91 = alloca %"class.__gnu_cxx::__normal_iterator.189", align 8
  %92 = alloca %"class.__gnu_cxx::__normal_iterator.189", align 8
  %93 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %94 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %95 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %96 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %97 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %98 = alloca %class.anon.645, align 8
  %99 = alloca %"class.__gnu_cxx::__normal_iterator.214", align 8
  %100 = alloca %"class.__gnu_cxx::__normal_iterator.214", align 8
  %101 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %102 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %103 = alloca i32, align 4
  %104 = alloca i32, align 4
  %105 = alloca %"struct.std::_Bit_reference", align 8
  %106 = alloca %"struct.std::_Bit_const_iterator", align 8
  %107 = alloca %"struct.std::_Bit_iterator", align 8
  %108 = alloca %"struct.std::_Bit_iterator", align 8
  %109 = alloca { ptr, i32 }, align 8
  %110 = alloca { ptr, i32 }, align 8
  %111 = alloca %"struct.std::_Bit_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #8
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %"class.MIR::Function", ptr %112, i32 0, i32 0
  %114 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %113) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %114, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %115 unwind label %139

115:                                              ; preds = %2
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #8
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %"class.MIR::Function", ptr %116, i32 0, i32 1
  %118 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %117) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %118, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %119 unwind label %143

119:                                              ; preds = %115
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #8
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %"class.MIR::Function", ptr %120, i32 0, i32 2
  %122 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %11, i64 noundef %122, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %123 unwind label %147

123:                                              ; preds = %119
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  %126 = getelementptr inbounds %class.anon.640, ptr %14, i32 0, i32 0
  store ptr %11, ptr %126, align 8, !tbaa !5
  %127 = getelementptr inbounds %class.anon.640, ptr %14, i32 0, i32 1
  store ptr %5, ptr %127, align 8, !tbaa !5
  %128 = getelementptr inbounds %class.anon.640, ptr %14, i32 0, i32 2
  store ptr %9, ptr %128, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvjRKN3MIR10BasicBlockEEEC2IZ27MIR_Optimise_GarbageCollectRNS0_11TypeResolveERNS0_8FunctionEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %129 unwind label %151

129:                                              ; preds = %123
  invoke void @_ZN12_GLOBAL__N_112visit_blocksERN3MIR11TypeResolveERKNS0_8FunctionESt8functionIFvjRKNS0_10BasicBlockEEE(ptr noundef nonnull align 8 dereferenceable(120) %124, ptr noundef nonnull align 8 dereferenceable(96) %125, ptr noundef %13)
          to label %130 unwind label %155

130:                                              ; preds = %129
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %177, %130
  %132 = load i32, ptr %16, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %"class.MIR::Function", ptr %134, i32 0, i32 2
  %136 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #8
  %137 = icmp ult i64 %133, %136
  br i1 %137, label %160, label %138

138:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %184

139:                                              ; preds = %2
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %7, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  br label %1241

143:                                              ; preds = %115
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %7, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  br label %1240

147:                                              ; preds = %119
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %7, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  br label %1239

151:                                              ; preds = %123
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %7, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %8, align 4
  br label %159

155:                                              ; preds = %129
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %7, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %159

159:                                              ; preds = %155, %151
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %1238

160:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %11, i64 noundef %162)
          to label %164 unwind label %180

164:                                              ; preds = %160
  %165 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %166 = extractvalue { ptr, i64 } %163, 0
  store ptr %166, ptr %165, align 8
  %167 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %168 = extractvalue { ptr, i64 } %163, 1
  store i64 %168, ptr %167, align 8
  %169 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br i1 %169, label %170, label %173

170:                                              ; preds = %164
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = add i32 %171, 1
  store i32 %172, ptr %17, align 4, !tbaa !9
  br label %174

173:                                              ; preds = %164
  br label %174

174:                                              ; preds = %173, %170
  %175 = phi i32 [ %171, %170 ], [ -1, %173 ]
  store i32 %175, ptr %18, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %176 unwind label %180

176:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = add i32 %178, 1
  store i32 %179, ptr %16, align 4, !tbaa !9
  br label %131, !llvm.loop !11

180:                                              ; preds = %174, %160
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %7, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %1237

184:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %"class.MIR::Function", ptr %185, i32 0, i32 0
  %187 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %186) #8
  %188 = trunc i64 %187 to i32
  store i32 %188, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %275, %184
  %190 = load i32, ptr %22, align 4, !tbaa !9
  %191 = load i32, ptr %21, align 4, !tbaa !9
  %192 = icmp ult i32 %190, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %283

194:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %195 = load i32, ptr %22, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %196)
          to label %198 unwind label %221

198:                                              ; preds = %194
  %199 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %200 = extractvalue { ptr, i64 } %197, 0
  store ptr %200, ptr %199, align 8
  %201 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %202 = extractvalue { ptr, i64 } %197, 1
  store i64 %202, ptr %201, align 8
  %203 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  %204 = xor i1 %203, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br i1 %204, label %205, label %229

205:                                              ; preds = %198
  %206 = load ptr, ptr %4, align 8, !tbaa !5
  %207 = getelementptr inbounds %"class.MIR::Function", ptr %206, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.MIR::Function", ptr %208, i32 0, i32 0
  %210 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %209) #8
  %211 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.641", ptr %27, i32 0, i32 0
  store ptr %210, ptr %211, align 8
  %212 = load i32, ptr %23, align 4, !tbaa !9
  %213 = zext i32 %212 to i64
  %214 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %27, i64 noundef %213) #8
  %215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.641", ptr %26, i32 0, i32 0
  store ptr %214, ptr %215, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %216 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.213", ptr %25, i32 0, i32 0
  %217 = load ptr, ptr %216, align 8
  %218 = invoke ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %207, ptr %217)
          to label %219 unwind label %225

219:                                              ; preds = %205
  %220 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.641", ptr %28, i32 0, i32 0
  store ptr %218, ptr %220, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %258

221:                                              ; preds = %194
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %7, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br label %282

225:                                              ; preds = %205
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %7, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %282

229:                                              ; preds = %198
  br label %230

230:                                              ; preds = %229
  %231 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %232 unwind label %251

232:                                              ; preds = %230
  br i1 %231, label %233, label %255

233:                                              ; preds = %232
  %234 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %234, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %236 unwind label %251

236:                                              ; preds = %233
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef @.str.22)
          to label %238 unwind label %251

238:                                              ; preds = %236
  %239 = load i32, ptr %22, align 4, !tbaa !9
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %237, i32 noundef %239)
          to label %241 unwind label %251

241:                                              ; preds = %238
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %240, ptr noundef @.str.153)
          to label %243 unwind label %251

243:                                              ; preds = %241
  %244 = load i32, ptr %23, align 4, !tbaa !9
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %242, i32 noundef %244)
          to label %246 unwind label %251

246:                                              ; preds = %243
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef @_ZSt3decRSt8ios_base)
          to label %248 unwind label %251

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %250 unwind label %251

250:                                              ; preds = %248
  br label %255

251:                                              ; preds = %248, %246, %243, %241, %238, %236, %233, %230
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %7, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %8, align 4
  br label %282

255:                                              ; preds = %250, %232
  br label %256

256:                                              ; preds = %255
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257, %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  %259 = load i32, ptr %22, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %260)
          to label %262 unwind label %278

262:                                              ; preds = %258
  %263 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 0
  %264 = extractvalue { ptr, i64 } %261, 0
  store ptr %264, ptr %263, align 8
  %265 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 1
  %266 = extractvalue { ptr, i64 } %261, 1
  store i64 %266, ptr %265, align 8
  %267 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #8
  br i1 %267, label %268, label %271

268:                                              ; preds = %262
  %269 = load i32, ptr %23, align 4, !tbaa !9
  %270 = add i32 %269, 1
  store i32 %270, ptr %23, align 4, !tbaa !9
  br label %272

271:                                              ; preds = %262
  br label %272

272:                                              ; preds = %271, %268
  %273 = phi i32 [ %269, %268 ], [ -1, %271 ]
  store i32 %273, ptr %29, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %274 unwind label %278

274:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %275

275:                                              ; preds = %274
  %276 = load i32, ptr %22, align 4, !tbaa !9
  %277 = add i32 %276, 1
  store i32 %277, ptr %22, align 4, !tbaa !9
  br label %189, !llvm.loop !13

278:                                              ; preds = %272, %258
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %7, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %282

282:                                              ; preds = %278, %251, %225, %221
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %1236

283:                                              ; preds = %193
  br label %284

284:                                              ; preds = %283
  %285 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %286 unwind label %301

286:                                              ; preds = %284
  br i1 %285, label %287, label %314

287:                                              ; preds = %286
  %288 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %288, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %290 unwind label %301

290:                                              ; preds = %287
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %289, ptr noundef @.str.154)
          to label %292 unwind label %301

292:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %293 = getelementptr inbounds %class.anon.642, ptr %33, i32 0, i32 0
  store ptr %5, ptr %293, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS4_8FunctionEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  invoke void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef %32)
          to label %294 unwind label %305

294:                                              ; preds = %292
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8) %291, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %296 unwind label %309

296:                                              ; preds = %294
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %295, ptr noundef @_ZSt3decRSt8ios_base)
          to label %298 unwind label %309

298:                                              ; preds = %296
  %299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %300 unwind label %309

300:                                              ; preds = %298
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  br label %314

301:                                              ; preds = %290, %287, %284
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %7, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %8, align 4
  br label %1236

305:                                              ; preds = %292
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %7, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %8, align 4
  br label %313

309:                                              ; preds = %298, %296, %294
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %7, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %8, align 4
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  br label %313

313:                                              ; preds = %309, %305
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  br label %1236

314:                                              ; preds = %300, %286
  br label %315

315:                                              ; preds = %314
  br label %316

316:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %"class.MIR::Function", ptr %317, i32 0, i32 1
  %319 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %318) #8
  %320 = trunc i64 %319 to i32
  store i32 %320, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %321

321:                                              ; preds = %382, %316
  %322 = load i32, ptr %36, align 4, !tbaa !9
  %323 = load i32, ptr %35, align 4, !tbaa !9
  %324 = icmp ult i32 %322, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %321
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %390

326:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #8
  %327 = load i32, ptr %36, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %328)
          to label %330 unwind label %354

330:                                              ; preds = %326
  %331 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 0
  %332 = extractvalue { ptr, i64 } %329, 0
  store ptr %332, ptr %331, align 8
  %333 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 1
  %334 = extractvalue { ptr, i64 } %329, 1
  store i64 %334, ptr %333, align 8
  %335 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %38) #8
  %336 = xor i1 %335, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  br i1 %336, label %337, label %365

337:                                              ; preds = %330
  br label %338

338:                                              ; preds = %337
  %339 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %340 unwind label %358

340:                                              ; preds = %338
  br i1 %339, label %341, label %362

341:                                              ; preds = %340
  %342 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %342, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %344 unwind label %358

344:                                              ; preds = %341
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %343, ptr noundef @.str.155)
          to label %346 unwind label %358

346:                                              ; preds = %344
  %347 = load i32, ptr %36, align 4, !tbaa !9
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %345, i32 noundef %347)
          to label %349 unwind label %358

349:                                              ; preds = %346
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %348, ptr noundef @_ZSt3decRSt8ios_base)
          to label %351 unwind label %358

351:                                              ; preds = %349
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %350, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %353 unwind label %358

353:                                              ; preds = %351
  br label %362

354:                                              ; preds = %326
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %7, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  br label %389

358:                                              ; preds = %351, %349, %346, %344, %341, %338
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %7, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %8, align 4
  br label %389

362:                                              ; preds = %353, %340
  br label %363

363:                                              ; preds = %362
  br label %364

364:                                              ; preds = %363
  br label %365

365:                                              ; preds = %364, %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #8
  %366 = load i32, ptr %36, align 4, !tbaa !9
  %367 = zext i32 %366 to i64
  %368 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %367)
          to label %369 unwind label %385

369:                                              ; preds = %365
  %370 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %371 = extractvalue { ptr, i64 } %368, 0
  store ptr %371, ptr %370, align 8
  %372 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %373 = extractvalue { ptr, i64 } %368, 1
  store i64 %373, ptr %372, align 8
  %374 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %40) #8
  br i1 %374, label %375, label %378

375:                                              ; preds = %369
  %376 = load i32, ptr %37, align 4, !tbaa !9
  %377 = add i32 %376, 1
  store i32 %377, ptr %37, align 4, !tbaa !9
  br label %379

378:                                              ; preds = %369
  br label %379

379:                                              ; preds = %378, %375
  %380 = phi i32 [ %376, %375 ], [ -1, %378 ]
  store i32 %380, ptr %39, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %381 unwind label %385

381:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %382

382:                                              ; preds = %381
  %383 = load i32, ptr %36, align 4, !tbaa !9
  %384 = add i32 %383, 1
  store i32 %384, ptr %36, align 4, !tbaa !9
  br label %321, !llvm.loop !14

385:                                              ; preds = %379, %365
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %7, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %389

389:                                              ; preds = %385, %358, %354
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %1235

390:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %391 = load ptr, ptr %4, align 8, !tbaa !5
  %392 = getelementptr inbounds %"class.MIR::Function", ptr %391, i32 0, i32 2
  %393 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %392) #8
  %394 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %393, ptr %394, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !9
  br label %395

395:                                              ; preds = %1131, %390
  %396 = load i32, ptr %42, align 4, !tbaa !9
  %397 = zext i32 %396 to i64
  %398 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %11) #8
  %399 = icmp ult i64 %397, %398
  br i1 %399, label %401, label %400

400:                                              ; preds = %395
  store i32 17, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %1135

401:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #8
  %402 = load i32, ptr %42, align 4, !tbaa !9
  %403 = zext i32 %402 to i64
  %404 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %11, i64 noundef %403)
          to label %405 unwind label %430

405:                                              ; preds = %401
  %406 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %407 = extractvalue { ptr, i64 } %404, 0
  store ptr %407, ptr %406, align 8
  %408 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %409 = extractvalue { ptr, i64 } %404, 1
  store i64 %409, ptr %408, align 8
  %410 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  br i1 %410, label %411, label %1129

411:                                              ; preds = %405
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #8
  %412 = getelementptr inbounds %class.anon.643, ptr %45, i32 0, i32 0
  store ptr %20, ptr %412, align 8, !tbaa !5
  %413 = getelementptr inbounds %class.anon.643, ptr %45, i32 0, i32 1
  %414 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %414, ptr %413, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %46) #8
  %415 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %416 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %415, i32 0, i32 0
  %417 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %416) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %417, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %418 unwind label %434

418:                                              ; preds = %411
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %419 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %420 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %419, i32 0, i32 0
  store ptr %420, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %421 = load ptr, ptr %48, align 8, !tbaa !5
  %422 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %421) #8
  %423 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %49, i32 0, i32 0
  store ptr %422, ptr %423, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %424 = load ptr, ptr %48, align 8, !tbaa !5
  %425 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %424) #8
  %426 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %50, i32 0, i32 0
  store ptr %425, ptr %426, align 8
  br label %427

427:                                              ; preds = %869, %418
  %428 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br i1 %428, label %438, label %429

429:                                              ; preds = %427
  store i32 20, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %873

430:                                              ; preds = %401
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %7, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  br label %1134

434:                                              ; preds = %411
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %7, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #8
  br label %1128

438:                                              ; preds = %427
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %439 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  store ptr %439, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %440 = load ptr, ptr %51, align 8, !tbaa !5
  %441 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %442 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %441, i32 0, i32 0
  %443 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %442) #8
  %444 = ptrtoint ptr %440 to i64
  %445 = ptrtoint ptr %443 to i64
  %446 = sub i64 %444, %445
  %447 = sdiv exact i64 %446, 152
  store i64 %447, ptr %52, align 8, !tbaa !15
  %448 = load ptr, ptr %3, align 8, !tbaa !5
  %449 = load i32, ptr %42, align 4, !tbaa !9
  %450 = load i64, ptr %52, align 8, !tbaa !15
  %451 = trunc i64 %450 to i32
  invoke void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120) %448, i32 noundef %449, i32 noundef %451)
          to label %452 unwind label %479

452:                                              ; preds = %438
  %453 = load ptr, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 152, ptr %53) #8
  invoke void @_ZN3MIR9StatementC2Ev(ptr noundef nonnull align 8 dereferenceable(152) %53)
          to label %454 unwind label %483

454:                                              ; preds = %452
  %455 = invoke noundef zeroext i1 @_ZN3MIReqERKNS_9StatementES2_(ptr noundef nonnull align 8 dereferenceable(152) %453, ptr noundef nonnull align 8 dereferenceable(152) %53)
          to label %456 unwind label %487

456:                                              ; preds = %454
  call void @_ZN3MIR9StatementD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %53) #8
  call void @llvm.lifetime.end.p0(i64 152, ptr %53) #8
  br i1 %455, label %457, label %507

457:                                              ; preds = %456
  br label %458

458:                                              ; preds = %457
  %459 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %460 unwind label %479

460:                                              ; preds = %458
  br i1 %459, label %461, label %492

461:                                              ; preds = %460
  %462 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %463 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %462, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %464 unwind label %479

464:                                              ; preds = %461
  %465 = load ptr, ptr %3, align 8, !tbaa !5
  %466 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %463, ptr noundef nonnull align 8 dereferenceable(120) %465)
          to label %467 unwind label %479

467:                                              ; preds = %464
  %468 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %466, ptr noundef @.str.156)
          to label %469 unwind label %479

469:                                              ; preds = %467
  %470 = load ptr, ptr %51, align 8, !tbaa !5
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %468, ptr noundef nonnull align 8 dereferenceable(152) %470)
          to label %472 unwind label %479

472:                                              ; preds = %469
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %471, ptr noundef @.str.157)
          to label %474 unwind label %479

474:                                              ; preds = %472
  %475 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %473, ptr noundef @_ZSt3decRSt8ios_base)
          to label %476 unwind label %479

476:                                              ; preds = %474
  %477 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %475, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %478 unwind label %479

478:                                              ; preds = %476
  br label %492

479:                                              ; preds = %476, %474, %472, %469, %467, %464, %461, %458, %438
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %7, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %8, align 4
  br label %872

483:                                              ; preds = %452
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %7, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %8, align 4
  br label %491

487:                                              ; preds = %454
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %7, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %8, align 4
  call void @_ZN3MIR9StatementD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %53) #8
  br label %491

491:                                              ; preds = %487, %483
  call void @llvm.lifetime.end.p0(i64 152, ptr %53) #8
  br label %872

492:                                              ; preds = %478, %460
  br label %493

493:                                              ; preds = %492
  br label %494

494:                                              ; preds = %493
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #8
  %495 = load i64, ptr %52, align 8, !tbaa !15
  %496 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %495)
          to label %497 unwind label %503

497:                                              ; preds = %494
  %498 = getelementptr inbounds { ptr, i64 }, ptr %54, i32 0, i32 0
  %499 = extractvalue { ptr, i64 } %496, 0
  store ptr %499, ptr %498, align 8
  %500 = getelementptr inbounds { ptr, i64 }, ptr %54, i32 0, i32 1
  %501 = extractvalue { ptr, i64 } %496, 1
  store i64 %501, ptr %500, align 8
  %502 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %54, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #8
  store i32 21, ptr %43, align 4
  br label %863

503:                                              ; preds = %494
  %504 = landingpad { ptr, i32 }
          cleanup
  %505 = extractvalue { ptr, i32 } %504, 0
  store ptr %505, ptr %7, align 8
  %506 = extractvalue { ptr, i32 } %504, 1
  store i32 %506, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #8
  br label %872

507:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %508 = load ptr, ptr %51, align 8, !tbaa !5
  %509 = invoke noundef ptr @_ZN3MIR9Statement8opt_DropEv(ptr noundef nonnull align 8 dereferenceable(152) %508)
          to label %510 unwind label %562

510:                                              ; preds = %507
  store ptr %509, ptr %55, align 8, !tbaa !5
  %511 = load ptr, ptr %55, align 8, !tbaa !5
  %512 = icmp ne ptr %511, null
  br i1 %512, label %513, label %665

513:                                              ; preds = %510
  %514 = load ptr, ptr %55, align 8, !tbaa !5
  %515 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %514, i32 0, i32 3
  %516 = load i32, ptr %515, align 8, !tbaa !17
  %517 = icmp ne i32 %516, -1
  br i1 %517, label %518, label %613

518:                                              ; preds = %513
  %519 = load ptr, ptr %55, align 8, !tbaa !5
  %520 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %519, i32 0, i32 3
  %521 = load i32, ptr %520, align 8, !tbaa !17
  %522 = zext i32 %521 to i64
  %523 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %522) #8
  %524 = load i32, ptr %523, align 4, !tbaa !9
  %525 = icmp eq i32 %524, -1
  br i1 %525, label %526, label %613

526:                                              ; preds = %518
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #8
  %527 = load ptr, ptr %4, align 8, !tbaa !5
  %528 = getelementptr inbounds %"class.MIR::Function", ptr %527, i32 0, i32 1
  %529 = load ptr, ptr %55, align 8, !tbaa !5
  %530 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %529, i32 0, i32 3
  %531 = load i32, ptr %530, align 8, !tbaa !17
  %532 = zext i32 %531 to i64
  %533 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %528, i64 noundef %532)
          to label %534 unwind label %566

534:                                              ; preds = %526
  %535 = getelementptr inbounds { ptr, i64 }, ptr %56, i32 0, i32 0
  %536 = extractvalue { ptr, i64 } %533, 0
  store ptr %536, ptr %535, align 8
  %537 = getelementptr inbounds { ptr, i64 }, ptr %56, i32 0, i32 1
  %538 = extractvalue { ptr, i64 } %533, 1
  store i64 %538, ptr %537, align 8
  %539 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %56) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  br i1 %539, label %540, label %575

540:                                              ; preds = %534
  br label %541

541:                                              ; preds = %540
  %542 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %543 unwind label %562

543:                                              ; preds = %541
  br i1 %542, label %544, label %570

544:                                              ; preds = %543
  %545 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %546 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %545, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %547 unwind label %562

547:                                              ; preds = %544
  %548 = load ptr, ptr %3, align 8, !tbaa !5
  %549 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %546, ptr noundef nonnull align 8 dereferenceable(120) %548)
          to label %550 unwind label %562

550:                                              ; preds = %547
  %551 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %549, ptr noundef @.str.158)
          to label %552 unwind label %562

552:                                              ; preds = %550
  %553 = load ptr, ptr %51, align 8, !tbaa !5
  %554 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %551, ptr noundef nonnull align 8 dereferenceable(152) %553)
          to label %555 unwind label %562

555:                                              ; preds = %552
  %556 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %554, ptr noundef @.str.159)
          to label %557 unwind label %562

557:                                              ; preds = %555
  %558 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %556, ptr noundef @_ZSt3decRSt8ios_base)
          to label %559 unwind label %562

559:                                              ; preds = %557
  %560 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %558, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %561 unwind label %562

561:                                              ; preds = %559
  br label %570

562:                                              ; preds = %646, %644, %642, %639, %637, %634, %631, %628, %618, %613, %594, %592, %590, %587, %585, %582, %579, %576, %559, %557, %555, %552, %550, %547, %544, %541, %507
  %563 = landingpad { ptr, i32 }
          cleanup
  %564 = extractvalue { ptr, i32 } %563, 0
  store ptr %564, ptr %7, align 8
  %565 = extractvalue { ptr, i32 } %563, 1
  store i32 %565, ptr %8, align 4
  br label %691

566:                                              ; preds = %526
  %567 = landingpad { ptr, i32 }
          cleanup
  %568 = extractvalue { ptr, i32 } %567, 0
  store ptr %568, ptr %7, align 8
  %569 = extractvalue { ptr, i32 } %567, 1
  store i32 %569, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  br label %691

570:                                              ; preds = %561, %543
  br label %571

571:                                              ; preds = %570
  br label %572

572:                                              ; preds = %571
  %573 = load ptr, ptr %55, align 8, !tbaa !5
  %574 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %573, i32 0, i32 3
  store i32 -1, ptr %574, align 8, !tbaa !17
  br label %612

575:                                              ; preds = %534
  br label %576

576:                                              ; preds = %575
  %577 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %578 unwind label %562

578:                                              ; preds = %576
  br i1 %577, label %579, label %597

579:                                              ; preds = %578
  %580 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %581 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %580, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %582 unwind label %562

582:                                              ; preds = %579
  %583 = load ptr, ptr %3, align 8, !tbaa !5
  %584 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %581, ptr noundef nonnull align 8 dereferenceable(120) %583)
          to label %585 unwind label %562

585:                                              ; preds = %582
  %586 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %584, ptr noundef @.str.156)
          to label %587 unwind label %562

587:                                              ; preds = %585
  %588 = load ptr, ptr %51, align 8, !tbaa !5
  %589 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %586, ptr noundef nonnull align 8 dereferenceable(152) %588)
          to label %590 unwind label %562

590:                                              ; preds = %587
  %591 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %589, ptr noundef @.str.160)
          to label %592 unwind label %562

592:                                              ; preds = %590
  %593 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %591, ptr noundef @_ZSt3decRSt8ios_base)
          to label %594 unwind label %562

594:                                              ; preds = %592
  %595 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %593, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %596 unwind label %562

596:                                              ; preds = %594
  br label %597

597:                                              ; preds = %596, %578
  br label %598

598:                                              ; preds = %597
  br label %599

599:                                              ; preds = %598
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #8
  %600 = load i64, ptr %52, align 8, !tbaa !15
  %601 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %600)
          to label %602 unwind label %608

602:                                              ; preds = %599
  %603 = getelementptr inbounds { ptr, i64 }, ptr %57, i32 0, i32 0
  %604 = extractvalue { ptr, i64 } %601, 0
  store ptr %604, ptr %603, align 8
  %605 = getelementptr inbounds { ptr, i64 }, ptr %57, i32 0, i32 1
  %606 = extractvalue { ptr, i64 } %601, 1
  store i64 %606, ptr %605, align 8
  %607 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %57, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #8
  store i32 21, ptr %43, align 4
  br label %666

608:                                              ; preds = %599
  %609 = landingpad { ptr, i32 }
          cleanup
  %610 = extractvalue { ptr, i32 } %609, 0
  store ptr %610, ptr %7, align 8
  %611 = extractvalue { ptr, i32 } %609, 1
  store i32 %611, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #8
  br label %691

612:                                              ; preds = %572
  br label %613

613:                                              ; preds = %612, %518, %513
  %614 = load ptr, ptr %55, align 8, !tbaa !5
  %615 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %614, i32 0, i32 2
  %616 = invoke noundef zeroext i1 @_ZNK3MIR6LValue8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(32) %615)
          to label %617 unwind label %562

617:                                              ; preds = %613
  br i1 %616, label %618, label %664

618:                                              ; preds = %617
  %619 = load ptr, ptr %55, align 8, !tbaa !5
  %620 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %619, i32 0, i32 2
  %621 = invoke noundef i32 @_ZNK3MIR6LValue8as_LocalEv(ptr noundef nonnull align 8 dereferenceable(32) %620)
          to label %622 unwind label %562

622:                                              ; preds = %618
  %623 = zext i32 %621 to i64
  %624 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %623) #8
  %625 = load i32, ptr %624, align 4, !tbaa !9
  %626 = icmp eq i32 %625, -1
  br i1 %626, label %627, label %664

627:                                              ; preds = %622
  br label %628

628:                                              ; preds = %627
  %629 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %630 unwind label %562

630:                                              ; preds = %628
  br i1 %629, label %631, label %649

631:                                              ; preds = %630
  %632 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %633 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %632, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %634 unwind label %562

634:                                              ; preds = %631
  %635 = load ptr, ptr %3, align 8, !tbaa !5
  %636 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %633, ptr noundef nonnull align 8 dereferenceable(120) %635)
          to label %637 unwind label %562

637:                                              ; preds = %634
  %638 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %636, ptr noundef @.str.156)
          to label %639 unwind label %562

639:                                              ; preds = %637
  %640 = load ptr, ptr %51, align 8, !tbaa !5
  %641 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %638, ptr noundef nonnull align 8 dereferenceable(152) %640)
          to label %642 unwind label %562

642:                                              ; preds = %639
  %643 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %641, ptr noundef @.str.161)
          to label %644 unwind label %562

644:                                              ; preds = %642
  %645 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %643, ptr noundef @_ZSt3decRSt8ios_base)
          to label %646 unwind label %562

646:                                              ; preds = %644
  %647 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %645, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %648 unwind label %562

648:                                              ; preds = %646
  br label %649

649:                                              ; preds = %648, %630
  br label %650

650:                                              ; preds = %649
  br label %651

651:                                              ; preds = %650
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #8
  %652 = load i64, ptr %52, align 8, !tbaa !15
  %653 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %652)
          to label %654 unwind label %660

654:                                              ; preds = %651
  %655 = getelementptr inbounds { ptr, i64 }, ptr %58, i32 0, i32 0
  %656 = extractvalue { ptr, i64 } %653, 0
  store ptr %656, ptr %655, align 8
  %657 = getelementptr inbounds { ptr, i64 }, ptr %58, i32 0, i32 1
  %658 = extractvalue { ptr, i64 } %653, 1
  store i64 %658, ptr %657, align 8
  %659 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %58, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #8
  store i32 21, ptr %43, align 4
  br label %666

660:                                              ; preds = %651
  %661 = landingpad { ptr, i32 }
          cleanup
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %7, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #8
  br label %691

664:                                              ; preds = %622, %617
  br label %665

665:                                              ; preds = %664, %510
  store i32 0, ptr %43, align 4
  br label %666

666:                                              ; preds = %665, %654, %602
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  %667 = load i32, ptr %43, align 4
  switch i32 %667, label %863 [
    i32 0, label %668
  ]

668:                                              ; preds = %666
  %669 = load ptr, ptr %51, align 8, !tbaa !5
  call void @"_ZNSt8functionIFbRN3MIR6LValueEN12_GLOBAL__N_18ValUsageEEEC2IRZ27MIR_Optimise_GarbageCollectRNS0_11TypeResolveERNS0_8FunctionEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(16) %45) #8
  %670 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR9StatementESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(152) %669, ptr noundef %59)
          to label %671 unwind label %692

671:                                              ; preds = %668
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #8
  %672 = load ptr, ptr %51, align 8, !tbaa !5
  %673 = invoke noundef ptr @_ZN3MIR9Statement8opt_DropEv(ptr noundef nonnull align 8 dereferenceable(152) %672)
          to label %674 unwind label %696

674:                                              ; preds = %671
  store ptr %673, ptr %60, align 8, !tbaa !5
  %675 = load ptr, ptr %60, align 8, !tbaa !5
  %676 = icmp ne ptr %675, null
  br i1 %676, label %677, label %701

677:                                              ; preds = %674
  %678 = load ptr, ptr %60, align 8, !tbaa !5
  %679 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %678, i32 0, i32 3
  %680 = load i32, ptr %679, align 8, !tbaa !17
  %681 = icmp ne i32 %680, -1
  br i1 %681, label %682, label %700

682:                                              ; preds = %677
  %683 = load ptr, ptr %60, align 8, !tbaa !5
  %684 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %683, i32 0, i32 3
  %685 = load i32, ptr %684, align 8, !tbaa !17
  %686 = zext i32 %685 to i64
  %687 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %686) #8
  %688 = load i32, ptr %687, align 4, !tbaa !9
  %689 = load ptr, ptr %60, align 8, !tbaa !5
  %690 = getelementptr inbounds %"struct.MIR::Statement::Data_Drop", ptr %689, i32 0, i32 3
  store i32 %688, ptr %690, align 8, !tbaa !17
  br label %700

691:                                              ; preds = %660, %608, %566, %562
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  br label %872

692:                                              ; preds = %668
  %693 = landingpad { ptr, i32 }
          cleanup
  %694 = extractvalue { ptr, i32 } %693, 0
  store ptr %694, ptr %7, align 8
  %695 = extractvalue { ptr, i32 } %693, 1
  store i32 %695, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  br label %872

696:                                              ; preds = %671
  %697 = landingpad { ptr, i32 }
          cleanup
  %698 = extractvalue { ptr, i32 } %697, 0
  store ptr %698, ptr %7, align 8
  %699 = extractvalue { ptr, i32 } %697, 1
  store i32 %699, ptr %8, align 4
  br label %871

700:                                              ; preds = %682, %677
  br label %859

701:                                              ; preds = %674
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #8
  %702 = load ptr, ptr %51, align 8, !tbaa !5
  %703 = invoke noundef ptr @_ZN3MIR9Statement15opt_SetDropFlagEv(ptr noundef nonnull align 8 dereferenceable(152) %702)
          to label %704 unwind label %724

704:                                              ; preds = %701
  store ptr %703, ptr %61, align 8, !tbaa !5
  %705 = load ptr, ptr %61, align 8, !tbaa !5
  %706 = icmp ne ptr %705, null
  br i1 %706, label %707, label %755

707:                                              ; preds = %704
  %708 = load ptr, ptr %61, align 8, !tbaa !5
  %709 = getelementptr inbounds %"struct.MIR::Statement::Data_SetDropFlag", ptr %708, i32 0, i32 0
  %710 = load i32, ptr %709, align 4, !tbaa !26
  %711 = zext i32 %710 to i64
  %712 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %711) #8
  %713 = load i32, ptr %712, align 4, !tbaa !9
  %714 = icmp eq i32 %713, -1
  br i1 %714, label %715, label %732

715:                                              ; preds = %707
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #8
  %716 = load i64, ptr %52, align 8, !tbaa !15
  %717 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %716)
          to label %718 unwind label %728

718:                                              ; preds = %715
  %719 = getelementptr inbounds { ptr, i64 }, ptr %62, i32 0, i32 0
  %720 = extractvalue { ptr, i64 } %717, 0
  store ptr %720, ptr %719, align 8
  %721 = getelementptr inbounds { ptr, i64 }, ptr %62, i32 0, i32 1
  %722 = extractvalue { ptr, i64 } %717, 1
  store i64 %722, ptr %721, align 8
  %723 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %62, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  store i32 21, ptr %43, align 4
  br label %855

724:                                              ; preds = %701
  %725 = landingpad { ptr, i32 }
          cleanup
  %726 = extractvalue { ptr, i32 } %725, 0
  store ptr %726, ptr %7, align 8
  %727 = extractvalue { ptr, i32 } %725, 1
  store i32 %727, ptr %8, align 4
  br label %858

728:                                              ; preds = %715
  %729 = landingpad { ptr, i32 }
          cleanup
  %730 = extractvalue { ptr, i32 } %729, 0
  store ptr %730, ptr %7, align 8
  %731 = extractvalue { ptr, i32 } %729, 1
  store i32 %731, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  br label %858

732:                                              ; preds = %707
  %733 = load ptr, ptr %61, align 8, !tbaa !5
  %734 = getelementptr inbounds %"struct.MIR::Statement::Data_SetDropFlag", ptr %733, i32 0, i32 0
  %735 = load i32, ptr %734, align 4, !tbaa !26
  %736 = zext i32 %735 to i64
  %737 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %736) #8
  %738 = load i32, ptr %737, align 4, !tbaa !9
  %739 = load ptr, ptr %61, align 8, !tbaa !5
  %740 = getelementptr inbounds %"struct.MIR::Statement::Data_SetDropFlag", ptr %739, i32 0, i32 0
  store i32 %738, ptr %740, align 4, !tbaa !26
  %741 = load ptr, ptr %61, align 8, !tbaa !5
  %742 = getelementptr inbounds %"struct.MIR::Statement::Data_SetDropFlag", ptr %741, i32 0, i32 2
  %743 = load i32, ptr %742, align 4, !tbaa !29
  %744 = icmp ne i32 %743, -1
  br i1 %744, label %745, label %754

745:                                              ; preds = %732
  %746 = load ptr, ptr %61, align 8, !tbaa !5
  %747 = getelementptr inbounds %"struct.MIR::Statement::Data_SetDropFlag", ptr %746, i32 0, i32 2
  %748 = load i32, ptr %747, align 4, !tbaa !29
  %749 = zext i32 %748 to i64
  %750 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %749) #8
  %751 = load i32, ptr %750, align 4, !tbaa !9
  %752 = load ptr, ptr %61, align 8, !tbaa !5
  %753 = getelementptr inbounds %"struct.MIR::Statement::Data_SetDropFlag", ptr %752, i32 0, i32 2
  store i32 %751, ptr %753, align 4, !tbaa !29
  br label %754

754:                                              ; preds = %745, %732
  br label %854

755:                                              ; preds = %704
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #8
  %756 = load ptr, ptr %51, align 8, !tbaa !5
  %757 = invoke noundef ptr @_ZN3MIR9Statement12opt_ScopeEndEv(ptr noundef nonnull align 8 dereferenceable(152) %756)
          to label %758 unwind label %773

758:                                              ; preds = %755
  store ptr %757, ptr %63, align 8, !tbaa !5
  %759 = load ptr, ptr %63, align 8, !tbaa !5
  %760 = icmp ne ptr %759, null
  br i1 %760, label %761, label %849

761:                                              ; preds = %758
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #8
  %762 = load ptr, ptr %63, align 8, !tbaa !5
  %763 = getelementptr inbounds %"struct.MIR::Statement::Data_ScopeEnd", ptr %762, i32 0, i32 0
  %764 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %763) #8
  %765 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %64, i32 0, i32 0
  store ptr %764, ptr %765, align 8
  br label %766

766:                                              ; preds = %810, %761
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #8
  %767 = load ptr, ptr %63, align 8, !tbaa !5
  %768 = getelementptr inbounds %"struct.MIR::Statement::Data_ScopeEnd", ptr %767, i32 0, i32 0
  %769 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %768) #8
  %770 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %65, i32 0, i32 0
  store ptr %769, ptr %770, align 8
  %771 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  br i1 %771, label %777, label %772

772:                                              ; preds = %766
  store i32 30, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  br label %812

773:                                              ; preds = %830, %828, %826, %823, %820, %817, %755
  %774 = landingpad { ptr, i32 }
          cleanup
  %775 = extractvalue { ptr, i32 } %774, 0
  store ptr %775, ptr %7, align 8
  %776 = extractvalue { ptr, i32 } %774, 1
  store i32 %776, ptr %8, align 4
  br label %853

777:                                              ; preds = %766
  %778 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  %779 = load i32, ptr %778, align 4, !tbaa !9
  %780 = zext i32 %779 to i64
  %781 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %780)
          to label %782 unwind label %793

782:                                              ; preds = %777
  %783 = load i32, ptr %781, align 4, !tbaa !9
  %784 = icmp eq i32 %783, -1
  br i1 %784, label %785, label %801

785:                                              ; preds = %782
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  %786 = load ptr, ptr %63, align 8, !tbaa !5
  %787 = getelementptr inbounds %"struct.MIR::Statement::Data_ScopeEnd", ptr %786, i32 0, i32 0
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  %788 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.188", ptr %67, i32 0, i32 0
  %789 = load ptr, ptr %788, align 8
  %790 = invoke ptr @_ZNSt6vectorIjSaIjEE5eraseEN9__gnu_cxx17__normal_iteratorIPKjS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %787, ptr %789)
          to label %791 unwind label %797

791:                                              ; preds = %785
  %792 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %66, i32 0, i32 0
  store ptr %790, ptr %792, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %64, ptr align 8 %66, i64 8, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %810

793:                                              ; preds = %801, %777
  %794 = landingpad { ptr, i32 }
          cleanup
  %795 = extractvalue { ptr, i32 } %794, 0
  store ptr %795, ptr %7, align 8
  %796 = extractvalue { ptr, i32 } %794, 1
  store i32 %796, ptr %8, align 4
  br label %811

797:                                              ; preds = %785
  %798 = landingpad { ptr, i32 }
          cleanup
  %799 = extractvalue { ptr, i32 } %798, 0
  store ptr %799, ptr %7, align 8
  %800 = extractvalue { ptr, i32 } %798, 1
  store i32 %800, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %811

801:                                              ; preds = %782
  %802 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  %803 = load i32, ptr %802, align 4, !tbaa !9
  %804 = zext i32 %803 to i64
  %805 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %804)
          to label %806 unwind label %793

806:                                              ; preds = %801
  %807 = load i32, ptr %805, align 4, !tbaa !9
  %808 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  store i32 %807, ptr %808, align 4, !tbaa !9
  %809 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %64) #8
  br label %810

810:                                              ; preds = %806, %791
  br label %766, !llvm.loop !31

811:                                              ; preds = %797, %793
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  br label %853

812:                                              ; preds = %772
  %813 = load ptr, ptr %63, align 8, !tbaa !5
  %814 = getelementptr inbounds %"struct.MIR::Statement::Data_ScopeEnd", ptr %813, i32 0, i32 0
  %815 = call noundef zeroext i1 @_ZNKSt6vectorIjSaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %814) #8
  br i1 %815, label %816, label %848

816:                                              ; preds = %812
  br label %817

817:                                              ; preds = %816
  %818 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %819 unwind label %773

819:                                              ; preds = %817
  br i1 %818, label %820, label %833

820:                                              ; preds = %819
  %821 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %822 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %821, ptr noundef @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %823 unwind label %773

823:                                              ; preds = %820
  %824 = load ptr, ptr %3, align 8, !tbaa !5
  %825 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %822, ptr noundef nonnull align 8 dereferenceable(120) %824)
          to label %826 unwind label %773

826:                                              ; preds = %823
  %827 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %825, ptr noundef @.str.162)
          to label %828 unwind label %773

828:                                              ; preds = %826
  %829 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %827, ptr noundef @_ZSt3decRSt8ios_base)
          to label %830 unwind label %773

830:                                              ; preds = %828
  %831 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %829, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %832 unwind label %773

832:                                              ; preds = %830
  br label %833

833:                                              ; preds = %832, %819
  br label %834

834:                                              ; preds = %833
  br label %835

835:                                              ; preds = %834
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #8
  %836 = load i64, ptr %52, align 8, !tbaa !15
  %837 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %836)
          to label %838 unwind label %844

838:                                              ; preds = %835
  %839 = getelementptr inbounds { ptr, i64 }, ptr %68, i32 0, i32 0
  %840 = extractvalue { ptr, i64 } %837, 0
  store ptr %840, ptr %839, align 8
  %841 = getelementptr inbounds { ptr, i64 }, ptr %68, i32 0, i32 1
  %842 = extractvalue { ptr, i64 } %837, 1
  store i64 %842, ptr %841, align 8
  %843 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %68, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  store i32 21, ptr %43, align 4
  br label %850

844:                                              ; preds = %835
  %845 = landingpad { ptr, i32 }
          cleanup
  %846 = extractvalue { ptr, i32 } %845, 0
  store ptr %846, ptr %7, align 8
  %847 = extractvalue { ptr, i32 } %845, 1
  store i32 %847, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  br label %853

848:                                              ; preds = %812
  br label %849

849:                                              ; preds = %848, %758
  store i32 0, ptr %43, align 4
  br label %850

850:                                              ; preds = %849, %838
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  %851 = load i32, ptr %43, align 4
  switch i32 %851, label %855 [
    i32 0, label %852
  ]

852:                                              ; preds = %850
  br label %854

853:                                              ; preds = %844, %811, %773
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  br label %858

854:                                              ; preds = %852, %754
  store i32 0, ptr %43, align 4
  br label %855

855:                                              ; preds = %854, %850, %718
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  %856 = load i32, ptr %43, align 4
  switch i32 %856, label %860 [
    i32 0, label %857
  ]

857:                                              ; preds = %855
  br label %859

858:                                              ; preds = %853, %728, %724
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  br label %871

859:                                              ; preds = %857, %700
  store i32 0, ptr %43, align 4
  br label %860

860:                                              ; preds = %859, %855
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  %861 = load i32, ptr %43, align 4
  switch i32 %861, label %863 [
    i32 0, label %862
  ]

862:                                              ; preds = %860
  store i32 0, ptr %43, align 4
  br label %863

863:                                              ; preds = %862, %860, %666, %497
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  %864 = load i32, ptr %43, align 4
  switch i32 %864, label %866 [
    i32 0, label %865
  ]

865:                                              ; preds = %863
  store i32 0, ptr %43, align 4
  br label %866

866:                                              ; preds = %865, %863
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  %867 = load i32, ptr %43, align 4
  switch i32 %867, label %1247 [
    i32 0, label %868
    i32 21, label %869
  ]

868:                                              ; preds = %866
  br label %869

869:                                              ; preds = %868, %866
  %870 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  br label %427

871:                                              ; preds = %858, %696
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  br label %872

872:                                              ; preds = %871, %692, %691, %503, %491, %479
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %1127

873:                                              ; preds = %429
  %874 = load ptr, ptr %3, align 8, !tbaa !5
  %875 = load i32, ptr %42, align 4, !tbaa !9
  invoke void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120) %874, i32 noundef %875)
          to label %876 unwind label %885

876:                                              ; preds = %873
  %877 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %878 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %877, i32 0, i32 1
  call void @"_ZNSt8functionIFbRN3MIR6LValueEN12_GLOBAL__N_18ValUsageEEEC2IRZ27MIR_Optimise_GarbageCollectRNS0_11TypeResolveERNS0_8FunctionEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(16) %45) #8
  %879 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR10TerminatorESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(168) %878, ptr noundef %69)
          to label %880 unwind label %889

880:                                              ; preds = %876
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  %881 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %882 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %881, i32 0, i32 1
  %883 = invoke noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %882)
          to label %884 unwind label %885

884:                                              ; preds = %880
  switch i32 %883, label %1074 [
    i32 0, label %893
    i32 1, label %894
    i32 2, label %904
    i32 3, label %914
    i32 4, label %924
    i32 5, label %940
    i32 6, label %950
    i32 7, label %976
    i32 8, label %1008
    i32 9, label %1048
  ]

885:                                              ; preds = %880, %873
  %886 = landingpad { ptr, i32 }
          cleanup
  %887 = extractvalue { ptr, i32 } %886, 0
  store ptr %887, ptr %7, align 8
  %888 = extractvalue { ptr, i32 } %886, 1
  store i32 %888, ptr %8, align 4
  br label %1127

889:                                              ; preds = %876
  %890 = landingpad { ptr, i32 }
          cleanup
  %891 = extractvalue { ptr, i32 } %890, 0
  store ptr %891, ptr %7, align 8
  %892 = extractvalue { ptr, i32 } %890, 1
  store i32 %892, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  br label %1127

893:                                              ; preds = %884
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.8, i32 noundef 6345, ptr noundef @__PRETTY_FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE) #9
  unreachable

894:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #8
  %895 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %896 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %895, i32 0, i32 1
  %897 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator13as_IncompleteEv(ptr noundef nonnull align 8 dereferenceable(168) %896)
          to label %898 unwind label %900

898:                                              ; preds = %894
  store ptr %897, ptr %70, align 8, !tbaa !5
  %899 = load ptr, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %1074

900:                                              ; preds = %894
  %901 = landingpad { ptr, i32 }
          cleanup
  %902 = extractvalue { ptr, i32 } %901, 0
  store ptr %902, ptr %7, align 8
  %903 = extractvalue { ptr, i32 } %901, 1
  store i32 %903, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %1127

904:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #8
  %905 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %906 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %905, i32 0, i32 1
  %907 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator9as_ReturnEv(ptr noundef nonnull align 8 dereferenceable(168) %906)
          to label %908 unwind label %910

908:                                              ; preds = %904
  store ptr %907, ptr %71, align 8, !tbaa !5
  %909 = load ptr, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  br label %1074

910:                                              ; preds = %904
  %911 = landingpad { ptr, i32 }
          cleanup
  %912 = extractvalue { ptr, i32 } %911, 0
  store ptr %912, ptr %7, align 8
  %913 = extractvalue { ptr, i32 } %911, 1
  store i32 %913, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  br label %1127

914:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  %915 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %916 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %915, i32 0, i32 1
  %917 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(168) %916)
          to label %918 unwind label %920

918:                                              ; preds = %914
  store ptr %917, ptr %72, align 8, !tbaa !5
  %919 = load ptr, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  br label %1074

920:                                              ; preds = %914
  %921 = landingpad { ptr, i32 }
          cleanup
  %922 = extractvalue { ptr, i32 } %921, 0
  store ptr %922, ptr %7, align 8
  %923 = extractvalue { ptr, i32 } %921, 1
  store i32 %923, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  br label %1127

924:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #8
  %925 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %926 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %925, i32 0, i32 1
  %927 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3MIR10Terminator7as_GotoEv(ptr noundef nonnull align 8 dereferenceable(168) %926)
          to label %928 unwind label %936

928:                                              ; preds = %924
  store ptr %927, ptr %73, align 8, !tbaa !5
  %929 = load ptr, ptr %73, align 8, !tbaa !5
  %930 = load ptr, ptr %73, align 8, !tbaa !5
  %931 = load i32, ptr %930, align 4, !tbaa !9
  %932 = zext i32 %931 to i64
  %933 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %932) #8
  %934 = load i32, ptr %933, align 4, !tbaa !9
  %935 = load ptr, ptr %73, align 8, !tbaa !5
  store i32 %934, ptr %935, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  br label %1074

936:                                              ; preds = %924
  %937 = landingpad { ptr, i32 }
          cleanup
  %938 = extractvalue { ptr, i32 } %937, 0
  store ptr %938, ptr %7, align 8
  %939 = extractvalue { ptr, i32 } %937, 1
  store i32 %939, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  br label %1127

940:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #8
  %941 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %942 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %941, i32 0, i32 1
  %943 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN3MIR10Terminator8as_PanicEv(ptr noundef nonnull align 8 dereferenceable(168) %942)
          to label %944 unwind label %946

944:                                              ; preds = %940
  store ptr %943, ptr %74, align 8, !tbaa !5
  %945 = load ptr, ptr %74, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  br label %1074

946:                                              ; preds = %940
  %947 = landingpad { ptr, i32 }
          cleanup
  %948 = extractvalue { ptr, i32 } %947, 0
  store ptr %948, ptr %7, align 8
  %949 = extractvalue { ptr, i32 } %947, 1
  store i32 %949, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  br label %1127

950:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #8
  %951 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %952 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %951, i32 0, i32 1
  %953 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN3MIR10Terminator5as_IfEv(ptr noundef nonnull align 8 dereferenceable(168) %952)
          to label %954 unwind label %972

954:                                              ; preds = %950
  store ptr %953, ptr %75, align 8, !tbaa !5
  %955 = load ptr, ptr %75, align 8, !tbaa !5
  %956 = load ptr, ptr %75, align 8, !tbaa !5
  %957 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %956, i32 0, i32 1
  %958 = load i32, ptr %957, align 8, !tbaa !32
  %959 = zext i32 %958 to i64
  %960 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %959) #8
  %961 = load i32, ptr %960, align 4, !tbaa !9
  %962 = load ptr, ptr %75, align 8, !tbaa !5
  %963 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %962, i32 0, i32 1
  store i32 %961, ptr %963, align 8, !tbaa !32
  %964 = load ptr, ptr %75, align 8, !tbaa !5
  %965 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %964, i32 0, i32 2
  %966 = load i32, ptr %965, align 4, !tbaa !34
  %967 = zext i32 %966 to i64
  %968 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %967) #8
  %969 = load i32, ptr %968, align 4, !tbaa !9
  %970 = load ptr, ptr %75, align 8, !tbaa !5
  %971 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %970, i32 0, i32 2
  store i32 %969, ptr %971, align 4, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  br label %1074

972:                                              ; preds = %950
  %973 = landingpad { ptr, i32 }
          cleanup
  %974 = extractvalue { ptr, i32 } %973, 0
  store ptr %974, ptr %7, align 8
  %975 = extractvalue { ptr, i32 } %973, 1
  store i32 %975, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  br label %1127

976:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #8
  %977 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %978 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %977, i32 0, i32 1
  %979 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168) %978)
          to label %980 unwind label %993

980:                                              ; preds = %976
  store ptr %979, ptr %76, align 8, !tbaa !5
  %981 = load ptr, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #8
  %982 = load ptr, ptr %76, align 8, !tbaa !5
  %983 = getelementptr inbounds %"struct.MIR::Terminator::Data_Switch", ptr %982, i32 0, i32 1
  store ptr %983, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #8
  %984 = load ptr, ptr %77, align 8, !tbaa !5
  %985 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %984) #8
  %986 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %78, i32 0, i32 0
  store ptr %985, ptr %986, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #8
  %987 = load ptr, ptr %77, align 8, !tbaa !5
  %988 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %987) #8
  %989 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %79, i32 0, i32 0
  store ptr %988, ptr %989, align 8
  br label %990

990:                                              ; preds = %1005, %980
  %991 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull align 8 dereferenceable(8) %79) #8
  br i1 %991, label %997, label %992

992:                                              ; preds = %990
  store i32 35, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #8
  br label %1007

993:                                              ; preds = %976
  %994 = landingpad { ptr, i32 }
          cleanup
  %995 = extractvalue { ptr, i32 } %994, 0
  store ptr %995, ptr %7, align 8
  %996 = extractvalue { ptr, i32 } %994, 1
  store i32 %996, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %1127

997:                                              ; preds = %990
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #8
  %998 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #8
  store ptr %998, ptr %80, align 8, !tbaa !5
  %999 = load ptr, ptr %80, align 8, !tbaa !5
  %1000 = load i32, ptr %999, align 4, !tbaa !9
  %1001 = zext i32 %1000 to i64
  %1002 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %1001) #8
  %1003 = load i32, ptr %1002, align 4, !tbaa !9
  %1004 = load ptr, ptr %80, align 8, !tbaa !5
  store i32 %1003, ptr %1004, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #8
  br label %1005

1005:                                             ; preds = %997
  %1006 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #8
  br label %990

1007:                                             ; preds = %992
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %1074

1008:                                             ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #8
  %1009 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1010 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1009, i32 0, i32 1
  %1011 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZN3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168) %1010)
          to label %1012 unwind label %1025

1012:                                             ; preds = %1008
  store ptr %1011, ptr %81, align 8, !tbaa !5
  %1013 = load ptr, ptr %81, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #8
  %1014 = load ptr, ptr %81, align 8, !tbaa !5
  %1015 = getelementptr inbounds %"struct.MIR::Terminator::Data_SwitchValue", ptr %1014, i32 0, i32 2
  store ptr %1015, ptr %82, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #8
  %1016 = load ptr, ptr %82, align 8, !tbaa !5
  %1017 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1016) #8
  %1018 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %83, i32 0, i32 0
  store ptr %1017, ptr %1018, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #8
  %1019 = load ptr, ptr %82, align 8, !tbaa !5
  %1020 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1019) #8
  %1021 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.147", ptr %84, i32 0, i32 0
  store ptr %1020, ptr %1021, align 8
  br label %1022

1022:                                             ; preds = %1037, %1012
  %1023 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %84) #8
  br i1 %1023, label %1029, label %1024

1024:                                             ; preds = %1022
  store i32 37, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #8
  br label %1039

1025:                                             ; preds = %1008
  %1026 = landingpad { ptr, i32 }
          cleanup
  %1027 = extractvalue { ptr, i32 } %1026, 0
  store ptr %1027, ptr %7, align 8
  %1028 = extractvalue { ptr, i32 } %1026, 1
  store i32 %1028, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #8
  br label %1127

1029:                                             ; preds = %1022
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #8
  %1030 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #8
  store ptr %1030, ptr %85, align 8, !tbaa !5
  %1031 = load ptr, ptr %85, align 8, !tbaa !5
  %1032 = load i32, ptr %1031, align 4, !tbaa !9
  %1033 = zext i32 %1032 to i64
  %1034 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %1033) #8
  %1035 = load i32, ptr %1034, align 4, !tbaa !9
  %1036 = load ptr, ptr %85, align 8, !tbaa !5
  store i32 %1035, ptr %1036, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #8
  br label %1037

1037:                                             ; preds = %1029
  %1038 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #8
  br label %1022

1039:                                             ; preds = %1024
  %1040 = load ptr, ptr %81, align 8, !tbaa !5
  %1041 = getelementptr inbounds %"struct.MIR::Terminator::Data_SwitchValue", ptr %1040, i32 0, i32 1
  %1042 = load i32, ptr %1041, align 8, !tbaa !35
  %1043 = zext i32 %1042 to i64
  %1044 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %1043) #8
  %1045 = load i32, ptr %1044, align 4, !tbaa !9
  %1046 = load ptr, ptr %81, align 8, !tbaa !5
  %1047 = getelementptr inbounds %"struct.MIR::Terminator::Data_SwitchValue", ptr %1046, i32 0, i32 1
  store i32 %1045, ptr %1047, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #8
  br label %1074

1048:                                             ; preds = %884
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #8
  %1049 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1050 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1049, i32 0, i32 1
  %1051 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168) %1050)
          to label %1052 unwind label %1070

1052:                                             ; preds = %1048
  store ptr %1051, ptr %86, align 8, !tbaa !5
  %1053 = load ptr, ptr %86, align 8, !tbaa !5
  %1054 = load ptr, ptr %86, align 8, !tbaa !5
  %1055 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %1054, i32 0, i32 0
  %1056 = load i32, ptr %1055, align 8, !tbaa !43
  %1057 = zext i32 %1056 to i64
  %1058 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %1057) #8
  %1059 = load i32, ptr %1058, align 4, !tbaa !9
  %1060 = load ptr, ptr %86, align 8, !tbaa !5
  %1061 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %1060, i32 0, i32 0
  store i32 %1059, ptr %1061, align 8, !tbaa !43
  %1062 = load ptr, ptr %86, align 8, !tbaa !5
  %1063 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %1062, i32 0, i32 1
  %1064 = load i32, ptr %1063, align 4, !tbaa !51
  %1065 = zext i32 %1064 to i64
  %1066 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %1065) #8
  %1067 = load i32, ptr %1066, align 4, !tbaa !9
  %1068 = load ptr, ptr %86, align 8, !tbaa !5
  %1069 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %1068, i32 0, i32 1
  store i32 %1067, ptr %1069, align 4, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #8
  br label %1074

1070:                                             ; preds = %1048
  %1071 = landingpad { ptr, i32 }
          cleanup
  %1072 = extractvalue { ptr, i32 } %1071, 0
  store ptr %1072, ptr %7, align 8
  %1073 = extractvalue { ptr, i32 } %1071, 1
  store i32 %1073, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #8
  br label %1127

1074:                                             ; preds = %1052, %1039, %1007, %954, %944, %928, %918, %908, %898, %884
  %1075 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1076 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1075, i32 0, i32 0
  %1077 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1076) #8
  %1078 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %46) #8
  %1079 = icmp eq i64 %1077, %1078
  br i1 %1079, label %1080, label %1081

1080:                                             ; preds = %1074
  br label %1083

1081:                                             ; preds = %1074
  call void @__assert_fail(ptr noundef @.str.163, ptr noundef @.str.8, i32 noundef 6348, ptr noundef @__PRETTY_FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE) #9
  unreachable

1082:                                             ; No predecessors!
  br label %1083

1083:                                             ; preds = %1082, %1080
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #8
  %1084 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1085 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1084, i32 0, i32 0
  %1086 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1085) #8
  %1087 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %88, i32 0, i32 0
  store ptr %1086, ptr %1087, align 8
  %1088 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1089 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1088, i32 0, i32 0
  %1090 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1089) #8
  %1091 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %89, i32 0, i32 0
  store ptr %1090, ptr %1091, align 8
  %1092 = getelementptr inbounds %class.anon.644, ptr %90, i32 0, i32 0
  store ptr %41, ptr %1092, align 8, !tbaa !5
  %1093 = getelementptr inbounds %class.anon.644, ptr %90, i32 0, i32 1
  store ptr %46, ptr %1093, align 8, !tbaa !5
  %1094 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %88, i32 0, i32 0
  %1095 = load ptr, ptr %1094, align 8
  %1096 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %89, i32 0, i32 0
  %1097 = load ptr, ptr %1096, align 8
  %1098 = getelementptr inbounds { ptr, ptr }, ptr %90, i32 0, i32 0
  %1099 = load ptr, ptr %1098, align 8
  %1100 = getelementptr inbounds { ptr, ptr }, ptr %90, i32 0, i32 1
  %1101 = load ptr, ptr %1100, align 8
  %1102 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_3ET_SE_SE_T0_"(ptr %1095, ptr %1097, ptr %1099, ptr %1101)
          to label %1103 unwind label %1118

1103:                                             ; preds = %1083
  %1104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %87, i32 0, i32 0
  store ptr %1102, ptr %1104, align 8
  %1105 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1106 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1105, i32 0, i32 0
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 8 dereferenceable(8) %87) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #8
  %1107 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %1108 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %1107, i32 0, i32 0
  %1109 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1108) #8
  %1110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %93, i32 0, i32 0
  store ptr %1109, ptr %1110, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull align 8 dereferenceable(8) %93) #8
  %1111 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.189", ptr %91, i32 0, i32 0
  %1112 = load ptr, ptr %1111, align 8
  %1113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.189", ptr %92, i32 0, i32 0
  %1114 = load ptr, ptr %1113, align 8
  %1115 = invoke ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %1106, ptr %1112, ptr %1114)
          to label %1116 unwind label %1122

1116:                                             ; preds = %1103
  %1117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.148", ptr %94, i32 0, i32 0
  store ptr %1115, ptr %1117, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %46) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #8
  br label %1129

1118:                                             ; preds = %1083
  %1119 = landingpad { ptr, i32 }
          cleanup
  %1120 = extractvalue { ptr, i32 } %1119, 0
  store ptr %1120, ptr %7, align 8
  %1121 = extractvalue { ptr, i32 } %1119, 1
  store i32 %1121, ptr %8, align 4
  br label %1126

1122:                                             ; preds = %1103
  %1123 = landingpad { ptr, i32 }
          cleanup
  %1124 = extractvalue { ptr, i32 } %1123, 0
  store ptr %1124, ptr %7, align 8
  %1125 = extractvalue { ptr, i32 } %1123, 1
  store i32 %1125, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #8
  br label %1126

1126:                                             ; preds = %1122, %1118
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #8
  br label %1127

1127:                                             ; preds = %1126, %1070, %1025, %993, %972, %946, %936, %920, %910, %900, %889, %885, %872
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %46) #8
  br label %1128

1128:                                             ; preds = %1127, %434
  call void @llvm.lifetime.end.p0(i64 40, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #8
  br label %1134

1129:                                             ; preds = %1116, %405
  %1130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  br label %1131

1131:                                             ; preds = %1129
  %1132 = load i32, ptr %42, align 4, !tbaa !9
  %1133 = add i32 %1132, 1
  store i32 %1133, ptr %42, align 4, !tbaa !9
  br label %395, !llvm.loop !52

1134:                                             ; preds = %1128, %430
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %1234

1135:                                             ; preds = %400
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #8
  %1136 = load ptr, ptr %4, align 8, !tbaa !5
  %1137 = getelementptr inbounds %"class.MIR::Function", ptr %1136, i32 0, i32 2
  %1138 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1137) #8
  %1139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %96, i32 0, i32 0
  store ptr %1138, ptr %1139, align 8
  %1140 = load ptr, ptr %4, align 8, !tbaa !5
  %1141 = getelementptr inbounds %"class.MIR::Function", ptr %1140, i32 0, i32 2
  %1142 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1141) #8
  %1143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %97, i32 0, i32 0
  store ptr %1142, ptr %1143, align 8
  %1144 = getelementptr inbounds %class.anon.645, ptr %98, i32 0, i32 0
  %1145 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %1145, ptr %1144, align 8, !tbaa !5
  %1146 = getelementptr inbounds %class.anon.645, ptr %98, i32 0, i32 1
  store ptr %11, ptr %1146, align 8, !tbaa !5
  %1147 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %96, i32 0, i32 0
  %1148 = load ptr, ptr %1147, align 8
  %1149 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %97, i32 0, i32 0
  %1150 = load ptr, ptr %1149, align 8
  %1151 = getelementptr inbounds { ptr, ptr }, ptr %98, i32 0, i32 0
  %1152 = load ptr, ptr %1151, align 8
  %1153 = getelementptr inbounds { ptr, ptr }, ptr %98, i32 0, i32 1
  %1154 = load ptr, ptr %1153, align 8
  %1155 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_4ET_SE_SE_T0_"(ptr %1148, ptr %1150, ptr %1152, ptr %1154)
          to label %1156 unwind label %1176

1156:                                             ; preds = %1135
  %1157 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %95, i32 0, i32 0
  store ptr %1155, ptr %1157, align 8
  %1158 = load ptr, ptr %4, align 8, !tbaa !5
  %1159 = getelementptr inbounds %"class.MIR::Function", ptr %1158, i32 0, i32 2
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 8 dereferenceable(8) %95) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #8
  %1160 = load ptr, ptr %4, align 8, !tbaa !5
  %1161 = getelementptr inbounds %"class.MIR::Function", ptr %1160, i32 0, i32 2
  %1162 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1161) #8
  %1163 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %101, i32 0, i32 0
  store ptr %1162, ptr %1163, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull align 8 dereferenceable(8) %101) #8
  %1164 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.214", ptr %99, i32 0, i32 0
  %1165 = load ptr, ptr %1164, align 8
  %1166 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.214", ptr %100, i32 0, i32 0
  %1167 = load ptr, ptr %1166, align 8
  %1168 = invoke ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %1159, ptr %1165, ptr %1167)
          to label %1169 unwind label %1180

1169:                                             ; preds = %1156
  %1170 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %102, i32 0, i32 0
  store ptr %1168, ptr %1170, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %103) #8
  store i32 0, ptr %103, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %104) #8
  store i32 0, ptr %104, align 4, !tbaa !9
  br label %1171

1171:                                             ; preds = %1228, %1169
  %1172 = load i32, ptr %103, align 4, !tbaa !9
  %1173 = load i32, ptr %35, align 4, !tbaa !9
  %1174 = icmp ult i32 %1172, %1173
  br i1 %1174, label %1184, label %1175

1175:                                             ; preds = %1171
  store i32 39, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %104) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %103) #8
  br label %1232

1176:                                             ; preds = %1135
  %1177 = landingpad { ptr, i32 }
          cleanup
  %1178 = extractvalue { ptr, i32 } %1177, 0
  store ptr %1178, ptr %7, align 8
  %1179 = extractvalue { ptr, i32 } %1177, 1
  store i32 %1179, ptr %8, align 4
  br label %1233

1180:                                             ; preds = %1156
  %1181 = landingpad { ptr, i32 }
          cleanup
  %1182 = extractvalue { ptr, i32 } %1181, 0
  store ptr %1182, ptr %7, align 8
  %1183 = extractvalue { ptr, i32 } %1181, 1
  store i32 %1183, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #8
  br label %1233

1184:                                             ; preds = %1171
  call void @llvm.lifetime.start.p0(i64 16, ptr %105) #8
  %1185 = load i32, ptr %103, align 4, !tbaa !9
  %1186 = zext i32 %1185 to i64
  %1187 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %9, i64 noundef %1186)
          to label %1188 unwind label %1216

1188:                                             ; preds = %1184
  %1189 = getelementptr inbounds { ptr, i64 }, ptr %105, i32 0, i32 0
  %1190 = extractvalue { ptr, i64 } %1187, 0
  store ptr %1190, ptr %1189, align 8
  %1191 = getelementptr inbounds { ptr, i64 }, ptr %105, i32 0, i32 1
  %1192 = extractvalue { ptr, i64 } %1187, 1
  store i64 %1192, ptr %1191, align 8
  %1193 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %105) #8
  %1194 = xor i1 %1193, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %105) #8
  br i1 %1194, label %1195, label %1224

1195:                                             ; preds = %1188
  %1196 = load ptr, ptr %4, align 8, !tbaa !5
  %1197 = getelementptr inbounds %"class.MIR::Function", ptr %1196, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %107) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %108) #8
  %1198 = load ptr, ptr %4, align 8, !tbaa !5
  %1199 = getelementptr inbounds %"class.MIR::Function", ptr %1198, i32 0, i32 1
  %1200 = call { ptr, i32 } @_ZNSt6vectorIbSaIbEE5beginEv(ptr noundef nonnull align 8 dereferenceable(40) %1199) #8
  store { ptr, i32 } %1200, ptr %109, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %108, ptr align 8 %109, i64 12, i1 false)
  %1201 = load i32, ptr %104, align 4, !tbaa !9
  %1202 = zext i32 %1201 to i64
  %1203 = invoke { ptr, i32 } @_ZStplRKSt13_Bit_iteratorl(ptr noundef nonnull align 8 dereferenceable(12) %108, i64 noundef %1202)
          to label %1204 unwind label %1220

1204:                                             ; preds = %1195
  store { ptr, i32 } %1203, ptr %110, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %107, ptr align 8 %110, i64 12, i1 false)
  invoke void @_ZNSt19_Bit_const_iteratorC2ERKSt13_Bit_iterator(ptr noundef nonnull align 8 dereferenceable(12) %106, ptr noundef nonnull align 8 dereferenceable(12) %107)
          to label %1205 unwind label %1220

1205:                                             ; preds = %1204
  %1206 = getelementptr inbounds { ptr, i32 }, ptr %106, i32 0, i32 0
  %1207 = load ptr, ptr %1206, align 8
  %1208 = getelementptr inbounds { ptr, i32 }, ptr %106, i32 0, i32 1
  %1209 = load i32, ptr %1208, align 8
  %1210 = invoke { ptr, i32 } @_ZNSt6vectorIbSaIbEE5eraseESt19_Bit_const_iterator(ptr noundef nonnull align 8 dereferenceable(40) %1197, ptr %1207, i32 %1209)
          to label %1211 unwind label %1220

1211:                                             ; preds = %1205
  %1212 = getelementptr inbounds { ptr, i32 }, ptr %111, i32 0, i32 0
  %1213 = extractvalue { ptr, i32 } %1210, 0
  store ptr %1213, ptr %1212, align 8
  %1214 = getelementptr inbounds { ptr, i32 }, ptr %111, i32 0, i32 1
  %1215 = extractvalue { ptr, i32 } %1210, 1
  store i32 %1215, ptr %1214, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %108) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %107) #8
  br label %1227

1216:                                             ; preds = %1184
  %1217 = landingpad { ptr, i32 }
          cleanup
  %1218 = extractvalue { ptr, i32 } %1217, 0
  store ptr %1218, ptr %7, align 8
  %1219 = extractvalue { ptr, i32 } %1217, 1
  store i32 %1219, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %105) #8
  br label %1231

1220:                                             ; preds = %1205, %1204, %1195
  %1221 = landingpad { ptr, i32 }
          cleanup
  %1222 = extractvalue { ptr, i32 } %1221, 0
  store ptr %1222, ptr %7, align 8
  %1223 = extractvalue { ptr, i32 } %1221, 1
  store i32 %1223, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %108) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %107) #8
  br label %1231

1224:                                             ; preds = %1188
  %1225 = load i32, ptr %104, align 4, !tbaa !9
  %1226 = add i32 %1225, 1
  store i32 %1226, ptr %104, align 4, !tbaa !9
  br label %1227

1227:                                             ; preds = %1224, %1211
  br label %1228

1228:                                             ; preds = %1227
  %1229 = load i32, ptr %103, align 4, !tbaa !9
  %1230 = add i32 %1229, 1
  store i32 %1230, ptr %103, align 4, !tbaa !9
  br label %1171, !llvm.loop !53

1231:                                             ; preds = %1220, %1216
  call void @llvm.lifetime.end.p0(i64 4, ptr %104) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %103) #8
  br label %1233

1232:                                             ; preds = %1175
  store i32 1, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #8
  ret i1 false

1233:                                             ; preds = %1231, %1180, %1176
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #8
  br label %1234

1234:                                             ; preds = %1233, %1134
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %1235

1235:                                             ; preds = %1234, %389
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  br label %1236

1236:                                             ; preds = %1235, %313, %301, %282
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br label %1237

1237:                                             ; preds = %1236, %180
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br label %1238

1238:                                             ; preds = %1237, %159
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #8
  br label %1239

1239:                                             ; preds = %1238, %147
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #8
  br label %1240

1240:                                             ; preds = %1239, %143
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #8
  br label %1241

1241:                                             ; preds = %1240, %139
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #8
  br label %1242

1242:                                             ; preds = %1241
  %1243 = load ptr, ptr %7, align 8
  %1244 = load i32, ptr %8, align 4
  %1245 = insertvalue { ptr, i32 } poison, ptr %1243, 0
  %1246 = insertvalue { ptr, i32 } %1245, i32 %1244, 1
  resume { ptr, i32 } %1246

1247:                                             ; preds = %866
  unreachable
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(152)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 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) #6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef) #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZN3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR9StatementESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR10TerminatorESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3MIR6LValue8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIjSaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112visit_blocksERN3MIR11TypeResolveERKNS0_8FunctionESt8functionIFvjRKNS0_10BasicBlockEEE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) #2

declare noundef zeroext i1 @_ZN3MIReqERKNS_9StatementES2_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(152)) #1

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator13as_IncompleteEv(ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator9as_ReturnEv(ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZN3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_3ET_SE_SE_T0_"(ptr, ptr, ptr, ptr) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_4ET_SE_SE_T0_"(ptr, ptr, ptr, ptr) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i32 } @_ZNSt6vectorIbSaIbEE5eraseESt19_Bit_const_iterator(ptr noundef nonnull align 8 dereferenceable(40), ptr, i32) #2 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !10, i64 40}
!18 = !{!"_ZTSN3MIR9Statement9Data_DropE", !19, i64 0, !20, i64 8, !10, i64 40}
!19 = !{!"_ZTSN3MIR9eDropKindE", !7, i64 0}
!20 = !{!"_ZTSN3MIR6LValueE", !21, i64 0, !22, i64 8}
!21 = !{!"_ZTSN3MIR6LValue7StorageE", !16, i64 0}
!22 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!27, !10, i64 0}
!27 = !{!"_ZTSN3MIR9Statement16Data_SetDropFlagE", !10, i64 0, !28, i64 4, !10, i64 8}
!28 = !{!"bool", !7, i64 0}
!29 = !{!27, !10, i64 8}
!30 = !{i64 0, i64 8, !5}
!31 = distinct !{!31, !12}
!32 = !{!33, !10, i64 32}
!33 = !{!"_ZTSN3MIR10Terminator7Data_IfE", !20, i64 0, !10, i64 32, !10, i64 36}
!34 = !{!33, !10, i64 36}
!35 = !{!36, !10, i64 32}
!36 = !{!"_ZTSN3MIR10Terminator16Data_SwitchValueE", !20, i64 0, !10, i64 32, !37, i64 40, !41, i64 64}
!37 = !{!"_ZTSSt6vectorIjSaIjEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSN3MIR12SwitchValuesE", !42, i64 0, !7, i64 8}
!42 = !{!"_ZTSN3MIR12SwitchValues3TagE", !7, i64 0}
!43 = !{!44, !10, i64 0}
!44 = !{!"_ZTSN3MIR10Terminator9Data_CallE", !10, i64 0, !10, i64 4, !20, i64 8, !45, i64 40, !47, i64 136}
!45 = !{!"_ZTSN3MIR10CallTargetE", !46, i64 0, !7, i64 8}
!46 = !{!"_ZTSN3MIR10CallTarget3TagE", !7, i64 0}
!47 = !{!"_ZTSSt6vectorIN3MIR5ParamESaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIN3MIR5ParamESaIS1_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!44, !10, i64 4}
!52 = distinct !{!52, !12}
!53 = distinct !{!53, !12}


; 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::vector.25" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.190" = type { i8 }
%"class.std::function.607" = 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.640 = type { ptr, ptr, ptr }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = 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 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.213" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.641" = type { ptr }
%struct.FmtLambda = type { %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%class.anon.642 = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.643 = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.148" = type { ptr }
%"class.MIR::Statement" = type { i32, %"union.MIR::Statement::DataUnion" }
%"union.MIR::Statement::DataUnion" = type { %"struct.MIR::Statement::Data_Assign" }
%"struct.MIR::Statement::Data_Assign" = type { %"struct.MIR::LValue", %"class.MIR::RValue" }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector.106" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::RValue" = type { i32, %"union.MIR::RValue::DataUnion" }
%"union.MIR::RValue::DataUnion" = type { %"struct.MIR::RValue::Data_BinOp" }
%"struct.MIR::RValue::Data_BinOp" = type { %"class.MIR::Param", i32, %"class.MIR::Param" }
%"class.MIR::Param" = type { i32, %"union.MIR::Param::DataUnion" }
%"union.MIR::Param::DataUnion" = type { %"struct.MIR::Param::Data_Borrow" }
%"struct.MIR::Param::Data_Borrow" = type { i32, %"struct.MIR::LValue" }
%"class.std::function.267" = type { %"class.std::_Function_base", ptr }
%"class.__gnu_cxx::__normal_iterator.147" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.188" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.189" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.214" = type { ptr }
%"struct.std::_Bit_const_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [39 x i8], align 1
@__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE = external hidden unnamed_addr constant [28 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE = external hidden unnamed_addr constant [74 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [53 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(96) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.25", align 8
  %4 = alloca %"class.std::allocator.190", align 1
  %5 = alloca %"class.std::vector.25", align 8
  %6 = alloca %"class.std::allocator.190", align 1
  %7 = alloca %"class.std::vector.25", align 8
  %8 = alloca %"class.std::allocator.190", align 1
  %9 = alloca %"class.std::function.607", align 8
  %10 = alloca %class.anon.640, align 8
  %11 = alloca %"class.std::vector.111", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::_Bit_reference", align 8
  %14 = alloca %"class.std::vector.111", align 8
  %15 = alloca %"struct.std::_Bit_reference", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.213", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.641", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.641", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca %struct.FmtLambda, align 8
  %22 = alloca %"class.std::function", align 8
  %23 = alloca %class.anon.642, align 8
  %24 = alloca %"class.std::vector.111", align 8
  %25 = alloca %"struct.std::_Bit_reference", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"struct.std::_Bit_reference", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"struct.std::_Bit_reference", align 8
  %30 = alloca %class.anon.643, align 8
  %31 = alloca %"class.std::vector.25", align 8
  %32 = alloca %"class.std::allocator.190", align 1
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %35 = alloca %"class.MIR::Statement", align 8
  %36 = alloca %"struct.std::_Bit_reference", align 8
  %37 = alloca %"struct.std::_Bit_reference", align 8
  %38 = alloca %"struct.std::_Bit_reference", align 8
  %39 = alloca %"struct.std::_Bit_reference", align 8
  %40 = alloca %"class.std::function.267", align 8
  %41 = alloca %"struct.std::_Bit_reference", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %45 = alloca %"struct.std::_Bit_reference", align 8
  %46 = alloca %"class.std::function.267", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.147", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.189", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator.189", align 8
  %54 = alloca %"class.__gnu_cxx::__normal_iterator.148", align 8
  %55 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.214", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator.214", align 8
  %58 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %59 = alloca %"struct.std::_Bit_reference", align 8
  %60 = alloca %"struct.std::_Bit_const_iterator", align 8
  %61 = alloca %"struct.std::_Bit_iterator", align 8
  %62 = alloca %"struct.std::_Bit_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #7
  %63 = tail call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %63, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %64 unwind label %81

64:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #7
  %65 = getelementptr inbounds i8, ptr %1, i64 24
  %66 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %65) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %66, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %67 unwind label %83

67:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #7
  %68 = getelementptr inbounds i8, ptr %1, i64 64
  %69 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %70 unwind label %85

70:                                               ; preds = %67
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  store ptr %7, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %3, ptr %71, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %5, ptr %72, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvjRKN3MIR10BasicBlockEEEC2IZ27MIR_Optimise_GarbageCollectRNS0_11TypeResolveERNS0_8FunctionEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %73 unwind label %87

73:                                               ; preds = %70
  invoke void @_ZN12_GLOBAL__N_112visit_blocksERN3MIR11TypeResolveERKNS0_8FunctionESt8functionIFvjRKNS0_10BasicBlockEEE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull %9)
          to label %74 unwind label %89

74:                                               ; preds = %73
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %75 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  %.not291 = icmp eq i64 %75, 0
  br i1 %.not291, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %74
  %76 = getelementptr inbounds i8, ptr %13, i64 8
  br label %92

._crit_edge:                                      ; preds = %99, %74
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %77 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %78 = and i64 %77, 4294967295
  %.not292 = icmp eq i64 %78, 0
  br i1 %.not292, label %._crit_edge264, label %.lr.ph263

.lr.ph263:                                        ; preds = %._crit_edge
  %79 = getelementptr inbounds i8, ptr %15, i64 8
  %80 = getelementptr inbounds i8, ptr %20, i64 8
  %wide.trip.count = and i64 %77, 4294967295
  br label %108

81:                                               ; preds = %2
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %668

83:                                               ; preds = %64
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %667

85:                                               ; preds = %67
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %666

87:                                               ; preds = %70
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %91

89:                                               ; preds = %73
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %91

91:                                               ; preds = %89, %87
  %.pn = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %665

92:                                               ; preds = %.lr.ph, %99
  %93 = phi i64 [ 0, %.lr.ph ], [ %102, %99 ]
  %.0183259 = phi i32 [ 0, %.lr.ph ], [ %101, %99 ]
  %.0184258 = phi i32 [ 0, %.lr.ph ], [ %spec.select, %99 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %94 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %93)
          to label %95 unwind label %105

95:                                               ; preds = %92
  %96 = extractvalue { ptr, i64 } %94, 0
  store ptr %96, ptr %13, align 8
  %97 = extractvalue { ptr, i64 } %94, 1
  store i64 %97, ptr %76, align 8
  %98 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  %spec.select252 = select i1 %98, i32 %.0184258, i32 -1
  store i32 %spec.select252, ptr %12, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %99 unwind label %105

99:                                               ; preds = %95
  %100 = zext i1 %98 to i32
  %spec.select = add i32 %.0184258, %100
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  %101 = add i32 %.0183259, 1
  %102 = zext i32 %101 to i64
  %103 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  %104 = icmp ugt i64 %103, %102
  br i1 %104, label %92, label %._crit_edge, !llvm.loop !11

105:                                              ; preds = %95, %92
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  br label %664

._crit_edge264:                                   ; preds = %152, %._crit_edge
  %107 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %156 unwind label %170

108:                                              ; preds = %.lr.ph263, %152
  %indvars.iv = phi i64 [ 0, %.lr.ph263 ], [ %indvars.iv.next, %152 ]
  %.0187260 = phi i32 [ 0, %.lr.ph263 ], [ %spec.select253, %152 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  %109 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %indvars.iv)
          to label %110 unwind label %121

110:                                              ; preds = %108
  %111 = extractvalue { ptr, i64 } %109, 0
  store ptr %111, ptr %15, align 8
  %112 = extractvalue { ptr, i64 } %109, 1
  store i64 %112, ptr %79, align 8
  %113 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br i1 %113, label %125, label %114

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %115 = call ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %115, ptr %18, align 8
  %116 = zext i32 %.0187260 to i64
  %117 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %18, i64 noundef %116) #7
  store ptr %117, ptr %17, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR7TypeRefESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %118 = load ptr, ptr %16, align 8
  %119 = invoke ptr @_ZNSt6vectorIN3HIR7TypeRefESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %118)
          to label %120 unwind label %123

120:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %146

121:                                              ; preds = %108
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br label %663

123:                                              ; preds = %114
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %663

125:                                              ; preds = %110
  %126 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %127 unwind label %144

127:                                              ; preds = %125
  br i1 %126, label %128, label %146

128:                                              ; preds = %127
  %129 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %129, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %131 unwind label %144

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @.str.22)
          to label %133 unwind label %144

133:                                              ; preds = %131
  %134 = trunc nuw i64 %indvars.iv to i32
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %132, i32 noundef %134)
          to label %136 unwind label %144

136:                                              ; preds = %133
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull @.str.153)
          to label %138 unwind label %144

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %137, i32 noundef %.0187260)
          to label %140 unwind label %144

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %142 unwind label %144

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %146 unwind label %144

144:                                              ; preds = %142, %140, %138, %136, %133, %131, %128, %125
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %663

146:                                              ; preds = %127, %142, %120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  %147 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %indvars.iv)
          to label %148 unwind label %154

148:                                              ; preds = %146
  %149 = extractvalue { ptr, i64 } %147, 0
  store ptr %149, ptr %20, align 8
  %150 = extractvalue { ptr, i64 } %147, 1
  store i64 %150, ptr %80, align 8
  %151 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  %spec.select254 = select i1 %151, i32 %.0187260, i32 -1
  store i32 %spec.select254, ptr %19, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %152 unwind label %154

152:                                              ; preds = %148
  %153 = zext i1 %151 to i32
  %spec.select253 = add i32 %.0187260, %153
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge264, label %108, !llvm.loop !13

154:                                              ; preds = %148, %146
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  br label %663

156:                                              ; preds = %._crit_edge264
  br i1 %107, label %157, label %177

157:                                              ; preds = %156
  %158 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %158, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %160 unwind label %170

160:                                              ; preds = %157
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @.str.154)
          to label %162 unwind label %170

162:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  store ptr %3, ptr %23, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS4_8FunctionEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  invoke void @_ZN9FmtLambdaC2ESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull %22)
          to label %163 unwind label %172

163:                                              ; preds = %162
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK9FmtLambda(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %165 unwind label %174

165:                                              ; preds = %163
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %167 unwind label %174

167:                                              ; preds = %165
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %169 unwind label %174

169:                                              ; preds = %167
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %177

170:                                              ; preds = %160, %157, %._crit_edge264
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %663

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

174:                                              ; preds = %167, %165, %163
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9FmtLambdaD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %176

176:                                              ; preds = %174, %172
  %.pn212 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %663

177:                                              ; preds = %169, %156
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %178 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %65) #7
  %179 = and i64 %178, 4294967295
  %.not293 = icmp eq i64 %179, 0
  br i1 %.not293, label %._crit_edge269, label %.lr.ph268

.lr.ph268:                                        ; preds = %177
  %180 = getelementptr inbounds i8, ptr %25, i64 8
  %181 = getelementptr inbounds i8, ptr %27, i64 8
  %wide.trip.count300 = and i64 %178, 4294967295
  br label %192

._crit_edge269:                                   ; preds = %223, %177
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %182 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  store ptr %182, ptr %28, align 8
  %183 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  %.not294 = icmp eq i64 %183, 0
  br i1 %.not294, label %._crit_edge285, label %.lr.ph284

.lr.ph284:                                        ; preds = %._crit_edge269
  %184 = getelementptr inbounds i8, ptr %29, i64 8
  %185 = getelementptr inbounds i8, ptr %30, i64 8
  %186 = getelementptr inbounds i8, ptr %37, i64 8
  %187 = getelementptr inbounds i8, ptr %38, i64 8
  %188 = getelementptr inbounds i8, ptr %39, i64 8
  %189 = getelementptr inbounds i8, ptr %41, i64 8
  %190 = getelementptr inbounds i8, ptr %45, i64 8
  %191 = getelementptr inbounds i8, ptr %36, i64 8
  br label %230

192:                                              ; preds = %.lr.ph268, %223
  %indvars.iv297 = phi i64 [ 0, %.lr.ph268 ], [ %indvars.iv.next298, %223 ]
  %.0193265 = phi i32 [ 0, %.lr.ph268 ], [ %spec.select255, %223 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  %193 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %indvars.iv297)
          to label %194 unwind label %213

194:                                              ; preds = %192
  %195 = extractvalue { ptr, i64 } %193, 0
  store ptr %195, ptr %25, align 8
  %196 = extractvalue { ptr, i64 } %193, 1
  store i64 %196, ptr %180, align 8
  %197 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  br i1 %197, label %217, label %198

198:                                              ; preds = %194
  %199 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %200 unwind label %215

200:                                              ; preds = %198
  br i1 %199, label %201, label %217

201:                                              ; preds = %200
  %202 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %202, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %204 unwind label %215

204:                                              ; preds = %201
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %203, ptr noundef nonnull @.str.155)
          to label %206 unwind label %215

206:                                              ; preds = %204
  %207 = trunc nuw i64 %indvars.iv297 to i32
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %205, i32 noundef %207)
          to label %209 unwind label %215

209:                                              ; preds = %206
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %211 unwind label %215

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %217 unwind label %215

213:                                              ; preds = %192
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  br label %662

215:                                              ; preds = %211, %209, %206, %204, %201, %198
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %662

217:                                              ; preds = %200, %211, %194
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #7
  %218 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %indvars.iv297)
          to label %219 unwind label %225

219:                                              ; preds = %217
  %220 = extractvalue { ptr, i64 } %218, 0
  store ptr %220, ptr %27, align 8
  %221 = extractvalue { ptr, i64 } %218, 1
  store i64 %221, ptr %181, align 8
  %222 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %27) #7
  %spec.select256 = select i1 %222, i32 %.0193265, i32 -1
  store i32 %spec.select256, ptr %26, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %223 unwind label %225

223:                                              ; preds = %219
  %224 = zext i1 %222 to i32
  %spec.select255 = add i32 %.0193265, %224
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  %indvars.iv.next298 = add nuw nsw i64 %indvars.iv297, 1
  %exitcond301.not = icmp eq i64 %indvars.iv.next298, %wide.trip.count300
  br i1 %exitcond301.not, label %._crit_edge269, label %192, !llvm.loop !14

225:                                              ; preds = %219, %217
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  br label %662

._crit_edge285:                                   ; preds = %619, %._crit_edge269
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %55) #7
  %227 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  %228 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  %229 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_4ET_SE_SE_T0_"(ptr %227, ptr %228, ptr nonnull %1, ptr nonnull %7)
          to label %625 unwind label %633

230:                                              ; preds = %.lr.ph284, %619
  %231 = phi i64 [ 0, %.lr.ph284 ], [ %622, %619 ]
  %.0195282 = phi i32 [ 0, %.lr.ph284 ], [ %621, %619 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #7
  %232 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %231)
          to label %233 unwind label %248

233:                                              ; preds = %230
  %234 = extractvalue { ptr, i64 } %232, 0
  store ptr %234, ptr %29, align 8
  %235 = extractvalue { ptr, i64 } %232, 1
  store i64 %235, ptr %184, align 8
  %236 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br i1 %236, label %237, label %619

237:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #7
  store ptr %14, ptr %30, align 8, !tbaa !5
  store ptr %0, ptr %185, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %31) #7
  %238 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %239 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %238) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %239, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %240 unwind label %250

240:                                              ; preds = %237
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  %241 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  %242 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %241) #7
  store ptr %242, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  %243 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %241) #7
  store ptr %243, ptr %34, align 8
  %244 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %244, label %.lr.ph274, label %._crit_edge275

._crit_edge275:                                   ; preds = %.critedge, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %.0195282)
  %245 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %246 = getelementptr inbounds i8, ptr %245, i64 24
  call void @"_ZNSt8functionIFbRN3MIR6LValueEN12_GLOBAL__N_18ValUsageEEEC2IRZ27MIR_Optimise_GarbageCollectRNS0_11TypeResolveERNS0_8FunctionEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  %247 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR10TerminatorESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(168) %246, ptr noundef nonnull %46)
          to label %499 unwind label %503

248:                                              ; preds = %230
  %249 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br label %661

250:                                              ; preds = %237
  %251 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #7
  br label %618

.lr.ph274:                                        ; preds = %240, %.critedge
  %252 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %253 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %254 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #7
  %255 = ptrtoint ptr %252 to i64
  %256 = ptrtoint ptr %254 to i64
  %257 = sub i64 %255, %256
  %258 = sdiv exact i64 %257, 152
  %259 = trunc i64 %258 to i32
  call void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %.0195282, i32 noundef %259)
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %35) #7
  invoke void @_ZN3MIR9StatementC2Ev(ptr noundef nonnull align 8 dereferenceable(152) %35)
          to label %260 unwind label %283

260:                                              ; preds = %.lr.ph274
  %261 = invoke noundef zeroext i1 @_ZN3MIReqERKNS_9StatementES2_(ptr noundef nonnull align 8 dereferenceable(152) %252, ptr noundef nonnull align 8 dereferenceable(152) %35)
          to label %262 unwind label %285

262:                                              ; preds = %260
  call void @_ZN3MIR9StatementD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %35) #7
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %35) #7
  br i1 %261, label %263, label %296

263:                                              ; preds = %262
  %264 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %265 unwind label %281

265:                                              ; preds = %263
  br i1 %264, label %266, label %288

266:                                              ; preds = %265
  %267 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %267, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %269 unwind label %281

269:                                              ; preds = %266
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %271 unwind label %281

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef nonnull @.str.156)
          to label %273 unwind label %281

273:                                              ; preds = %271
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef nonnull align 8 dereferenceable(152) %252)
          to label %275 unwind label %281

275:                                              ; preds = %273
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef nonnull @.str.157)
          to label %277 unwind label %281

277:                                              ; preds = %275
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %276, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %279 unwind label %281

279:                                              ; preds = %277
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %278, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %288 unwind label %281

281:                                              ; preds = %279, %277, %275, %273, %271, %269, %266, %263
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %498

283:                                              ; preds = %.lr.ph274
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %287

285:                                              ; preds = %260
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR9StatementD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %35) #7
  br label %287

287:                                              ; preds = %285, %283
  %.pn219 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %35) #7
  br label %498

288:                                              ; preds = %279, %265
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #7
  %289 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %258)
          to label %290 unwind label %294

290:                                              ; preds = %288
  %291 = extractvalue { ptr, i64 } %289, 0
  store ptr %291, ptr %36, align 8
  %292 = extractvalue { ptr, i64 } %289, 1
  store i64 %292, ptr %191, align 8
  %293 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %36, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  br label %.critedge

294:                                              ; preds = %288
  %295 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #7
  br label %498

296:                                              ; preds = %262
  %297 = call noundef ptr @_ZN3MIR9Statement8opt_DropEv(ptr noundef nonnull align 8 dereferenceable(152) %252)
  %.not = icmp eq ptr %297, null
  br i1 %.not, label %398, label %298

298:                                              ; preds = %296
  %299 = getelementptr inbounds i8, ptr %297, i64 40
  %300 = load i32, ptr %299, align 8, !tbaa !15
  %.not221 = icmp eq i32 %300, -1
  br i1 %.not221, label %363, label %301

301:                                              ; preds = %298
  %302 = zext i32 %300 to i64
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %302) #7
  %304 = load i32, ptr %303, align 4, !tbaa !9
  %305 = icmp eq i32 %304, -1
  br i1 %305, label %306, label %363

306:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #7
  %307 = load i32, ptr %299, align 8, !tbaa !15
  %308 = zext i32 %307 to i64
  %309 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %65, i64 noundef %308)
          to label %310 unwind label %334

310:                                              ; preds = %306
  %311 = extractvalue { ptr, i64 } %309, 0
  store ptr %311, ptr %37, align 8
  %312 = extractvalue { ptr, i64 } %309, 1
  store i64 %312, ptr %186, align 8
  %313 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  br i1 %313, label %314, label %337

314:                                              ; preds = %310
  %315 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %316 unwind label %332

316:                                              ; preds = %314
  br i1 %315, label %317, label %336

317:                                              ; preds = %316
  %318 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %318, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %320 unwind label %332

320:                                              ; preds = %317
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %319, ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %322 unwind label %332

322:                                              ; preds = %320
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %321, ptr noundef nonnull @.str.158)
          to label %324 unwind label %332

324:                                              ; preds = %322
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef nonnull align 8 dereferenceable(152) %252)
          to label %326 unwind label %332

326:                                              ; preds = %324
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %325, ptr noundef nonnull @.str.159)
          to label %328 unwind label %332

328:                                              ; preds = %326
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %327, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %330 unwind label %332

330:                                              ; preds = %328
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %336 unwind label %332

332:                                              ; preds = %388, %386, %384, %382, %380, %378, %375, %372, %353, %351, %349, %347, %345, %343, %340, %337, %330, %328, %326, %324, %322, %320, %317, %314
  %333 = landingpad { ptr, i32 }
          cleanup
  br label %498

334:                                              ; preds = %306
  %335 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #7
  br label %498

336:                                              ; preds = %330, %316
  store i32 -1, ptr %299, align 8, !tbaa !15
  br label %363

337:                                              ; preds = %310
  %338 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %339 unwind label %332

339:                                              ; preds = %337
  br i1 %338, label %340, label %355

340:                                              ; preds = %339
  %341 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %341, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %343 unwind label %332

343:                                              ; preds = %340
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %342, ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %345 unwind label %332

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef nonnull @.str.156)
          to label %347 unwind label %332

347:                                              ; preds = %345
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %346, ptr noundef nonnull align 8 dereferenceable(152) %252)
          to label %349 unwind label %332

349:                                              ; preds = %347
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %348, ptr noundef nonnull @.str.160)
          to label %351 unwind label %332

351:                                              ; preds = %349
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %350, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %353 unwind label %332

353:                                              ; preds = %351
  %354 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %352, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %355 unwind label %332

355:                                              ; preds = %353, %339
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #7
  %356 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %258)
          to label %357 unwind label %361

357:                                              ; preds = %355
  %358 = extractvalue { ptr, i64 } %356, 0
  store ptr %358, ptr %38, align 8
  %359 = extractvalue { ptr, i64 } %356, 1
  store i64 %359, ptr %187, align 8
  %360 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %38, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #7
  br label %.critedge

361:                                              ; preds = %355
  %362 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #7
  br label %498

363:                                              ; preds = %336, %301, %298
  %364 = getelementptr inbounds i8, ptr %297, i64 8
  %365 = call noundef zeroext i1 @_ZNK3MIR6LValue8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(32) %364)
  br i1 %365, label %366, label %398

366:                                              ; preds = %363
  %367 = call noundef i32 @_ZNK3MIR6LValue8as_LocalEv(ptr noundef nonnull align 8 dereferenceable(32) %364)
  %368 = zext i32 %367 to i64
  %369 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %368) #7
  %370 = load i32, ptr %369, align 4, !tbaa !9
  %371 = icmp eq i32 %370, -1
  br i1 %371, label %372, label %398

372:                                              ; preds = %366
  %373 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %374 unwind label %332

374:                                              ; preds = %372
  br i1 %373, label %375, label %390

375:                                              ; preds = %374
  %376 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %377 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %376, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %378 unwind label %332

378:                                              ; preds = %375
  %379 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %377, ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %380 unwind label %332

380:                                              ; preds = %378
  %381 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %379, ptr noundef nonnull @.str.156)
          to label %382 unwind label %332

382:                                              ; preds = %380
  %383 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8) %381, ptr noundef nonnull align 8 dereferenceable(152) %252)
          to label %384 unwind label %332

384:                                              ; preds = %382
  %385 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %383, ptr noundef nonnull @.str.161)
          to label %386 unwind label %332

386:                                              ; preds = %384
  %387 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %385, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %388 unwind label %332

388:                                              ; preds = %386
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %387, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %390 unwind label %332

390:                                              ; preds = %388, %374
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #7
  %391 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %258)
          to label %392 unwind label %396

392:                                              ; preds = %390
  %393 = extractvalue { ptr, i64 } %391, 0
  store ptr %393, ptr %39, align 8
  %394 = extractvalue { ptr, i64 } %391, 1
  store i64 %394, ptr %188, align 8
  %395 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %39, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  br label %.critedge

396:                                              ; preds = %390
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #7
  br label %498

398:                                              ; preds = %363, %366, %296
  call void @"_ZNSt8functionIFbRN3MIR6LValueEN12_GLOBAL__N_18ValUsageEEEC2IRZ27MIR_Optimise_GarbageCollectRNS0_11TypeResolveERNS0_8FunctionEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  %399 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR9StatementESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(152) %252, ptr noundef nonnull %40)
          to label %400 unwind label %409

400:                                              ; preds = %398
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  %401 = call noundef ptr @_ZN3MIR9Statement8opt_DropEv(ptr noundef nonnull align 8 dereferenceable(152) %252)
  %.not224 = icmp eq ptr %401, null
  br i1 %.not224, label %411, label %402

402:                                              ; preds = %400
  %403 = getelementptr inbounds i8, ptr %401, i64 40
  %404 = load i32, ptr %403, align 8, !tbaa !15
  %.not233 = icmp eq i32 %404, -1
  br i1 %.not233, label %.critedge, label %405

405:                                              ; preds = %402
  %406 = zext i32 %404 to i64
  %407 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %406) #7
  %408 = load i32, ptr %407, align 4, !tbaa !9
  store i32 %408, ptr %403, align 8, !tbaa !15
  br label %.critedge

409:                                              ; preds = %398
  %410 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  br label %498

411:                                              ; preds = %400
  %412 = call noundef ptr @_ZN3MIR9Statement15opt_SetDropFlagEv(ptr noundef nonnull align 8 dereferenceable(152) %252)
  %.not225 = icmp eq ptr %412, null
  br i1 %.not225, label %438, label %413

413:                                              ; preds = %411
  %414 = load i32, ptr %412, align 4, !tbaa !25
  %415 = zext i32 %414 to i64
  %416 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %415) #7
  %417 = load i32, ptr %416, align 4, !tbaa !9
  %418 = icmp eq i32 %417, -1
  br i1 %418, label %419, label %427

419:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #7
  %420 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %258)
          to label %421 unwind label %425

421:                                              ; preds = %419
  %422 = extractvalue { ptr, i64 } %420, 0
  store ptr %422, ptr %41, align 8
  %423 = extractvalue { ptr, i64 } %420, 1
  store i64 %423, ptr %189, align 8
  %424 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %41, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #7
  br label %.critedge

425:                                              ; preds = %419
  %426 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #7
  br label %498

427:                                              ; preds = %413
  %428 = load i32, ptr %412, align 4, !tbaa !25
  %429 = zext i32 %428 to i64
  %430 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %429) #7
  %431 = load i32, ptr %430, align 4, !tbaa !9
  store i32 %431, ptr %412, align 4, !tbaa !25
  %432 = getelementptr inbounds i8, ptr %412, i64 8
  %433 = load i32, ptr %432, align 4, !tbaa !28
  %.not230 = icmp eq i32 %433, -1
  br i1 %.not230, label %.critedge, label %434

434:                                              ; preds = %427
  %435 = zext i32 %433 to i64
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %435) #7
  %437 = load i32, ptr %436, align 4, !tbaa !9
  store i32 %437, ptr %432, align 4, !tbaa !28
  br label %.critedge

438:                                              ; preds = %411
  %439 = call noundef ptr @_ZN3MIR9Statement12opt_ScopeEndEv(ptr noundef nonnull align 8 dereferenceable(152) %252)
  %.not226 = icmp eq ptr %439, null
  br i1 %.not226, label %.critedge, label %440

440:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #7
  %441 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %439) #7
  store ptr %441, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  %442 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %439) #7
  store ptr %442, ptr %43, align 8
  %443 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  br i1 %443, label %.lr.ph271, label %._crit_edge272

._crit_edge272:                                   ; preds = %471, %440
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  %444 = call noundef zeroext i1 @_ZNKSt6vectorIjSaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %439) #7
  br i1 %444, label %475, label %.critedge

445:                                              ; preds = %487, %485, %483, %481, %478, %475
  %446 = landingpad { ptr, i32 }
          cleanup
  br label %498

.lr.ph271:                                        ; preds = %440, %471
  %447 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  %448 = load i32, ptr %447, align 4, !tbaa !9
  %449 = zext i32 %448 to i64
  %450 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %449)
          to label %451 unwind label %458

451:                                              ; preds = %.lr.ph271
  %452 = load i32, ptr %450, align 4, !tbaa !9
  %453 = icmp eq i32 %452, -1
  br i1 %453, label %454, label %462

454:                                              ; preds = %451
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEC2IPjvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  %455 = load ptr, ptr %44, align 8
  %456 = invoke ptr @_ZNSt6vectorIjSaIjEE5eraseEN9__gnu_cxx17__normal_iteratorIPKjS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %439, ptr %455)
          to label %457 unwind label %460

457:                                              ; preds = %454
  store ptr %456, ptr %42, align 8, !tbaa !5
  br label %471

458:                                              ; preds = %462, %.lr.ph271
  %459 = landingpad { ptr, i32 }
          cleanup
  br label %474

460:                                              ; preds = %454
  %461 = landingpad { ptr, i32 }
          cleanup
  br label %474

462:                                              ; preds = %451
  %463 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  %464 = load i32, ptr %463, align 4, !tbaa !9
  %465 = zext i32 %464 to i64
  %466 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %465)
          to label %467 unwind label %458

467:                                              ; preds = %462
  %468 = load i32, ptr %466, align 4, !tbaa !9
  %469 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  store i32 %468, ptr %469, align 4, !tbaa !9
  %470 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  br label %471

471:                                              ; preds = %467, %457
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  %472 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %439) #7
  store ptr %472, ptr %43, align 8
  %473 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  br i1 %473, label %.lr.ph271, label %._crit_edge272, !llvm.loop !29

474:                                              ; preds = %460, %458
  %.pn227 = phi { ptr, i32 } [ %461, %460 ], [ %459, %458 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  br label %498

475:                                              ; preds = %._crit_edge272
  %476 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %477 unwind label %445

477:                                              ; preds = %475
  br i1 %476, label %478, label %489

478:                                              ; preds = %477
  %479 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %480 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %479, ptr noundef nonnull @__FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE)
          to label %481 unwind label %445

481:                                              ; preds = %478
  %482 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_11TypeResolveE(ptr noundef nonnull align 8 dereferenceable(8) %480, ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %483 unwind label %445

483:                                              ; preds = %481
  %484 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %482, ptr noundef nonnull @.str.162)
          to label %485 unwind label %445

485:                                              ; preds = %483
  %486 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %484, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %487 unwind label %445

487:                                              ; preds = %485
  %488 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %486, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %489 unwind label %445

489:                                              ; preds = %487, %477
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #7
  %490 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %258)
          to label %.critedge.critedge unwind label %494

.critedge.critedge:                               ; preds = %489
  %491 = extractvalue { ptr, i64 } %490, 0
  store ptr %491, ptr %45, align 8
  %492 = extractvalue { ptr, i64 } %490, 1
  store i64 %492, ptr %190, align 8
  %493 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %45, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  br label %.critedge

494:                                              ; preds = %489
  %495 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #7
  br label %498

.critedge:                                        ; preds = %434, %427, %438, %._crit_edge272, %.critedge.critedge, %421, %392, %357, %402, %405, %290
  %496 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  %497 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3MIR9StatementESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %497, label %.lr.ph274, label %._crit_edge275

498:                                              ; preds = %425, %494, %474, %445, %332, %334, %361, %396, %409, %294, %287, %281
  %.pn234 = phi { ptr, i32 } [ %295, %294 ], [ %282, %281 ], [ %410, %409 ], [ %.pn219, %287 ], [ %397, %396 ], [ %333, %332 ], [ %362, %361 ], [ %335, %334 ], [ %426, %425 ], [ %.pn227, %474 ], [ %495, %494 ], [ %446, %445 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  br label %617

499:                                              ; preds = %._crit_edge275
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  %500 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %501 = getelementptr inbounds i8, ptr %500, i64 24
  %502 = call noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %501)
  switch i32 %502, label %592 [
    i32 0, label %505
    i32 1, label %506
    i32 2, label %510
    i32 3, label %514
    i32 4, label %518
    i32 5, label %526
    i32 6, label %530
    i32 7, label %544
    i32 8, label %559
    i32 9, label %579
  ]

503:                                              ; preds = %._crit_edge275
  %504 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  br label %617

505:                                              ; preds = %499
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.8, i32 noundef 6345, ptr noundef nonnull @__PRETTY_FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE) #8
  unreachable

506:                                              ; preds = %499
  %507 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %508 = getelementptr inbounds i8, ptr %507, i64 24
  %509 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator13as_IncompleteEv(ptr noundef nonnull align 8 dereferenceable(168) %508)
  br label %592

510:                                              ; preds = %499
  %511 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %512 = getelementptr inbounds i8, ptr %511, i64 24
  %513 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator9as_ReturnEv(ptr noundef nonnull align 8 dereferenceable(168) %512)
  br label %592

514:                                              ; preds = %499
  %515 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %516 = getelementptr inbounds i8, ptr %515, i64 24
  %517 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3MIR10Terminator10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(168) %516)
  br label %592

518:                                              ; preds = %499
  %519 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %520 = getelementptr inbounds i8, ptr %519, i64 24
  %521 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3MIR10Terminator7as_GotoEv(ptr noundef nonnull align 8 dereferenceable(168) %520)
  %522 = load i32, ptr %521, align 4, !tbaa !9
  %523 = zext i32 %522 to i64
  %524 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %523) #7
  %525 = load i32, ptr %524, align 4, !tbaa !9
  store i32 %525, ptr %521, align 4, !tbaa !9
  br label %592

526:                                              ; preds = %499
  %527 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %528 = getelementptr inbounds i8, ptr %527, i64 24
  %529 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3MIR10Terminator8as_PanicEv(ptr noundef nonnull align 8 dereferenceable(168) %528)
  br label %592

530:                                              ; preds = %499
  %531 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %532 = getelementptr inbounds i8, ptr %531, i64 24
  %533 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3MIR10Terminator5as_IfEv(ptr noundef nonnull align 8 dereferenceable(168) %532)
  %534 = getelementptr inbounds i8, ptr %533, i64 32
  %535 = load i32, ptr %534, align 8, !tbaa !30
  %536 = zext i32 %535 to i64
  %537 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %536) #7
  %538 = load i32, ptr %537, align 4, !tbaa !9
  store i32 %538, ptr %534, align 8, !tbaa !30
  %539 = getelementptr inbounds i8, ptr %533, i64 36
  %540 = load i32, ptr %539, align 4, !tbaa !32
  %541 = zext i32 %540 to i64
  %542 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %541) #7
  %543 = load i32, ptr %542, align 4, !tbaa !9
  store i32 %543, ptr %539, align 4, !tbaa !32
  br label %592

544:                                              ; preds = %499
  %545 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %546 = getelementptr inbounds i8, ptr %545, i64 24
  %547 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168) %546)
  %548 = getelementptr inbounds i8, ptr %547, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #7
  %549 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %548) #7
  store ptr %549, ptr %47, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #7
  %550 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %548) #7
  store ptr %550, ptr %48, align 8
  %551 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br i1 %551, label %.lr.ph280, label %._crit_edge281

._crit_edge281:                                   ; preds = %.lr.ph280, %544
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #7
  br label %592

.lr.ph280:                                        ; preds = %544, %.lr.ph280
  %552 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  %553 = load i32, ptr %552, align 4, !tbaa !9
  %554 = zext i32 %553 to i64
  %555 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %554) #7
  %556 = load i32, ptr %555, align 4, !tbaa !9
  store i32 %556, ptr %552, align 4, !tbaa !9
  %557 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  %558 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  br i1 %558, label %.lr.ph280, label %._crit_edge281

559:                                              ; preds = %499
  %560 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %561 = getelementptr inbounds i8, ptr %560, i64 24
  %562 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZN3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168) %561)
  %563 = getelementptr inbounds i8, ptr %562, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #7
  %564 = call ptr @_ZNSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %563) #7
  store ptr %564, ptr %49, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #7
  %565 = call ptr @_ZNSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %563) #7
  store ptr %565, ptr %50, align 8
  %566 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  br i1 %566, label %.lr.ph277, label %._crit_edge278

._crit_edge278:                                   ; preds = %.lr.ph277, %559
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #7
  %567 = getelementptr inbounds i8, ptr %562, i64 32
  %568 = load i32, ptr %567, align 8, !tbaa !33
  %569 = zext i32 %568 to i64
  %570 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %569) #7
  %571 = load i32, ptr %570, align 4, !tbaa !9
  store i32 %571, ptr %567, align 8, !tbaa !33
  br label %592

.lr.ph277:                                        ; preds = %559, %.lr.ph277
  %572 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  %573 = load i32, ptr %572, align 4, !tbaa !9
  %574 = zext i32 %573 to i64
  %575 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %574) #7
  %576 = load i32, ptr %575, align 4, !tbaa !9
  store i32 %576, ptr %572, align 4, !tbaa !9
  %577 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  %578 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  br i1 %578, label %.lr.ph277, label %._crit_edge278

579:                                              ; preds = %499
  %580 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %581 = getelementptr inbounds i8, ptr %580, i64 24
  %582 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168) %581)
  %583 = load i32, ptr %582, align 8, !tbaa !41
  %584 = zext i32 %583 to i64
  %585 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %584) #7
  %586 = load i32, ptr %585, align 4, !tbaa !9
  store i32 %586, ptr %582, align 8, !tbaa !41
  %587 = getelementptr inbounds i8, ptr %582, i64 4
  %588 = load i32, ptr %587, align 4, !tbaa !49
  %589 = zext i32 %588 to i64
  %590 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %589) #7
  %591 = load i32, ptr %590, align 4, !tbaa !9
  store i32 %591, ptr %587, align 4, !tbaa !49
  br label %592

592:                                              ; preds = %579, %._crit_edge278, %._crit_edge281, %530, %526, %518, %514, %510, %506, %499
  %593 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %594 = call noundef i64 @_ZNKSt6vectorIN3MIR9StatementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %593) #7
  %595 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %31) #7
  %596 = icmp eq i64 %594, %595
  br i1 %596, label %598, label %597

597:                                              ; preds = %592
  call void @__assert_fail(ptr noundef nonnull @.str.163, ptr noundef nonnull @.str.8, i32 noundef 6348, ptr noundef nonnull @__PRETTY_FUNCTION__._Z27MIR_Optimise_GarbageCollectRN3MIR11TypeResolveERNS_8FunctionE) #8
  unreachable

598:                                              ; preds = %592
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #7
  %599 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %600 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %599) #7
  %601 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %602 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %601) #7
  %603 = invoke ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_3ET_SE_SE_T0_"(ptr %600, ptr %602, ptr nonnull %28, ptr nonnull %31)
          to label %604 unwind label %612

604:                                              ; preds = %598
  store ptr %603, ptr %51, align 8
  %605 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #7
  %606 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %607 = call ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %606) #7
  store ptr %607, ptr %54, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR9StatementESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #7
  %608 = load ptr, ptr %52, align 8
  %609 = load ptr, ptr %53, align 8
  %610 = invoke ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %605, ptr %608, ptr %609)
          to label %611 unwind label %614

611:                                              ; preds = %604
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  br label %619

612:                                              ; preds = %598
  %613 = landingpad { ptr, i32 }
          cleanup
  br label %616

614:                                              ; preds = %604
  %615 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #7
  br label %616

616:                                              ; preds = %614, %612
  %.pn217 = phi { ptr, i32 } [ %615, %614 ], [ %613, %612 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #7
  br label %617

617:                                              ; preds = %616, %503, %498
  %.pn234.pn = phi { ptr, i32 } [ %.pn234, %498 ], [ %.pn217, %616 ], [ %504, %503 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #7
  br label %618

618:                                              ; preds = %617, %250
  %.pn234.pn.pn = phi { ptr, i32 } [ %.pn234.pn, %617 ], [ %251, %250 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  br label %661

619:                                              ; preds = %611, %233
  %620 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %621 = add i32 %.0195282, 1
  %622 = zext i32 %621 to i64
  %623 = call noundef i64 @_ZNKSt6vectorIbSaIbEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  %624 = icmp ugt i64 %623, %622
  br i1 %624, label %230, label %._crit_edge285, !llvm.loop !50

625:                                              ; preds = %._crit_edge285
  store ptr %229, ptr %55, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %55) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %58) #7
  %626 = call ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  store ptr %626, ptr %58, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3MIR10BasicBlockESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(8) %58) #7
  %627 = load ptr, ptr %56, align 8
  %628 = load ptr, ptr %57, align 8
  %629 = invoke ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr %627, ptr %628)
          to label %630 unwind label %635

630:                                              ; preds = %625
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #7
  br i1 %.not293, label %._crit_edge290, label %.lr.ph289

.lr.ph289:                                        ; preds = %630
  %631 = getelementptr inbounds i8, ptr %59, i64 8
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %61, i64 8
  %632 = getelementptr inbounds i8, ptr %60, i64 8
  %wide.trip.count305 = and i64 %178, 4294967295
  br label %637

._crit_edge290:                                   ; preds = %659, %630
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #7
  ret i1 false

633:                                              ; preds = %._crit_edge285
  %634 = landingpad { ptr, i32 }
          cleanup
  br label %660

635:                                              ; preds = %625
  %636 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #7
  br label %660

637:                                              ; preds = %.lr.ph289, %659
  %indvars.iv302 = phi i64 [ 0, %.lr.ph289 ], [ %indvars.iv.next303, %659 ]
  %.0189287 = phi i32 [ 0, %.lr.ph289 ], [ %.1190, %659 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %59) #7
  %638 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %indvars.iv302)
          to label %639 unwind label %653

639:                                              ; preds = %637
  %640 = extractvalue { ptr, i64 } %638, 0
  store ptr %640, ptr %59, align 8
  %641 = extractvalue { ptr, i64 } %638, 1
  store i64 %641, ptr %631, align 8
  %642 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %59) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %59) #7
  br i1 %642, label %657, label %643

643:                                              ; preds = %639
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %61) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %62) #7
  %644 = call { ptr, i32 } @_ZNSt6vectorIbSaIbEE5beginEv(ptr noundef nonnull align 8 dereferenceable(40) %65) #7
  %.fca.0.extract7 = extractvalue { ptr, i32 } %644, 0
  %.fca.1.extract8 = extractvalue { ptr, i32 } %644, 1
  store ptr %.fca.0.extract7, ptr %62, align 8
  store i32 %.fca.1.extract8, ptr %.sroa.210.0..sroa_idx, align 8
  %645 = zext i32 %.0189287 to i64
  %646 = invoke { ptr, i32 } @_ZStplRKSt13_Bit_iteratorl(ptr noundef nonnull align 8 dereferenceable(12) %62, i64 noundef %645)
          to label %647 unwind label %655

647:                                              ; preds = %643
  %.fca.0.extract = extractvalue { ptr, i32 } %646, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %646, 1
  store ptr %.fca.0.extract, ptr %61, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  invoke void @_ZNSt19_Bit_const_iteratorC2ERKSt13_Bit_iterator(ptr noundef nonnull align 8 dereferenceable(12) %60, ptr noundef nonnull align 8 dereferenceable(12) %61)
          to label %648 unwind label %655

648:                                              ; preds = %647
  %649 = load ptr, ptr %60, align 8
  %650 = load i32, ptr %632, align 8
  %651 = invoke { ptr, i32 } @_ZNSt6vectorIbSaIbEE5eraseESt19_Bit_const_iterator(ptr noundef nonnull align 8 dereferenceable(40) %65, ptr %649, i32 %650)
          to label %652 unwind label %655

652:                                              ; preds = %648
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %61) #7
  br label %659

653:                                              ; preds = %637
  %654 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %59) #7
  br label %660

655:                                              ; preds = %648, %647, %643
  %656 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %61) #7
  br label %660

657:                                              ; preds = %639
  %658 = add i32 %.0189287, 1
  br label %659

659:                                              ; preds = %652, %657
  %.1190 = phi i32 [ %.0189287, %652 ], [ %658, %657 ]
  %indvars.iv.next303 = add nuw nsw i64 %indvars.iv302, 1
  %exitcond306.not = icmp eq i64 %indvars.iv.next303, %wide.trip.count305
  br i1 %exitcond306.not, label %._crit_edge290, label %637, !llvm.loop !51

660:                                              ; preds = %653, %655, %635, %633
  %.pn214.pn = phi { ptr, i32 } [ %636, %635 ], [ %634, %633 ], [ %656, %655 ], [ %654, %653 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %55) #7
  br label %661

661:                                              ; preds = %248, %618, %660
  %.pn234.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn214.pn, %660 ], [ %.pn234.pn.pn, %618 ], [ %249, %248 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  br label %662

662:                                              ; preds = %213, %215, %225, %661
  %.pn240.pn = phi { ptr, i32 } [ %.pn234.pn.pn.pn.pn, %661 ], [ %226, %225 ], [ %216, %215 ], [ %214, %213 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  br label %663

663:                                              ; preds = %121, %123, %144, %154, %662, %176, %170
  %.pn243.pn = phi { ptr, i32 } [ %.pn240.pn, %662 ], [ %.pn212, %176 ], [ %171, %170 ], [ %155, %154 ], [ %124, %123 ], [ %145, %144 ], [ %122, %121 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %664

664:                                              ; preds = %663, %105
  %.pn246 = phi { ptr, i32 } [ %106, %105 ], [ %.pn243.pn, %663 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %665

665:                                              ; preds = %664, %91
  %.pn246.pn = phi { ptr, i32 } [ %.pn246, %664 ], [ %.pn, %91 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  br label %666

666:                                              ; preds = %665, %85
  %.pn246.pn.pn = phi { ptr, i32 } [ %.pn246.pn, %665 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  br label %667

667:                                              ; preds = %666, %83
  %.pn246.pn.pn.pn = phi { ptr, i32 } [ %.pn246.pn.pn, %666 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #7
  br label %668

668:                                              ; preds = %667, %81
  %.pn246.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn246.pn.pn.pn, %667 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn246.pn.pn.pn.pn
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_9StatementE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve17set_cur_stmt_termEj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef) local_unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZN3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR9StatementESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_121visit_mir_lvalues_mutERN3MIR10TerminatorESt8functionIFbRNS0_6LValueENS_8ValUsageEEE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3MIR11TypeResolve12set_cur_stmtEjj(ptr noundef nonnull align 8 dereferenceable(120), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3MIR6LValue8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIjSaIjEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZNSt6vectorIN3MIR9StatementESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112visit_blocksERN3MIR11TypeResolveERKNS0_8FunctionESt8functionIFvjRKNS0_10BasicBlockEEE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN3MIReqERKNS_9StatementES2_(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZN3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR9StatementESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_3ET_SE_SE_T0_"(ptr, ptr, ptr, ptr) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3MIR10BasicBlockESt6vectorIS3_SaIS3_EEEEZ27MIR_Optimise_GarbageCollectRNS2_11TypeResolveERNS2_8FunctionEE3$_4ET_SE_SE_T0_"(ptr, ptr, ptr, ptr) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i32 } @_ZStplRKSt13_Bit_iteratorl(ptr noundef nonnull align 8 dereferenceable(12), i64 noundef) local_unnamed_addr #2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !10, i64 40}
!16 = !{!"_ZTSN3MIR9Statement9Data_DropE", !17, i64 0, !18, i64 8, !10, i64 40}
!17 = !{!"_ZTSN3MIR9eDropKindE", !7, i64 0}
!18 = !{!"_ZTSN3MIR6LValueE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSN3MIR6LValue7StorageE", !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTSN3MIR9Statement16Data_SetDropFlagE", !10, i64 0, !27, i64 4, !10, i64 8}
!27 = !{!"bool", !7, i64 0}
!28 = !{!26, !10, i64 8}
!29 = distinct !{!29, !12}
!30 = !{!31, !10, i64 32}
!31 = !{!"_ZTSN3MIR10Terminator7Data_IfE", !18, i64 0, !10, i64 32, !10, i64 36}
!32 = !{!31, !10, i64 36}
!33 = !{!34, !10, i64 32}
!34 = !{!"_ZTSN3MIR10Terminator16Data_SwitchValueE", !18, i64 0, !10, i64 32, !35, i64 40, !39, i64 64}
!35 = !{!"_ZTSSt6vectorIjSaIjEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN3MIR12SwitchValuesE", !40, i64 0, !7, i64 8}
!40 = !{!"_ZTSN3MIR12SwitchValues3TagE", !7, i64 0}
!41 = !{!42, !10, i64 0}
!42 = !{!"_ZTSN3MIR10Terminator9Data_CallE", !10, i64 0, !10, i64 4, !18, i64 8, !43, i64 40, !45, i64 136}
!43 = !{!"_ZTSN3MIR10CallTargetE", !44, i64 0, !7, i64 8}
!44 = !{!"_ZTSN3MIR10CallTarget3TagE", !7, i64 0}
!45 = !{!"_ZTSSt6vectorIN3MIR5ParamESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN3MIR5ParamESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!42, !10, i64 4}
!50 = distinct !{!50, !12}
!51 = distinct !{!51, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass