; LLVM IR from chensoft/libsocket :: lib/libchen/test/lib/googletest/googlemock/test (gmock-matchers_test)

; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, char>, std::_Select1st<std::pair<const int, char>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, char>, std::_Select1st<std::pair<const int, char>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.239" = type <{ i32, i8, [3 x i8] }>
%"struct.std::pair.236" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::internal::PredicateFormatterFromMatcher.242" = type { %"class.testing::internal::ContainsMatcher" }
%"class.testing::internal::ContainsMatcher" = type { %"class.testing::internal::KeyMatcher.218" }
%"class.testing::internal::KeyMatcher.218" = type { i32 }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }
%"class.testing::internal::PredicateFormatterFromMatcher.243" = type { %"class.testing::internal::NotMatcher.244" }
%"class.testing::internal::NotMatcher.244" = type { %"class.testing::internal::ContainsMatcher" }

@.str.5 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.420 = external hidden unnamed_addr constant [10 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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

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

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing3KeyIiEENS_8internal10KeyMatcherIT_EES3_(i32 noundef) #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing19gmock_matchers_test35KeyTest_InsideContainsUsingMap_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::map", align 8
  %4 = alloca %"struct.std::pair.239", align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::pair.236", align 8
  %10 = alloca %"struct.std::pair.239", align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca %"struct.std::pair.236", align 8
  %14 = alloca %"struct.std::pair.239", align 4
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca %"struct.std::pair.236", align 8
  %18 = alloca %"class.testing::AssertionResult", align 8
  %19 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.242", align 4
  %20 = alloca %"class.testing::internal::ContainsMatcher", align 4
  %21 = alloca %"class.testing::internal::KeyMatcher.218", align 4
  %22 = alloca %"class.testing::Message", align 8
  %23 = alloca %"class.testing::internal::AssertHelper", align 8
  %24 = alloca %"class.testing::AssertionResult", align 8
  %25 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.243", align 4
  %26 = alloca %"class.testing::internal::NotMatcher.244", align 4
  %27 = alloca %"class.testing::internal::ContainsMatcher", align 4
  %28 = alloca %"class.testing::internal::KeyMatcher.218", align 4
  %29 = alloca %"class.testing::Message", align 8
  %30 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %31 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #7
  call void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  store i8 97, ptr %6, align 1, !tbaa !11
  %32 = invoke i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %33 unwind label %80

33:                                               ; preds = %1
  %34 = trunc i64 %32 to i40
  store i40 %34, ptr %4, align 4
  %35 = invoke { ptr, i8 } @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEE6insertIS2_IicEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(5) %4)
          to label %36 unwind label %80

36:                                               ; preds = %33
  %37 = getelementptr inbounds { ptr, i8 }, ptr %9, i32 0, i32 0
  %38 = extractvalue { ptr, i8 } %35, 0
  store ptr %38, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i8 }, ptr %9, i32 0, i32 1
  %40 = extractvalue { ptr, i8 } %35, 1
  store i8 %40, ptr %39, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 2, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  store i8 98, ptr %12, align 1, !tbaa !11
  %41 = invoke i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %42 unwind label %84

42:                                               ; preds = %36
  %43 = trunc i64 %41 to i40
  store i40 %43, ptr %10, align 4
  %44 = invoke { ptr, i8 } @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEE6insertIS2_IicEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(5) %10)
          to label %45 unwind label %84

45:                                               ; preds = %42
  %46 = getelementptr inbounds { ptr, i8 }, ptr %13, i32 0, i32 0
  %47 = extractvalue { ptr, i8 } %44, 0
  store ptr %47, ptr %46, align 8
  %48 = getelementptr inbounds { ptr, i8 }, ptr %13, i32 0, i32 1
  %49 = extractvalue { ptr, i8 } %44, 1
  store i8 %49, ptr %48, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 4, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 99, ptr %16, align 1, !tbaa !11
  %50 = invoke i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %51 unwind label %88

51:                                               ; preds = %45
  %52 = trunc i64 %50 to i40
  store i40 %52, ptr %14, align 4
  %53 = invoke { ptr, i8 } @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEE6insertIS2_IicEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 4 dereferenceable(5) %14)
          to label %54 unwind label %88

54:                                               ; preds = %51
  %55 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 0
  %56 = extractvalue { ptr, i8 } %53, 0
  store ptr %56, ptr %55, align 8
  %57 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 1
  %58 = extractvalue { ptr, i8 } %53, 1
  store i8 %58, ptr %57, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %59 = invoke i32 @_ZN7testing3KeyIiEENS_8internal10KeyMatcherIT_EES3_(i32 noundef 1)
          to label %60 unwind label %92

60:                                               ; preds = %54
  %61 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %21, i32 0, i32 0
  store i32 %59, ptr %61, align 4
  %62 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %21, i32 0, i32 0
  %63 = load i32, ptr %62, align 4
  %64 = invoke i32 @_ZN7testing8ContainsINS_8internal10KeyMatcherIiEEEENS1_15ContainsMatcherIT_EES5_(i32 %63)
          to label %65 unwind label %92

65:                                               ; preds = %60
  %66 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %20, i32 0, i32 0
  %67 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %66, i32 0, i32 0
  store i32 %64, ptr %67, align 4
  %68 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %20, i32 0, i32 0
  %69 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %68, i32 0, i32 0
  %70 = load i32, ptr %69, align 4
  %71 = invoke i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEENS0_29PredicateFormatterFromMatcherIT_EES7_(i32 %70)
          to label %72 unwind label %92

72:                                               ; preds = %65
  %73 = getelementptr inbounds %"class.testing::internal::PredicateFormatterFromMatcher.242", ptr %19, i32 0, i32 0
  %74 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %74, i32 0, i32 0
  store i32 %71, ptr %75, align 4
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef @.str.420, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %76 unwind label %92

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  %77 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %78 unwind label %96

78:                                               ; preds = %76
  br i1 %77, label %79, label %100

79:                                               ; preds = %78
  br label %120

80:                                               ; preds = %33, %1
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %7, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %185

84:                                               ; preds = %42, %36
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %185

88:                                               ; preds = %51, %45
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %185

92:                                               ; preds = %72, %65, %60, %54
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %153

96:                                               ; preds = %76
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  br label %152

100:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %101 unwind label %106

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %102 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %103 unwind label %110

103:                                              ; preds = %101
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 1, ptr noundef @.str.5, i32 noundef 1336, ptr noundef %102)
          to label %104 unwind label %110

104:                                              ; preds = %103
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %105 unwind label %114

105:                                              ; preds = %104
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %120

106:                                              ; preds = %100
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %7, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %8, align 4
  br label %119

110:                                              ; preds = %103, %101
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  br label %118

114:                                              ; preds = %104
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %7, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br label %118

118:                                              ; preds = %114, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br label %119

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

120:                                              ; preds = %105, %79
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %121 = invoke i32 @_ZN7testing3KeyIiEENS_8internal10KeyMatcherIT_EES3_(i32 noundef 3)
          to label %122 unwind label %154

122:                                              ; preds = %120
  %123 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %28, i32 0, i32 0
  store i32 %121, ptr %123, align 4
  %124 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %28, i32 0, i32 0
  %125 = load i32, ptr %124, align 4
  %126 = invoke i32 @_ZN7testing8ContainsINS_8internal10KeyMatcherIiEEEENS1_15ContainsMatcherIT_EES5_(i32 %125)
          to label %127 unwind label %154

127:                                              ; preds = %122
  %128 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %27, i32 0, i32 0
  %129 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %128, i32 0, i32 0
  store i32 %126, ptr %129, align 4
  %130 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %27, i32 0, i32 0
  %131 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %130, i32 0, i32 0
  %132 = load i32, ptr %131, align 4
  %133 = invoke i32 @_ZN7testing3NotINS_8internal15ContainsMatcherINS1_10KeyMatcherIiEEEEEENS1_10NotMatcherIT_EES7_(i32 %132)
          to label %134 unwind label %154

134:                                              ; preds = %127
  %135 = getelementptr inbounds %"class.testing::internal::NotMatcher.244", ptr %26, i32 0, i32 0
  %136 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %136, i32 0, i32 0
  store i32 %133, ptr %137, align 4
  %138 = getelementptr inbounds %"class.testing::internal::NotMatcher.244", ptr %26, i32 0, i32 0
  %139 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %138, i32 0, i32 0
  %140 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %139, i32 0, i32 0
  %141 = load i32, ptr %140, align 4
  %142 = invoke i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEENS0_29PredicateFormatterFromMatcherIT_EES9_(i32 %141)
          to label %143 unwind label %154

143:                                              ; preds = %134
  %144 = getelementptr inbounds %"class.testing::internal::PredicateFormatterFromMatcher.243", ptr %25, i32 0, i32 0
  %145 = getelementptr inbounds %"class.testing::internal::NotMatcher.244", ptr %144, i32 0, i32 0
  %146 = getelementptr inbounds %"class.testing::internal::ContainsMatcher", ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds %"class.testing::internal::KeyMatcher.218", ptr %146, i32 0, i32 0
  store i32 %142, ptr %147, align 4
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %24, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef @.str.420, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %148 unwind label %154

148:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  %149 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %150 unwind label %158

150:                                              ; preds = %148
  br i1 %149, label %151, label %162

151:                                              ; preds = %150
  br label %182

152:                                              ; preds = %119, %96
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %153

153:                                              ; preds = %152, %92
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  br label %185

154:                                              ; preds = %143, %134, %127, %122, %120
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %7, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %184

158:                                              ; preds = %148
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %7, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %8, align 4
  br label %183

162:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %163 unwind label %168

163:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %164 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %165 unwind label %172

165:                                              ; preds = %163
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef 1, ptr noundef @.str.5, i32 noundef 1337, ptr noundef %164)
          to label %166 unwind label %172

166:                                              ; preds = %165
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %167 unwind label %176

167:                                              ; preds = %166
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %182

168:                                              ; preds = %162
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %7, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %8, align 4
  br label %181

172:                                              ; preds = %165, %163
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %7, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %8, align 4
  br label %180

176:                                              ; preds = %166
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %7, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  br label %180

180:                                              ; preds = %176, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  br label %181

181:                                              ; preds = %180, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %183

182:                                              ; preds = %167, %151
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  ret void

183:                                              ; preds = %181, %158
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  br label %184

184:                                              ; preds = %183, %154
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  br label %185

185:                                              ; preds = %184, %153, %88, %84, %80
  call void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  br label %186

186:                                              ; preds = %185
  %187 = load ptr, ptr %7, align 8
  %188 = load i32, ptr %8, align 4
  %189 = insertvalue { ptr, i32 } poison, ptr %187, 0
  %190 = insertvalue { ptr, i32 } %189, i32 %188, 1
  resume { ptr, i32 } %190
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEENS0_29PredicateFormatterFromMatcherIT_EES7_(i32) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing8ContainsINS_8internal10KeyMatcherIiEEEENS1_15ContainsMatcherIT_EES5_(i32) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEENS0_29PredicateFormatterFromMatcherIT_EES9_(i32) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing3NotINS_8internal15ContainsMatcherINS1_10KeyMatcherIiEEEEEENS1_10NotMatcherIT_EES7_(i32) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}


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

%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, char>, std::_Select1st<std::pair<const int, char>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, char>, std::_Select1st<std::pair<const int, char>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.239" = type <{ i32, i8, [3 x i8] }>
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::internal::PredicateFormatterFromMatcher.242" = type { %"class.testing::internal::ContainsMatcher" }
%"class.testing::internal::ContainsMatcher" = type { %"class.testing::internal::KeyMatcher.218" }
%"class.testing::internal::KeyMatcher.218" = type { i32 }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }
%"class.testing::internal::PredicateFormatterFromMatcher.243" = type { %"class.testing::internal::NotMatcher.244" }
%"class.testing::internal::NotMatcher.244" = type { %"class.testing::internal::ContainsMatcher" }

@.str.5 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.420 = external hidden unnamed_addr constant [10 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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

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

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing3KeyIiEENS_8internal10KeyMatcherIT_EES3_(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing19gmock_matchers_test35KeyTest_InsideContainsUsingMap_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::map", align 8
  %3 = alloca %"struct.std::pair.239", align 8
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca %"struct.std::pair.239", align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca %"struct.std::pair.239", align 8
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca %"class.testing::AssertionResult", align 8
  %13 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.242", align 4
  %14 = alloca %"class.testing::Message", align 8
  %15 = alloca %"class.testing::internal::AssertHelper", align 8
  %16 = alloca %"class.testing::AssertionResult", align 8
  %17 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.243", align 4
  %18 = alloca %"class.testing::Message", align 8
  %19 = alloca %"class.testing::internal::AssertHelper", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #7
  call void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  store i8 97, ptr %5, align 1, !tbaa !9
  %20 = invoke i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %21 unwind label %43

21:                                               ; preds = %1
  %22 = trunc i64 %20 to i40
  store i40 %22, ptr %3, align 8
  %23 = invoke { ptr, i8 } @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEE6insertIS2_IicEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(5) %3)
          to label %24 unwind label %43

24:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 2, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  store i8 98, ptr %8, align 1, !tbaa !9
  %25 = invoke i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %26 unwind label %45

26:                                               ; preds = %24
  %27 = trunc i64 %25 to i40
  store i40 %27, ptr %6, align 8
  %28 = invoke { ptr, i8 } @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEE6insertIS2_IicEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(5) %6)
          to label %29 unwind label %45

29:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 4, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  store i8 99, ptr %11, align 1, !tbaa !9
  %30 = invoke i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %31 unwind label %47

31:                                               ; preds = %29
  %32 = trunc i64 %30 to i40
  store i40 %32, ptr %9, align 8
  %33 = invoke { ptr, i8 } @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEE6insertIS2_IicEEENSt9enable_ifIXsr16is_constructibleIS4_T_EE5valueES2_ISt17_Rb_tree_iteratorIS4_EbEE4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(5) %9)
          to label %34 unwind label %47

34:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %35 = invoke i32 @_ZN7testing3KeyIiEENS_8internal10KeyMatcherIT_EES3_(i32 noundef 1)
          to label %36 unwind label %49

36:                                               ; preds = %34
  %37 = invoke i32 @_ZN7testing8ContainsINS_8internal10KeyMatcherIiEEEENS1_15ContainsMatcherIT_EES5_(i32 %35)
          to label %38 unwind label %49

38:                                               ; preds = %36
  %39 = invoke i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEENS0_29PredicateFormatterFromMatcherIT_EES7_(i32 %37)
          to label %40 unwind label %49

40:                                               ; preds = %38
  store i32 %39, ptr %13, align 4
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull @.str.420, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %41 unwind label %49

41:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  %42 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  br i1 %42, label %65, label %51

43:                                               ; preds = %21, %1
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %95

45:                                               ; preds = %26, %24
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %95

47:                                               ; preds = %31, %29
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %95

49:                                               ; preds = %40, %38, %36, %34
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %76

51:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %52 unwind label %57

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %53 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %54 unwind label %59

54:                                               ; preds = %52
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 1336, ptr noundef %53)
          to label %55 unwind label %59

55:                                               ; preds = %54
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %56 unwind label %61

56:                                               ; preds = %55
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %65

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

59:                                               ; preds = %54, %52
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %63

61:                                               ; preds = %55
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br label %63

63:                                               ; preds = %61, %59
  %.pn = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %64

64:                                               ; preds = %63, %57
  %.pn.pn = phi { ptr, i32 } [ %.pn, %63 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %76

65:                                               ; preds = %41, %56
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  %66 = invoke i32 @_ZN7testing3KeyIiEENS_8internal10KeyMatcherIT_EES3_(i32 noundef 3)
          to label %67 unwind label %77

67:                                               ; preds = %65
  %68 = invoke i32 @_ZN7testing8ContainsINS_8internal10KeyMatcherIiEEEENS1_15ContainsMatcherIT_EES5_(i32 %66)
          to label %69 unwind label %77

69:                                               ; preds = %67
  %70 = invoke i32 @_ZN7testing3NotINS_8internal15ContainsMatcherINS1_10KeyMatcherIiEEEEEENS1_10NotMatcherIT_EES7_(i32 %68)
          to label %71 unwind label %77

71:                                               ; preds = %69
  %72 = invoke i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEENS0_29PredicateFormatterFromMatcherIT_EES9_(i32 %70)
          to label %73 unwind label %77

73:                                               ; preds = %71
  store i32 %72, ptr %17, align 4
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull @.str.420, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %74 unwind label %77

74:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  %75 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  br i1 %75, label %93, label %79

76:                                               ; preds = %64, %49
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %64 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %95

77:                                               ; preds = %73, %71, %69, %67, %65
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  br label %94

79:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %80 unwind label %85

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %81 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %82 unwind label %87

82:                                               ; preds = %80
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 1337, ptr noundef %81)
          to label %83 unwind label %87

83:                                               ; preds = %82
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %84 unwind label %89

84:                                               ; preds = %83
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %93

85:                                               ; preds = %79
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %92

87:                                               ; preds = %82, %80
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %91

89:                                               ; preds = %83
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br label %91

91:                                               ; preds = %89, %87
  %.pn21 = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br label %92

92:                                               ; preds = %91, %85
  %.pn21.pn = phi { ptr, i32 } [ %.pn21, %91 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %94

93:                                               ; preds = %74, %84
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  ret void

94:                                               ; preds = %92, %77
  %.pn21.pn.pn = phi { ptr, i32 } [ %.pn21.pn, %92 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %95

95:                                               ; preds = %94, %76, %47, %45, %43
  %.pn21.pn.pn.pn = phi { ptr, i32 } [ %.pn21.pn.pn, %94 ], [ %.pn.pn.pn, %76 ], [ %48, %47 ], [ %46, %45 ], [ %44, %43 ]
  call void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn21.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIicESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEENS0_29PredicateFormatterFromMatcherIT_EES7_(i32) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing8ContainsINS_8internal10KeyMatcherIiEEEENS1_15ContainsMatcherIT_EES5_(i32) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEENS0_29PredicateFormatterFromMatcherIT_EES9_(i32) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN7testing3NotINS_8internal15ContainsMatcherINS1_10KeyMatcherIiEEEEEENS1_10NotMatcherIT_EES7_(i32) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_10NotMatcherINS0_15ContainsMatcherINS0_10KeyMatcherIiEEEEEEEclISt3mapIicSt4lessIiESaISt4pairIKicEEEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIicSt4lessIiESaISt4pairIKicEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass