; LLVM IR from chensoft/libsocket :: lib/libchen/test/lib/googletest/googlemock/test (gmock_output_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.testing::internal::AnythingMatcher" = type { i8 }
%"class.testing::Matcher.11" = type { %"class.testing::internal::MatcherBase.12" }
%"class.testing::internal::MatcherBase.12" = type { ptr, %"class.testing::internal::linked_ptr.13" }
%"class.testing::internal::linked_ptr.13" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::linked_ptr_internal" = type { ptr }
%"class.testing::Matcher.15" = type { %"class.testing::internal::MatcherBase.16" }
%"class.testing::internal::MatcherBase.16" = type { ptr, %"class.testing::internal::linked_ptr.17" }
%"class.testing::internal::linked_ptr.17" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::Matcher" = type { %"class.testing::internal::MatcherBase" }
%"class.testing::internal::MatcherBase" = type { ptr, %"class.testing::internal::linked_ptr" }
%"class.testing::internal::linked_ptr" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::Action.53" = type { %"class.testing::internal::linked_ptr.54" }
%"class.testing::internal::linked_ptr.54" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::ReturnAction.69" = type { %"class.testing::internal::linked_ptr.70" }
%"class.testing::internal::linked_ptr.70" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::Cardinality" = type { %"class.testing::internal::linked_ptr.31" }
%"class.testing::internal::linked_ptr.31" = type { ptr, %"class.testing::internal::linked_ptr_internal" }

@.str.3 = external hidden unnamed_addr constant [122 x i8], align 1
@_ZN7testingL1_E = external hidden constant %"class.testing::internal::AnythingMatcher", align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing7MatcherIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind noalias writable sret(%"class.testing::Matcher.11") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar3ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN7MockFoo9gmock_BarERKN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS1_IiEERKNS1_IdEE(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEv(ptr dead_on_unwind noalias writable sret(%"class.testing::Matcher.15") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN39GMockOutputTest_CatchesLeakedMocks_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(432) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"class.testing::Matcher.15", align 8
  %8 = alloca %"class.testing::Matcher.11", align 8
  %9 = alloca %"class.testing::Matcher", align 8
  %10 = alloca %"class.testing::Action.53", align 8
  %11 = alloca %"class.testing::internal::ReturnAction.69", align 8
  %12 = alloca %"class.testing::Matcher.11", align 8
  %13 = alloca %"class.testing::Matcher.11", align 8
  %14 = alloca %"class.testing::Matcher.11", align 8
  %15 = alloca %"class.testing::Matcher.11", align 8
  %16 = alloca %"class.testing::Matcher.11", align 8
  %17 = alloca %"class.testing::Matcher.11", align 8
  %18 = alloca %"class.testing::Cardinality", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %20 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 408) #8
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(408) %20)
          to label %21 unwind label %60

21:                                               ; preds = %1
  store ptr %20, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %22 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 408) #8
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(408) %22)
          to label %23 unwind label %64

23:                                               ; preds = %21
  store ptr %22, ptr %6, align 8, !tbaa !5
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.15") align 8 %7, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.11") align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %25 unwind label %68

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIdEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher") align 8 %9, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %26 unwind label %72

26:                                               ; preds = %25
  %27 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN7MockFoo9gmock_BarERKN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS1_IiEERKNS1_IdEE(ptr noundef nonnull align 8 dereferenceable(408) %24, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %28 unwind label %76

28:                                               ; preds = %26
  %29 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80) %27, ptr noundef @.str.3, i32 noundef 259, ptr noundef @.str.62, ptr noundef @.str.40)
          to label %30 unwind label %76

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  invoke void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind writable sret(%"class.testing::internal::ReturnAction.69") align 8 %11, i8 noundef signext 97)
          to label %31 unwind label %80

31:                                               ; preds = %30
  invoke void @_ZNK7testing8internal12ReturnActionIcEcvNS_6ActionIT_EEIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEEv(ptr dead_on_unwind writable sret(%"class.testing::Action.53") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %32 unwind label %84

32:                                               ; preds = %31
  %33 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZN7testing8internal10OnCallSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE13WillByDefaultERKNS_6ActionISA_EE(ptr noundef nonnull align 8 dereferenceable(128) %29, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %34 unwind label %88

34:                                               ; preds = %32
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.11") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.11") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %36 unwind label %97

36:                                               ; preds = %34
  %37 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408) %35, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %38 unwind label %101

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef @.str.3, i32 noundef 262, ptr noundef @.str.63, ptr noundef @.str.13)
          to label %40 unwind label %101

40:                                               ; preds = %38
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  call void @_ZN7testing7MatcherIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.11") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %42 unwind label %106

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408) %41, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %44 unwind label %110

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %43, ptr noundef @.str.3, i32 noundef 263, ptr noundef @.str.63, ptr noundef @.str.32)
          to label %46 unwind label %110

46:                                               ; preds = %44
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.11") align 8 %16, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.11") align 8 %17, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %48 unwind label %115

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar3ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408) %47, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %50 unwind label %119

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %49, ptr noundef @.str.3, i32 noundef 264, ptr noundef @.str.63, ptr noundef @.str.64)
          to label %52 unwind label %119

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  invoke void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind writable sret(%"class.testing::Cardinality") align 8 %18)
          to label %53 unwind label %123

53:                                               ; preds = %52
  %54 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal16TypedExpectationIFviiEE5TimesERKNS_11CardinalityE(ptr noundef nonnull align 8 dereferenceable(328) %51, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %55 unwind label %127

55:                                               ; preds = %53
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(408) %56, i32 noundef 2, i32 noundef 1)
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(408) %58, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void

60:                                               ; preds = %1
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %4, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %20, i64 noundef 408) #9
  br label %135

64:                                               ; preds = %21
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %4, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %22, i64 noundef 408) #9
  br label %134

68:                                               ; preds = %23
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %4, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %5, align 4
  br label %96

72:                                               ; preds = %25
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %4, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %5, align 4
  br label %95

76:                                               ; preds = %28, %26
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %4, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %5, align 4
  br label %94

80:                                               ; preds = %30
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %4, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %5, align 4
  br label %93

84:                                               ; preds = %31
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %4, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %5, align 4
  br label %92

88:                                               ; preds = %32
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %4, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %5, align 4
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  br label %92

92:                                               ; preds = %88, %84
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %93

93:                                               ; preds = %92, %80
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %94

94:                                               ; preds = %93, %76
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %95

95:                                               ; preds = %94, %72
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %96

96:                                               ; preds = %95, %68
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %134

97:                                               ; preds = %34
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %4, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %5, align 4
  br label %105

101:                                              ; preds = %38, %36
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %4, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %5, align 4
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %105

105:                                              ; preds = %101, %97
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  br label %134

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

110:                                              ; preds = %44, %42
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %4, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %5, align 4
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %114

114:                                              ; preds = %110, %106
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  br label %134

115:                                              ; preds = %46
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %4, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %5, align 4
  br label %133

119:                                              ; preds = %50, %48
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %4, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %5, align 4
  br label %132

123:                                              ; preds = %52
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %4, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %5, align 4
  br label %131

127:                                              ; preds = %53
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %4, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %5, align 4
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %131

131:                                              ; preds = %127, %123
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  br label %132

132:                                              ; preds = %131, %119
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %133

133:                                              ; preds = %132, %115
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  br label %134

134:                                              ; preds = %133, %114, %105, %96, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %135

135:                                              ; preds = %134, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %136

136:                                              ; preds = %135
  %137 = load ptr, ptr %4, align 8
  %138 = load i32, ptr %5, align 4
  %139 = insertvalue { ptr, i32 } poison, ptr %137, 0
  %140 = insertvalue { ptr, i32 } %139, i32 %138, 1
  resume { ptr, i32 } %140
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(408)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::ReturnAction.69") align 8, i8 noundef signext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal12ReturnActionIcEcvNS_6ActionIT_EEIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEEv(ptr dead_on_unwind noalias writable sret(%"class.testing::Action.53") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

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

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

declare void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind writable sret(%"class.testing::Cardinality") align 8) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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"}


; 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.testing::internal::AnythingMatcher" = type { i8 }
%"class.testing::Matcher.11" = type { %"class.testing::internal::MatcherBase.12" }
%"class.testing::internal::MatcherBase.12" = type { ptr, %"class.testing::internal::linked_ptr.13" }
%"class.testing::internal::linked_ptr.13" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::linked_ptr_internal" = type { ptr }
%"class.testing::Matcher.15" = type { %"class.testing::internal::MatcherBase.16" }
%"class.testing::internal::MatcherBase.16" = type { ptr, %"class.testing::internal::linked_ptr.17" }
%"class.testing::internal::linked_ptr.17" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::Matcher" = type { %"class.testing::internal::MatcherBase" }
%"class.testing::internal::MatcherBase" = type { ptr, %"class.testing::internal::linked_ptr" }
%"class.testing::internal::linked_ptr" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::Action.53" = type { %"class.testing::internal::linked_ptr.54" }
%"class.testing::internal::linked_ptr.54" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::ReturnAction.69" = type { %"class.testing::internal::linked_ptr.70" }
%"class.testing::internal::linked_ptr.70" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::Cardinality" = type { %"class.testing::internal::linked_ptr.31" }
%"class.testing::internal::linked_ptr.31" = type { ptr, %"class.testing::internal::linked_ptr_internal" }

@.str.3 = external hidden unnamed_addr constant [122 x i8], align 1
@_ZN7testingL1_E = external hidden constant %"class.testing::internal::AnythingMatcher", align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing7MatcherIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar3ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN7MockFoo9gmock_BarERKN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS1_IiEERKNS1_IdEE(ptr noundef nonnull align 8 dereferenceable(408), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN39GMockOutputTest_CatchesLeakedMocks_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(432) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.testing::Matcher.15", align 8
  %3 = alloca %"class.testing::Matcher.11", align 8
  %4 = alloca %"class.testing::Matcher", align 8
  %5 = alloca %"class.testing::Action.53", align 8
  %6 = alloca %"class.testing::internal::ReturnAction.69", align 8
  %7 = alloca %"class.testing::Matcher.11", align 8
  %8 = alloca %"class.testing::Matcher.11", align 8
  %9 = alloca %"class.testing::Matcher.11", align 8
  %10 = alloca %"class.testing::Matcher.11", align 8
  %11 = alloca %"class.testing::Matcher.11", align 8
  %12 = alloca %"class.testing::Matcher.11", align 8
  %13 = alloca %"class.testing::Cardinality", align 8
  %14 = tail call noalias noundef nonnull dereferenceable(408) ptr @_Znwm(i64 noundef 408) #7
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(408) %14)
          to label %15 unwind label %48

15:                                               ; preds = %1
  %16 = tail call noalias noundef nonnull dereferenceable(408) ptr @_Znwm(i64 noundef 408) #7
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(408) %16)
          to label %17 unwind label %50

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.15") align 8 %2, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.11") align 8 %3, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %18 unwind label %52

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIdEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher") align 8 %4, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %19 unwind label %54

19:                                               ; preds = %18
  %20 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN7MockFoo9gmock_BarERKN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS1_IiEERKNS1_IdEE(ptr noundef nonnull align 8 dereferenceable(408) %14, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %21 unwind label %56

21:                                               ; preds = %19
  %22 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80) %20, ptr noundef nonnull @.str.3, i32 noundef 259, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.40)
          to label %23 unwind label %56

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  invoke void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::ReturnAction.69") align 8 %6, i8 noundef signext 97)
          to label %24 unwind label %58

24:                                               ; preds = %23
  invoke void @_ZNK7testing8internal12ReturnActionIcEcvNS_6ActionIT_EEIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Action.53") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %25 unwind label %60

25:                                               ; preds = %24
  %26 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZN7testing8internal10OnCallSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE13WillByDefaultERKNS_6ActionISA_EE(ptr noundef nonnull align 8 dereferenceable(128) %22, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %27 unwind label %62

27:                                               ; preds = %25
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.11") align 8 %7, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.11") align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %28 unwind label %69

28:                                               ; preds = %27
  %29 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408) %16, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %30 unwind label %71

30:                                               ; preds = %28
  %31 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %29, ptr noundef nonnull @.str.3, i32 noundef 262, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.13)
          to label %32 unwind label %71

32:                                               ; preds = %30
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #8
  call void @_ZN7testing7MatcherIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.11") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %33 unwind label %74

33:                                               ; preds = %32
  %34 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408) %16, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %35 unwind label %76

35:                                               ; preds = %33
  %36 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %34, ptr noundef nonnull @.str.3, i32 noundef 263, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.32)
          to label %37 unwind label %76

37:                                               ; preds = %35
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  call void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.11") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  invoke void @_ZNK7testing8internal15AnythingMatchercvNS_7MatcherIT_EEIiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.11") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %38 unwind label %79

38:                                               ; preds = %37
  %39 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7MockFoo10gmock_Bar3ERKN7testing7MatcherIiEES4_(ptr noundef nonnull align 8 dereferenceable(408) %16, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %40 unwind label %81

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %39, ptr noundef nonnull @.str.3, i32 noundef 264, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.64)
          to label %42 unwind label %81

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  invoke void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Cardinality") align 8 %13)
          to label %43 unwind label %83

43:                                               ; preds = %42
  %44 = invoke noundef nonnull align 8 dereferenceable(328) ptr @_ZN7testing8internal16TypedExpectationIFviiEE5TimesERKNS_11CardinalityE(ptr noundef nonnull align 8 dereferenceable(328) %41, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %45 unwind label %85

45:                                               ; preds = %43
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  %46 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(408) %16, i32 noundef 2, i32 noundef 1)
  %47 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(408) %16, i32 noundef 1, i32 noundef 1)
  ret void

48:                                               ; preds = %1
  %49 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 408) #9
  br label %90

50:                                               ; preds = %15
  %51 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %16, i64 noundef 408) #9
  br label %90

52:                                               ; preds = %17
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %68

54:                                               ; preds = %18
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %67

56:                                               ; preds = %21, %19
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %66

58:                                               ; preds = %23
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %65

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

62:                                               ; preds = %25
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  br label %64

64:                                               ; preds = %62, %60
  %.pn = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br label %65

65:                                               ; preds = %64, %58
  %.pn.pn = phi { ptr, i32 } [ %.pn, %64 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %66

66:                                               ; preds = %65, %56
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %65 ], [ %57, %56 ]
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %67

67:                                               ; preds = %66, %54
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %66 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  br label %68

68:                                               ; preds = %67, %52
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %67 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  br label %90

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

71:                                               ; preds = %30, %28
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  br label %73

73:                                               ; preds = %71, %69
  %.pn25 = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %90

74:                                               ; preds = %32
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %35, %33
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %78

78:                                               ; preds = %76, %74
  %.pn27 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  br label %90

79:                                               ; preds = %37
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %89

81:                                               ; preds = %40, %38
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %88

83:                                               ; preds = %42
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %87

85:                                               ; preds = %43
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %87

87:                                               ; preds = %85, %83
  %.pn29 = phi { ptr, i32 } [ %86, %85 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  br label %88

88:                                               ; preds = %87, %81
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %87 ], [ %82, %81 ]
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %89

89:                                               ; preds = %88, %79
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %88 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  br label %90

90:                                               ; preds = %50, %68, %73, %78, %89, %48
  %.pn29.pn.pn.pn.pn = phi { ptr, i32 } [ %49, %48 ], [ %.pn29.pn.pn, %89 ], [ %.pn27, %78 ], [ %.pn25, %73 ], [ %.pn.pn.pn.pn.pn, %68 ], [ %51, %50 ]
  resume { ptr, i32 } %.pn29.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(408)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::ReturnAction.69") align 8, i8 noundef signext) local_unnamed_addr #3

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

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

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

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

declare void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind writable sret(%"class.testing::Cardinality") align 8) local_unnamed_addr #6

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { "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 = { builtin allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { builtin 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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass