; LLVM IR from facebook/redex :: libredex/VirtualScope.ll (ZN10virt_scope11select_fromEPKNS_12VirtualScopeEPK7DexType)

; 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.145" = type { %"struct.std::_Vector_base.146" }
%"struct.std::_Vector_base.146" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedMap.150 = type { %"class.std::unordered_map.152" }
%"class.std::unordered_map.152" = type { %"class.std::_Hashtable.153" }
%"class.std::_Hashtable.153" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.166" }
%"struct.std::__detail::_Node_iterator.166" = type { %"struct.std::__detail::_Node_iterator_base.167" }
%"struct.std::__detail::_Node_iterator_base.167" = type { ptr }
%"struct.virt_scope::VirtualScope" = type { ptr, %"class.std::vector.26", %"class.std::set.31" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<std::pair<DexMethod *, virt_scope::VirtualFlags>, std::allocator<std::pair<DexMethod *, virt_scope::VirtualFlags>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<DexMethod *, virt_scope::VirtualFlags>, std::allocator<std::pair<DexMethod *, virt_scope::VirtualFlags>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<DexMethod *, virt_scope::VirtualFlags>, std::allocator<std::pair<DexMethod *, virt_scope::VirtualFlags>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<DexMethod *, virt_scope::VirtualFlags>, std::allocator<std::pair<DexMethod *, virt_scope::VirtualFlags>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set.31" = type { %"class.std::_Rb_tree.32" }
%"class.std::_Rb_tree.32" = type { %"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.37" = type <{ ptr, i16, [6 x i8] }>
%"struct.std::pair.168" = type { ptr, ptr }

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

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

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

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

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

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

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10virt_scope11select_fromEPKNS_12VirtualScopeEPK7DexType(ptr dead_on_unwind noalias writable sret(%"class.std::vector.145") align 8 %0, ptr noundef %1, ptr noundef %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca %class.UnorderedMap.150, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator", align 8
  %21 = alloca %"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator", align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorIPK9DexMethodSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #5
  invoke void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %23 unwind label %35

23:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 0, ptr %11, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.virt_scope::VirtualScope", ptr %24, i32 0, i32 1
  store ptr %25, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %26 = load ptr, ptr %12, align 8, !tbaa !5
  %27 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %28 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %27, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %29 = load ptr, ptr %12, align 8, !tbaa !5
  %30 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  %31 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %30, ptr %31, align 8
  br label %32

32:                                               ; preds = %87, %23
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %33, label %39, label %34

34:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %90

35:                                               ; preds = %3
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %9, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %10, align 4
  br label %163

39:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %40 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  store ptr %40, ptr %15, align 8, !tbaa !5
  %41 = load ptr, ptr %15, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.std::pair.37", ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %43)
          to label %45 unwind label %67

45:                                               ; preds = %39
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = invoke noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef %44, ptr noundef %46)
          to label %48 unwind label %67

48:                                               ; preds = %45
  br i1 %47, label %49, label %71

49:                                               ; preds = %48
  %50 = load i8, ptr %11, align 1, !tbaa !9, !range !14, !noundef !15
  %51 = trunc i8 %50 to i1
  br i1 %51, label %60, label %52

52:                                               ; preds = %49
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.std::pair.37", ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %56)
          to label %58 unwind label %67

58:                                               ; preds = %52
  %59 = icmp eq ptr %53, %57
  br label %60

60:                                               ; preds = %58, %49
  %61 = phi i1 [ true, %49 ], [ %59, %58 ]
  %62 = zext i1 %61 to i8
  store i8 %62, ptr %11, align 1, !tbaa !9
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.std::pair.37", ptr %63, i32 0, i32 0
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPK9DexMethodSaIS2_EE12emplace_backIJRKPS0_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %66 unwind label %67

66:                                               ; preds = %60
  br label %86

67:                                               ; preds = %60, %52, %45, %39
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %9, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %10, align 4
  br label %89

71:                                               ; preds = %48
  %72 = load ptr, ptr %15, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.std::pair.37", ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.std::pair.37", ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !11
  %78 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %77)
          to label %79 unwind label %82

79:                                               ; preds = %71
  store ptr %78, ptr %16, align 8, !tbaa !5
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EEixEOS2_(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %81 unwind label %82

81:                                               ; preds = %79
  store ptr %74, ptr %80, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %86

82:                                               ; preds = %79, %71
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %9, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %89

86:                                               ; preds = %81, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %87

87:                                               ; preds = %86
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %32

89:                                               ; preds = %82, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %162

90:                                               ; preds = %34
  %91 = load i8, ptr %11, align 1, !tbaa !9, !range !14, !noundef !15
  %92 = trunc i8 %91 to i1
  br i1 %92, label %159, label %93

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %94)
          to label %96 unwind label %124

96:                                               ; preds = %93
  store ptr %95, ptr %17, align 8, !tbaa !5
  br label %97

97:                                               ; preds = %150, %96
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %154

100:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %101 = load ptr, ptr %17, align 8, !tbaa !5
  %102 = invoke noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %101)
          to label %103 unwind label %128

103:                                              ; preds = %100
  store ptr %102, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %104 = invoke ptr @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE4findERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %8, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %105 unwind label %132

105:                                              ; preds = %103
  %106 = getelementptr inbounds %"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator", ptr %20, i32 0, i32 0
  %107 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.166", ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.167", ptr %107, i32 0, i32 0
  store ptr %104, ptr %108, align 8
  store ptr %20, ptr %19, align 8, !tbaa !5
  %109 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %110 = invoke ptr @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %8)
          to label %111 unwind label %136

111:                                              ; preds = %105
  %112 = getelementptr inbounds %"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator", ptr %21, i32 0, i32 0
  %113 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.166", ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.167", ptr %113, i32 0, i32 0
  store ptr %110, ptr %114, align 8
  %115 = invoke noundef zeroext i1 @_ZNK12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorneERKSA_(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %116 unwind label %136

116:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br i1 %115, label %117, label %144

117:                                              ; preds = %116
  %118 = load ptr, ptr %19, align 8, !tbaa !5
  %119 = invoke noundef ptr @_ZNK12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %118)
          to label %120 unwind label %140

120:                                              ; preds = %117
  %121 = getelementptr inbounds %"struct.std::pair.168", ptr %119, i32 0, i32 1
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPK9DexMethodSaIS2_EE12emplace_backIJRPS0_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %121)
          to label %123 unwind label %140

123:                                              ; preds = %120
  store i1 true, ptr %7, align 1
  store i32 1, ptr %22, align 4
  br label %148

124:                                              ; preds = %93
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %9, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %10, align 4
  br label %158

128:                                              ; preds = %100
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %9, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %10, align 4
  br label %153

132:                                              ; preds = %103
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %9, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %10, align 4
  br label %152

136:                                              ; preds = %111, %105
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %9, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %151

140:                                              ; preds = %144, %120, %117
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %9, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %10, align 4
  br label %151

144:                                              ; preds = %116
  %145 = load ptr, ptr %18, align 8, !tbaa !5
  %146 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %145)
          to label %147 unwind label %140

147:                                              ; preds = %144
  store ptr %146, ptr %17, align 8, !tbaa !5
  store i32 0, ptr %22, align 4
  br label %148

148:                                              ; preds = %147, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %149 = load i32, ptr %22, align 4
  switch i32 %149, label %155 [
    i32 0, label %150
  ]

150:                                              ; preds = %148
  br label %97, !llvm.loop !16

151:                                              ; preds = %140, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %152

152:                                              ; preds = %151, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %153

153:                                              ; preds = %152, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %158

154:                                              ; preds = %97
  store i32 0, ptr %22, align 4
  br label %155

155:                                              ; preds = %154, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %156 = load i32, ptr %22, align 4
  switch i32 %156, label %160 [
    i32 0, label %157
  ]

157:                                              ; preds = %155
  br label %159

158:                                              ; preds = %153, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %162

159:                                              ; preds = %157, %90
  store i1 true, ptr %7, align 1
  store i32 1, ptr %22, align 4
  br label %160

160:                                              ; preds = %159, %155
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #5
  %161 = load i1, ptr %7, align 1
  br i1 %161, label %165, label %164

162:                                              ; preds = %158, %89
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  br label %163

163:                                              ; preds = %162, %35
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #5
  call void @_ZNSt6vectorIPK9DexMethodSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %166

164:                                              ; preds = %160
  call void @_ZNSt6vectorIPK9DexMethodSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %165

165:                                              ; preds = %164, %160
  ret void

166:                                              ; preds = %163
  %167 = load ptr, ptr %9, align 8
  %168 = load i32, ptr %10, align 4
  %169 = insertvalue { ptr, i32 } poison, ptr %167, 0
  %170 = insertvalue { ptr, i32 } %169, i32 %168, 1
  resume { ptr, i32 } %170
}

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

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

declare noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef, ptr noundef) #3

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!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 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEE", !6, i64 0, !13, i64 8}
!13 = !{!"_ZTSN10virt_scope12VirtualFlagsE", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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

%"class.std::vector.145" = type { %"struct.std::_Vector_base.146" }
%"struct.std::_Vector_base.146" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const DexMethod *, std::allocator<const DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedMap.150 = type { %"class.std::unordered_map.152" }
%"class.std::unordered_map.152" = type { %"class.std::_Hashtable.153" }
%"class.std::_Hashtable.153" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.166" }
%"struct.std::__detail::_Node_iterator.166" = type { %"struct.std::__detail::_Node_iterator_base.167" }
%"struct.std::__detail::_Node_iterator_base.167" = type { ptr }

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

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

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

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

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

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

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10virt_scope11select_fromEPKNS_12VirtualScopeEPK7DexType(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector.145") align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.UnorderedMap.150, align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator", align 8
  %10 = alloca %"class.UnorderedMap<const DexType *, DexMethod *>::FixedIterator", align 8
  tail call void @_ZNSt6vectorIPK9DexMethodSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #5
  call void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4)
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %12 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  store ptr %12, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %13 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  store ptr %13, ptr %6, align 8
  %14 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %14, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %44

._crit_edge:                                      ; preds = %40
  %15 = trunc nuw i8 %.136 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %15, label %.critedge, label %44

.lr.ph:                                           ; preds = %3, %40
  %.03549 = phi i8 [ %.136, %40 ], [ 0, %3 ]
  %16 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %17)
  %19 = invoke noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef %18, ptr noundef %2)
          to label %20 unwind label %31

20:                                               ; preds = %.lr.ph
  br i1 %19, label %21, label %33

21:                                               ; preds = %20
  %22 = trunc nuw i8 %.03549 to i1
  br i1 %22, label %27, label %23

23:                                               ; preds = %21
  %24 = load ptr, ptr %16, align 8, !tbaa !5
  %25 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %24)
  %26 = icmp eq ptr %25, %2
  br label %27

27:                                               ; preds = %23, %21
  %28 = phi i1 [ true, %21 ], [ %26, %23 ]
  %29 = zext i1 %28 to i8
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPK9DexMethodSaIS2_EE12emplace_backIJRKPS0_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %40 unwind label %31

31:                                               ; preds = %27, %.lr.ph
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %43

33:                                               ; preds = %20
  %34 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %35 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %34)
  store ptr %35, ptr %7, align 8, !tbaa !11
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EEixEOS2_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %37 unwind label %38

37:                                               ; preds = %33
  store ptr %34, ptr %36, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %40

38:                                               ; preds = %33
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %43

40:                                               ; preds = %27, %37
  %.136 = phi i8 [ %29, %27 ], [ %.03549, %37 ]
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %42, label %.lr.ph, label %._crit_edge

43:                                               ; preds = %38, %31
  %.pn40 = phi { ptr, i32 } [ %32, %31 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %69

44:                                               ; preds = %._crit_edge.thread, %._crit_edge
  %45 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %2)
          to label %.preheader unwind label %56

.preheader:                                       ; preds = %44
  %.not50 = icmp eq ptr %45, null
  br i1 %.not50, label %.critedge, label %.lr.ph52

.lr.ph52:                                         ; preds = %.preheader, %65
  %.02451 = phi ptr [ %64, %65 ], [ %45, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %46 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %.02451)
  store ptr %46, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %47 = invoke ptr @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE4findERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %48 unwind label %58

48:                                               ; preds = %.lr.ph52
  store ptr %47, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %49 = invoke ptr @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %50 unwind label %60

50:                                               ; preds = %48
  store ptr %49, ptr %10, align 8
  %51 = call noundef zeroext i1 @_ZNK12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorneERKSA_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br i1 %51, label %52, label %62

52:                                               ; preds = %50
  %53 = call noundef ptr @_ZNK12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPK9DexMethodSaIS2_EE12emplace_backIJRPS0_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %68 unwind label %.loopexit.split-lp

56:                                               ; preds = %44
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %69

58:                                               ; preds = %.lr.ph52
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %67

60:                                               ; preds = %48
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %66

.loopexit:                                        ; preds = %62
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %66

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

62:                                               ; preds = %50
  %63 = load ptr, ptr %8, align 8, !tbaa !11
  %64 = invoke noundef ptr @_Z10type_classPK7DexType(ptr noundef %63)
          to label %65 unwind label %.loopexit

65:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %.not = icmp eq ptr %64, null
  br i1 %.not, label %.critedge, label %.lr.ph52

66:                                               ; preds = %.loopexit, %.loopexit.split-lp, %60
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %67

67:                                               ; preds = %66, %58
  %.pn.pn = phi { ptr, i32 } [ %.pn, %66 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %69

.critedge:                                        ; preds = %65, %.preheader, %._crit_edge
  call void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5
  br label %70

68:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5
  br label %70

69:                                               ; preds = %56, %67, %43
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %43 ], [ %.pn.pn, %67 ], [ %57, %56 ]
  call void @_ZN12UnorderedMapIPK7DexTypeP9DexMethodSt4hashIS2_ESt8equal_toIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5
  call void @_ZNSt6vectorIPK9DexMethodSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %.pn40.pn

70:                                               ; preds = %68, %.critedge
  ret void
}

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

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

declare noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN10virt_scope12VirtualFlagsE", !8, i64 0}
!11 = !{!7, !7, i64 0}


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