; 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] }
%"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" }

@.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
@__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod = external hidden unnamed_addr constant [92 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [37 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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() #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 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)) #5 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)) #5 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
define dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1) #5 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %10 = alloca ptr, 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 ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %24)
  store ptr %25, ptr %8, align 8, !tbaa !5
  %26 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE4findERSI_(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %27 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.93", ptr %7, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  store ptr %7, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  %31 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.93", ptr %9, i32 0, i32 0
  store ptr %30, ptr %31, align 8
  %32 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEESM_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %32, label %33, label %34

33:                                               ; preds = %2
  br label %36

34:                                               ; preds = %2
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.43, ptr noundef @.str.10, i32 noundef 798, ptr noundef @__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod, i32 noundef 2, ptr noundef @.str.11) #7
  unreachable

35:                                               ; No predecessors!
  br label %36

36:                                               ; preds = %35, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #6
  %39 = getelementptr inbounds %"struct.std::pair", ptr %38, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %40)
  store ptr %41, ptr %12, align 8, !tbaa !5
  %42 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE4findERSA_(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %43 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %11, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  store ptr %11, ptr %10, align 8, !tbaa !5
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #6
  %47 = getelementptr inbounds %"struct.std::pair", ptr %46, i32 0, i32 1
  %48 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %47) #6
  %49 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %13, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  %50 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %50, label %51, label %52

51:                                               ; preds = %36
  br label %54

52:                                               ; preds = %36
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.44, ptr noundef @.str.10, i32 noundef 800, ptr noundef @__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod, i32 noundef 2, ptr noundef @.str.11) #7
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %55)
  store ptr %56, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #6
  %59 = getelementptr inbounds %"struct.std::pair.14", ptr %58, i32 0, i32 1
  store ptr %59, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  %61 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #6
  %62 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.94", ptr %16, i32 0, i32 0
  store ptr %61, ptr %62, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  %64 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #6
  %65 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.94", ptr %17, i32 0, i32 0
  store ptr %64, ptr %65, align 8
  br label %66

66:                                               ; preds = %90, %54
  %67 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %67, label %69, label %68

68:                                               ; preds = %66
  store i32 2, ptr %18, align 4
  br label %92

69:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %70 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  store ptr %70, ptr %19, align 8, !tbaa !5
  %71 = load ptr, ptr %19, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.virt_scope::VirtualScope", ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  %74 = call noundef ptr @_ZN4type16java_lang_ObjectEv()
  %75 = icmp eq ptr %73, %74
  br i1 %75, label %76, label %78

76:                                               ; preds = %69
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %77, ptr %3, align 8
  store i32 1, ptr %18, align 4
  br label %87

78:                                               ; preds = %69
  %79 = load ptr, ptr %19, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.virt_scope::VirtualScope", ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = call noundef zeroext i1 @_ZN4type11is_subclassEPK7DexTypeS2_(ptr noundef %81, ptr noundef %82)
  br i1 %83, label %84, label %86

84:                                               ; preds = %78
  %85 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %85, ptr %3, align 8
  store i32 1, ptr %18, align 4
  br label %87

86:                                               ; preds = %78
  store i32 0, ptr %18, align 4
  br label %87

87:                                               ; preds = %86, %84, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  %88 = load i32, ptr %18, align 4
  switch i32 %88, label %92 [
    i32 0, label %89
  ]

89:                                               ; preds = %87
  br label %90

90:                                               ; preds = %89
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br label %66

92:                                               ; preds = %87, %68
  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
  %93 = load i32, ptr %18, align 4
  switch i32 %93, label %105 [
    i32 2, label %94
  ]

94:                                               ; preds = %92
  br label %95

95:                                               ; preds = %103, %94
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef %96)
  %97 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.51, ptr noundef @.str.10, i32 noundef 806, ptr noundef @__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod, i32 noundef 2, ptr noundef @.str.52, ptr noundef %97) #7
          to label %98 unwind label %99

98:                                               ; preds = %95
  unreachable

99:                                               ; preds = %95
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %21, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %22, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %107

103:                                              ; No predecessors!
  br i1 true, label %95, label %104, !llvm.loop !24

104:                                              ; preds = %103
  unreachable

105:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %106 = load ptr, ptr %3, align 8
  ret ptr %106

107:                                              ; preds = %99
  %108 = load ptr, ptr %21, align 8
  %109 = load i32, ptr %22, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

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

declare noundef zeroext i1 @_ZN4type11is_subclassEPK7DexTypeS2_(ptr noundef, ptr noundef) #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"}
!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 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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

%"class.std::__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] }
%"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
@__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod = external hidden unnamed_addr constant [92 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [37 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

; 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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() local_unnamed_addr #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 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 #5 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 #5 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
define dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %1) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.std::_Rb_tree_const_iterator.93", align 8
  %6 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.94", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %12 = tail call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %1)
  store ptr %12, ptr %4, align 8, !tbaa !5
  %13 = 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) %4)
  store ptr %13, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %14 = call ptr @_ZNKSt3mapIPK9DexStringS_IPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS5_SA_EEE21dexstrings_comparatorSaISC_IKS2_SG_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #6
  store ptr %14, ptr %5, align 8
  %15 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEESM_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %15, label %17, label %16

16:                                               ; preds = %2
  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 798, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.11) #7
  unreachable

17:                                               ; preds = %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %18 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %19 = getelementptr inbounds i8, ptr %18, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %20 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %1)
  store ptr %20, ptr %7, align 8, !tbaa !5
  %21 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE4findERSA_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(8) %7)
  store ptr %21, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %22 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK9DexStringSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaISB_EE20dexprotos_comparatorSaIS0_IKS8_SD_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %23 = getelementptr inbounds i8, ptr %22, i64 8
  %24 = call ptr @_ZNKSt3mapIPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS5_EE20dexprotos_comparatorSaISt4pairIKS2_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  store ptr %24, ptr %8, align 8
  %25 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %25, label %27, label %26

26:                                               ; preds = %17
  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 800, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.11) #7
  unreachable

27:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %28 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %1)
  %29 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKPK8DexProtoSt6vectorIN10virt_scope12VirtualScopeESaIS7_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %31 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  store ptr %31, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %32 = call ptr @_ZNKSt6vectorIN10virt_scope12VirtualScopeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  store ptr %32, ptr %10, align 8
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %33, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %27, %41
  %34 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = call noundef ptr @_ZN4type16java_lang_ObjectEv()
  %37 = icmp eq ptr %35, %36
  br i1 %37, label %.thread, label %38

38:                                               ; preds = %.lr.ph
  %39 = load ptr, ptr %34, align 8, !tbaa !9
  %40 = call noundef zeroext i1 @_ZN4type11is_subclassEPK7DexTypeS2_(ptr noundef %39, ptr noundef %28)
  br i1 %40, label %.thread, label %41

41:                                               ; preds = %38
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10virt_scope12VirtualScopeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %43, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %41, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull %1)
  %44 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.10, i32 noundef 806, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10virt_scope18find_virtual_scopeERKSt3mapIPK9DexStringS0_IPK8DexProtoSt6vectorINS_12VirtualScopeESaIS8_EE20dexprotos_comparatorSaISt4pairIKS6_SA_EEE21dexstrings_comparatorSaISC_IKS3_SG_EEEPK9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.52, ptr noundef %44) #7
          to label %45 unwind label %46

45:                                               ; preds = %._crit_edge
  unreachable

46:                                               ; preds = %._crit_edge
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  resume { ptr, i32 } %47

.thread:                                          ; preds = %.lr.ph, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret ptr %34
}

; 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

declare noundef zeroext i1 @_ZN4type11is_subclassEPK7DexTypeS2_(ptr noundef, ptr noundef) local_unnamed_addr #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"}
!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}


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