; LLVM IR from FidoProject/Fido :: tests/reinforcement.ll (Z5trainPN2rl7LearnerEi)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator" = type { i8 }
%"class.Catch::ResultBuilder" = type <{ %"struct.Catch::AssertionInfo", %"struct.Catch::AssertionResultData", %"struct.Catch::ResultBuilder::ExprComponents", %"struct.Catch::CopyableStream", i8, i8, [6 x i8] }>
%"struct.Catch::AssertionInfo" = type <{ %"class.std::__cxx11::basic_string", %"struct.Catch::SourceLineInfo", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"struct.Catch::SourceLineInfo" = type { %"class.std::__cxx11::basic_string", i64 }
%"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] }
%"struct.Catch::AssertionResultData" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"struct.Catch::ResultBuilder::ExprComponents" = type { i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"struct.Catch::CopyableStream" = type { %"class.std::__cxx11::basic_ostringstream" }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.Catch::ExpressionLhs" = type { ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZL15PERCENT_CORRECT = external hidden constant double, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5trainPN2rl7LearnerEi(ptr noundef %0, i32 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::initializer_list", align 8
  %13 = alloca [1 x double], align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::initializer_list", align 8
  %19 = alloca [1 x double], align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [1 x double], align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %"class.std::initializer_list", align 8
  %29 = alloca [1 x double], align 8
  %30 = alloca %"class.std::allocator", align 1
  %31 = alloca %"class.Catch::ResultBuilder", align 8
  %32 = alloca %"struct.Catch::SourceLineInfo", align 8
  %33 = alloca %"class.Catch::ExpressionLhs", align 8
  %34 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %35 = load i32, ptr %4, align 4, !tbaa !9
  %36 = sitofp i32 %35 to double
  %37 = fdiv double %36, 4.000000e+00
  %38 = fptosi double %37 to i32
  store i32 %38, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %167, %2
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = load i32, ptr %4, align 4, !tbaa !9
  %42 = icmp ult i32 %40, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %171

44:                                               ; preds = %39
  %45 = call i32 @rand() #9
  %46 = srem i32 %45, 2
  store i32 %46, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #9
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %48 = load i32, ptr %6, align 4, !tbaa !9
  %49 = sitofp i32 %48 to double
  store double %49, ptr %13, align 8, !tbaa !11
  %50 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 0
  store ptr %13, ptr %50, align 8, !tbaa !13
  %51 = getelementptr inbounds %"class.std::initializer_list", ptr %12, i32 0, i32 1
  store i64 1, ptr %51, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  %52 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8
  %54 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %55 = load i64, ptr %54, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %53, i64 %55, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %56 unwind label %109

56:                                               ; preds = %44
  %57 = load ptr, ptr %47, align 8, !tbaa !17
  %58 = getelementptr inbounds ptr, ptr %57, i64 1
  %59 = load ptr, ptr %58, align 8
  invoke void %59(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef %11, double noundef 1.000000e+02)
          to label %60 unwind label %113

60:                                               ; preds = %56
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #9
  %62 = load double, ptr %61, align 8, !tbaa !11
  %63 = fptosi double %62 to i32
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  store i32 %63, ptr %9, align 4, !tbaa !9
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = load i32, ptr %9, align 4, !tbaa !9
  %66 = load i32, ptr %6, align 4, !tbaa !9
  %67 = sub nsw i32 %65, %66
  %68 = call noundef double @_ZSt4fabsIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %67)
  %69 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %68, double 1.000000e+00)
  %70 = fdiv double %69, 3.000000e+00
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %71 = load i32, ptr %6, align 4, !tbaa !9
  %72 = sitofp i32 %71 to double
  store double %72, ptr %19, align 8, !tbaa !11
  %73 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 0
  store ptr %19, ptr %73, align 8, !tbaa !13
  %74 = getelementptr inbounds %"class.std::initializer_list", ptr %18, i32 0, i32 1
  store i64 1, ptr %74, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  %75 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8
  %77 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %78 = load i64, ptr %77, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr %76, i64 %78, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %79 unwind label %118

79:                                               ; preds = %60
  %80 = load ptr, ptr %64, align 8, !tbaa !17
  %81 = getelementptr inbounds ptr, ptr %80, i64 2
  %82 = load ptr, ptr %81, align 8
  invoke void %82(ptr noundef nonnull align 8 dereferenceable(8) %64, double noundef %70, ptr noundef %17)
          to label %83 unwind label %122

83:                                               ; preds = %79
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  %84 = load i32, ptr %4, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = sub nsw i32 %84, %85
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = icmp ule i32 %86, %87
  br i1 %88, label %89, label %166

89:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #9
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  %91 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %91, align 8, !tbaa !13
  %92 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 1, ptr %92, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  %93 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8
  %95 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %96 = load i64, ptr %95, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %94, i64 %96, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %97 unwind label %127

97:                                               ; preds = %89
  %98 = load ptr, ptr %90, align 8, !tbaa !17
  %99 = getelementptr inbounds ptr, ptr %98, i64 1
  %100 = load ptr, ptr %99, align 8
  invoke void %100(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef %22, double noundef 0.000000e+00)
          to label %101 unwind label %131

101:                                              ; preds = %97
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0) #9
  %103 = load double, ptr %102, align 8, !tbaa !11
  %104 = fptosi double %103 to i32
  %105 = icmp eq i32 %104, 0
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  br i1 %105, label %106, label %136

106:                                              ; preds = %101
  %107 = load i32, ptr %5, align 4, !tbaa !9
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %5, align 4, !tbaa !9
  br label %136

109:                                              ; preds = %44
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %15, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %16, align 4
  br label %117

113:                                              ; preds = %56
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %15, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %16, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  br label %117

117:                                              ; preds = %113, %109
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  br label %170

118:                                              ; preds = %60
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %15, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %16, align 4
  br label %126

122:                                              ; preds = %79
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %15, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %16, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  br label %126

126:                                              ; preds = %122, %118
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %170

127:                                              ; preds = %89
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %15, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %16, align 4
  br label %135

131:                                              ; preds = %97
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %15, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %16, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  br label %135

135:                                              ; preds = %131, %127
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  br label %170

136:                                              ; preds = %106, %101
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #9
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  store double 1.000000e+00, ptr %29, align 8, !tbaa !11
  %138 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 0
  store ptr %29, ptr %138, align 8, !tbaa !13
  %139 = getelementptr inbounds %"class.std::initializer_list", ptr %28, i32 0, i32 1
  store i64 1, ptr %139, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  %140 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %143 = load i64, ptr %142, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr %141, i64 %143, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %144 unwind label %156

144:                                              ; preds = %136
  %145 = load ptr, ptr %137, align 8, !tbaa !17
  %146 = getelementptr inbounds ptr, ptr %145, i64 1
  %147 = load ptr, ptr %146, align 8
  invoke void %147(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %26, ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef %27, double noundef 0.000000e+00)
          to label %148 unwind label %160

148:                                              ; preds = %144
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #9
  %150 = load double, ptr %149, align 8, !tbaa !11
  %151 = fptosi double %150 to i32
  %152 = icmp eq i32 %151, 1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  br i1 %152, label %153, label %165

153:                                              ; preds = %148
  %154 = load i32, ptr %5, align 4, !tbaa !9
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %5, align 4, !tbaa !9
  br label %165

156:                                              ; preds = %136
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %15, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %16, align 4
  br label %164

160:                                              ; preds = %144
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %15, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %16, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  br label %164

164:                                              ; preds = %160, %156
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #9
  br label %170

165:                                              ; preds = %153, %148
  br label %166

166:                                              ; preds = %165, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %8, align 4, !tbaa !9
  %169 = add i32 %168, 1
  store i32 %169, ptr %8, align 4, !tbaa !9
  br label %39, !llvm.loop !19

170:                                              ; preds = %164, %135, %126, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %228

171:                                              ; preds = %43
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %173 = load i32, ptr %6, align 4, !tbaa !9
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %172, i32 noundef %173)
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef @.str.1)
  br label %176

176:                                              ; preds = %223, %171
  call void @llvm.lifetime.start.p0(i64 672, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #9
  call void @_ZN5Catch14SourceLineInfoC1EPKcm(ptr noundef nonnull align 8 dereferenceable(40) %32, ptr noundef @.str.3, i64 noundef 33)
  invoke void @_ZN5Catch13ResultBuilderC1EPKcRKNS_14SourceLineInfoES2_NS_17ResultDisposition5FlagsES2_(ptr noundef nonnull align 8 dereferenceable(666) %31, ptr noundef @.str.2, ptr noundef nonnull align 8 dereferenceable(40) %32, ptr noundef @.str.4, i32 noundef 1, ptr noundef @.str.5)
          to label %177 unwind label %193

177:                                              ; preds = %176
  call void @_ZN5Catch14SourceLineInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %178 = load i32, ptr %5, align 4, !tbaa !9
  %179 = sitofp i32 %178 to double
  %180 = load i32, ptr %7, align 4, !tbaa !9
  %181 = mul nsw i32 2, %180
  %182 = sitofp i32 %181 to double
  %183 = fdiv double %179, %182
  store double %183, ptr %34, align 8, !tbaa !11
  %184 = invoke { ptr, ptr } @_ZN5Catch13ResultBuilderleIdEENS_13ExpressionLhsIRKT_EES5_(ptr noundef nonnull align 8 dereferenceable(666) %31, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %185 unwind label %197

185:                                              ; preds = %177
  %186 = getelementptr inbounds { ptr, ptr }, ptr %33, i32 0, i32 0
  %187 = extractvalue { ptr, ptr } %184, 0
  store ptr %187, ptr %186, align 8
  %188 = getelementptr inbounds { ptr, ptr }, ptr %33, i32 0, i32 1
  %189 = extractvalue { ptr, ptr } %184, 1
  store ptr %189, ptr %188, align 8
  %190 = invoke noundef nonnull align 8 dereferenceable(666) ptr @_ZN5Catch13ExpressionLhsIRKdEgtIdEERNS_13ResultBuilderERKT_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(8) @_ZL15PERCENT_CORRECT)
          to label %191 unwind label %197

191:                                              ; preds = %185
  invoke void @_ZN5Catch13ResultBuilder13endExpressionEv(ptr noundef nonnull align 8 dereferenceable(666) %190)
          to label %192 unwind label %197

192:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #9
  br label %206

193:                                              ; preds = %176
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %15, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %16, align 4
  call void @_ZN5Catch14SourceLineInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #9
  br label %227

197:                                              ; preds = %191, %185, %177
  %198 = landingpad { ptr, i32 }
          catch ptr null
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %15, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #9
  br label %201

201:                                              ; preds = %197
  %202 = load ptr, ptr %15, align 8
  %203 = call ptr @__cxa_begin_catch(ptr %202) #9
  invoke void @_ZN5Catch13ResultBuilder18useActiveExceptionENS_17ResultDisposition5FlagsE(ptr noundef nonnull align 8 dereferenceable(666) %31, i32 noundef 1)
          to label %204 unwind label %212

204:                                              ; preds = %201
  invoke void @__cxa_end_catch()
          to label %205 unwind label %216

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205, %192
  %207 = invoke noundef zeroext i1 @_ZNK5Catch13ResultBuilder16shouldDebugBreakEv(ptr noundef nonnull align 8 dereferenceable(666) %31)
          to label %208 unwind label %216

208:                                              ; preds = %206
  br i1 %207, label %209, label %221

209:                                              ; preds = %208
  %210 = invoke noundef zeroext i1 @_ZN5Catch10alwaysTrueEv()
          to label %211 unwind label %216

211:                                              ; preds = %209
  br label %221

212:                                              ; preds = %201
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %15, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %16, align 4
  invoke void @__cxa_end_catch()
          to label %220 unwind label %234

216:                                              ; preds = %221, %209, %206, %204
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %15, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %16, align 4
  br label %226

220:                                              ; preds = %212
  br label %226

221:                                              ; preds = %211, %208
  invoke void @_ZN5Catch13ResultBuilder5reactEv(ptr noundef nonnull align 8 dereferenceable(666) %31)
          to label %222 unwind label %216

222:                                              ; preds = %221
  call void @_ZN5Catch13ResultBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(666) %31) #9
  call void @llvm.lifetime.end.p0(i64 672, ptr %31) #9
  br label %223

