; 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.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.37 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.45 = 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: noreturn
declare void @_exit(i32 noundef) #3

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

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) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) unnamed_addr #5 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) #6

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) #7

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 #8 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN37TestForDeathTest_SwitchStatement_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(56) %0) unnamed_addr #5 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) #10
  call void @llvm.lifetime.start.p0(i64 144, ptr %4) #10
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %4, ptr noundef @.str.37)
  store ptr %4, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef @.str.39, ptr noundef %27, ptr noundef @.str.9, i32 noundef 335, 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) #10
  %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) #10
  %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 @_exit(i32 noundef 1) #11
          to label %78 unwind label %83

78:                                               ; preds = %77
  unreachable

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) #10
  %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) #10
  %92 = load ptr, ptr %6, align 8
  %93 = call ptr @__cxa_begin_catch(ptr %92) #10
  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) #10
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef @.str.9, i32 noundef 335)
          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) #10
  %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) #10
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.10, ptr noundef %96, ptr noundef %101) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #10
  %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) #10
  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) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  br label %155

118:                                              ; preds = %87
  %119 = load ptr, ptr %6, align 8
  %120 = call ptr @__cxa_begin_catch(ptr %119) #10
  %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 = %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 %358

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) #10
  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 %358

150:                                              ; preds = %149
  br label %151

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

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

153:                                              ; preds = %152, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  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) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  %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) #10
  br label %160

160:                                              ; preds = %159, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  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) #10
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #10
  call void @llvm.lifetime.end.p0(i64 144, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  %163 = load i32, ptr %12, align 4
  switch i32 %163, label %361 [
    i32 0, label %164
    i32 2, label %167
  ]

164:                                              ; preds = %162
  br label %188

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

166:                                              ; preds = %1
  br label %167

167:                                              ; preds = %166, %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA31_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 1 dereferenceable(31) @.str.44)
          to label %169 unwind label %174

169:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %170 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %171 unwind label %178

171:                                              ; preds = %169
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef 2, ptr noundef @.str.9, i32 noundef 335, ptr noundef %170)
          to label %172 unwind label %178

172:                                              ; preds = %171
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %168)
          to label %173 unwind label %182

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

174:                                              ; preds = %167
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %6, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %7, align 4
  br label %187

178:                                              ; preds = %171, %169
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %6, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %7, align 4
  br label %186

182:                                              ; preds = %172
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %6, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %186

186:                                              ; preds = %182, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %187

187:                                              ; preds = %186, %174
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %353

188:                                              ; preds = %164
  %189 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %189, label %190, label %330

190:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 144, ptr %16) #10
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %16, ptr noundef @.str.37)
  store ptr %16, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %191 = load ptr, ptr %15, align 8, !tbaa !5
  %192 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef @.str.39, ptr noundef %191, ptr noundef @.str.9, i32 noundef 339, ptr noundef %17)
          to label %193 unwind label %195

193:                                              ; preds = %190
  br i1 %192, label %199, label %194

194:                                              ; preds = %193
  store i32 4, ptr %12, align 4
  br label %326

195:                                              ; preds = %190
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %6, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %7, align 4
  br label %329

199:                                              ; preds = %193
  %200 = load ptr, ptr %17, align 8, !tbaa !5
  %201 = icmp ne ptr %200, null
  br i1 %201, label %202, label %325

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

204:                                              ; preds = %202
  %205 = load ptr, ptr %17, align 8, !tbaa !5
  %206 = load ptr, ptr %205, align 8, !tbaa !9
  %207 = getelementptr inbounds ptr, ptr %206, i64 2
  %208 = load ptr, ptr %207, align 8
  %209 = invoke noundef i32 %208(ptr noundef nonnull align 8 dereferenceable(8) %205)
          to label %210 unwind label %215

210:                                              ; preds = %204
  switch i32 %209, label %318 [
    i32 0, label %219
    i32 1, label %236
  ]

211:                                              ; preds = %202
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %6, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %7, align 4
  br label %324

215:                                              ; preds = %228, %226, %219, %204
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %6, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %7, align 4
  br label %323

219:                                              ; preds = %210
  %220 = load ptr, ptr %17, align 8, !tbaa !5
  %221 = load ptr, ptr %17, align 8, !tbaa !5
  %222 = load ptr, ptr %221, align 8, !tbaa !9
  %223 = getelementptr inbounds ptr, ptr %222, i64 3
  %224 = load ptr, ptr %223, align 8
  %225 = invoke noundef i32 %224(ptr noundef nonnull align 8 dereferenceable(8) %221)
          to label %226 unwind label %215

226:                                              ; preds = %219
  %227 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %225)
          to label %228 unwind label %215

228:                                              ; preds = %226
  %229 = load ptr, ptr %220, align 8, !tbaa !9
  %230 = getelementptr inbounds ptr, ptr %229, i64 4
  %231 = load ptr, ptr %230, align 8
  %232 = invoke noundef zeroext i1 %231(ptr noundef nonnull align 8 dereferenceable(8) %220, i1 noundef zeroext %227)
          to label %233 unwind label %215

233:                                              ; preds = %228
  br i1 %232, label %235, label %234

234:                                              ; preds = %233
  store i32 4, ptr %12, align 4
  br label %320

235:                                              ; preds = %233
  br label %319

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

238:                                              ; preds = %236
  %239 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %240 unwind label %247

240:                                              ; preds = %238
  br i1 %239, label %241, label %291

241:                                              ; preds = %240
  invoke void @_exit(i32 noundef 1) #11
          to label %242 unwind label %247

242:                                              ; preds = %241
  unreachable

243:                                              ; preds = %236
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %6, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %7, align 4
  br label %317

247:                                              ; preds = %241, %238
  %248 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %6, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %7, align 4
  br label %251

251:                                              ; preds = %247
  %252 = load i32, ptr %7, align 4
  %253 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %254 = icmp eq i32 %252, %253
  br i1 %254, label %255, label %282

255:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %256 = load ptr, ptr %6, align 8
  %257 = call ptr @__cxa_begin_catch(ptr %256) #10
  store ptr %257, ptr %20, align 8
  %258 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #10
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef @.str.9, i32 noundef 339)
          to label %259 unwind label %301

259:                                              ; preds = %255
  %260 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %261 = load ptr, ptr %20, align 8, !tbaa !5
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  %263 = getelementptr inbounds ptr, ptr %262, i64 2
  %264 = load ptr, ptr %263, align 8
  %265 = call noundef ptr %264(ptr noundef nonnull align 8 dereferenceable(8) %261) #10
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.10, ptr noundef %260, ptr noundef %265) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #10
  %267 = load ptr, ptr @stderr, align 8, !tbaa !5
  %268 = invoke i32 @fflush(ptr noundef %267)
          to label %269 unwind label %305

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

274:                                              ; preds = %269
  invoke void @__cxa_end_catch()
          to label %275 unwind label %309

275:                                              ; preds = %274
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %276

276:                                              ; preds = %291, %290, %275
  %277 = load ptr, ptr %17, align 8, !tbaa !5
  %278 = load ptr, ptr %277, align 8, !tbaa !9
  %279 = getelementptr inbounds ptr, ptr %278, i64 5
  %280 = load ptr, ptr %279, align 8
  invoke void %280(ptr noundef nonnull align 8 dereferenceable(8) %277, i32 noundef 2)
          to label %281 unwind label %296

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

282:                                              ; preds = %251
  %283 = load ptr, ptr %6, align 8
  %284 = call ptr @__cxa_begin_catch(ptr %283) #10
  %285 = load ptr, ptr %17, align 8, !tbaa !5
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %287 = getelementptr inbounds ptr, ptr %286, i64 5
  %288 = load ptr, ptr %287, align 8
  invoke void %288(ptr noundef nonnull align 8 dereferenceable(8) %285, i32 noundef 1)
          to label %289 unwind label %292

289:                                              ; preds = %282
  invoke void @__cxa_end_catch()
          to label %290 unwind label %296

290:                                              ; preds = %289
  br label %276

291:                                              ; preds = %240
  br label %276

292:                                              ; preds = %282
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %6, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %7, align 4
  invoke void @__cxa_end_catch()
          to label %300 unwind label %358

296:                                              ; preds = %289, %276
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %6, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %7, align 4
  br label %316

300:                                              ; preds = %292
  br label %316

301:                                              ; preds = %255
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %6, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #10
  br label %313

305:                                              ; preds = %269, %259
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %6, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %7, align 4
  br label %313

309:                                              ; preds = %274
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %6, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %7, align 4
  br label %315

313:                                              ; preds = %305, %301
  invoke void @__cxa_end_catch()
          to label %314 unwind label %358

314:                                              ; preds = %313
  br label %315

315:                                              ; preds = %314, %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %316

316:                                              ; preds = %315, %300, %296
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  br label %317

317:                                              ; preds = %316, %243
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %323

318:                                              ; preds = %210
  br label %319

319:                                              ; preds = %318, %281, %235
  store i32 0, ptr %12, align 4
  br label %320

320:                                              ; preds = %319, %234
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  %321 = load i32, ptr %12, align 4
  switch i32 %321, label %326 [
    i32 0, label %322
  ]

322:                                              ; preds = %320
  br label %325

323:                                              ; preds = %317, %215
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %324

324:                                              ; preds = %323, %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %329

325:                                              ; preds = %322, %199
  store i32 0, ptr %12, align 4
  br label %326

326:                                              ; preds = %325, %320, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #10
  call void @llvm.lifetime.end.p0(i64 144, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  %327 = load i32, ptr %12, align 4
  switch i32 %327, label %361 [
    i32 0, label %328
    i32 4, label %331
  ]

328:                                              ; preds = %326
  br label %352

329:                                              ; preds = %324, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #10
  call void @llvm.lifetime.end.p0(i64 144, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %353

330:                                              ; preds = %188
  br label %331

331:                                              ; preds = %330, %326
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA20_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 1 dereferenceable(20) @.str.45)
          to label %333 unwind label %338

333:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %334 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %335 unwind label %342

335:                                              ; preds = %333
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 1, ptr noundef @.str.9, i32 noundef 339, ptr noundef %334)
          to label %336 unwind label %342

336:                                              ; preds = %335
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %332)
          to label %337 unwind label %346

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

338:                                              ; preds = %331
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %6, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %7, align 4
  br label %351

342:                                              ; preds = %335, %333
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %6, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %7, align 4
  br label %350

346:                                              ; preds = %336
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %6, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %7, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  br label %350

350:                                              ; preds = %346, %342
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %351

351:                                              ; preds = %350, %338
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %353

352:                                              ; preds = %337, %328, %173
  ret void

353:                                              ; preds = %351, %329, %187, %165
  %354 = load ptr, ptr %6, align 8
  %355 = load i32, ptr %7, align 4
  %356 = insertvalue { ptr, i32 } poison, ptr %354, 0
  %357 = insertvalue { ptr, i32 } %356, i32 %355, 1
  resume { ptr, i32 } %357

358:                                              ; preds = %313, %292, %149, %128
  %359 = landingpad { ptr, i32 }
          catch ptr null
  %360 = extractvalue { ptr, i32 } %359, 0
  call void @__clang_call_terminate(ptr %360) #12
  unreachable

361:                                              ; preds = %326, %162
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA31_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(31)) #9 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA20_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(20)) #9 align 2

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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nounwind memory(none) }
attributes #7 = { 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 #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { noreturn }
attributes #12 = { 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.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.37 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.45 = 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: noreturn
declare void @_exit(i32 noundef) local_unnamed_addr #3

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

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) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) unnamed_addr #5 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) #6

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

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 #8

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 #8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN37TestForDeathTest_SwitchStatement_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(56) %0) unnamed_addr #5 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 %104

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

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

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

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

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #11
  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 %101

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 %100

47:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  %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 %53

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

51:                                               ; preds = %50
  invoke void @_exit(i32 noundef 1) #12
          to label %52 unwind label %53

52:                                               ; preds = %51
  unreachable

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

60:                                               ; preds = %53
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #11
  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 335)
          to label %62 unwind label %92

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

75:                                               ; preds = %62
  invoke void @__cxa_end_catch()
          to label %76 unwind label %96

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

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

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

87:                                               ; preds = %82
  invoke void @__cxa_end_catch()
          to label %76 unwind label %90

88:                                               ; preds = %82
  %89 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %99 unwind label %225

90:                                               ; preds = %87, %76
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %99

92:                                               ; preds = %60
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #11
  br label %98

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

96:                                               ; preds = %75
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %99

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

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

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

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

101:                                              ; preds = %99, %31
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %99 ], [ %32, %31 ]
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #11
  br label %103

102:                                              ; preds = %100, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #11
  br label %104

103:                                              ; preds = %101, %20
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %101 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #11
  br label %224

104:                                              ; preds = %102, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA31_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 1 dereferenceable(31) @.str.44)
          to label %106 unwind label %111

106:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %107 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %108 unwind label %113

108:                                              ; preds = %106
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 2, ptr noundef nonnull @.str.9, i32 noundef 335, ptr noundef %107)
          to label %109 unwind label %113

109:                                              ; preds = %108
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %105)
          to label %110 unwind label %115

110:                                              ; preds = %109
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  br label %223

111:                                              ; preds = %104
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %118

113:                                              ; preds = %108, %106
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %109
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #11
  br label %117

117:                                              ; preds = %115, %113
  %.pn43 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  br label %118

118:                                              ; preds = %117, %111
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %117 ], [ %112, %111 ]
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  br label %224

119:                                              ; preds = %.thread, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #11
  %120 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %120, label %121, label %208

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #11
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %9, ptr noundef nonnull @.str.37)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %122 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef nonnull @.str.39, ptr noundef nonnull %9, ptr noundef nonnull @.str.9, i32 noundef 339, ptr noundef nonnull %10)
          to label %123 unwind label %124

123:                                              ; preds = %121
  br i1 %122, label %126, label %206

124:                                              ; preds = %121
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %207

126:                                              ; preds = %123
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %.not46 = icmp eq ptr %127, null
  br i1 %.not46, label %.thread70, label %128

128:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %127)
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = load ptr, ptr %129, align 8, !tbaa !9
  %131 = getelementptr inbounds i8, ptr %130, i64 16
  %132 = load ptr, ptr %131, align 8
  %133 = invoke noundef i32 %132(ptr noundef nonnull align 8 dereferenceable(8) %129)
          to label %134 unwind label %135

134:                                              ; preds = %128
  switch i32 %133, label %.thread66 [
    i32 0, label %137
    i32 1, label %151
  ]

135:                                              ; preds = %145, %143, %137, %128
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %205

137:                                              ; preds = %134
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = load ptr, ptr %138, align 8, !tbaa !9
  %140 = getelementptr inbounds i8, ptr %139, i64 24
  %141 = load ptr, ptr %140, align 8
  %142 = invoke noundef i32 %141(ptr noundef nonnull align 8 dereferenceable(8) %138)
          to label %143 unwind label %135

143:                                              ; preds = %137
  %144 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %142)
          to label %145 unwind label %135

145:                                              ; preds = %143
  %146 = load ptr, ptr %138, align 8, !tbaa !9
  %147 = getelementptr inbounds i8, ptr %146, i64 32
  %148 = load ptr, ptr %147, align 8
  %149 = invoke noundef zeroext i1 %148(ptr noundef nonnull align 8 dereferenceable(8) %138, i1 noundef zeroext %144)
          to label %150 unwind label %135

150:                                              ; preds = %145
  br i1 %149, label %.thread66, label %204

151:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %152)
  %153 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %154 unwind label %157

154:                                              ; preds = %151
  br i1 %153, label %155, label %180

155:                                              ; preds = %154
  invoke void @_exit(i32 noundef 1) #12
          to label %156 unwind label %157

156:                                              ; preds = %155
  unreachable

157:                                              ; preds = %155, %151
  %158 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %159 = extractvalue { ptr, i32 } %158, 0
  %160 = extractvalue { ptr, i32 } %158, 1
  %161 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #11
  %162 = icmp eq i32 %160, %161
  %163 = call ptr @__cxa_begin_catch(ptr %159) #11
  br i1 %162, label %164, label %186

164:                                              ; preds = %157
  %165 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #11
  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 339)
          to label %166 unwind label %196

166:                                              ; preds = %164
  %167 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  %168 = load ptr, ptr %163, align 8, !tbaa !9
  %169 = getelementptr inbounds i8, ptr %168, i64 16
  %170 = load ptr, ptr %169, align 8
  %171 = call noundef ptr %170(ptr noundef nonnull align 8 dereferenceable(8) %163) #11
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef nonnull @.str.10, ptr noundef %167, ptr noundef %171) #13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  %173 = load ptr, ptr @stderr, align 8, !tbaa !5
  %174 = call i32 @fflush(ptr noundef %173)
  %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 1)
          to label %179 unwind label %198

179:                                              ; preds = %166
  invoke void @__cxa_end_catch()
          to label %180 unwind label %200

180:                                              ; preds = %179, %154, %191
  %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 2)
          to label %185 unwind label %194

185:                                              ; preds = %180
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %.thread66

186:                                              ; preds = %157
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = getelementptr inbounds i8, ptr %188, i64 40
  %190 = load ptr, ptr %189, align 8
  invoke void %190(ptr noundef nonnull align 8 dereferenceable(8) %187, i32 noundef 1)
          to label %191 unwind label %192

191:                                              ; preds = %186
  invoke void @__cxa_end_catch()
          to label %180 unwind label %194

192:                                              ; preds = %186
  %193 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %203 unwind label %225

194:                                              ; preds = %191, %180
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %203

196:                                              ; preds = %164
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  br label %202

198:                                              ; preds = %166
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %202

200:                                              ; preds = %179
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %203

202:                                              ; preds = %198, %196
  %.pn47 = phi { ptr, i32 } [ %199, %198 ], [ %197, %196 ]
  invoke void @__cxa_end_catch()
          to label %203 unwind label %225

203:                                              ; preds = %200, %202, %192, %194
  %.pn51 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ], [ %201, %200 ], [ %.pn47, %202 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %205

.thread66:                                        ; preds = %185, %150, %134
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %.thread70

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

205:                                              ; preds = %203, %135
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %203 ], [ %136, %135 ]
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %207

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

206:                                              ; preds = %204, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #11
  br label %208

207:                                              ; preds = %205, %124
  %.pn51.pn.pn = phi { ptr, i32 } [ %.pn51.pn, %205 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %9) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #11
  br label %224

208:                                              ; preds = %206, %119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #11
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA20_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 1 dereferenceable(20) @.str.45)
          to label %210 unwind label %215

210:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #11
  %211 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %212 unwind label %217

212:                                              ; preds = %210
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 1, ptr noundef nonnull @.str.9, i32 noundef 339, ptr noundef %211)
          to label %213 unwind label %217

213:                                              ; preds = %212
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %209)
          to label %214 unwind label %219

214:                                              ; preds = %213
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #11
  br label %223

215:                                              ; preds = %208
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %222

217:                                              ; preds = %212, %210
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %221

219:                                              ; preds = %213
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  br label %221

221:                                              ; preds = %219, %217
  %.pn55 = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  br label %222

222:                                              ; preds = %221, %215
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %221 ], [ %216, %215 ]
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #11
  br label %224

223:                                              ; preds = %.thread70, %214, %110
  ret void

224:                                              ; preds = %222, %207, %118, %103
  %.pn43.pn.pn = phi { ptr, i32 } [ %.pn43.pn, %118 ], [ %.pn55.pn, %222 ], [ %.pn51.pn.pn, %207 ], [ %.pn39.pn.pn, %103 ]
  resume { ptr, i32 } %.pn43.pn.pn

225:                                              ; preds = %202, %192, %98, %88
  %226 = landingpad { ptr, i32 }
          catch ptr null
  %227 = extractvalue { ptr, i32 } %226, 0
  call void @__clang_call_terminate(ptr %227) #14
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA31_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(31)) local_unnamed_addr #10 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA20_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(20)) local_unnamed_addr #10 align 2

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