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

; 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.__gnu_cxx::__normal_iterator.110" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.93" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.94" = type { ptr }
%"struct.std::pair" = type { ptr, %"class.std::map.8" }
%"class.std::map.8" = type { %"class.std::_Rb_tree.9" }
%"class.std::_Rb_tree.9" = type { %"struct.std::_Rb_tree<const DexProto *, std::pair<const DexProto *const, std::vector<virt_scope::VirtualScope>>, std::_Select1st<std::pair<const DexProto *const, std::vector<virt_scope::VirtualScope>>>, dexprotos_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexProto *, std::pair<const DexProto *const, std::vector<virt_scope::VirtualScope>>, std::_Select1st<std::pair<const DexProto *const, std::vector<virt_scope::VirtualScope>>>, dexprotos_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.14" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<virt_scope::VirtualScope, std::allocator<virt_scope::VirtualScope>>::_Vector_impl" }
%"struct.std::_Vector_base<virt_scope::VirtualScope, std::allocator<virt_scope::VirtualScope>>::_Vector_impl" = type { %"struct.std::_Vector_base<virt_scope::VirtualScope, std::allocator<virt_scope::VirtualScope>>::_Vector_impl_data" }
%"struct.std::_Vector_base<virt_scope::VirtualScope, std::allocator<virt_scope::VirtualScope>>::_Vector_impl_data" = type { 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" }
%"struct.std::pair.37" = type <{ ptr, i16, [6 x i8] }>

@.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.43 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE = external hidden unnamed_addr constant [82 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [31 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

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

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

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 uwtable
declare dso_local void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #3

; 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 nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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, ...) #4

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

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

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

; 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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN10virt_scope12get_vmethodsEPK7DexType(ptr noundef) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10virt_scope26get_rooted_interface_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypePK8DexClassR12UnorderedMapISQ_S7_IPKS8_SaISW_EESt4hashISQ_ESt8equal_toISQ_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(56)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2) #3 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 %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.110", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.110", align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10virt_scope12get_vmethodsEPK7DexType(ptr noundef %30)
  store ptr %31, ptr %7, align 8, !tbaa !5
  br label %32

32:                                               ; preds = %3
  %33 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 154, i32 noundef 9)
  br i1 %33, label %34, label %44

34:                                               ; preds = %32
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = call noundef i64 @_ZNKSt6vectorIP9DexMethodSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef %37)
  %38 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 154, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.46, i64 noundef %36, ptr noundef %38)
          to label %39 unwind label %40

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

40:                                               ; preds = %34
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %9, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %152

44:                                               ; preds = %39, %32
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %47, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  %49 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #6
  %50 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.110", ptr %12, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  %53 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.110", ptr %13, i32 0, i32 0
  store ptr %52, ptr %53, align 8
  br label %54

54:                                               ; preds = %144, %46
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %55, label %57, label %56

56:                                               ; preds = %54
  store i32 4, ptr %14, align 4
  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 label %146

57:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  store ptr %59, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %61 = load ptr, ptr %15, align 8, !tbaa !5
  %62 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %61)
  store ptr %62, ptr %18, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE4findERSI_(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %64 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.93", ptr %17, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  store ptr %17, ptr %16, align 8, !tbaa !5
  %65 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %66) #6
  %68 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.93", ptr %19, i32 0, i32 0
  store ptr %67, ptr %68, align 8
  %69 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEESM_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %69, label %70, label %71

70:                                               ; preds = %57
  br label %73

71:                                               ; preds = %57
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.43, ptr noundef @.str.10, i32 noundef 764, ptr noundef @__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE, i32 noundef 2, ptr noundef @.str.11) #7
  unreachable

72:                                               ; No predecessors!
  br label %73

73:                                               ; preds = %72, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %74 = load ptr, ptr %16, align 8, !tbaa !5
  %75 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %74) #6
  %76 = getelementptr inbounds %"struct.std::pair", ptr %75, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %77)
  store ptr %78, ptr %22, align 8, !tbaa !5
  %79 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE4findERSA_(ptr noundef nonnull align 8 dereferenceable(48) %76, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %80 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %21, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  store ptr %21, ptr %20, align 8, !tbaa !5
  %81 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %82 = load ptr, ptr %16, align 8, !tbaa !5
  %83 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %82) #6
  %84 = getelementptr inbounds %"struct.std::pair", ptr %83, i32 0, i32 1
  %85 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %84) #6
  %86 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %23, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  %87 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br i1 %87, label %88, label %89

88:                                               ; preds = %73
  br label %91

89:                                               ; preds = %73
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.44, ptr noundef @.str.10, i32 noundef 766, ptr noundef @__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE, i32 noundef 2, ptr noundef @.str.11) #7
  unreachable

90:                                               ; No predecessors!
  br label %91

91:                                               ; preds = %90, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  %93 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %92) #6
  %94 = getelementptr inbounds %"struct.std::pair.14", ptr %93, i32 0, i32 1
  store ptr %94, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %95 = load ptr, ptr %24, align 8, !tbaa !5
  %96 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #6
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.94", ptr %25, i32 0, i32 0
  store ptr %96, ptr %97, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %98 = load ptr, ptr %24, align 8, !tbaa !5
  %99 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #6
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.94", ptr %26, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  br label %101

101:                                              ; preds = %141, %91
  %102 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  br i1 %102, label %104, label %103

103:                                              ; preds = %101
  store i32 6, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %143

104:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %105 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  store ptr %105, ptr %27, align 8, !tbaa !5
  %106 = load ptr, ptr %27, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.virt_scope::VirtualScope", ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = icmp eq ptr %108, %109
  br i1 %110, label %111, label %140

111:                                              ; preds = %104
  br label %112

112:                                              ; preds = %111
  %113 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 154, i32 noundef 9)
  br i1 %113, label %114, label %122

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef %115)
  %116 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 154, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.47, ptr noundef %116)
          to label %117 unwind label %118

117:                                              ; preds = %114
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  br label %122

118:                                              ; preds = %114
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  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 %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  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 label %152

122:                                              ; preds = %117, %112
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  %125 = load ptr, ptr %27, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.virt_scope::VirtualScope", ptr %125, i32 0, i32 1
  %127 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef 0) #6
  %128 = getelementptr inbounds %"struct.std::pair.37", ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8, !tbaa !24
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = icmp eq ptr %129, %130
  br i1 %131, label %132, label %133

132:                                              ; preds = %124
  br label %135

133:                                              ; preds = %124
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.48, ptr noundef @.str.10, i32 noundef 770, ptr noundef @__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE, i32 noundef 2, ptr noundef @.str.11) #7
  unreachable

134:                                              ; No predecessors!
  br label %135

135:                                              ; preds = %134, %132
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN12UnorderedMapIPK7DexTypeSt6vectorIPKN10virt_scope12VirtualScopeESaIS7_EESt4hashIS2_ESt8equal_toIS2_EEixERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %136, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %138 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %138, ptr %29, align 8, !tbaa !5
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EE12emplace_backIJS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef nonnull align 8 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %140

140:                                              ; preds = %135, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %141

141:                                              ; preds = %140
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br label %101

143:                                              ; preds = %103
  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 %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %144

144:                                              ; preds = %143
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %54

146:                                              ; preds = %56
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %149)
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN10virt_scope26get_rooted_interface_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypePK8DexClassR12UnorderedMapISQ_S7_IPKS8_SaISW_EESt4hashISQ_ESt8equal_toISQ_EE(ptr noundef nonnull align 8 dereferenceable(48) %147, ptr noundef %148, ptr noundef %150, ptr noundef nonnull align 8 dereferenceable(56) %151)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void

152:                                              ; preds = %118, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %153

153:                                              ; preds = %152
  %154 = load ptr, ptr %9, align 8
  %155 = load i32, ptr %10, align 4
  %156 = insertvalue { ptr, i32 } poison, ptr %154, 0
  %157 = insertvalue { ptr, i32 } %156, i32 %155, 1
  resume { ptr, i32 } %157
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EE12emplace_backIJS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #3 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 = { 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 #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN10virt_scope12VirtualScopeE", !6, i64 0, !11, i64 8, !15, i64 32}
!11 = !{!"_ZTSSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSSt3setIPK7DexType19dextypes_comparatorSaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt8_Rb_treeIPK7DexTypeS2_St9_IdentityIS2_E19dextypes_comparatorSaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt8_Rb_treeIPK7DexTypeS2_St9_IdentityIS2_E19dextypes_comparatorSaIS2_EE13_Rb_tree_implIS5_Lb1EEE", !18, i64 0, !20, i64 8}
!18 = !{!"_ZTSSt20_Rb_tree_key_compareI19dextypes_comparatorE", !19, i64 0}
!19 = !{!"_ZTS19dextypes_comparator"}
!20 = !{!"_ZTSSt15_Rb_tree_header", !21, i64 0, !23, i64 32}
!21 = !{!"_ZTSSt18_Rb_tree_node_base", !22, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEE", !6, i64 0, !26, i64 8}
!26 = !{!"_ZTSN10virt_scope12VirtualFlagsE", !7, i64 0}


; 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.__gnu_cxx::__normal_iterator.110" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.93" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.94" = type { ptr }

@.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.43 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE = external hidden unnamed_addr constant [82 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [31 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

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

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

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 uwtable
declare dso_local void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #3

; 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 nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) 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 #4

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

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

; 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 #5

; 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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10virt_scope26get_rooted_interface_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypePK8DexClassR12UnorderedMapISQ_S7_IPKS8_SaISW_EESt4hashISQ_ESt8equal_toISQ_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.110", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.110", align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca ptr, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %18 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN10virt_scope12get_vmethodsEPK7DexType(ptr noundef %1)
  %19 = tail call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 154, i32 noundef 9)
  br i1 %19, label %20, label %26

20:                                               ; preds = %3
  %21 = tail call noundef i64 @_ZNKSt6vectorIP9DexMethodSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef %1)
  %22 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 154, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.46, i64 noundef %21, ptr noundef %22)
          to label %23 unwind label %24

23:                                               ; preds = %20
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %26

24:                                               ; preds = %20
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %81

26:                                               ; preds = %23, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %27 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %27, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %28 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %28, ptr %7, align 8
  %29 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %29, label %.lr.ph26, label %._crit_edge27

._crit_edge27.loopexit:                           ; preds = %._crit_edge
  %.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %._crit_edge27

._crit_edge27:                                    ; preds = %._crit_edge27.loopexit, %26
  %30 = phi ptr [ %.pre, %._crit_edge27.loopexit ], [ %1, %26 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %31 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %30)
  call void @_ZN10virt_scope26get_rooted_interface_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypePK8DexClassR12UnorderedMapISQ_S7_IPKS8_SaISW_EESt4hashISQ_ESt8equal_toISQ_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %30, ptr noundef %31, ptr noundef nonnull align 8 dereferenceable(56) %2)
  ret void

.lr.ph26:                                         ; preds = %26, %._crit_edge
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %34 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %33)
  store ptr %34, ptr %9, align 8, !tbaa !5
  %35 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE4findERSI_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(8) %9)
  store ptr %35, ptr %8, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %36 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #6
  store ptr %36, ptr %10, align 8
  %37 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEESM_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %37, label %39, label %38

38:                                               ; preds = %.lr.ph26
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.10, i32 noundef 764, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE, i32 noundef 2, ptr noundef nonnull @.str.11) #7
  unreachable

39:                                               ; preds = %.lr.ph26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %40 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %41 = getelementptr inbounds i8, ptr %40, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %42 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %33)
  store ptr %42, ptr %12, align 8, !tbaa !5
  %43 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE4findERSA_(ptr noundef nonnull align 8 dereferenceable(48) %41, ptr noundef nonnull align 8 dereferenceable(8) %12)
  store ptr %43, ptr %11, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %44 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %45) #6
  store ptr %46, ptr %13, align 8
  %47 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %47, label %49, label %48

48:                                               ; preds = %39
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.10, i32 noundef 766, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE, i32 noundef 2, ptr noundef nonnull @.str.11) #7
  unreachable

49:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  %50 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %52 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  store ptr %52, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %53 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  store ptr %53, ptr %15, align 8
  %54 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %54, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %78, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %56, label %.lr.ph26, label %._crit_edge27.loopexit

.lr.ph:                                           ; preds = %49, %78
  %57 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = icmp eq ptr %58, %59
  br i1 %60, label %61, label %78

61:                                               ; preds = %.lr.ph
  %62 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 154, i32 noundef 9)
  br i1 %62, label %63, label %69

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #6
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef %64)
  %65 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 154, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.47, ptr noundef %65)
          to label %66 unwind label %67

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

67:                                               ; preds = %63
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %81

69:                                               ; preds = %66, %61
  %70 = getelementptr inbounds i8, ptr %57, i64 8
  %71 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef 0) #6
  %72 = load ptr, ptr %71, align 8, !tbaa !24
  %73 = icmp eq ptr %72, %33
  br i1 %73, label %75, label %74

74:                                               ; preds = %69
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.10, i32 noundef 770, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10virt_scope15get_root_scopesERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK7DexTypeR12UnorderedMapISQ_S7_IPKS8_SaIST_EESt4hashISQ_ESt8equal_toISQ_EE, i32 noundef 2, ptr noundef nonnull @.str.11) #7
  unreachable

75:                                               ; preds = %69
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN12UnorderedMapIPK7DexTypeSt6vectorIPKN10virt_scope12VirtualScopeESaIS7_EESt4hashIS2_ESt8equal_toIS2_EEixERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  store ptr %57, ptr %17, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EE12emplace_backIJS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %78

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

81:                                               ; preds = %67, %24
  %.pn = phi { ptr, i32 } [ %68, %67 ], [ %25, %24 ]
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN10virt_scope12VirtualScopeESaIS3_EE12emplace_backIJS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 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 = { 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 #4 = { 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN10virt_scope12VirtualScopeE", !6, i64 0, !11, i64 8, !15, i64 32}
!11 = !{!"_ZTSSt6vectorISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt4pairIP9DexMethodN10virt_scope12VirtualFlagsEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSSt3setIPK7DexType19dextypes_comparatorSaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt8_Rb_treeIPK7DexTypeS2_St9_IdentityIS2_E19dextypes_comparatorSaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt8_Rb_treeIPK7DexTypeS2_St9_IdentityIS2_E19dextypes_comparatorSaIS2_EE13_Rb_tree_implIS5_Lb1EEE", !18, i64 0, !20, i64 8}
!18 = !{!"_ZTSSt20_Rb_tree_key_compareI19dextypes_comparatorE", !19, i64 0}
!19 = !{!"_ZTS19dextypes_comparator"}
!20 = !{!"_ZTSSt15_Rb_tree_header", !21, i64 0, !23, i64 32}
!21 = !{!"_ZTSSt18_Rb_tree_node_base", !22, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSSt4pairIP9DexMethodN10virt_scope12VirtualFlagsEE", !6, i64 0, !26, i64 8}
!26 = !{!"_ZTSN10virt_scope12VirtualFlagsE", !7, i64 0}


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