; LLVM IR from facebook/redex :: service/reference-update (MethodReference)

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

%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedSet.147 = type { %"class.std::unordered_set.149" }
%"class.std::unordered_set.149" = type { %"class.std::_Hashtable.150" }
%"class.std::_Hashtable.150" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.UnorderedMap<DexMethod *, DexMethod *>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::pair.169" = type <{ %"class.UnorderedSet<DexType *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<DexType *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base.171" }
%"struct.std::__detail::_Node_iterator_base.171" = type { ptr }
%"struct.std::atomic.172" = type { %"struct.std::__atomic_base.173" }
%"struct.std::__atomic_base.173" = type { i32 }
%class.anon.174 = type { ptr, ptr, ptr }
%"struct.std::pair" = type { ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb = external hidden unnamed_addr constant [126 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 uwtable
declare dso_local noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, i1 noundef zeroext %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"class.std::vector.7", align 8
  %8 = alloca %"class.std::vector.7", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.7", align 8
  %12 = alloca %class.UnorderedSet.147, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.UnorderedMap<DexMethod *, DexMethod *>::ConstUnorderedIterable", align 8
  %15 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %16 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::pair.169", align 8
  %20 = alloca %"struct.std::atomic.172", align 4
  %21 = alloca %class.anon.174, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %22 = zext i1 %2 to i8
  store i8 %22, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @_ZNSt6vectorIP8DexClassSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %23 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %24 = trunc i8 %23 to i1
  br i1 %24, label %33, label %25

25:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #8
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z17build_class_scopeRKSt6vectorI8DexStoreSaIS0_EE(ptr dead_on_unwind writable sret(%"class.std::vector.7") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %27 unwind label %29

27:                                               ; preds = %25
  %28 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP8DexClassSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  br label %41

29:                                               ; preds = %25
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %9, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  br label %138

33:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_139build_class_scope_excluding_primary_dexERKSt6vectorI8DexStoreSaIS1_EE(ptr dead_on_unwind writable sret(%"class.std::vector.7") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %35 unwind label %37

35:                                               ; preds = %33
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP8DexClassSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %41

37:                                               ; preds = %33
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %9, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %138

41:                                               ; preds = %35, %27
  call void @llvm.lifetime.start.p0(i64 56, ptr %12) #8
  invoke void @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12)
          to label %42 unwind label %60

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIP9DexMethodS2_St4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESA_EEbE4typeELb1EEDaRKSA_(ptr noundef nonnull align 8 dereferenceable(56) %43)
          to label %45 unwind label %64

45:                                               ; preds = %42
  %46 = getelementptr inbounds %"class.UnorderedMap<DexMethod *, DexMethod *>::ConstUnorderedIterable", ptr %14, i32 0, i32 0
  store ptr %44, ptr %46, align 8
  store ptr %14, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  %48 = invoke ptr @_ZNK12UnorderedMapIP9DexMethodS1_St4hashIS1_ESt8equal_toIS1_EE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %49 unwind label %68

49:                                               ; preds = %45
  %50 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %15, i32 0, i32 0
  %51 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %50, i32 0, i32 0
  store ptr %48, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = invoke ptr @_ZNK12UnorderedMapIP9DexMethodS1_St4hashIS1_ESt8equal_toIS1_EE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %54 unwind label %72

54:                                               ; preds = %49
  %55 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %16, i32 0, i32 0
  %56 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %55, i32 0, i32 0
  store ptr %53, ptr %56, align 8
  br label %57

57:                                               ; preds = %113, %54
  %58 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP9DexMethodS3_ELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %58, label %76, label %59

59:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %123

60:                                               ; preds = %41
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %9, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %10, align 4
  br label %137

64:                                               ; preds = %42
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %9, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %10, align 4
  br label %122

68:                                               ; preds = %45
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  br label %121

72:                                               ; preds = %49
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %9, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %10, align 4
  br label %120

76:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKP9DexMethodS3_ELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  store ptr %77, ptr %17, align 8, !tbaa !5
  %78 = load ptr, ptr %17, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.std::pair", ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !13
  %81 = invoke noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef %80)
          to label %82 unwind label %86

82:                                               ; preds = %76
  br i1 %81, label %84, label %83

83:                                               ; preds = %82
  br label %91

84:                                               ; preds = %82
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.13, ptr noundef @.str.9, i32 noundef 257, ptr noundef @__PRETTY_FUNCTION__._ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb, i32 noundef 2, ptr noundef @.str.10) #9
          to label %85 unwind label %86

85:                                               ; preds = %84
  unreachable

86:                                               ; preds = %98, %91, %84, %76
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %9, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %10, align 4
  br label %119

90:                                               ; No predecessors!
  br label %91

91:                                               ; preds = %90, %83
  %92 = load ptr, ptr %17, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.std::pair", ptr %92, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !15
  %95 = invoke noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef %94)
          to label %96 unwind label %86

96:                                               ; preds = %91
  br i1 %95, label %97, label %98

97:                                               ; preds = %96
  br label %101

98:                                               ; preds = %96
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.14, ptr noundef @.str.9, i32 noundef 258, ptr noundef @__PRETTY_FUNCTION__._ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb, i32 noundef 2, ptr noundef @.str.10) #9
          to label %99 unwind label %86

99:                                               ; preds = %98
  unreachable

100:                                              ; No predecessors!
  br label %101

101:                                              ; preds = %100, %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.std::pair", ptr %102, i32 0, i32 1
  %104 = load ptr, ptr %103, align 8, !tbaa !15
  %105 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %104)
          to label %106 unwind label %115

106:                                              ; preds = %101
  store ptr %105, ptr %18, align 8, !tbaa !5
  %107 = invoke { ptr, i8 } @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %108 unwind label %115

108:                                              ; preds = %106
  %109 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 0
  %110 = extractvalue { ptr, i8 } %107, 0
  store ptr %110, ptr %109, align 8
  %111 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 1
  %112 = extractvalue { ptr, i8 } %107, 1
  store i8 %112, ptr %111, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %113

113:                                              ; preds = %108
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKP9DexMethodS3_ELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %57

115:                                              ; preds = %106, %101
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %9, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %119

119:                                              ; preds = %115, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %120

120:                                              ; preds = %119, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %121

121:                                              ; preds = %120, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %122

122:                                              ; preds = %121, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %136

123:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @llvm.memset.p0.i64(ptr align 4 %20, i8 0, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  %124 = getelementptr inbounds %class.anon.174, ptr %21, i32 0, i32 0
  store ptr %12, ptr %124, align 8, !tbaa !5
  %125 = getelementptr inbounds %class.anon.174, ptr %21, i32 0, i32 1
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %126, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds %class.anon.174, ptr %21, i32 0, i32 2
  store ptr %20, ptr %127, align 8, !tbaa !5
  %128 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %129 unwind label %132

129:                                              ; preds = %123
  invoke void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN16method_reference30wrap_instance_call_with_staticERS2_I8DexStoreSaIS8_EERK12UnorderedMapIP9DexMethodSE_St4hashISE_ESt8equal_toISE_EEbE3$_0EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %128)
          to label %130 unwind label %132

130:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  %131 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %12) #8
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  ret i32 %131

132:                                              ; preds = %129, %123
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %9, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %136

136:                                              ; preds = %132, %122
  call void @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  br label %137

137:                                              ; preds = %136, %60
  call void @llvm.lifetime.end.p0(i64 56, ptr %12) #8
  br label %138

138:                                              ; preds = %137, %37, %29
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %139

139:                                              ; preds = %138
  %140 = load ptr, ptr %9, align 8
  %141 = load i32, ptr %10, align 4
  %142 = insertvalue { ptr, i32 } poison, ptr %140, 0
  %143 = insertvalue { ptr, i32 } %142, i32 %141, 1
  resume { ptr, i32 } %143
}

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

declare void @_Z17build_class_scopeRKSt6vectorI8DexStoreSaIS0_EE(ptr dead_on_unwind writable sret(%"class.std::vector.7") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #6

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_139build_class_scope_excluding_primary_dexERKSt6vectorI8DexStoreSaIS1_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.7") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #4

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN16method_reference30wrap_instance_call_with_staticERS2_I8DexStoreSaIS8_EERK12UnorderedMapIP9DexMethodSE_St4hashISE_ESt8equal_toISE_EEbE3$_0EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSSt4pairIKP9DexMethodS1_E", !6, i64 0, !6, i64 8}
!15 = !{!14, !6, i64 8}


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

%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexClass *, std::allocator<DexClass *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.UnorderedSet.147 = type { %"class.std::unordered_set.149" }
%"class.std::unordered_set.149" = type { %"class.std::_Hashtable.150" }
%"class.std::_Hashtable.150" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.UnorderedMap<DexMethod *, DexMethod *>::ConstUnorderedIterable" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::atomic.172" = type { %"struct.std::__atomic_base.173" }
%"struct.std::__atomic_base.173" = type { i32 }
%class.anon.174 = type { ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb = external hidden unnamed_addr constant [126 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, i1 noundef zeroext %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.7", align 8
  %5 = alloca %"class.std::vector.7", align 8
  %6 = alloca %"class.std::vector.7", align 8
  %7 = alloca %class.UnorderedSet.147, align 8
  %8 = alloca %"class.UnorderedMap<DexMethod *, DexMethod *>::ConstUnorderedIterable", align 8
  %9 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::atomic.172", align 4
  %13 = alloca %class.anon.174, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @_ZNSt6vectorIP8DexClassSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br i1 %2, label %19, label %14

14:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  invoke void @_Z17build_class_scopeRKSt6vectorI8DexStoreSaIS0_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.7") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %0)
          to label %15 unwind label %17

15:                                               ; preds = %14
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP8DexClassSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %24

17:                                               ; preds = %14
  %18 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %62

19:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  invoke void @_ZN12_GLOBAL__N_139build_class_scope_excluding_primary_dexERKSt6vectorI8DexStoreSaIS1_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.7") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %0)
          to label %20 unwind label %22

20:                                               ; preds = %19
  %21 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIP8DexClassSaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  br label %24

22:                                               ; preds = %19
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  br label %62

24:                                               ; preds = %20, %15
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #7
  call void @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %25 = invoke ptr @_Z17UnorderedIterableI12UnorderedMapIP9DexMethodS2_St4hashIS2_ESt8equal_toIS2_EETnNSt9enable_ifIXsr3stdE12is_base_of_vI13UnorderedBaseIT_ESA_EEbE4typeELb1EEDaRKSA_(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %26 unwind label %33

26:                                               ; preds = %24
  store ptr %25, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %27 = call ptr @_ZNK12UnorderedMapIP9DexMethodS1_St4hashIS1_ESt8equal_toIS1_EE22ConstUnorderedIterable5beginEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %27, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %28 = call ptr @_ZNK12UnorderedMapIP9DexMethodS1_St4hashIS1_ESt8equal_toIS1_EE22ConstUnorderedIterable3endEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %28, ptr %10, align 8
  %29 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP9DexMethodS3_ELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %29, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %50, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  store i32 0, ptr %12, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  store ptr %7, ptr %13, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %13, i64 8
  store ptr %1, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %13, i64 16
  store ptr %12, ptr %31, align 8, !tbaa !5
  %32 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %56 unwind label %59

33:                                               ; preds = %24
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %61

.lr.ph:                                           ; preds = %26, %50
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKP9DexMethodS3_ELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = invoke noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef %36)
          to label %38 unwind label %.loopexit

38:                                               ; preds = %.lr.ph
  br i1 %37, label %.invoke, label %41

.invoke:                                          ; preds = %38, %45
  %39 = phi ptr [ @.str.14, %45 ], [ @.str.13, %38 ]
  %40 = phi i32 [ 258, %45 ], [ 257, %38 ]
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull %39, ptr noundef nonnull @.str.9, i32 noundef %40, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN16method_reference30wrap_instance_call_with_staticERSt6vectorI8DexStoreSaIS1_EERK12UnorderedMapIP9DexMethodS7_St4hashIS7_ESt8equal_toIS7_EEb, i32 noundef 2, ptr noundef nonnull @.str.10) #8
          to label %.cont unwind label %.loopexit.split-lp

.cont:                                            ; preds = %.invoke
  unreachable

.loopexit:                                        ; preds = %.lr.ph, %41
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %55

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

41:                                               ; preds = %38
  %42 = getelementptr inbounds i8, ptr %35, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = invoke noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef %43)
          to label %45 unwind label %.loopexit

45:                                               ; preds = %41
  br i1 %44, label %46, label %.invoke

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %47 = load ptr, ptr %42, align 8, !tbaa !11
  %48 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %47)
  store ptr %48, ptr %11, align 8, !tbaa !5
  %49 = invoke { ptr, i8 } @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %50 unwind label %53

50:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKP9DexMethodS3_ELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %52 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP9DexMethodS3_ELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %52, label %.lr.ph, label %._crit_edge

53:                                               ; preds = %46
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %55

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

56:                                               ; preds = %._crit_edge
  invoke void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN16method_reference30wrap_instance_call_with_staticERS2_I8DexStoreSaIS8_EERK12UnorderedMapIP9DexMethodSE_St4hashISE_ESt8equal_toISE_EEbE3$_0EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %32)
          to label %57 unwind label %59

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  %58 = call noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #7
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  ret i32 %58

59:                                               ; preds = %56, %._crit_edge
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  br label %61

61:                                               ; preds = %33, %55, %59
  %.pn.pn.pn = phi { ptr, i32 } [ %60, %59 ], [ %.pn, %55 ], [ %34, %33 ]
  call void @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #7
  br label %62

62:                                               ; preds = %61, %22, %17
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %61 ], [ %23, %22 ], [ %18, %17 ]
  call void @_ZNSt6vectorIP8DexClassSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

declare void @_Z17build_class_scopeRKSt6vectorI8DexStoreSaIS0_EE(ptr dead_on_unwind writable sret(%"class.std::vector.7") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_139build_class_scope_excluding_primary_dexERKSt6vectorI8DexStoreSaIS1_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.7") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKP9DexMethodS3_ELb0EEES8_(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(16) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKP9DexMethodS3_ELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIP7DexTypeSt4hashIS1_ESt8equal_toIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN16method_reference30wrap_instance_call_with_staticERS2_I8DexStoreSaIS8_EERK12UnorderedMapIP9DexMethodSE_St4hashISE_ESt8equal_toISE_EEbE3$_0EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { 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 = { "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 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"_ZTSSt4pairIKP9DexMethodS1_E", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}


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