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

; 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.__gnu_cxx::__normal_iterator.52" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z24find_collision_exceptingRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EEPK9DexMethodPK9DexStringPK8DexProtoPK8DexClassbb(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6) #3 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::set", align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %32 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  %36 = zext i1 %5 to i8
  store i8 %36, ptr %14, align 1, !tbaa !9
  %37 = zext i1 %6 to i8
  store i8 %37, ptr %15, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass12get_dmethodsEv(ptr noundef nonnull align 8 dereferenceable(176) %38)
  store ptr %39, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %40 = load ptr, ptr %16, align 8, !tbaa !5
  %41 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.52", ptr %17, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %43 = load ptr, ptr %16, align 8, !tbaa !5
  %44 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.52", ptr %18, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  br label %46

46:                                               ; preds = %68, %7
  %47 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br i1 %47, label %49, label %48

48:                                               ; preds = %46
  store i32 2, ptr %19, align 4
  br label %70

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  store ptr %50, ptr %20, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = load ptr, ptr %20, align 8, !tbaa !5
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = call noundef zeroext i1 @_ZN12_GLOBAL__N_15matchEPK9DexStringPK8DexProtoPK9DexMethod(ptr noundef %51, ptr noundef %52, ptr noundef %54)
  br i1 %55, label %56, label %64

56:                                               ; preds = %49
  %57 = load ptr, ptr %20, align 8, !tbaa !5
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = icmp ne ptr %58, %59
  br i1 %60, label %61, label %64

61:                                               ; preds = %56
  %62 = load ptr, ptr %20, align 8, !tbaa !5
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  store ptr %63, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %65

64:                                               ; preds = %56, %49
  store i32 0, ptr %19, align 4
  br label %65

65:                                               ; preds = %64, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %66 = load i32, ptr %19, align 4
  switch i32 %66, label %70 [
    i32 0, label %67
  ]

67:                                               ; preds = %65
  br label %68

68:                                               ; preds = %67
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br label %46

70:                                               ; preds = %65, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %71 = load i32, ptr %19, align 4
  switch i32 %71, label %222 [
    i32 2, label %72
    i32 1, label %215
  ]

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass12get_vmethodsEv(ptr noundef nonnull align 8 dereferenceable(176) %73)
  store ptr %74, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %75 = load ptr, ptr %21, align 8, !tbaa !5
  %76 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #6
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.52", ptr %22, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %78 = load ptr, ptr %21, align 8, !tbaa !5
  %79 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %80 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.52", ptr %23, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  br label %81

81:                                               ; preds = %103, %72
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br i1 %82, label %84, label %83

83:                                               ; preds = %81
  store i32 4, ptr %19, align 4
  br label %105

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  store ptr %85, ptr %24, align 8, !tbaa !5
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %88 = load ptr, ptr %24, align 8, !tbaa !5
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = call noundef zeroext i1 @_ZN12_GLOBAL__N_15matchEPK9DexStringPK8DexProtoPK9DexMethod(ptr noundef %86, ptr noundef %87, ptr noundef %89)
  br i1 %90, label %91, label %99

91:                                               ; preds = %84
  %92 = load ptr, ptr %24, align 8, !tbaa !5
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = icmp ne ptr %93, %94
  br i1 %95, label %96, label %99

96:                                               ; preds = %91
  %97 = load ptr, ptr %24, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  store ptr %98, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %100

99:                                               ; preds = %91, %84
  store i32 0, ptr %19, align 4
  br label %100

100:                                              ; preds = %99, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  %101 = load i32, ptr %19, align 4
  switch i32 %101, label %105 [
    i32 0, label %102
  ]

102:                                              ; preds = %100
  br label %103

103:                                              ; preds = %102
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  br label %81

105:                                              ; preds = %100, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %106 = load i32, ptr %19, align 4
  switch i32 %106, label %222 [
    i32 4, label %107
    i32 1, label %215
  ]

107:                                              ; preds = %105
  %108 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %109 = trunc i8 %108 to i1
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store ptr null, ptr %8, align 8
  br label %215

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %112)
  %114 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %113)
  store ptr %114, ptr %25, align 8, !tbaa !5
  %115 = load ptr, ptr %25, align 8, !tbaa !5
  %116 = icmp ne ptr %115, null
  br i1 %116, label %117, label %134

117:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %118 = load ptr, ptr %25, align 8, !tbaa !5
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  %121 = call noundef ptr @_Z15resolve_virtualPK8DexClassPK9DexStringPK8DexProto(ptr noundef %118, ptr noundef %119, ptr noundef %120)
  store ptr %121, ptr %26, align 8, !tbaa !5
  %122 = load ptr, ptr %26, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %130

124:                                              ; preds = %117
  %125 = load ptr, ptr %26, align 8, !tbaa !5
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = icmp ne ptr %125, %126
  br i1 %127, label %128, label %130

128:                                              ; preds = %124
  %129 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %129, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %131

130:                                              ; preds = %124, %117
  store i32 0, ptr %19, align 4
  br label %131

131:                                              ; preds = %130, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  %132 = load i32, ptr %19, align 4
  switch i32 %132, label %214 [
    i32 0, label %133
  ]

133:                                              ; preds = %131
  br label %134

134:                                              ; preds = %133, %111
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #6
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = invoke noundef ptr @_ZNK8DexClass8get_typeEv(ptr noundef nonnull align 8 dereferenceable(176) %136)
          to label %138 unwind label %149

138:                                              ; preds = %134
  invoke void @_Z16get_all_childrenRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EES2_RS6_(ptr noundef nonnull align 8 dereferenceable(56) %135, ptr noundef %137, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %139 unwind label %149

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store ptr %27, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %140 = load ptr, ptr %30, align 8, !tbaa !5
  %141 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %140) #6
  %142 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %31, i32 0, i32 0
  store ptr %141, ptr %142, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %143 = load ptr, ptr %30, align 8, !tbaa !5
  %144 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %143) #6
  %145 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %32, i32 0, i32 0
  store ptr %144, ptr %145, align 8
  br label %146

146:                                              ; preds = %206, %139
  %147 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  br i1 %147, label %153, label %148

148:                                              ; preds = %146
  store i32 6, ptr %19, align 4
  br label %209

149:                                              ; preds = %138, %134
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %28, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %29, align 4
  br label %213

153:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  store ptr %154, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %155 = load ptr, ptr %11, align 8, !tbaa !5
  %156 = load ptr, ptr %12, align 8, !tbaa !5
  %157 = load ptr, ptr %33, align 8, !tbaa !5
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  %159 = invoke noundef ptr @_ZN12_GLOBAL__N_114check_vmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef %155, ptr noundef %156, ptr noundef %158)
          to label %160 unwind label %169

160:                                              ; preds = %153
  store ptr %159, ptr %34, align 8, !tbaa !5
  %161 = load ptr, ptr %34, align 8, !tbaa !5
  %162 = icmp ne ptr %161, null
  br i1 %162, label %163, label %173

163:                                              ; preds = %160
  %164 = load ptr, ptr %34, align 8, !tbaa !5
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = icmp ne ptr %164, %165
  br i1 %166, label %167, label %173

167:                                              ; preds = %163
  %168 = load ptr, ptr %34, align 8, !tbaa !5
  store ptr %168, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %200

169:                                              ; preds = %153
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %28, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %29, align 4
  br label %208

173:                                              ; preds = %163, %160
  %174 = load i8, ptr %15, align 1, !tbaa !9, !range !11, !noundef !12
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %199

176:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = load ptr, ptr %33, align 8, !tbaa !5
  %180 = load ptr, ptr %179, align 8, !tbaa !5
  %181 = invoke noundef ptr @_ZN12_GLOBAL__N_114check_dmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef %177, ptr noundef %178, ptr noundef %180)
          to label %182 unwind label %191

182:                                              ; preds = %176
  store ptr %181, ptr %35, align 8, !tbaa !5
  %183 = load ptr, ptr %35, align 8, !tbaa !5
  %184 = icmp ne ptr %183, null
  br i1 %184, label %185, label %195

185:                                              ; preds = %182
  %186 = load ptr, ptr %35, align 8, !tbaa !5
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = icmp ne ptr %186, %187
  br i1 %188, label %189, label %195

189:                                              ; preds = %185
  %190 = load ptr, ptr %35, align 8, !tbaa !5
  store ptr %190, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %196

191:                                              ; preds = %176
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %28, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %208

195:                                              ; preds = %185, %182
  store i32 0, ptr %19, align 4
  br label %196

196:                                              ; preds = %195, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  %197 = load i32, ptr %19, align 4
  switch i32 %197, label %200 [
    i32 0, label %198
  ]

198:                                              ; preds = %196
  br label %199

199:                                              ; preds = %198, %173
  store i32 0, ptr %19, align 4
  br label %200

200:                                              ; preds = %199, %196, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  %201 = load i32, ptr %19, align 4
  switch i32 %201, label %203 [
    i32 0, label %202
  ]

202:                                              ; preds = %200
  store i32 0, ptr %19, align 4
  br label %203

203:                                              ; preds = %202, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  %204 = load i32, ptr %19, align 4
  switch i32 %204, label %209 [
    i32 0, label %205
  ]

205:                                              ; preds = %203
  br label %206

206:                                              ; preds = %205
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPK7DexTypeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  br label %146

208:                                              ; preds = %191, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %213

209:                                              ; preds = %203, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  %210 = load i32, ptr %19, align 4
  switch i32 %210, label %212 [
    i32 6, label %211
  ]

211:                                              ; preds = %209
  store ptr null, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %212

212:                                              ; preds = %211, %209
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  br label %214

213:                                              ; preds = %208, %149
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %217

214:                                              ; preds = %212, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %215

215:                                              ; preds = %214, %110, %105, %70
  %216 = load ptr, ptr %8, align 8
  ret ptr %216

217:                                              ; preds = %213
  %218 = load ptr, ptr %28, align 8
  %219 = load i32, ptr %29, align 4
  %220 = insertvalue { ptr, i32 } poison, ptr %218, 0
  %221 = insertvalue { ptr, i32 } %220, i32 %219, 1
  resume { ptr, i32 } %221

222:                                              ; preds = %105, %70
  unreachable
}

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

; 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: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_15matchEPK9DexStringPK8DexProtoPK9DexMethod(ptr noundef, ptr noundef, ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z15resolve_virtualPK8DexClassPK9DexStringPK8DexProto(ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN12_GLOBAL__N_114check_vmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN12_GLOBAL__N_114check_dmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef, ptr noundef, ptr noundef) #3

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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


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

%"class.__gnu_cxx::__normal_iterator.52" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<const DexType *, const DexType *, std::_Identity<const DexType *>, dextypes_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z24find_collision_exceptingRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EEPK9DexMethodPK9DexStringPK8DexProtoPK8DexClassbb(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef readnone %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %4, i1 noundef zeroext %5, i1 noundef zeroext %6) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.52", align 8
  %12 = alloca %"class.std::set", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass12get_dmethodsEv(ptr noundef nonnull align 8 dereferenceable(176) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %16 = tail call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  store ptr %16, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %17 = tail call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  store ptr %17, ptr %9, align 8
  %18 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %18, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %7, %23
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = call noundef zeroext i1 @_ZN12_GLOBAL__N_15matchEPK9DexStringPK8DexProtoPK9DexMethod(ptr noundef %2, ptr noundef %3, ptr noundef %20)
  %22 = load ptr, ptr %19, align 8
  %.not = icmp ne ptr %22, %1
  %or.cond97.not = select i1 %21, i1 %.not, i1 false
  br i1 %or.cond97.not, label %26, label %23

23:                                               ; preds = %.lr.ph
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %25, label %.lr.ph, label %._crit_edge

26:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %75

._crit_edge:                                      ; preds = %23, %7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass12get_vmethodsEv(ptr noundef nonnull align 8 dereferenceable(176) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %28 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  store ptr %28, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %29 = call ptr @_ZNKSt6vectorIP9DexMethodSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  store ptr %29, ptr %11, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %30, label %.lr.ph132, label %._crit_edge133

.lr.ph132:                                        ; preds = %._crit_edge, %35
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZN12_GLOBAL__N_15matchEPK9DexStringPK8DexProtoPK9DexMethod(ptr noundef %2, ptr noundef %3, ptr noundef %32)
  %34 = load ptr, ptr %31, align 8
  %.not82 = icmp ne ptr %34, %1
  %or.cond99.not = select i1 %33, i1 %.not82, i1 false
  br i1 %or.cond99.not, label %.thread118, label %35

.thread118:                                       ; preds = %.lr.ph132
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %75

35:                                               ; preds = %.lr.ph132
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP9DexMethodSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %37 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP9DexMethodSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %37, label %.lr.ph132, label %._crit_edge133

._crit_edge133:                                   ; preds = %35, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %5, label %38, label %75

38:                                               ; preds = %._crit_edge133
  %39 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %4)
  %40 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %39)
  %.not83 = icmp eq ptr %40, null
  br i1 %.not83, label %43, label %41

41:                                               ; preds = %38
  %42 = call noundef ptr @_Z15resolve_virtualPK8DexClassPK9DexStringPK8DexProto(ptr noundef nonnull %40, ptr noundef %2, ptr noundef %3)
  %.not84 = icmp eq ptr %42, null
  %.not85 = icmp eq ptr %42, %1
  %or.cond = or i1 %.not84, %.not85
  br i1 %or.cond, label %43, label %75

43:                                               ; preds = %41, %38
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #6
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  %44 = call noundef ptr @_ZNK8DexClass8get_typeEv(ptr noundef nonnull align 8 dereferenceable(176) %4)
  invoke void @_Z16get_all_childrenRK12UnorderedMapIPK7DexTypeSt3setIS2_19dextypes_comparatorSaIS2_EESt4hashIS2_ESt8equal_toIS2_EES2_RS6_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %44, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %45 unwind label %57

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %46 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  store ptr %46, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %47 = call ptr @_ZNKSt3setIPK7DexType19dextypes_comparatorSaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  store ptr %47, ptr %14, align 8
  %48 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %48, label %.lr.ph136, label %._crit_edge137

.lr.ph136:                                        ; preds = %45
  br i1 %6, label %.lr.ph136.split, label %.lr.ph136.split.us

.lr.ph136.split.us:                               ; preds = %.lr.ph136, %53
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = invoke noundef ptr @_ZN12_GLOBAL__N_114check_vmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef %2, ptr noundef %3, ptr noundef %50)
          to label %52 unwind label %.split.us

52:                                               ; preds = %.lr.ph136.split.us
  %.not86.us = icmp eq ptr %51, null
  %.not87.us = icmp eq ptr %51, %1
  %or.cond94.not128.not129.us = or i1 %.not86.us, %.not87.us
  br i1 %or.cond94.not128.not129.us, label %53, label %._crit_edge137

53:                                               ; preds = %52
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPK7DexTypeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %55 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %55, label %.lr.ph136.split.us, label %._crit_edge137

.split.us:                                        ; preds = %.lr.ph136.split.us
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %73

57:                                               ; preds = %43
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %74

.lr.ph136.split:                                  ; preds = %.lr.ph136, %70
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = invoke noundef ptr @_ZN12_GLOBAL__N_114check_vmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef %2, ptr noundef %3, ptr noundef %60)
          to label %62 unwind label %.split

62:                                               ; preds = %.lr.ph136.split
  %.not86 = icmp eq ptr %61, null
  %.not87 = icmp eq ptr %61, %1
  %or.cond94.not128.not129 = or i1 %.not86, %.not87
  br i1 %or.cond94.not128.not129, label %64, label %._crit_edge137

.split:                                           ; preds = %.lr.ph136.split
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %73

64:                                               ; preds = %62
  %65 = load ptr, ptr %59, align 8, !tbaa !5
  %66 = invoke noundef ptr @_ZN12_GLOBAL__N_114check_dmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef %2, ptr noundef %3, ptr noundef %65)
          to label %67 unwind label %68

67:                                               ; preds = %64
  %.not90 = icmp eq ptr %66, null
  %.not91 = icmp eq ptr %66, %1
  %or.cond95 = or i1 %.not90, %.not91
  br i1 %or.cond95, label %70, label %._crit_edge137

68:                                               ; preds = %64
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %73

70:                                               ; preds = %67
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIPK7DexTypeEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %72 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIPK7DexTypeES5_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %72, label %.lr.ph136.split, label %._crit_edge137

73:                                               ; preds = %.split, %.split.us, %68
  %.pn = phi { ptr, i32 } [ %69, %68 ], [ %63, %.split ], [ %56, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %74

._crit_edge137:                                   ; preds = %52, %53, %62, %70, %67, %45
  %spec.select = phi ptr [ null, %45 ], [ %66, %67 ], [ null, %70 ], [ %61, %62 ], [ null, %53 ], [ %51, %52 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  br label %75

74:                                               ; preds = %73, %57
  %.pn.pn = phi { ptr, i32 } [ %.pn, %73 ], [ %58, %57 ]
  call void @_ZNSt3setIPK7DexType19dextypes_comparatorSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  resume { ptr, i32 } %.pn.pn

75:                                               ; preds = %.thread118, %26, %._crit_edge133, %._crit_edge137, %41
  %.15 = phi ptr [ %22, %26 ], [ null, %._crit_edge133 ], [ %spec.select, %._crit_edge137 ], [ %42, %41 ], [ %34, %.thread118 ]
  ret ptr %.15
}

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

; 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: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_15matchEPK9DexStringPK8DexProtoPK9DexMethod(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z15resolve_virtualPK8DexClassPK9DexStringPK8DexProto(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN12_GLOBAL__N_114check_vmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN12_GLOBAL__N_114check_dmethodsEPK9DexStringPK8DexProtoPK7DexType(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


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