223:                                              ; preds = %222
  %224 = call noundef zeroext i1 @_ZN5Catch6isTrueEb(i1 noundef zeroext false)
  br i1 %224, label %176, label %225, !llvm.loop !21

225:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  ret void

226:                                              ; preds = %220, %216
  call void @_ZN5Catch13ResultBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(666) %31) #9
  br label %227

227:                                              ; preds = %226, %193
  call void @llvm.lifetime.end.p0(i64 672, ptr %31) #9
  br label %228

228:                                              ; preds = %227, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %229

229:                                              ; preds = %228
  %230 = load ptr, ptr %15, align 8
  %231 = load i32, ptr %16, align 4
  %232 = insertvalue { ptr, i32 } poison, ptr %230, 0
  %233 = insertvalue { ptr, i32 } %232, i32 %231, 1
  resume { ptr, i32 } %233

234:                                              ; preds = %212
  %235 = landingpad { ptr, i32 }
          catch ptr null
  %236 = extractvalue { ptr, i32 } %235, 0
  call void @__clang_call_terminate(ptr %236) #10
  unreachable
}

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

; Function Attrs: nounwind
declare i32 @rand() #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4fabsIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #7

declare void @_ZN5Catch14SourceLineInfoC1EPKcm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i64 noundef) unnamed_addr #7

declare void @_ZN5Catch13ResultBuilderC1EPKcRKNS_14SourceLineInfoES2_NS_17ResultDisposition5FlagsES2_(ptr noundef nonnull align 8 dereferenceable(666), ptr noundef, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN5Catch13ResultBuilderleIdEENS_13ExpressionLhsIRKT_EES5_(ptr noundef nonnull align 8 dereferenceable(666), ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(666) ptr @_ZN5Catch13ExpressionLhsIRKdEgtIdEERNS_13ResultBuilderERKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

declare void @_ZN5Catch13ResultBuilder13endExpressionEv(ptr noundef nonnull align 8 dereferenceable(666)) #7

declare ptr @__cxa_begin_catch(ptr)

declare void @_ZN5Catch13ResultBuilder18useActiveExceptionENS_17ResultDisposition5FlagsE(ptr noundef nonnull align 8 dereferenceable(666), i32 noundef) #7

declare void @__cxa_end_catch()

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

declare noundef zeroext i1 @_ZNK5Catch13ResultBuilder16shouldDebugBreakEv(ptr noundef nonnull align 8 dereferenceable(666)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Catch10alwaysTrueEv() #4

declare void @_ZN5Catch13ResultBuilder5reactEv(ptr noundef nonnull align 8 dereferenceable(666)) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Catch6isTrueEb(i1 noundef zeroext) #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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 = { 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 #9 = { nounwind }
attributes #10 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSSt16initializer_listIdE", !6, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.Catch::ResultBuilder" = type <{ %"struct.Catch::AssertionInfo", %"struct.Catch::AssertionResultData", %"struct.Catch::ResultBuilder::ExprComponents", %"struct.Catch::CopyableStream", i8, i8, [6 x i8] }>
%"struct.Catch::AssertionInfo" = type <{ %"class.std::__cxx11::basic_string", %"struct.Catch::SourceLineInfo", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"struct.Catch::SourceLineInfo" = type { %"class.std::__cxx11::basic_string", i64 }
%"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] }
%"struct.Catch::AssertionResultData" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"struct.Catch::ResultBuilder::ExprComponents" = type { i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"struct.Catch::CopyableStream" = type { %"class.std::__cxx11::basic_ostringstream" }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.Catch::ExpressionLhs" = type { ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZL15PERCENT_CORRECT = external hidden constant double, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5trainPN2rl7LearnerEi(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca [1 x double], align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca [1 x double], align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca [1 x double], align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca [1 x double], align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.Catch::ResultBuilder", align 8
  %19 = alloca %"struct.Catch::SourceLineInfo", align 8
  %20 = alloca %"class.Catch::ExpressionLhs", align 8
  %21 = alloca double, align 8
  %22 = sitofp i32 %1 to double
  %23 = fmul double %22, 2.500000e-01
  %24 = fptosi double %23 to i32
  %.not74 = icmp eq i32 %1, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %25 = sub nsw i32 %1, %24
  br label %34

._crit_edge.loopexit:                             ; preds = %96
  %26 = sitofp i32 %.2 to double
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %2
  %.028.lcssa = phi i32 [ undef, %2 ], [ %36, %._crit_edge.loopexit ]
  %.0.lcssa = phi double [ 0.000000e+00, %2 ], [ %26, %._crit_edge.loopexit ]
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %27, i32 noundef %.028.lcssa)
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull @.str.1)
  %30 = shl nsw i32 %24, 1
  %31 = sitofp i32 %30 to double
  %32 = fdiv double %.0.lcssa, %31
  %33 = getelementptr inbounds i8, ptr %20, i64 8
  br label %98

34:                                               ; preds = %.lr.ph, %96
  %.072 = phi i32 [ 0, %.lr.ph ], [ %.2, %96 ]
  %.02971 = phi i32 [ 0, %.lr.ph ], [ %97, %96 ]
  %35 = call i32 @rand() #9
  %36 = srem i32 %35, 2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %37 = sitofp i32 %36 to double
  store double %37, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr nonnull %5, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %38 unwind label %66

38:                                               ; preds = %34
  %39 = load ptr, ptr %0, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load ptr, ptr %40, align 8
  invoke void %41(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %3, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %4, double noundef 1.000000e+02)
          to label %42 unwind label %68

42:                                               ; preds = %38
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #9
  %44 = load double, ptr %43, align 8, !tbaa !5
  %45 = fptosi double %44 to i32
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  %46 = sub nsw i32 %45, %36
  %47 = call noundef double @_ZSt4fabsIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %46)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  store double %37, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %48 unwind label %71

48:                                               ; preds = %42
  %49 = call double @llvm.fmuladd.f64(double %47, double -2.000000e+00, double 1.000000e+00)
  %50 = fdiv double %49, 3.000000e+00
  %51 = load ptr, ptr %0, align 8, !tbaa !9
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  %53 = load ptr, ptr %52, align 8
  invoke void %53(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %50, ptr noundef nonnull %7)
          to label %54 unwind label %73

54:                                               ; preds = %48
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %.not = icmp ugt i32 %25, %.02971
  br i1 %.not, label %96, label %55

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  store double 0.000000e+00, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr nonnull %12, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %56 unwind label %76

56:                                               ; preds = %55
  %57 = load ptr, ptr %0, align 8, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %57, i64 8
  %59 = load ptr, ptr %58, align 8
  invoke void %59(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %11, double noundef 0.000000e+00)
          to label %60 unwind label %78

60:                                               ; preds = %56
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #9
  %62 = load double, ptr %61, align 8, !tbaa !5
  %63 = fptosi double %62 to i32
  %64 = icmp eq i32 %63, 0
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  %65 = zext i1 %64 to i32
  %spec.select = add nsw i32 %.072, %65
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  store double 1.000000e+00, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr nonnull %16, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %81 unwind label %91

66:                                               ; preds = %34
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %70

68:                                               ; preds = %38
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br label %70

70:                                               ; preds = %68, %66
  %.pn44 = phi { ptr, i32 } [ %69, %68 ], [ %67, %66 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  br label %129

71:                                               ; preds = %42
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

73:                                               ; preds = %48
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #9
  br label %75

75:                                               ; preds = %73, %71
  %.pn46 = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %129

76:                                               ; preds = %55
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %56
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  br label %80

80:                                               ; preds = %78, %76
  %.pn48 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %129

81:                                               ; preds = %60
  %82 = load ptr, ptr %0, align 8, !tbaa !9
  %83 = getelementptr inbounds i8, ptr %82, i64 8
  %84 = load ptr, ptr %83, align 8
  invoke void %84(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %15, double noundef 0.000000e+00)
          to label %85 unwind label %93

85:                                               ; preds = %81
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #9
  %87 = load double, ptr %86, align 8, !tbaa !5
  %88 = fptosi double %87 to i32
  %89 = icmp eq i32 %88, 1
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  %90 = zext i1 %89 to i32
  %spec.select54 = add nsw i32 %spec.select, %90
  br label %96

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

93:                                               ; preds = %81
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br label %95

95:                                               ; preds = %93, %91
  %.pn50 = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #9
  br label %129

96:                                               ; preds = %85, %54
  %.2 = phi i32 [ %.072, %54 ], [ %spec.select54, %85 ]
  %97 = add nuw i32 %.02971, 1
  %exitcond.not = icmp eq i32 %97, %1
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %34, !llvm.loop !11

98:                                               ; preds = %124, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 672, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #9
  call void @_ZN5Catch14SourceLineInfoC1EPKcm(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull @.str.3, i64 noundef 33)
  invoke void @_ZN5Catch13ResultBuilderC1EPKcRKNS_14SourceLineInfoES2_NS_17ResultDisposition5FlagsES2_(ptr noundef nonnull align 8 dereferenceable(666) %18, ptr noundef nonnull @.str.2, ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull @.str.4, i32 noundef 1, ptr noundef nonnull @.str.5)
          to label %99 unwind label %107

99:                                               ; preds = %98
  call void @_ZN5Catch14SourceLineInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  store double %32, ptr %21, align 8, !tbaa !5
  %100 = invoke { ptr, ptr } @_ZN5Catch13ResultBuilderleIdEENS_13ExpressionLhsIRKT_EES5_(ptr noundef nonnull align 8 dereferenceable(666) %18, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %101 unwind label %109

101:                                              ; preds = %99
  %102 = extractvalue { ptr, ptr } %100, 0
  store ptr %102, ptr %20, align 8
  %103 = extractvalue { ptr, ptr } %100, 1
  store ptr %103, ptr %33, align 8
  %104 = invoke noundef nonnull align 8 dereferenceable(666) ptr @_ZN5Catch13ExpressionLhsIRKdEgtIdEERNS_13ResultBuilderERKT_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) @_ZL15PERCENT_CORRECT)
          to label %105 unwind label %109

105:                                              ; preds = %101
  invoke void @_ZN5Catch13ResultBuilder13endExpressionEv(ptr noundef nonnull align 8 dereferenceable(666) %104)
          to label %106 unwind label %109

106:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  br label %114

107:                                              ; preds = %98
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Catch14SourceLineInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #9
  br label %128

109:                                              ; preds = %105, %101, %99
  %110 = landingpad { ptr, i32 }
          catch ptr null
  %111 = extractvalue { ptr, i32 } %110, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  %112 = call ptr @__cxa_begin_catch(ptr %111) #9
  invoke void @_ZN5Catch13ResultBuilder18useActiveExceptionENS_17ResultDisposition5FlagsE(ptr noundef nonnull align 8 dereferenceable(666) %18, i32 noundef 1)
          to label %113 unwind label %119

113:                                              ; preds = %109
  invoke void @__cxa_end_catch()
          to label %114 unwind label %121

114:                                              ; preds = %113, %106
  %115 = invoke noundef zeroext i1 @_ZNK5Catch13ResultBuilder16shouldDebugBreakEv(ptr noundef nonnull align 8 dereferenceable(666) %18)
          to label %116 unwind label %121

116:                                              ; preds = %114
  br i1 %115, label %117, label %123

117:                                              ; preds = %116
  %118 = call noundef zeroext i1 @_ZN5Catch10alwaysTrueEv()
  br label %123

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %127 unwind label %130

121:                                              ; preds = %123, %114, %113
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %127

123:                                              ; preds = %117, %116
  invoke void @_ZN5Catch13ResultBuilder5reactEv(ptr noundef nonnull align 8 dereferenceable(666) %18)
          to label %124 unwind label %121

124:                                              ; preds = %123
  call void @_ZN5Catch13ResultBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(666) %18) #9
  call void @llvm.lifetime.end.p0(i64 672, ptr nonnull %18) #9
  %125 = call noundef zeroext i1 @_ZN5Catch6isTrueEb(i1 noundef zeroext false)
  br i1 %125, label %98, label %126, !llvm.loop !13

126:                                              ; preds = %124
  ret void

127:                                              ; preds = %119, %121
  %.pn = phi { ptr, i32 } [ %122, %121 ], [ %120, %119 ]
  call void @_ZN5Catch13ResultBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(666) %18) #9
  br label %128

128:                                              ; preds = %127, %107
  %.pn.pn = phi { ptr, i32 } [ %.pn, %127 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 672, ptr nonnull %18) #9
  br label %129

129:                                              ; preds = %70, %75, %80, %95, %128
  %.pn50.pn.pn = phi { ptr, i32 } [ %.pn.pn, %128 ], [ %.pn50, %95 ], [ %.pn48, %80 ], [ %.pn46, %75 ], [ %.pn44, %70 ]
  resume { ptr, i32 } %.pn50.pn.pn

130:                                              ; preds = %119
  %131 = landingpad { ptr, i32 }
          catch ptr null
  %132 = extractvalue { ptr, i32 } %131, 0
  call void @__clang_call_terminate(ptr %132) #10
  unreachable
}

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4fabsIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #7

declare void @_ZN5Catch14SourceLineInfoC1EPKcm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i64 noundef) unnamed_addr #7

declare void @_ZN5Catch13ResultBuilderC1EPKcRKNS_14SourceLineInfoES2_NS_17ResultDisposition5FlagsES2_(ptr noundef nonnull align 8 dereferenceable(666), ptr noundef, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN5Catch13ResultBuilderleIdEENS_13ExpressionLhsIRKT_EES5_(ptr noundef nonnull align 8 dereferenceable(666), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(666) ptr @_ZN5Catch13ExpressionLhsIRKdEgtIdEERNS_13ResultBuilderERKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

declare void @_ZN5Catch13ResultBuilder13endExpressionEv(ptr noundef nonnull align 8 dereferenceable(666)) local_unnamed_addr #7

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @_ZN5Catch13ResultBuilder18useActiveExceptionENS_17ResultDisposition5FlagsE(ptr noundef nonnull align 8 dereferenceable(666), i32 noundef) local_unnamed_addr #7

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

declare noundef zeroext i1 @_ZNK5Catch13ResultBuilder16shouldDebugBreakEv(ptr noundef nonnull align 8 dereferenceable(666)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Catch10alwaysTrueEv() local_unnamed_addr #4

declare void @_ZN5Catch13ResultBuilder5reactEv(ptr noundef nonnull align 8 dereferenceable(666)) local_unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Catch6isTrueEb(i1 noundef zeroext) local_unnamed_addr #4

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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 = { 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 #9 = { nounwind }
attributes #10 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass