; LLVM IR from facebook/redex :: opt/resolve-refs (SpecializeRtype)

; 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.boost::optional.92" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.resolve_refs::RtypeCandidates" = type { %"class.std::map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<DexMethod *, std::pair<DexMethod *const, const DexType *>, std::_Select1st<std::pair<DexMethod *const, const DexType *>>, dexmethods_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DexMethod *, std::pair<DexMethod *const, const DexType *>, std::_Select1st<std::pair<DexMethod *const, const DexType *>>, dexmethods_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 }

@.str.32 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__._ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain = external hidden unnamed_addr constant [145 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(2840) %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(56) %4) #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.boost::optional.92", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::pair", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = call noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(56) %21)
  br i1 %22, label %26, label %23

23:                                               ; preds = %5
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK6sparta27DirectProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE6is_topEv(ptr noundef nonnull align 8 dereferenceable(56) %24)
  br i1 %25, label %26, label %27

26:                                               ; preds = %23, %5
  br label %133

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %28)
  %30 = call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
  store ptr %30, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = call { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %31)
  %33 = getelementptr inbounds %"class.boost::optional.92", ptr %12, i32 0, i32 0
  %34 = getelementptr inbounds { i8, ptr }, ptr %33, i32 0, i32 0
  %35 = extractvalue { i8, ptr } %32, 0
  store i8 %35, ptr %34, align 8
  %36 = getelementptr inbounds { i8, ptr }, ptr %33, i32 0, i32 1
  %37 = extractvalue { i8, ptr } %32, 1
  store ptr %37, ptr %36, align 8
  %38 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br i1 %38, label %44, label %39

39:                                               ; preds = %27
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = call noundef ptr @_ZN4type16java_lang_ObjectEv()
  %43 = icmp eq ptr %41, %42
  br i1 %43, label %44, label %45

44:                                               ; preds = %39, %27
  store i32 1, ptr %13, align 4
  br label %131

45:                                               ; preds = %39
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = call noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef %46)
  br i1 %47, label %48, label %49

48:                                               ; preds = %45
  br label %51

49:                                               ; preds = %45
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.32, ptr noundef @.str.33, i32 noundef 206, ptr noundef @__PRETTY_FUNCTION__._ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain, i32 noundef 2, ptr noundef @.str.34) #7
  unreachable

50:                                               ; No predecessors!
  br label %51

51:                                               ; preds = %50, %48
  %52 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br i1 %52, label %53, label %54

53:                                               ; preds = %51
  br label %56

54:                                               ; preds = %51
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.35, ptr noundef @.str.33, i32 noundef 207, ptr noundef @__PRETTY_FUNCTION__._ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain, i32 noundef 2, ptr noundef @.str.34) #7
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %53
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = icmp eq ptr %58, %59
  br i1 %60, label %64, label %61

61:                                               ; preds = %56
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = call noundef zeroext i1 @_ZN4type8is_arrayEPK7DexType(ptr noundef %62)
  br i1 %63, label %64, label %65

64:                                               ; preds = %61, %56
  store i32 1, ptr %13, align 4
  br label %131

65:                                               ; preds = %61
  br label %66

66:                                               ; preds = %65
  %67 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 114, i32 noundef 3)
  br i1 %67, label %68, label %86

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef %69)
  %70 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %72 unwind label %77

72:                                               ; preds = %68
  %73 = load ptr, ptr %71, align 8, !tbaa !5
  invoke void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef %73)
          to label %74 unwind label %77

74:                                               ; preds = %72
  %75 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 114, i32 noundef 3, i1 noundef zeroext false, ptr noundef @.str.36, ptr noundef %70, ptr noundef %75)
          to label %76 unwind label %81

76:                                               ; preds = %74
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %86

77:                                               ; preds = %72, %68
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %16, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %17, align 4
  br label %85

81:                                               ; preds = %74
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %16, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %85

85:                                               ; preds = %81, %77
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %134

86:                                               ; preds = %76, %66
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %90)
  store ptr %91, ptr %18, align 8, !tbaa !5
  %92 = load ptr, ptr %18, align 8, !tbaa !5
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %103

94:                                               ; preds = %88
  %95 = load ptr, ptr %18, align 8, !tbaa !5
  %96 = call noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %95)
  br i1 %96, label %97, label %103

97:                                               ; preds = %94
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = call noundef zeroext i1 @_ZNK3api10AndroidSDK8has_typeEPK7DexType(ptr noundef nonnull align 8 dereferenceable(88) %98, ptr noundef %100)
  br i1 %101, label %103, label %102

102:                                              ; preds = %97
  store i32 1, ptr %13, align 4
  br label %130

103:                                              ; preds = %97, %94, %88
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %105)
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = call noundef zeroext i1 @_ZNK10XStoreRefs11illegal_refEPK7DexTypeS2_(ptr noundef nonnull align 8 dereferenceable(2840) %104, ptr noundef %106, ptr noundef %108)
  br i1 %109, label %110, label %111

110:                                              ; preds = %103
  store i32 1, ptr %13, align 4
  br label %130

111:                                              ; preds = %103
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = call noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef %113, ptr noundef %114)
  br i1 %115, label %116, label %129

116:                                              ; preds = %111
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = call noundef zeroext i1 @_ZN12resolve_refs12_GLOBAL__N_120can_update_rtype_forEP9DexMethodPK7DexType(ptr noundef %117, ptr noundef %119)
  br i1 %120, label %121, label %129

121:                                              ; preds = %116
  %122 = getelementptr inbounds %"class.resolve_refs::RtypeCandidates", ptr %20, i32 0, i32 0
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %124 = call { ptr, i8 } @_ZNSt3mapIP9DexMethodPK7DexType21dexmethods_comparatorSaISt4pairIKS1_S4_EEE7emplaceIJRS1_RKS4_EEES6_ISt17_Rb_tree_iteratorIS8_EbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %122, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %123)
  %125 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 0
  %126 = extractvalue { ptr, i8 } %124, 0
  store ptr %126, ptr %125, align 8
  %127 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 1
  %128 = extractvalue { ptr, i8 } %124, 1
  store i8 %128, ptr %127, align 8
  br label %129

129:                                              ; preds = %121, %116, %111
  store i32 0, ptr %13, align 4
  br label %130

130:                                              ; preds = %129, %110, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %131

131:                                              ; preds = %130, %64, %44
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %132 = load i32, ptr %13, align 4
  switch i32 %132, label %139 [
    i32 0, label %133
    i32 1, label %133
  ]

133:                                              ; preds = %131, %131, %26
  ret void

134:                                              ; preds = %85
  %135 = load ptr, ptr %16, align 8
  %136 = load i32, ptr %17, align 4
  %137 = insertvalue { ptr, i32 } poison, ptr %135, 0
  %138 = insertvalue { ptr, i32 } %137, i32 %136, 1
  resume { ptr, i32 } %138

139:                                              ; preds = %131
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6sparta27DirectProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE6is_topEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

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

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

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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() #2

declare noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef) #2

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

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

declare noundef zeroext i1 @_ZN4type8is_arrayEPK7DexType(ptr noundef) #2

declare void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #2

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3api10AndroidSDK8has_typeEPK7DexType(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10XStoreRefs11illegal_refEPK7DexTypeS2_(ptr noundef nonnull align 8 dereferenceable(2840), ptr noundef, ptr noundef) #3 align 2

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

declare noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef, ptr noundef) #2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

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

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


; 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.boost::optional.92" = type { %"class.boost::optional_detail::tc_optional_base" }
%"class.boost::optional_detail::tc_optional_base" = type { i8, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.32 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__._ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain = external hidden unnamed_addr constant [145 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(2840) %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(56) %4) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %"class.boost::optional.92", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %3, ptr %6, align 8, !tbaa !5
  %10 = tail call noundef zeroext i1 @_ZNK6sparta28ReducedProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
  br i1 %10, label %80, label %11

11:                                               ; preds = %5
  %12 = tail call noundef zeroext i1 @_ZNK6sparta27DirectProductAbstractDomainI13DexTypeDomainJNS_20FiniteAbstractDomainI8NullnessNS_16BitVectorLatticeIS3_Lm5EvvEEN5boost14multiprecision6numberINS7_8backends15cpp_int_backendILj5ELj5ELNS7_16cpp_integer_typeE0ELNS7_18cpp_int_check_typeE0EvEELNS7_26expression_template_optionE0EEEXadL_Z7latticeEEEE22SingletonDexTypeDomain21SmallSetDexTypeDomainSH_EE6is_topEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
  br i1 %12, label %80, label %13

13:                                               ; preds = %11
  %14 = tail call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %3)
  %15 = tail call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %16 = tail call { i8, ptr } @_ZNK13DexTypeDomain12get_dex_typeEv(ptr noundef nonnull align 8 dereferenceable(56) %4)
  %17 = extractvalue { i8, ptr } %16, 0
  store i8 %17, ptr %7, align 8
  %18 = getelementptr inbounds i8, ptr %7, i64 8
  %19 = extractvalue { i8, ptr } %16, 1
  store ptr %19, ptr %18, align 8
  %20 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEntEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br i1 %20, label %79, label %21

21:                                               ; preds = %13
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = call noundef ptr @_ZN4type16java_lang_ObjectEv()
  %25 = icmp eq ptr %23, %24
  br i1 %25, label %79, label %26

26:                                               ; preds = %21
  %27 = call noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef %15)
  br i1 %27, label %29, label %28

28:                                               ; preds = %26
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.33, i32 noundef 206, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain, i32 noundef 2, ptr noundef nonnull @.str.34) #7
  unreachable

29:                                               ; preds = %26
  %30 = call noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.33, i32 noundef 207, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN12resolve_refs15RtypeCandidates27collect_specializable_rtypeEPKN3api10AndroidSDKERK10XStoreRefsP9DexMethodRK13DexTypeDomain, i32 noundef 2, ptr noundef nonnull @.str.34) #7
  unreachable

32:                                               ; preds = %29
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = icmp eq ptr %34, %15
  br i1 %35, label %79, label %36

36:                                               ; preds = %32
  %37 = call noundef zeroext i1 @_ZN4type8is_arrayEPK7DexType(ptr noundef %15)
  br i1 %37, label %79, label %38

38:                                               ; preds = %36
  %39 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 114, i32 noundef 3)
  br i1 %39, label %40, label %53

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull %3)
  %41 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %43 unwind label %48

43:                                               ; preds = %40
  %44 = load ptr, ptr %42, align 8, !tbaa !5
  invoke void @_Z4showIK7DexTypeRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef %44)
          to label %45 unwind label %48

45:                                               ; preds = %43
  %46 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 114, i32 noundef 3, i1 noundef zeroext false, ptr noundef nonnull @.str.36, ptr noundef %41, ptr noundef %46)
          to label %47 unwind label %50

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

48:                                               ; preds = %43, %40
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %45
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %52

52:                                               ; preds = %50, %48
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn

53:                                               ; preds = %47, %38
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %55)
  %.not = icmp eq ptr %56, null
  br i1 %.not, label %63, label %57

57:                                               ; preds = %53
  %58 = call noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %56)
  br i1 %58, label %59, label %63

59:                                               ; preds = %57
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = call noundef zeroext i1 @_ZNK3api10AndroidSDK8has_typeEPK7DexType(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef %61)
  br i1 %62, label %63, label %79

63:                                               ; preds = %59, %57, %53
  %64 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %3)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = call noundef zeroext i1 @_ZNK10XStoreRefs11illegal_refEPK7DexTypeS2_(ptr noundef nonnull align 8 dereferenceable(2840) %2, ptr noundef %64, ptr noundef %66)
  br i1 %67, label %79, label %68

68:                                               ; preds = %63
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  %71 = call noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef %70, ptr noundef %15)
  br i1 %71, label %72, label %79

72:                                               ; preds = %68
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = call noundef zeroext i1 @_ZN12resolve_refs12_GLOBAL__N_120can_update_rtype_forEP9DexMethodPK7DexType(ptr noundef nonnull %3, ptr noundef %74)
  br i1 %75, label %76, label %79

76:                                               ; preds = %72
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKR5boost8optionalIPK7DexTypeEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %78 = call { ptr, i8 } @_ZNSt3mapIP9DexMethodPK7DexType21dexmethods_comparatorSaISt4pairIKS1_S4_EEE7emplaceIJRS1_RKS4_EEES6_ISt17_Rb_tree_iteratorIS8_EbEDpOT_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %77)
  br label %79

79:                                               ; preds = %59, %63, %76, %72, %68, %32, %36, %13, %21
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %80

80:                                               ; preds = %5, %11, %79
  ret void
}

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

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

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

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

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

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

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4type9is_objectEPK7DexType(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalIPK7DexTypeEcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

declare noundef zeroext i1 @_ZN4type8is_arrayEPK7DexType(ptr noundef) local_unnamed_addr #2

declare void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3api10AndroidSDK8has_typeEPK7DexType(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK10XStoreRefs11illegal_refEPK7DexTypeS2_(ptr noundef nonnull align 8 dereferenceable(2840), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

declare noundef zeroext i1 @_ZN4type10check_castEPK7DexTypeS2_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass