; 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.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.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::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.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 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

; 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 @_Z14GlobalFunctionv() #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19DeathTestSubroutinev() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca ptr, align 8
  %2 = alloca %"class.testing::internal::RE", align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.testing::internal::scoped_ptr", align 8
  %7 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.testing::Message", align 8
  %12 = alloca %"class.testing::internal::AssertHelper", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.testing::internal::RE", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.testing::internal::scoped_ptr", align 8
  %17 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.testing::Message", align 8
  %21 = alloca %"class.testing::internal::AssertHelper", align 8
  %22 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %22, label %23, label %163

23:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %2) #8
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %2, ptr noundef @.str.7)
  store ptr %2, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef @.str.8, ptr noundef %24, ptr noundef @.str.9, i32 noundef 194, ptr noundef %3)
          to label %26 unwind label %28

26:                                               ; preds = %23
  br i1 %25, label %32, label %27

27:                                               ; preds = %26
  store i32 2, ptr %10, align 4
  br label %159

28:                                               ; preds = %23
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = extractvalue { ptr, i32 } %29, 0
  store ptr %30, ptr %4, align 8
  %31 = extractvalue { ptr, i32 } %29, 1
  store i32 %31, ptr %5, align 4
  br label %162

32:                                               ; preds = %26
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %158

35:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef %36)
          to label %37 unwind label %44

37:                                               ; preds = %35
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds ptr, ptr %39, i64 2
  %41 = load ptr, ptr %40, align 8
  %42 = invoke noundef i32 %41(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %43 unwind label %48

43:                                               ; preds = %37
  switch i32 %42, label %151 [
    i32 0, label %52
    i32 1, label %69
  ]

44:                                               ; preds = %35
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  br label %157

48:                                               ; preds = %61, %59, %52, %37
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %4, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %5, align 4
  br label %156

52:                                               ; preds = %43
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = getelementptr inbounds ptr, ptr %55, i64 3
  %57 = load ptr, ptr %56, align 8
  %58 = invoke noundef i32 %57(ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %59 unwind label %48

59:                                               ; preds = %52
  %60 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %58)
          to label %61 unwind label %48

61:                                               ; preds = %59
  %62 = load ptr, ptr %53, align 8, !tbaa !9
  %63 = getelementptr inbounds ptr, ptr %62, i64 4
  %64 = load ptr, ptr %63, align 8
  %65 = invoke noundef zeroext i1 %64(ptr noundef nonnull align 8 dereferenceable(8) %53, i1 noundef zeroext %60)
          to label %66 unwind label %48

66:                                               ; preds = %61
  br i1 %65, label %68, label %67

67:                                               ; preds = %66
  store i32 2, ptr %10, align 4
  br label %153

68:                                               ; preds = %66
  br label %152

69:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %70)
          to label %71 unwind label %76

71:                                               ; preds = %69
  %72 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %73 unwind label %80

73:                                               ; preds = %71
  br i1 %72, label %74, label %124

74:                                               ; preds = %73
  invoke void @_Z14GlobalFunctionv()
          to label %75 unwind label %80

75:                                               ; preds = %74
  br label %124

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

80:                                               ; preds = %74, %71
  %81 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %4, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %5, align 4
  br label %84

84:                                               ; preds = %80
  %85 = load i32, ptr %5, align 4
  %86 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %87 = icmp eq i32 %85, %86
  br i1 %87, label %88, label %115

88:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %89 = load ptr, ptr %4, align 8
  %90 = call ptr @__cxa_begin_catch(ptr %89) #8
  store ptr %90, ptr %8, align 8
  %91 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #8
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef @.str.9, i32 noundef 194)
          to label %92 unwind label %134

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

102:                                              ; preds = %92
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = getelementptr inbounds ptr, ptr %104, i64 5
  %106 = load ptr, ptr %105, align 8
  invoke void %106(ptr noundef nonnull align 8 dereferenceable(8) %103, i32 noundef 1)
          to label %107 unwind label %138

107:                                              ; preds = %102
  invoke void @__cxa_end_catch()
          to label %108 unwind label %142

108:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %109

109:                                              ; preds = %124, %123, %108
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = getelementptr inbounds ptr, ptr %111, i64 5
  %113 = load ptr, ptr %112, align 8
  invoke void %113(ptr noundef nonnull align 8 dereferenceable(8) %110, i32 noundef 2)
          to label %114 unwind label %129

114:                                              ; preds = %109
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %152

115:                                              ; preds = %84
  %116 = load ptr, ptr %4, align 8
  %117 = call ptr @__cxa_begin_catch(ptr %116) #8
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = getelementptr inbounds ptr, ptr %119, i64 5
  %121 = load ptr, ptr %120, align 8
  invoke void %121(ptr noundef nonnull align 8 dereferenceable(8) %118, i32 noundef 1)
          to label %122 unwind label %125

122:                                              ; preds = %115
  invoke void @__cxa_end_catch()
          to label %123 unwind label %129

123:                                              ; preds = %122
  br label %109

124:                                              ; preds = %75, %73
  br label %109

125:                                              ; preds = %115
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %4, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %5, align 4
  invoke void @__cxa_end_catch()
          to label %133 unwind label %341

129:                                              ; preds = %122, %109
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %4, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %5, align 4
  br label %149

133:                                              ; preds = %125
  br label %149

134:                                              ; preds = %88
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %4, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  br label %146

138:                                              ; preds = %102, %92
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %4, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %5, align 4
  br label %146

142:                                              ; preds = %107
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %4, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %5, align 4
  br label %148

146:                                              ; preds = %138, %134
  invoke void @__cxa_end_catch()
          to label %147 unwind label %341

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147, %142
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %149

149:                                              ; preds = %148, %133, %129
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br label %150

150:                                              ; preds = %149, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %156

151:                                              ; preds = %43
  br label %152

152:                                              ; preds = %151, %114, %68
  store i32 0, ptr %10, align 4
  br label %153

153:                                              ; preds = %152, %67
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %154 = load i32, ptr %10, align 4
  switch i32 %154, label %159 [
    i32 0, label %155
  ]

155:                                              ; preds = %153
  br label %158

156:                                              ; preds = %150, %48
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br label %157

157:                                              ; preds = %156, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %162

158:                                              ; preds = %155, %32
  store i32 0, ptr %10, align 4
  br label %159

159:                                              ; preds = %158, %153, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  %160 = load i32, ptr %10, align 4
  switch i32 %160, label %344 [
    i32 0, label %161
    i32 2, label %164
  ]

161:                                              ; preds = %159
  br label %178

162:                                              ; preds = %157, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %2) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  br label %336

163:                                              ; preds = %0
  br label %164

164:                                              ; preds = %163, %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %165 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %166 unwind label %169

166:                                              ; preds = %164
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 1, ptr noundef @.str.9, i32 noundef 194, ptr noundef %165)
          to label %167 unwind label %169

167:                                              ; preds = %166
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %168 unwind label %173

168:                                              ; preds = %167
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %178

169:                                              ; preds = %166, %164
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %4, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %5, align 4
  br label %177

173:                                              ; preds = %167
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %4, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %5, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br label %177

177:                                              ; preds = %173, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %336

178:                                              ; preds = %168, %161
  %179 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %179, label %180, label %320

180:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 144, ptr %14) #8
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %14, ptr noundef @.str.7)
  store ptr %14, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef @.str.8, ptr noundef %181, ptr noundef @.str.9, i32 noundef 195, ptr noundef %15)
          to label %183 unwind label %185

183:                                              ; preds = %180
  br i1 %182, label %189, label %184

184:                                              ; preds = %183
  store i32 4, ptr %10, align 4
  br label %316

185:                                              ; preds = %180
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %4, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %5, align 4
  br label %319

189:                                              ; preds = %183
  %190 = load ptr, ptr %15, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %192, label %315

192:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %193 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef %193)
          to label %194 unwind label %201

194:                                              ; preds = %192
  %195 = load ptr, ptr %15, align 8, !tbaa !5
  %196 = load ptr, ptr %195, align 8, !tbaa !9
  %197 = getelementptr inbounds ptr, ptr %196, i64 2
  %198 = load ptr, ptr %197, align 8
  %199 = invoke noundef i32 %198(ptr noundef nonnull align 8 dereferenceable(8) %195)
          to label %200 unwind label %205

200:                                              ; preds = %194
  switch i32 %199, label %308 [
    i32 0, label %209
    i32 1, label %226
  ]

201:                                              ; preds = %192
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %4, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %5, align 4
  br label %314

205:                                              ; preds = %218, %216, %209, %194
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %4, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %5, align 4
  br label %313

209:                                              ; preds = %200
  %210 = load ptr, ptr %15, align 8, !tbaa !5
  %211 = load ptr, ptr %15, align 8, !tbaa !5
  %212 = load ptr, ptr %211, align 8, !tbaa !9
  %213 = getelementptr inbounds ptr, ptr %212, i64 3
  %214 = load ptr, ptr %213, align 8
  %215 = invoke noundef i32 %214(ptr noundef nonnull align 8 dereferenceable(8) %211)
          to label %216 unwind label %205

216:                                              ; preds = %209
  %217 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %215)
          to label %218 unwind label %205

218:                                              ; preds = %216
  %219 = load ptr, ptr %210, align 8, !tbaa !9
  %220 = getelementptr inbounds ptr, ptr %219, i64 4
  %221 = load ptr, ptr %220, align 8
  %222 = invoke noundef zeroext i1 %221(ptr noundef nonnull align 8 dereferenceable(8) %210, i1 noundef zeroext %217)
          to label %223 unwind label %205

223:                                              ; preds = %218
  br i1 %222, label %225, label %224

224:                                              ; preds = %223
  store i32 4, ptr %10, align 4
  br label %310

225:                                              ; preds = %223
  br label %309

226:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %227 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %227)
          to label %228 unwind label %233

228:                                              ; preds = %226
  %229 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %230 unwind label %237

230:                                              ; preds = %228
  br i1 %229, label %231, label %281

231:                                              ; preds = %230
  invoke void @_Z14GlobalFunctionv()
          to label %232 unwind label %237

232:                                              ; preds = %231
  br label %281

233:                                              ; preds = %226
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %4, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %5, align 4
  br label %307

237:                                              ; preds = %231, %228
  %238 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %4, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %5, align 4
  br label %241

241:                                              ; preds = %237
  %242 = load i32, ptr %5, align 4
  %243 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %244 = icmp eq i32 %242, %243
  br i1 %244, label %245, label %272

245:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %246 = load ptr, ptr %4, align 8
  %247 = call ptr @__cxa_begin_catch(ptr %246) #8
  store ptr %247, ptr %18, align 8
  %248 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef @.str.9, i32 noundef 195)
          to label %249 unwind label %291

249:                                              ; preds = %245
  %250 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  %251 = load ptr, ptr %18, align 8, !tbaa !5
  %252 = load ptr, ptr %251, align 8, !tbaa !9
  %253 = getelementptr inbounds ptr, ptr %252, i64 2
  %254 = load ptr, ptr %253, align 8
  %255 = call noundef ptr %254(ptr noundef nonnull align 8 dereferenceable(8) %251) #8
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %248, ptr noundef @.str.10, ptr noundef %250, ptr noundef %255) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  %257 = load ptr, ptr @stderr, align 8, !tbaa !5
  %258 = invoke i32 @fflush(ptr noundef %257)
          to label %259 unwind label %295

259:                                              ; preds = %249
  %260 = load ptr, ptr %15, align 8, !tbaa !5
  %261 = load ptr, ptr %260, align 8, !tbaa !9
  %262 = getelementptr inbounds ptr, ptr %261, i64 5
  %263 = load ptr, ptr %262, align 8
  invoke void %263(ptr noundef nonnull align 8 dereferenceable(8) %260, i32 noundef 1)
          to label %264 unwind label %295

264:                                              ; preds = %259
  invoke void @__cxa_end_catch()
          to label %265 unwind label %299

265:                                              ; preds = %264
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %266

266:                                              ; preds = %281, %280, %265
  %267 = load ptr, ptr %15, align 8, !tbaa !5
  %268 = load ptr, ptr %267, align 8, !tbaa !9
  %269 = getelementptr inbounds ptr, ptr %268, i64 5
  %270 = load ptr, ptr %269, align 8
  invoke void %270(ptr noundef nonnull align 8 dereferenceable(8) %267, i32 noundef 2)
          to label %271 unwind label %286

271:                                              ; preds = %266
  store i32 5, ptr %10, align 4
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %309

272:                                              ; preds = %241
  %273 = load ptr, ptr %4, align 8
  %274 = call ptr @__cxa_begin_catch(ptr %273) #8
  %275 = load ptr, ptr %15, align 8, !tbaa !5
  %276 = load ptr, ptr %275, align 8, !tbaa !9
  %277 = getelementptr inbounds ptr, ptr %276, i64 5
  %278 = load ptr, ptr %277, align 8
  invoke void %278(ptr noundef nonnull align 8 dereferenceable(8) %275, i32 noundef 1)
          to label %279 unwind label %282

279:                                              ; preds = %272
  invoke void @__cxa_end_catch()
          to label %280 unwind label %286

280:                                              ; preds = %279
  br label %266

281:                                              ; preds = %232, %230
  br label %266

282:                                              ; preds = %272
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %4, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %5, align 4
  invoke void @__cxa_end_catch()
          to label %290 unwind label %341

286:                                              ; preds = %279, %266
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %4, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %5, align 4
  br label %306

290:                                              ; preds = %282
  br label %306

291:                                              ; preds = %245
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %4, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %303

295:                                              ; preds = %259, %249
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %4, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %5, align 4
  br label %303

299:                                              ; preds = %264
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %4, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %5, align 4
  br label %305

303:                                              ; preds = %295, %291
  invoke void @__cxa_end_catch()
          to label %304 unwind label %341

304:                                              ; preds = %303
  br label %305

305:                                              ; preds = %304, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %306

306:                                              ; preds = %305, %290, %286
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %307

307:                                              ; preds = %306, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %313

308:                                              ; preds = %200
  br label %309

309:                                              ; preds = %308, %271, %225
  store i32 0, ptr %10, align 4
  br label %310

310:                                              ; preds = %309, %224
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %311 = load i32, ptr %10, align 4
  switch i32 %311, label %316 [
    i32 0, label %312
  ]

312:                                              ; preds = %310
  br label %315

313:                                              ; preds = %307, %205
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br label %314

314:                                              ; preds = %313, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %319

315:                                              ; preds = %312, %189
  store i32 0, ptr %10, align 4
  br label %316

316:                                              ; preds = %315, %310, %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  %317 = load i32, ptr %10, align 4
  switch i32 %317, label %344 [
    i32 0, label %318
    i32 4, label %321
  ]

318:                                              ; preds = %316
  br label %335

319:                                              ; preds = %314, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %336

320:                                              ; preds = %178
  br label %321

321:                                              ; preds = %320, %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %322 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %323 unwind label %326

323:                                              ; preds = %321
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %21, i32 noundef 2, ptr noundef @.str.9, i32 noundef 195, ptr noundef %322)
          to label %324 unwind label %326

324:                                              ; preds = %323
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %325 unwind label %330

325:                                              ; preds = %324
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %335

326:                                              ; preds = %323, %321
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %4, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %5, align 4
  br label %334

330:                                              ; preds = %324
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %4, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %5, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %334

334:                                              ; preds = %330, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %336

335:                                              ; preds = %325, %318
  ret void

336:                                              ; preds = %334, %319, %177, %162
  %337 = load ptr, ptr %4, align 8
  %338 = load i32, ptr %5, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340

341:                                              ; preds = %303, %282, %146, %125
  %342 = landingpad { ptr, i32 }
          catch ptr null
  %343 = extractvalue { ptr, i32 } %342, 0
  call void @__clang_call_terminate(ptr %343) #9
  unreachable

344:                                              ; preds = %316, %159
  unreachable
}

; 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

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.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.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::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.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 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

; 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 @_Z14GlobalFunctionv() local_unnamed_addr #4

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

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

18:                                               ; preds = %16
  br i1 %17, label %21, label %100

19:                                               ; preds = %16
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %101

21:                                               ; preds = %18
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %22, null
  br i1 %.not, label %.thread58, label %23

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

29:                                               ; preds = %23
  switch i32 %28, label %.thread [
    i32 0, label %32
    i32 1, label %46
  ]

30:                                               ; preds = %40, %38, %32, %23
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %99

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

38:                                               ; preds = %32
  %39 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %37)
          to label %40 unwind label %30

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

45:                                               ; preds = %40
  br i1 %44, label %.thread, label %98

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

49:                                               ; preds = %46
  br i1 %48, label %50, label %74

50:                                               ; preds = %49
  invoke void @_Z14GlobalFunctionv()
          to label %74 unwind label %51

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

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

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

73:                                               ; preds = %60
  invoke void @__cxa_end_catch()
          to label %74 unwind label %94

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

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

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

85:                                               ; preds = %80
  invoke void @__cxa_end_catch()
          to label %74 unwind label %88

86:                                               ; preds = %80
  %87 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %97 unwind label %212

88:                                               ; preds = %85, %74
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %97

90:                                               ; preds = %58
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  br label %96

92:                                               ; preds = %60
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

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

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

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

.thread:                                          ; preds = %79, %45, %29
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %.thread58

98:                                               ; preds = %45
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %100

99:                                               ; preds = %97, %30
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %97 ], [ %31, %30 ]
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %101

.thread58:                                        ; preds = %.thread, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %1) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %1) #9
  br label %112

100:                                              ; preds = %98, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %1) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %1) #9
  br label %102

101:                                              ; preds = %99, %19
  %.pn36.pn.pn = phi { ptr, i32 } [ %.pn36.pn, %99 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %1) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %1) #9
  br label %211

102:                                              ; preds = %100, %0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %103 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %104 unwind label %107

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

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

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

107:                                              ; preds = %104, %102
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

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

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

112:                                              ; preds = %.thread58, %106
  %113 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %113, label %114, label %200

114:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %8) #9
  call void @_ZN7testing8internal2REC2EPKc(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef nonnull @.str.7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %115 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcPKNS0_2REES3_iPPS1_(ptr noundef nonnull @.str.8, ptr noundef nonnull %8, ptr noundef nonnull @.str.9, i32 noundef 195, ptr noundef nonnull %9)
          to label %116 unwind label %117

116:                                              ; preds = %114
  br i1 %115, label %119, label %198

117:                                              ; preds = %114
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %199

119:                                              ; preds = %116
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %.not42 = icmp eq ptr %120, null
  br i1 %.not42, label %.thread65, label %121

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

127:                                              ; preds = %121
  switch i32 %126, label %.thread61 [
    i32 0, label %130
    i32 1, label %144
  ]

128:                                              ; preds = %138, %136, %130, %121
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %197

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

136:                                              ; preds = %130
  %137 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %135)
          to label %138 unwind label %128

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

143:                                              ; preds = %138
  br i1 %142, label %.thread61, label %196

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

147:                                              ; preds = %144
  br i1 %146, label %148, label %172

148:                                              ; preds = %147
  invoke void @_Z14GlobalFunctionv()
          to label %172 unwind label %149

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

156:                                              ; preds = %149
  %157 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull @.str.9, i32 noundef 195)
          to label %158 unwind label %188

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

171:                                              ; preds = %158
  invoke void @__cxa_end_catch()
          to label %172 unwind label %192

172:                                              ; preds = %171, %147, %148, %183
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = load ptr, ptr %173, align 8, !tbaa !9
  %175 = getelementptr inbounds i8, ptr %174, i64 40
  %176 = load ptr, ptr %175, align 8
  invoke void %176(ptr noundef nonnull align 8 dereferenceable(8) %173, i32 noundef 2)
          to label %177 unwind label %186

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

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

183:                                              ; preds = %178
  invoke void @__cxa_end_catch()
          to label %172 unwind label %186

184:                                              ; preds = %178
  %185 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %195 unwind label %212

186:                                              ; preds = %183, %172
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %195

188:                                              ; preds = %156
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  br label %194

190:                                              ; preds = %158
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %194

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

194:                                              ; preds = %190, %188
  %.pn43 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  invoke void @__cxa_end_catch()
          to label %195 unwind label %212

195:                                              ; preds = %192, %194, %184, %186
  %.pn47 = phi { ptr, i32 } [ %187, %186 ], [ %185, %184 ], [ %193, %192 ], [ %.pn43, %194 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %197

.thread61:                                        ; preds = %177, %143, %127
  call void @_ZN7testing8internal10scoped_ptrINS0_9DeathTestEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %.thread65

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

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

.thread65:                                        ; preds = %.thread61, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN7testing8internal2RED1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #9
  br label %210

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

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

200:                                              ; preds = %198, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %201 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %202 unwind label %205

202:                                              ; preds = %200
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef 2, ptr noundef nonnull @.str.9, i32 noundef 195, ptr noundef %201)
          to label %203 unwind label %205

203:                                              ; preds = %202
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %204 unwind label %207

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

205:                                              ; preds = %202, %200
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %209

207:                                              ; preds = %203
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br label %209

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

210:                                              ; preds = %.thread65, %204
  ret void

211:                                              ; preds = %209, %199, %111, %101
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %209 ], [ %.pn47.pn.pn, %199 ], [ %.pn40, %111 ], [ %.pn36.pn.pn, %101 ]
  resume { ptr, i32 } %.pn51.pn

212:                                              ; preds = %194, %184, %96, %86
  %213 = landingpad { ptr, i32 }
          catch ptr null
  %214 = extractvalue { ptr, i32 } %213, 0
  call void @__clang_call_terminate(ptr %214) #11
  unreachable
}

; 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

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,SROAPass,SimplifyCFGPass,TailCallElimPass