; LLVM IR from chensoft/libsocket :: lib/libchen/test/lib/googletest/googletest/test (gtest-death-test_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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.testing::internal::RE" = type { ptr, i8, %struct.re_pattern_buffer, %struct.re_pattern_buffer }
%struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::internal::DeathTest::ReturnSentinel" = type { ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@stderr = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [125 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.10 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

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

declare i32 @fflush(ptr noundef) #2

declare noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv() #2

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5DieIfb(i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z13DieIfLessThanii(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) unnamed_addr #4 align 2

declare noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

declare noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef) #2

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #5

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #6

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

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

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

; Function Attrs: nounwind
declare void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #0

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

declare noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv() #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 #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN43TestForDeathTest_FunctionWithParameter_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(56) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.testing::internal::RE", align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.testing::internal::scoped_ptr", align 8
  %9 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.testing::Message", align 8
  %14 = alloca %"class.testing::internal::AssertHelper", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.testing::internal::RE", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.testing::internal::scoped_ptr", align 8
  %19 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.testing::Message", align 8
  %23 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %24 = load ptr, ptr %2, align 8
  %25 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %25, label %26, label %166

26:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %4) #8
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %4, ptr noundef @.str.95)
  store ptr %4, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef @.str.96, ptr noundef %27, ptr noundef @.str.9, i32 noundef 528, ptr noundef %5)
          to label %29 unwind label %31

29:                                               ; preds = %26
  br i1 %28, label %35, label %30

30:                                               ; preds = %29
  store i32 2, ptr %12, align 4
  br label %162

31:                                               ; preds = %26
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %6, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %7, align 4
  br label %165

35:                                               ; preds = %29
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %161

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %39)
          to label %40 unwind label %47

40:                                               ; preds = %38
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %42, i64 2
  %44 = load ptr, ptr %43, align 8
  %45 = invoke noundef i32 %44(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %46 unwind label %51

46:                                               ; preds = %40
  switch i32 %45, label %154 [
    i32 0, label %55
    i32 1, label %72
  ]

47:                                               ; preds = %38
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %6, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %7, align 4
  br label %160

51:                                               ; preds = %64, %62, %55, %40
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %6, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %7, align 4
  br label %159

55:                                               ; preds = %46
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds ptr, ptr %58, i64 3
  %60 = load ptr, ptr %59, align 8
  %61 = invoke noundef i32 %60(ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %62 unwind label %51

62:                                               ; preds = %55
  %63 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %61)
          to label %64 unwind label %51

64:                                               ; preds = %62
  %65 = load ptr, ptr %56, align 8, !tbaa !9
  %66 = getelementptr inbounds ptr, ptr %65, i64 4
  %67 = load ptr, ptr %66, align 8
  %68 = invoke noundef zeroext i1 %67(ptr noundef nonnull align 8 dereferenceable(8) %56, i1 noundef zeroext %63)
          to label %69 unwind label %51

69:                                               ; preds = %64
  br i1 %68, label %71, label %70

70:                                               ; preds = %69
  store i32 2, ptr %12, align 4
  br label %156

71:                                               ; preds = %69
  br label %155

72:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %73)
          to label %74 unwind label %79

74:                                               ; preds = %72
  %75 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %76 unwind label %83

76:                                               ; preds = %74
  br i1 %75, label %77, label %127

77:                                               ; preds = %76
  invoke void @_Z5DieIfb(i1 noundef zeroext true)
          to label %78 unwind label %83

78:                                               ; preds = %77
  br label %127

79:                                               ; preds = %72
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %6, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %7, align 4
  br label %153

83:                                               ; preds = %77, %74
  %84 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %6, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %7, align 4
  br label %87

87:                                               ; preds = %83
  %88 = load i32, ptr %7, align 4
  %89 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %90 = icmp eq i32 %88, %89
  br i1 %90, label %91, label %118

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %92 = load ptr, ptr %6, align 8
  %93 = call ptr @__cxa_begin_catch(ptr %92) #8
  store ptr %93, ptr %10, align 8
  %94 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef @.str.9, i32 noundef 528)
          to label %95 unwind label %137

95:                                               ; preds = %91
  %96 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds ptr, ptr %98, i64 2
  %100 = load ptr, ptr %99, align 8
  %101 = call noundef ptr %100(ptr noundef nonnull align 8 dereferenceable(8) %97) #8
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.10, ptr noundef %96, ptr noundef %101) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  %104 = invoke i32 @fflush(ptr noundef %103)
          to label %105 unwind label %141

105:                                              ; preds = %95
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = getelementptr inbounds ptr, ptr %107, i64 5
  %109 = load ptr, ptr %108, align 8
  invoke void %109(ptr noundef nonnull align 8 dereferenceable(8) %106, i32 noundef 1)
          to label %110 unwind label %141

110:                                              ; preds = %105
  invoke void @__cxa_end_catch()
          to label %111 unwind label %145

111:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %112

112:                                              ; preds = %127, %126, %111
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  %115 = getelementptr inbounds ptr, ptr %114, i64 5
  %116 = load ptr, ptr %115, align 8
  invoke void %116(ptr noundef nonnull align 8 dereferenceable(8) %113, i32 noundef 2)
          to label %117 unwind label %132

117:                                              ; preds = %112
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %155

118:                                              ; preds = %87
  %119 = load ptr, ptr %6, align 8
  %120 = call ptr @__cxa_begin_catch(ptr %119) #8
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = load ptr, ptr %121, align 8, !tbaa !9
  %123 = getelementptr inbounds ptr, ptr %122, i64 5
  %124 = load ptr, ptr %123, align 8
  invoke void %124(ptr noundef nonnull align 8 dereferenceable(8) %121, i32 noundef 1)
          to label %125 unwind label %128

125:                                              ; preds = %118
  invoke void @__cxa_end_catch()
          to label %126 unwind label %132

126:                                              ; preds = %125
  br label %112

127:                                              ; preds = %78, %76
  br label %112

128:                                              ; preds = %118
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %6, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %7, align 4
  invoke void @__cxa_end_catch()
          to label %136 unwind label %345

132:                                              ; preds = %125, %112
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %6, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %7, align 4
  br label %152

136:                                              ; preds = %128
  br label %152

137:                                              ; preds = %91
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %6, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %149

141:                                              ; preds = %105, %95
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %6, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %7, align 4
  br label %149

145:                                              ; preds = %110
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %6, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %7, align 4
  br label %151

149:                                              ; preds = %141, %137
  invoke void @__cxa_end_catch()
          to label %150 unwind label %345

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %152

152:                                              ; preds = %151, %136, %132
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br label %153

153:                                              ; preds = %152, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %159

154:                                              ; preds = %46
  br label %155

155:                                              ; preds = %154, %117, %71
  store i32 0, ptr %12, align 4
  br label %156

156:                                              ; preds = %155, %70
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  %157 = load i32, ptr %12, align 4
  switch i32 %157, label %162 [
    i32 0, label %158
  ]

158:                                              ; preds = %156
  br label %161

159:                                              ; preds = %153, %51
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  br label %160

160:                                              ; preds = %159, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %165

161:                                              ; preds = %158, %35
  store i32 0, ptr %12, align 4
  br label %162

162:                                              ; preds = %161, %156, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  %163 = load i32, ptr %12, align 4
  switch i32 %163, label %348 [
    i32 0, label %164
    i32 2, label %167
  ]

164:                                              ; preds = %162
  br label %181

165:                                              ; preds = %160, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  br label %340

166:                                              ; preds = %1
  br label %167

167:                                              ; preds = %166, %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %168 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %169 unwind label %172

169:                                              ; preds = %167
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef 1, ptr noundef @.str.9, i32 noundef 528, ptr noundef %168)
          to label %170 unwind label %172

170:                                              ; preds = %169
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %171 unwind label %176

171:                                              ; preds = %170
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %181

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

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

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

181:                                              ; preds = %171, %164
  %182 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %182, label %183, label %324

183:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %16) #8
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %16, ptr noundef @.str.6)
  store ptr %16, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %184 = load ptr, ptr %15, align 8, !tbaa !5
  %185 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef @.str.97, ptr noundef %184, ptr noundef @.str.9, i32 noundef 529, ptr noundef %17)
          to label %186 unwind label %188

186:                                              ; preds = %183
  br i1 %185, label %192, label %187

187:                                              ; preds = %186
  store i32 4, ptr %12, align 4
  br label %320

188:                                              ; preds = %183
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %6, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %7, align 4
  br label %323

192:                                              ; preds = %186
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  %194 = icmp ne ptr %193, null
  br i1 %194, label %195, label %319

195:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %196 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %196)
          to label %197 unwind label %204

197:                                              ; preds = %195
  %198 = load ptr, ptr %17, align 8, !tbaa !5
  %199 = load ptr, ptr %198, align 8, !tbaa !9
  %200 = getelementptr inbounds ptr, ptr %199, i64 2
  %201 = load ptr, ptr %200, align 8
  %202 = invoke noundef i32 %201(ptr noundef nonnull align 8 dereferenceable(8) %198)
          to label %203 unwind label %208

203:                                              ; preds = %197
  switch i32 %202, label %312 [
    i32 0, label %212
    i32 1, label %229
  ]

204:                                              ; preds = %195
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %6, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %7, align 4
  br label %318

208:                                              ; preds = %221, %219, %212, %197
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %6, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %7, align 4
  br label %317

212:                                              ; preds = %203
  %213 = load ptr, ptr %17, align 8, !tbaa !5
  %214 = load ptr, ptr %17, align 8, !tbaa !5
  %215 = load ptr, ptr %214, align 8, !tbaa !9
  %216 = getelementptr inbounds ptr, ptr %215, i64 3
  %217 = load ptr, ptr %216, align 8
  %218 = invoke noundef i32 %217(ptr noundef nonnull align 8 dereferenceable(8) %214)
          to label %219 unwind label %208

219:                                              ; preds = %212
  %220 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %218)
          to label %221 unwind label %208

221:                                              ; preds = %219
  %222 = load ptr, ptr %213, align 8, !tbaa !9
  %223 = getelementptr inbounds ptr, ptr %222, i64 4
  %224 = load ptr, ptr %223, align 8
  %225 = invoke noundef zeroext i1 %224(ptr noundef nonnull align 8 dereferenceable(8) %213, i1 noundef zeroext %220)
          to label %226 unwind label %208

226:                                              ; preds = %221
  br i1 %225, label %228, label %227

227:                                              ; preds = %226
  store i32 4, ptr %12, align 4
  br label %314

228:                                              ; preds = %226
  br label %313

229:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %230 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %230)
          to label %231 unwind label %237

231:                                              ; preds = %229
  %232 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %233 unwind label %241

233:                                              ; preds = %231
  br i1 %232, label %234, label %285

234:                                              ; preds = %233
  %235 = invoke noundef zeroext i1 @_Z13DieIfLessThanii(i32 noundef 2, i32 noundef 3)
          to label %236 unwind label %241

236:                                              ; preds = %234
  br label %285

237:                                              ; preds = %229
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %6, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %7, align 4
  br label %311

241:                                              ; preds = %234, %231
  %242 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %6, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %7, align 4
  br label %245

245:                                              ; preds = %241
  %246 = load i32, ptr %7, align 4
  %247 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %248 = icmp eq i32 %246, %247
  br i1 %248, label %249, label %276

249:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %250 = load ptr, ptr %6, align 8
  %251 = call ptr @__cxa_begin_catch(ptr %250) #8
  store ptr %251, ptr %20, align 8
  %252 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef @.str.9, i32 noundef 529)
          to label %253 unwind label %295

253:                                              ; preds = %249
  %254 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  %255 = load ptr, ptr %20, align 8, !tbaa !5
  %256 = load ptr, ptr %255, align 8, !tbaa !9
  %257 = getelementptr inbounds ptr, ptr %256, i64 2
  %258 = load ptr, ptr %257, align 8
  %259 = call noundef ptr %258(ptr noundef nonnull align 8 dereferenceable(8) %255) #8
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.10, ptr noundef %254, ptr noundef %259) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  %261 = load ptr, ptr @stderr, align 8, !tbaa !5
  %262 = invoke i32 @fflush(ptr noundef %261)
          to label %263 unwind label %299

263:                                              ; preds = %253
  %264 = load ptr, ptr %17, align 8, !tbaa !5
  %265 = load ptr, ptr %264, align 8, !tbaa !9
  %266 = getelementptr inbounds ptr, ptr %265, i64 5
  %267 = load ptr, ptr %266, align 8
  invoke void %267(ptr noundef nonnull align 8 dereferenceable(8) %264, i32 noundef 1)
          to label %268 unwind label %299

268:                                              ; preds = %263
  invoke void @__cxa_end_catch()
          to label %269 unwind label %303

269:                                              ; preds = %268
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %270

270:                                              ; preds = %285, %284, %269
  %271 = load ptr, ptr %17, align 8, !tbaa !5
  %272 = load ptr, ptr %271, align 8, !tbaa !9
  %273 = getelementptr inbounds ptr, ptr %272, i64 5
  %274 = load ptr, ptr %273, align 8
  invoke void %274(ptr noundef nonnull align 8 dereferenceable(8) %271, i32 noundef 2)
          to label %275 unwind label %290

275:                                              ; preds = %270
  store i32 5, ptr %12, align 4
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %313

276:                                              ; preds = %245
  %277 = load ptr, ptr %6, align 8
  %278 = call ptr @__cxa_begin_catch(ptr %277) #8
  %279 = load ptr, ptr %17, align 8, !tbaa !5
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %281 = getelementptr inbounds ptr, ptr %280, i64 5
  %282 = load ptr, ptr %281, align 8
  invoke void %282(ptr noundef nonnull align 8 dereferenceable(8) %279, i32 noundef 1)
          to label %283 unwind label %286

283:                                              ; preds = %276
  invoke void @__cxa_end_catch()
          to label %284 unwind label %290

284:                                              ; preds = %283
  br label %270

285:                                              ; preds = %236, %233
  br label %270

286:                                              ; preds = %276
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %6, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %7, align 4
  invoke void @__cxa_end_catch()
          to label %294 unwind label %345

290:                                              ; preds = %283, %270
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %6, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %7, align 4
  br label %310

294:                                              ; preds = %286
  br label %310

295:                                              ; preds = %249
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %6, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %307

299:                                              ; preds = %263, %253
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %6, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %7, align 4
  br label %307

303:                                              ; preds = %268
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %6, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %7, align 4
  br label %309

307:                                              ; preds = %299, %295
  invoke void @__cxa_end_catch()
          to label %308 unwind label %345

308:                                              ; preds = %307
  br label %309

309:                                              ; preds = %308, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %310

310:                                              ; preds = %309, %294, %290
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  br label %311

311:                                              ; preds = %310, %237
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %317

312:                                              ; preds = %203
  br label %313

313:                                              ; preds = %312, %275, %228
  store i32 0, ptr %12, align 4
  br label %314

314:                                              ; preds = %313, %227
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  %315 = load i32, ptr %12, align 4
  switch i32 %315, label %320 [
    i32 0, label %316
  ]

316:                                              ; preds = %314
  br label %319

317:                                              ; preds = %311, %208
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %318

318:                                              ; preds = %317, %204
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %323

319:                                              ; preds = %316, %192
  store i32 0, ptr %12, align 4
  br label %320

320:                                              ; preds = %319, %314, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  %321 = load i32, ptr %12, align 4
  switch i32 %321, label %348 [
    i32 0, label %322
    i32 4, label %325
  ]

322:                                              ; preds = %320
  br label %339

323:                                              ; preds = %318, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %340

324:                                              ; preds = %181
  br label %325

325:                                              ; preds = %324, %320
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %326 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %327 unwind label %330

327:                                              ; preds = %325
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 1, ptr noundef @.str.9, i32 noundef 529, ptr noundef %326)
          to label %328 unwind label %330

328:                                              ; preds = %327
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %329 unwind label %334

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

330:                                              ; preds = %327, %325
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %6, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %7, align 4
  br label %338

334:                                              ; preds = %328
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %6, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %338

338:                                              ; preds = %334, %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %340

339:                                              ; preds = %329, %322
  ret void

340:                                              ; preds = %338, %323, %180, %165
  %341 = load ptr, ptr %6, align 8
  %342 = load i32, ptr %7, align 4
  %343 = insertvalue { ptr, i32 } poison, ptr %341, 0
  %344 = insertvalue { ptr, i32 } %343, i32 %342, 1
  resume { ptr, i32 } %344

345:                                              ; preds = %307, %286, %149, %128
  %346 = landingpad { ptr, i32 }
          catch ptr null
  %347 = extractvalue { ptr, i32 } %346, 0
  call void @__clang_call_terminate(ptr %347) #9
  unreachable

348:                                              ; preds = %320, %162
  unreachable
}

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind memory(none) }
attributes #6 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn 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 = !{!"vtable pointer", !8, 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.testing::internal::RE" = type { ptr, i8, %struct.re_pattern_buffer, %struct.re_pattern_buffer }
%struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::internal::DeathTest::ReturnSentinel" = type { ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [125 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.10 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

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

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv() local_unnamed_addr #2

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5DieIfb(i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z13DieIfLessThanii(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) unnamed_addr #4 align 2

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

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

declare noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #5

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #6

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

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

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

; Function Attrs: nounwind
declare void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #7

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

declare noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv() local_unnamed_addr #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 #7

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN43TestForDeathTest_FunctionWithParameter_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(56) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.testing::internal::RE", align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.testing::internal::scoped_ptr", align 8
  %5 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.testing::Message", align 8
  %8 = alloca %"class.testing::internal::AssertHelper", align 8
  %9 = alloca %"class.testing::internal::RE", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.testing::internal::scoped_ptr", align 8
  %12 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.testing::Message", align 8
  %15 = alloca %"class.testing::internal::AssertHelper", align 8
  %16 = tail call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %16, label %17, label %103

17:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %2) #9
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef nonnull @.str.95)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  %18 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef nonnull @.str.96, ptr noundef nonnull %2, ptr noundef nonnull @.str.9, i32 noundef 528, ptr noundef nonnull %3)
          to label %19 unwind label %20

19:                                               ; preds = %17
  br i1 %18, label %22, label %101

20:                                               ; preds = %17
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %102

22:                                               ; preds = %19
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %23, null
  br i1 %.not, label %.thread59, label %24

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %23)
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  %28 = load ptr, ptr %27, align 8
  %29 = invoke noundef i32 %28(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %30 unwind label %31

30:                                               ; preds = %24
  switch i32 %29, label %.thread [
    i32 0, label %33
    i32 1, label %47
  ]

31:                                               ; preds = %41, %39, %33, %24
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %100

33:                                               ; preds = %30
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %35, i64 24
  %37 = load ptr, ptr %36, align 8
  %38 = invoke noundef i32 %37(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %39 unwind label %31

39:                                               ; preds = %33
  %40 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %38)
          to label %41 unwind label %31

41:                                               ; preds = %39
  %42 = load ptr, ptr %34, align 8, !tbaa !9
  %43 = getelementptr inbounds i8, ptr %42, i64 32
  %44 = load ptr, ptr %43, align 8
  %45 = invoke noundef zeroext i1 %44(ptr noundef nonnull align 8 dereferenceable(8) %34, i1 noundef zeroext %40)
          to label %46 unwind label %31

46:                                               ; preds = %41
  br i1 %45, label %.thread, label %99

47:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %48)
  %49 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %50 unwind label %52

50:                                               ; preds = %47
  br i1 %49, label %51, label %75

51:                                               ; preds = %50
  invoke void @_Z5DieIfb(i1 noundef zeroext true)
          to label %75 unwind label %52

52:                                               ; preds = %51, %47
  %53 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %54 = extractvalue { ptr, i32 } %53, 0
  %55 = extractvalue { ptr, i32 } %53, 1
  %56 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %57 = icmp eq i32 %55, %56
  %58 = call ptr @__cxa_begin_catch(ptr %54) #9
  br i1 %57, label %59, label %81

59:                                               ; preds = %52
  %60 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull @.str.9, i32 noundef 528)
          to label %61 unwind label %91

61:                                               ; preds = %59
  %62 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  %63 = load ptr, ptr %58, align 8, !tbaa !9
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  %65 = load ptr, ptr %64, align 8
  %66 = call noundef ptr %65(ptr noundef nonnull align 8 dereferenceable(8) %58) #9
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.10, ptr noundef %62, ptr noundef %66) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  %68 = load ptr, ptr @stderr, align 8, !tbaa !5
  %69 = call i32 @fflush(ptr noundef %68)
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds i8, ptr %71, i64 40
  %73 = load ptr, ptr %72, align 8
  invoke void %73(ptr noundef nonnull align 8 dereferenceable(8) %70, i32 noundef 1)
          to label %74 unwind label %93

74:                                               ; preds = %61
  invoke void @__cxa_end_catch()
          to label %75 unwind label %95

75:                                               ; preds = %74, %50, %51, %86
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  %78 = getelementptr inbounds i8, ptr %77, i64 40
  %79 = load ptr, ptr %78, align 8
  invoke void %79(ptr noundef nonnull align 8 dereferenceable(8) %76, i32 noundef 2)
          to label %80 unwind label %89

80:                                               ; preds = %75
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %.thread

81:                                               ; preds = %52
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = getelementptr inbounds i8, ptr %83, i64 40
  %85 = load ptr, ptr %84, align 8
  invoke void %85(ptr noundef nonnull align 8 dereferenceable(8) %82, i32 noundef 1)
          to label %86 unwind label %87

86:                                               ; preds = %81
  invoke void @__cxa_end_catch()
          to label %75 unwind label %89

87:                                               ; preds = %81
  %88 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %98 unwind label %214

89:                                               ; preds = %86, %75
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %98

91:                                               ; preds = %59
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br label %97

93:                                               ; preds = %61
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %74
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %98

97:                                               ; preds = %93, %91
  %.pn = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  invoke void @__cxa_end_catch()
          to label %98 unwind label %214

98:                                               ; preds = %95, %97, %87, %89
  %.pn37 = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ], [ %96, %95 ], [ %.pn, %97 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %100

.thread:                                          ; preds = %80, %46, %30
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %.thread59

99:                                               ; preds = %46
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %101

100:                                              ; preds = %98, %31
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %98 ], [ %32, %31 ]
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %102

.thread59:                                        ; preds = %.thread, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #9
  br label %113

101:                                              ; preds = %99, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #9
  br label %103

102:                                              ; preds = %100, %20
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn, %100 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #9
  br label %213

103:                                              ; preds = %101, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %104 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %105 unwind label %108

105:                                              ; preds = %103
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 1, ptr noundef nonnull @.str.9, i32 noundef 528, ptr noundef %104)
          to label %106 unwind label %108

106:                                              ; preds = %105
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %107 unwind label %110

107:                                              ; preds = %106
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %113

108:                                              ; preds = %105, %103
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %106
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br label %112

112:                                              ; preds = %110, %108
  %.pn41 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %213

113:                                              ; preds = %.thread59, %107
  %114 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %114, label %115, label %202

115:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #9
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %9, ptr noundef nonnull @.str.6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %116 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef nonnull @.str.97, ptr noundef nonnull %9, ptr noundef nonnull @.str.9, i32 noundef 529, ptr noundef nonnull %10)
          to label %117 unwind label %118

117:                                              ; preds = %115
  br i1 %116, label %120, label %200

118:                                              ; preds = %115
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %201

120:                                              ; preds = %117
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %.not43 = icmp eq ptr %121, null
  br i1 %.not43, label %.thread66, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %121)
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = getelementptr inbounds i8, ptr %124, i64 16
  %126 = load ptr, ptr %125, align 8
  %127 = invoke noundef i32 %126(ptr noundef nonnull align 8 dereferenceable(8) %123)
          to label %128 unwind label %129

128:                                              ; preds = %122
  switch i32 %127, label %.thread62 [
    i32 0, label %131
    i32 1, label %145
  ]

129:                                              ; preds = %139, %137, %131, %122
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %199

131:                                              ; preds = %128
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = getelementptr inbounds i8, ptr %133, i64 24
  %135 = load ptr, ptr %134, align 8
  %136 = invoke noundef i32 %135(ptr noundef nonnull align 8 dereferenceable(8) %132)
          to label %137 unwind label %129

137:                                              ; preds = %131
  %138 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %136)
          to label %139 unwind label %129

139:                                              ; preds = %137
  %140 = load ptr, ptr %132, align 8, !tbaa !9
  %141 = getelementptr inbounds i8, ptr %140, i64 32
  %142 = load ptr, ptr %141, align 8
  %143 = invoke noundef zeroext i1 %142(ptr noundef nonnull align 8 dereferenceable(8) %132, i1 noundef zeroext %138)
          to label %144 unwind label %129

144:                                              ; preds = %139
  br i1 %143, label %.thread62, label %198

145:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %146)
  %147 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %148 unwind label %151

148:                                              ; preds = %145
  br i1 %147, label %149, label %174

149:                                              ; preds = %148
  %150 = invoke noundef zeroext i1 @_Z13DieIfLessThanii(i32 noundef 2, i32 noundef 3)
          to label %174 unwind label %151

151:                                              ; preds = %149, %145
  %152 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %153 = extractvalue { ptr, i32 } %152, 0
  %154 = extractvalue { ptr, i32 } %152, 1
  %155 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %156 = icmp eq i32 %154, %155
  %157 = call ptr @__cxa_begin_catch(ptr %153) #9
  br i1 %156, label %158, label %180

158:                                              ; preds = %151
  %159 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull @.str.9, i32 noundef 529)
          to label %160 unwind label %190

160:                                              ; preds = %158
  %161 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  %162 = load ptr, ptr %157, align 8, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %162, i64 16
  %164 = load ptr, ptr %163, align 8
  %165 = call noundef ptr %164(ptr noundef nonnull align 8 dereferenceable(8) %157) #9
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef nonnull @.str.10, ptr noundef %161, ptr noundef %165) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  %167 = load ptr, ptr @stderr, align 8, !tbaa !5
  %168 = call i32 @fflush(ptr noundef %167)
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = load ptr, ptr %169, align 8, !tbaa !9
  %171 = getelementptr inbounds i8, ptr %170, i64 40
  %172 = load ptr, ptr %171, align 8
  invoke void %172(ptr noundef nonnull align 8 dereferenceable(8) %169, i32 noundef 1)
          to label %173 unwind label %192

173:                                              ; preds = %160
  invoke void @__cxa_end_catch()
          to label %174 unwind label %194

174:                                              ; preds = %173, %148, %149, %185
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = load ptr, ptr %175, align 8, !tbaa !9
  %177 = getelementptr inbounds i8, ptr %176, i64 40
  %178 = load ptr, ptr %177, align 8
  invoke void %178(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 noundef 2)
          to label %179 unwind label %188

179:                                              ; preds = %174
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %.thread62

180:                                              ; preds = %151
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = load ptr, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds i8, ptr %182, i64 40
  %184 = load ptr, ptr %183, align 8
  invoke void %184(ptr noundef nonnull align 8 dereferenceable(8) %181, i32 noundef 1)
          to label %185 unwind label %186

185:                                              ; preds = %180
  invoke void @__cxa_end_catch()
          to label %174 unwind label %188

186:                                              ; preds = %180
  %187 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %197 unwind label %214

188:                                              ; preds = %185, %174
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %197

190:                                              ; preds = %158
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  br label %196

192:                                              ; preds = %160
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %173
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %197

196:                                              ; preds = %192, %190
  %.pn44 = phi { ptr, i32 } [ %193, %192 ], [ %191, %190 ]
  invoke void @__cxa_end_catch()
          to label %197 unwind label %214

197:                                              ; preds = %194, %196, %186, %188
  %.pn48 = phi { ptr, i32 } [ %189, %188 ], [ %187, %186 ], [ %195, %194 ], [ %.pn44, %196 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %199

.thread62:                                        ; preds = %179, %144, %128
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %.thread66

198:                                              ; preds = %144
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %200

199:                                              ; preds = %197, %129
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %197 ], [ %130, %129 ]
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %201

.thread66:                                        ; preds = %.thread62, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #9
  br label %212

200:                                              ; preds = %198, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #9
  br label %202

201:                                              ; preds = %199, %118
  %.pn48.pn.pn = phi { ptr, i32 } [ %.pn48.pn, %199 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #9
  br label %213

202:                                              ; preds = %200, %113
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %203 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %204 unwind label %207

204:                                              ; preds = %202
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 1, ptr noundef nonnull @.str.9, i32 noundef 529, ptr noundef %203)
          to label %205 unwind label %207

205:                                              ; preds = %204
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %206 unwind label %209

206:                                              ; preds = %205
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %212

207:                                              ; preds = %204, %202
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %211

209:                                              ; preds = %205
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  br label %211

211:                                              ; preds = %209, %207
  %.pn52 = phi { ptr, i32 } [ %210, %209 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %213

212:                                              ; preds = %.thread66, %206
  ret void

213:                                              ; preds = %211, %201, %112, %102
  %.pn52.pn = phi { ptr, i32 } [ %.pn52, %211 ], [ %.pn48.pn.pn, %201 ], [ %.pn41, %112 ], [ %.pn37.pn.pn, %102 ]
  resume { ptr, i32 } %.pn52.pn

214:                                              ; preds = %196, %186, %97, %87
  %215 = landingpad { ptr, i32 }
          catch ptr null
  %216 = extractvalue { ptr, i32 } %215, 0
  call void @__clang_call_terminate(ptr %216) #11
  unreachable
}

attributes #0 = { nofree 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree nosync nounwind memory(none) }
attributes #6 = { noinline noreturn nounwind uwtable "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { cold nounwind }
attributes #11 = { noreturn 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 = !{!"vtable pointer", !8, i64 0}


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