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

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.139" = type { %"struct.std::_Vector_base.140" }
%"struct.std::_Vector_base.140" = type { %"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl" }
%"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.94" = type { ptr }
%"class.virt_scope::ClassScopes" = type { %class.UnorderedMap.121, %class.UnorderedMap.175, %class.UnorderedMap, %class.UnorderedMap, %"class.std::map.3" }
%class.UnorderedMap.121 = type { %"class.std::unordered_map.123" }
%"class.std::unordered_map.123" = type { %"class.std::_Hashtable.124" }
%"class.std::_Hashtable.124" = 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.UnorderedMap.175 = type { %"class.std::unordered_map.177" }
%"class.std::unordered_map.177" = type { %"class.std::_Hashtable.178" }
%"class.std::_Hashtable.178" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::map.3" = type { %"class.std::_Rb_tree.4" }
%"class.std::_Rb_tree.4" = type { %"struct.std::_Rb_tree<const DexString *, std::pair<const DexString *const, std::map<const DexProto *, std::vector<virt_scope::VirtualScope>, dexprotos_comparator>>, std::_Select1st<std::pair<const DexString *const, std::map<const DexProto *, std::vector<virt_scope::VirtualScope>, dexprotos_comparator>>>, dexstrings_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexString *, std::pair<const DexString *const, std::map<const DexProto *, std::vector<virt_scope::VirtualScope>, dexprotos_comparator>>, std::_Select1st<std::pair<const DexString *const, std::map<const DexProto *, std::vector<virt_scope::VirtualScope>, dexprotos_comparator>>>, dexstrings_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.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" }

@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZNK10virt_scope11ClassScopes20find_interface_scopeEPK9DexMethod = external hidden unnamed_addr constant [86 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

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

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

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #2

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #2

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

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_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_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

; 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK10virt_scope11ClassScopes20find_interface_scopeEPK9DexMethod(ptr dead_on_unwind noalias writable sret(%"class.std::vector.139") align 8 %0, ptr noundef nonnull align 8 dereferenceable(272) %1, ptr noundef %2) #5 align 2 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 ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca ptr, align 8
  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
  %24 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %25)
          to label %27 unwind label %51

27:                                               ; preds = %3
  store ptr %26, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.virt_scope::ClassScopes", ptr %24, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %30 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %29)
          to label %31 unwind label %55

31:                                               ; preds = %27
  store ptr %30, ptr %11, align 8, !tbaa !5
  %32 = invoke noundef i64 @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE5countERSI_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %33 unwind label %55

33:                                               ; preds = %31
  %34 = icmp eq i64 %32, 0
  br i1 %34, label %48, label %35

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"class.virt_scope::ClassScopes", ptr %24, i32 0, i32 4
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %37)
          to label %39 unwind label %59

39:                                               ; preds = %35
  store ptr %38, ptr %12, align 8, !tbaa !5
  %40 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE2atERSI_(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %41 unwind label %59

41:                                               ; preds = %39
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = invoke noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %42)
          to label %44 unwind label %63

44:                                               ; preds = %41
  store ptr %43, ptr %13, align 8, !tbaa !5
  %45 = invoke noundef i64 @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE5countERSA_(ptr noundef nonnull align 8 dereferenceable(48) %40, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %46 unwind label %63

46:                                               ; preds = %44
  %47 = icmp eq i64 %45, 0
  br label %48

48:                                               ; preds = %46, %33
  %49 = phi i1 [ true, %33 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br i1 %49, label %50, label %69

50:                                               ; preds = %48
  store i1 true, ptr %7, align 1
  store i32 1, ptr %14, align 4
  br label %158

51:                                               ; preds = %3
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %9, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %10, align 4
  br label %160

55:                                               ; preds = %31, %27
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %9, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %10, align 4
  br label %68

59:                                               ; preds = %39, %35
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %9, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %10, align 4
  br label %67

63:                                               ; preds = %44, %41
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %9, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %67

67:                                               ; preds = %63, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %68

68:                                               ; preds = %67, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %160

69:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %70 = getelementptr inbounds %"class.virt_scope::ClassScopes", ptr %24, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %71)
          to label %73 unwind label %86

73:                                               ; preds = %69
  store ptr %72, ptr %16, align 8, !tbaa !5
  %74 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE2atERSI_(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %75 unwind label %86

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = invoke noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %76)
          to label %78 unwind label %90

78:                                               ; preds = %75
  store ptr %77, ptr %17, align 8, !tbaa !5
  %79 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE2atERSA_(ptr noundef nonnull align 8 dereferenceable(48) %74, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %80 unwind label %90

80:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  store ptr %79, ptr %15, align 8, !tbaa !5
  %81 = load ptr, ptr %15, align 8, !tbaa !5
  %82 = call noundef zeroext i1 @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #6
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  br label %100

84:                                               ; preds = %80
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 914, ptr noundef @__PRETTY_FUNCTION__._ZNK10virt_scope11ClassScopes20find_interface_scopeEPK9DexMethod, i32 noundef 2, ptr noundef @.str.11) #7
          to label %85 unwind label %95

85:                                               ; preds = %84
  unreachable

86:                                               ; preds = %73, %69
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %9, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %10, align 4
  br label %94

90:                                               ; preds = %78, %75
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %94

94:                                               ; preds = %90, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %157

95:                                               ; preds = %84
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %9, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %10, align 4
  br label %157

99:                                               ; No predecessors!
  br label %100

100:                                              ; preds = %99, %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %101, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  %103 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #6
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.94", ptr %19, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %105 = load ptr, ptr %18, align 8, !tbaa !5
  %106 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #6
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.94", ptr %20, i32 0, i32 0
  store ptr %106, ptr %107, align 8
  br label %108

108:                                              ; preds = %149, %100
  %109 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br i1 %109, label %111, label %110

110:                                              ; preds = %108
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %156

111:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %112 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  store ptr %112, ptr %21, align 8, !tbaa !5
  %113 = load ptr, ptr %21, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.virt_scope::VirtualScope", ptr %113, i32 0, i32 2
  %115 = invoke noundef i64 @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(48) %114, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %116 unwind label %119

116:                                              ; preds = %111
  %117 = icmp eq i64 %115, 0
  br i1 %117, label %118, label %123

118:                                              ; preds = %116
  store i32 3, ptr %14, align 4
  br label %146

119:                                              ; preds = %124, %111
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %9, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %10, align 4
  br label %155

123:                                              ; preds = %116
  br label %124

124:                                              ; preds = %123
  %125 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 154, i32 noundef 9)
          to label %126 unwind label %119

126:                                              ; preds = %124
  br i1 %125, label %127, label %141

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_Z4showI7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef %128)
          to label %129 unwind label %132

129:                                              ; preds = %127
  %130 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 154, i32 noundef 9, i1 noundef zeroext true, ptr noundef @.str.58, ptr noundef %130)
          to label %131 unwind label %136

131:                                              ; preds = %129
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %141

132:                                              ; preds = %127
  %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 %140

136:                                              ; preds = %129
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %140

140:                                              ; preds = %136, %132
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %155

141:                                              ; preds = %131, %126
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %144 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %144, ptr %23, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %145 unwind label %151

145:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  store i32 0, ptr %14, align 4
  br label %146

146:                                              ; preds = %145, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %147 = load i32, ptr %14, align 4
  switch i32 %147, label %168 [
    i32 0, label %148
    i32 3, label %149
  ]

148:                                              ; preds = %146
  br label %149

149:                                              ; preds = %148, %146
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %108

151:                                              ; preds = %143
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %9, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %155

155:                                              ; preds = %151, %140, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %157

156:                                              ; preds = %110
  store i1 true, ptr %7, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %158

157:                                              ; preds = %155, %95, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %160

158:                                              ; preds = %156, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %159 = load i1, ptr %7, align 1
  br i1 %159, label %162, label %161

160:                                              ; preds = %157, %68, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %163

161:                                              ; preds = %158
  call void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %162

162:                                              ; preds = %161, %158
  ret void

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

168:                                              ; preds = %146
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE2atERSA_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #5 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 = { "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 = { noreturn "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 = { 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 #5 = { 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 = { nounwind }
attributes #7 = { noreturn }

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

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


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.139" = type { %"struct.std::_Vector_base.140" }
%"struct.std::_Vector_base.140" = type { %"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl" }
%"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const virt_scope::VirtualScope *, std::allocator<const virt_scope::VirtualScope *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.94" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZNK10virt_scope11ClassScopes20find_interface_scopeEPK9DexMethod = external hidden unnamed_addr constant [86 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

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

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

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #2

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

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_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_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK10virt_scope11ClassScopes20find_interface_scopeEPK9DexMethod(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector.139") align 8 %0, ptr noundef nonnull align 8 dereferenceable(272) %1, ptr noundef %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca ptr, align 8
  tail call void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %14 = tail call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %14, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %1, i64 224
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %16 = tail call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %16, ptr %5, align 8, !tbaa !5
  %17 = invoke noundef i64 @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE5countERSI_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %18 unwind label %28

18:                                               ; preds = %3
  %19 = icmp eq i64 %17, 0
  br i1 %19, label %.critedge, label %20

20:                                               ; preds = %18
  %21 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %21, ptr %6, align 8, !tbaa !5
  %22 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE2atERSI_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %23 unwind label %30

23:                                               ; preds = %20
  %24 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %24, ptr %7, align 8, !tbaa !5
  %25 = invoke noundef i64 @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE5countERSA_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %26 unwind label %32

26:                                               ; preds = %23
  %27 = icmp eq i64 %25, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %27, label %85, label %36

.critedge:                                        ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %85

28:                                               ; preds = %3
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %35

30:                                               ; preds = %20
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %34

32:                                               ; preds = %23
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %34

34:                                               ; preds = %32, %30
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %35

35:                                               ; preds = %34, %28
  %.pn.pn = phi { ptr, i32 } [ %.pn, %34 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %86

36:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %37 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %37, ptr %8, align 8, !tbaa !5
  %38 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE2atERSI_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %39 unwind label %46

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %40 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %40, ptr %9, align 8, !tbaa !5
  %41 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE2atERSA_(ptr noundef nonnull align 8 dereferenceable(48) %38, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %42 unwind label %48

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %43 = call noundef zeroext i1 @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  br i1 %43, label %44, label %53

44:                                               ; preds = %42
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 914, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK10virt_scope11ClassScopes20find_interface_scopeEPK9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.11) #7
          to label %45 unwind label %51

45:                                               ; preds = %44
  unreachable

46:                                               ; preds = %36
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %50

48:                                               ; preds = %39
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %50

50:                                               ; preds = %48, %46
  %.pn25 = phi { ptr, i32 } [ %49, %48 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %86

51:                                               ; preds = %44
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %86

53:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %54 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  store ptr %54, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %55 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  store ptr %55, ptr %11, align 8
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %56, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %79, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %85

.lr.ph:                                           ; preds = %53, %79
  %57 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %58 = getelementptr inbounds i8, ptr %57, i64 32
  %59 = invoke noundef i64 @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(48) %58, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %60 unwind label %62

60:                                               ; preds = %.lr.ph
  %61 = icmp eq i64 %59, 0
  br i1 %61, label %79, label %64

62:                                               ; preds = %64, %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %84

64:                                               ; preds = %60
  %65 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 154, i32 noundef 9)
          to label %66 unwind label %62

66:                                               ; preds = %64
  br i1 %65, label %67, label %77

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z4showI7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef %68)
          to label %69 unwind label %72

69:                                               ; preds = %67
  %70 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 154, i32 noundef 9, i1 noundef zeroext true, ptr noundef nonnull @.str.58, ptr noundef %70)
          to label %71 unwind label %74

71:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %77

72:                                               ; preds = %67
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %69
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %76

76:                                               ; preds = %74, %72
  %.pn27 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %84

77:                                               ; preds = %71, %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  store ptr %57, ptr %13, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %78 unwind label %82

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %79

79:                                               ; preds = %60, %78
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %81, label %.lr.ph, label %._crit_edge

82:                                               ; preds = %77
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %84

84:                                               ; preds = %82, %76, %62
  %.pn29 = phi { ptr, i32 } [ %83, %82 ], [ %.pn27, %76 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %86

85:                                               ; preds = %26, %.critedge, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  ret void

86:                                               ; preds = %50, %51, %84, %35
  %.pn31.pn = phi { ptr, i32 } [ %.pn.pn, %35 ], [ %52, %51 ], [ %.pn29, %84 ], [ %.pn25, %50 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  resume { ptr, i32 } %.pn31.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE2atERSA_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 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 = { "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 = { noreturn "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 = { 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 #5 = { 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 = { nounwind }
attributes #7 = { noreturn }

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

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


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