; LLVM IR from kthohr/gcem :: tests (log_binomial_coef)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@GCEM_TEST_NUMBER = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca i8, align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i8, align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i8, align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca double, align 8
  %37 = alloca x86_fp80, align 16
  %38 = alloca i8, align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator", align 1
  %43 = alloca double, align 8
  %44 = alloca x86_fp80, align 16
  %45 = alloca i8, align 1
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::allocator", align 1
  %50 = alloca double, align 8
  %51 = alloca x86_fp80, align 16
  %52 = alloca i8, align 1
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator", align 1
  %57 = alloca double, align 8
  %58 = alloca double, align 8
  %59 = alloca i8, align 1
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.std::allocator", align 1
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %64 unwind label %91

64:                                               ; preds = %0
  invoke void @_Z11print_beginNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %2)
          to label %65 unwind label %95

65:                                               ; preds = %64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  %66 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %68 unwind label %100

68:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %69 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 0, i32 noundef 0) #7
  store double %69, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %70 = load double, ptr %8, align 8, !tbaa !9
  %71 = fsub double %70, 0.000000e+00
  %72 = invoke noundef double @_ZSt3absd(double noundef %71)
          to label %73 unwind label %104

73:                                               ; preds = %68
  %74 = call i32 @llvm.abs.i32(i32 0, i1 true)
  %75 = add nsw i32 1, %74
  %76 = sitofp i32 %75 to double
  %77 = fdiv double %72, %76
  store double %77, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  store i8 0, ptr %10, align 1, !tbaa !11
  %78 = load double, ptr %8, align 8, !tbaa !9
  %79 = fpext double %78 to x86_fp80
  %80 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %79)
          to label %81 unwind label %108

81:                                               ; preds = %73
  br i1 %80, label %112, label %82

82:                                               ; preds = %81
  %83 = load double, ptr %8, align 8, !tbaa !9
  %84 = fpext double %83 to x86_fp80
  %85 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %84)
          to label %86 unwind label %108

86:                                               ; preds = %82
  br i1 %85, label %87, label %112

87:                                               ; preds = %86
  %88 = load double, ptr %8, align 8, !tbaa !9
  %89 = fcmp oeq double %88, 0.000000e+00
  br i1 %89, label %90, label %112

90:                                               ; preds = %87
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %126

91:                                               ; preds = %0
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %4, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %5, align 4
  br label %99

95:                                               ; preds = %64
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %4, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  br label %99

99:                                               ; preds = %95, %91
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  br label %696

100:                                              ; preds = %65
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %4, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %172

104:                                              ; preds = %68
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %4, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %5, align 4
  br label %171

108:                                              ; preds = %129, %116, %82, %73
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %4, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %5, align 4
  br label %170

112:                                              ; preds = %87, %86, %81
  %113 = load double, ptr %9, align 8, !tbaa !9
  %114 = fcmp olt double %113, 0x3D06849B86A12B9B
  br i1 %114, label %115, label %116

115:                                              ; preds = %112
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %125

116:                                              ; preds = %112
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %117 unwind label %108

117:                                              ; preds = %116
  %118 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %119 = load double, ptr %8, align 8, !tbaa !9
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %11, i32 noundef %118, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %119, i32 noundef 0, i32 noundef 0, i32 noundef 0)
          to label %120 unwind label %121

120:                                              ; preds = %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %125

121:                                              ; preds = %117
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %4, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %170

125:                                              ; preds = %120, %115
  br label %126

126:                                              ; preds = %125, %90
  %127 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %128 = trunc i8 %127 to i1
  br i1 %128, label %129, label %138

129:                                              ; preds = %126
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %130 unwind label %108

130:                                              ; preds = %129
  %131 = load double, ptr %8, align 8, !tbaa !9
  %132 = load double, ptr %9, align 8, !tbaa !9
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %12, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %131, double noundef %132, i32 noundef 0, i32 noundef 0)
          to label %133 unwind label %134

133:                                              ; preds = %130
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %138

134:                                              ; preds = %130
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %170

138:                                              ; preds = %133, %126
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  %139 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %141 unwind label %173

141:                                              ; preds = %138
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %142 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 0, i32 noundef 1) #7
  store double %142, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %143 = load double, ptr %15, align 8, !tbaa !9
  %144 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #7
  %145 = fneg double %144
  %146 = fsub double %143, %145
  %147 = invoke noundef double @_ZSt3absd(double noundef %146)
          to label %148 unwind label %177

148:                                              ; preds = %141
  %149 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #7
  %150 = fneg double %149
  %151 = invoke noundef double @_ZSt3absd(double noundef %150)
          to label %152 unwind label %177

152:                                              ; preds = %148
  %153 = fadd double 1.000000e+00, %151
  %154 = fdiv double %147, %153
  store double %154, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 0, ptr %17, align 1, !tbaa !11
  %155 = load double, ptr %15, align 8, !tbaa !9
  %156 = fpext double %155 to x86_fp80
  %157 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %156)
          to label %158 unwind label %181

158:                                              ; preds = %152
  br i1 %157, label %185, label %159

159:                                              ; preds = %158
  %160 = load double, ptr %15, align 8, !tbaa !9
  %161 = fpext double %160 to x86_fp80
  %162 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %161)
          to label %163 unwind label %181

163:                                              ; preds = %159
  br i1 %162, label %164, label %185

164:                                              ; preds = %163
  %165 = load double, ptr %15, align 8, !tbaa !9
  %166 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #7
  %167 = fneg double %166
  %168 = fcmp oeq double %165, %167
  br i1 %168, label %169, label %185

169:                                              ; preds = %164
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %201

170:                                              ; preds = %134, %121, %108
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  br label %171

171:                                              ; preds = %170, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %172

172:                                              ; preds = %171, %100
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  br label %696

173:                                              ; preds = %138
  %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 @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %241

177:                                              ; preds = %148, %141
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %4, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %5, align 4
  br label %240

181:                                              ; preds = %204, %189, %159, %152
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %4, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %5, align 4
  br label %239

185:                                              ; preds = %164, %163, %158
  %186 = load double, ptr %16, align 8, !tbaa !9
  %187 = fcmp olt double %186, 0x3D06849B86A12B9B
  br i1 %187, label %188, label %189

188:                                              ; preds = %185
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %200

189:                                              ; preds = %185
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %190 unwind label %181

190:                                              ; preds = %189
  %191 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %192 = load double, ptr %15, align 8, !tbaa !9
  %193 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #7
  %194 = fneg double %193
  invoke void @_Z15print_test_failIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %18, i32 noundef %191, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %192, double noundef %194, i32 noundef 0, i32 noundef 1)
          to label %195 unwind label %196

195:                                              ; preds = %190
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %200

196:                                              ; preds = %190
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %4, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %239

200:                                              ; preds = %195, %188
  br label %201

201:                                              ; preds = %200, %169
  %202 = load i8, ptr %17, align 1, !tbaa !11, !range !13, !noundef !14
  %203 = trunc i8 %202 to i1
  br i1 %203, label %204, label %213

204:                                              ; preds = %201
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %205 unwind label %181

205:                                              ; preds = %204
  %206 = load double, ptr %15, align 8, !tbaa !9
  %207 = load double, ptr %16, align 8, !tbaa !9
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %19, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %206, double noundef %207, i32 noundef 0, i32 noundef 1)
          to label %208 unwind label %209

208:                                              ; preds = %205
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %213

209:                                              ; preds = %205
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %4, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %239

213:                                              ; preds = %208, %201
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  %214 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %216 unwind label %242

216:                                              ; preds = %213
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %217 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 1, i32 noundef 0) #7
  store double %217, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %218 = load double, ptr %22, align 8, !tbaa !9
  %219 = fsub double %218, 0.000000e+00
  %220 = invoke noundef double @_ZSt3absd(double noundef %219)
          to label %221 unwind label %246

221:                                              ; preds = %216
  %222 = call i32 @llvm.abs.i32(i32 0, i1 true)
  %223 = add nsw i32 1, %222
  %224 = sitofp i32 %223 to double
  %225 = fdiv double %220, %224
  store double %225, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 0, ptr %24, align 1, !tbaa !11
  %226 = load double, ptr %22, align 8, !tbaa !9
  %227 = fpext double %226 to x86_fp80
  %228 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %227)
          to label %229 unwind label %250

229:                                              ; preds = %221
  br i1 %228, label %254, label %230

230:                                              ; preds = %229
  %231 = load double, ptr %22, align 8, !tbaa !9
  %232 = fpext double %231 to x86_fp80
  %233 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %232)
          to label %234 unwind label %250

234:                                              ; preds = %230
  br i1 %233, label %235, label %254

235:                                              ; preds = %234
  %236 = load double, ptr %22, align 8, !tbaa !9
  %237 = fcmp oeq double %236, 0.000000e+00
  br i1 %237, label %238, label %254

238:                                              ; preds = %235
  store i8 1, ptr %24, align 1, !tbaa !11
  br label %268

239:                                              ; preds = %209, %196, %181
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %240

240:                                              ; preds = %239, %177
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %241

241:                                              ; preds = %240, %173
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  br label %696

242:                                              ; preds = %213
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %4, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %308

246:                                              ; preds = %216
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %4, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %5, align 4
  br label %307

250:                                              ; preds = %271, %258, %230, %221
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %4, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %5, align 4
  br label %306

254:                                              ; preds = %235, %234, %229
  %255 = load double, ptr %23, align 8, !tbaa !9
  %256 = fcmp olt double %255, 0x3D06849B86A12B9B
  br i1 %256, label %257, label %258

257:                                              ; preds = %254
  store i8 1, ptr %24, align 1, !tbaa !11
  br label %267

258:                                              ; preds = %254
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %259 unwind label %250

259:                                              ; preds = %258
  %260 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %261 = load double, ptr %22, align 8, !tbaa !9
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %25, i32 noundef %260, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %261, i32 noundef 0, i32 noundef 1, i32 noundef 0)
          to label %262 unwind label %263

262:                                              ; preds = %259
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %267

263:                                              ; preds = %259
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %4, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %306

267:                                              ; preds = %262, %257
  br label %268

268:                                              ; preds = %267, %238
  %269 = load i8, ptr %24, align 1, !tbaa !11, !range !13, !noundef !14
  %270 = trunc i8 %269 to i1
  br i1 %270, label %271, label %280

271:                                              ; preds = %268
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %272 unwind label %250

272:                                              ; preds = %271
  %273 = load double, ptr %22, align 8, !tbaa !9
  %274 = load double, ptr %23, align 8, !tbaa !9
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %26, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %273, double noundef %274, i32 noundef 1, i32 noundef 0)
          to label %275 unwind label %276

275:                                              ; preds = %272
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %280

276:                                              ; preds = %272
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %4, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %306

280:                                              ; preds = %275, %268
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  %281 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %283 unwind label %309

283:                                              ; preds = %280
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %284 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 1, i32 noundef 1) #7
  store double %284, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %285 = load double, ptr %29, align 8, !tbaa !9
  %286 = fsub double %285, 0.000000e+00
  %287 = invoke noundef double @_ZSt3absd(double noundef %286)
          to label %288 unwind label %313

288:                                              ; preds = %283
  %289 = call i32 @llvm.abs.i32(i32 0, i1 true)
  %290 = add nsw i32 1, %289
  %291 = sitofp i32 %290 to double
  %292 = fdiv double %287, %291
  store double %292, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  store i8 0, ptr %31, align 1, !tbaa !11
  %293 = load double, ptr %29, align 8, !tbaa !9
  %294 = fpext double %293 to x86_fp80
  %295 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %294)
          to label %296 unwind label %317

296:                                              ; preds = %288
  br i1 %295, label %321, label %297

297:                                              ; preds = %296
  %298 = load double, ptr %29, align 8, !tbaa !9
  %299 = fpext double %298 to x86_fp80
  %300 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %299)
          to label %301 unwind label %317

301:                                              ; preds = %297
  br i1 %300, label %302, label %321

302:                                              ; preds = %301
  %303 = load double, ptr %29, align 8, !tbaa !9
  %304 = fcmp oeq double %303, 0.000000e+00
  br i1 %304, label %305, label %321

305:                                              ; preds = %302
  store i8 1, ptr %31, align 1, !tbaa !11
  br label %335

306:                                              ; preds = %276, %263, %250
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %307

307:                                              ; preds = %306, %246
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %308

308:                                              ; preds = %307, %242
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %696

309:                                              ; preds = %280
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %4, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  br label %377

313:                                              ; preds = %283
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %4, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %5, align 4
  br label %376

317:                                              ; preds = %338, %325, %297, %288
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %4, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %5, align 4
  br label %375

321:                                              ; preds = %302, %301, %296
  %322 = load double, ptr %30, align 8, !tbaa !9
  %323 = fcmp olt double %322, 0x3D06849B86A12B9B
  br i1 %323, label %324, label %325

324:                                              ; preds = %321
  store i8 1, ptr %31, align 1, !tbaa !11
  br label %334

325:                                              ; preds = %321
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %326 unwind label %317

326:                                              ; preds = %325
  %327 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %328 = load double, ptr %29, align 8, !tbaa !9
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %32, i32 noundef %327, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %328, i32 noundef 0, i32 noundef 1, i32 noundef 1)
          to label %329 unwind label %330

329:                                              ; preds = %326
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %334

330:                                              ; preds = %326
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %375

334:                                              ; preds = %329, %324
  br label %335

335:                                              ; preds = %334, %305
  %336 = load i8, ptr %31, align 1, !tbaa !11, !range !13, !noundef !14
  %337 = trunc i8 %336 to i1
  br i1 %337, label %338, label %347

338:                                              ; preds = %335
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %339 unwind label %317

339:                                              ; preds = %338
  %340 = load double, ptr %29, align 8, !tbaa !9
  %341 = load double, ptr %30, align 8, !tbaa !9
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %33, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %340, double noundef %341, i32 noundef 1, i32 noundef 1)
          to label %342 unwind label %343

342:                                              ; preds = %339
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %347

343:                                              ; preds = %339
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %4, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %375

347:                                              ; preds = %342, %335
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  %348 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %350 unwind label %378

350:                                              ; preds = %347
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %351 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 5, i32 noundef 2) #7
  store double %351, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #7
  %352 = load double, ptr %36, align 8, !tbaa !9
  %353 = fpext double %352 to x86_fp80
  %354 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %355 unwind label %382

355:                                              ; preds = %350
  %356 = fsub x86_fp80 %353, %354
  %357 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %356)
          to label %358 unwind label %382

358:                                              ; preds = %355
  %359 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %360 unwind label %382

360:                                              ; preds = %358
  %361 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %359)
          to label %362 unwind label %382

362:                                              ; preds = %360
  %363 = fadd x86_fp80 0xK3FFF8000000000000000, %361
  %364 = fdiv x86_fp80 %357, %363
  store x86_fp80 %364, ptr %37, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #7
  store i8 0, ptr %38, align 1, !tbaa !11
  %365 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %366 unwind label %386

366:                                              ; preds = %362
  %367 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %365)
          to label %368 unwind label %386

368:                                              ; preds = %366
  br i1 %367, label %369, label %390

369:                                              ; preds = %368
  %370 = load double, ptr %36, align 8, !tbaa !9
  %371 = fpext double %370 to x86_fp80
  %372 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %371)
          to label %373 unwind label %386

373:                                              ; preds = %369
  br i1 %372, label %374, label %390

374:                                              ; preds = %373
  store i8 1, ptr %38, align 1, !tbaa !11
  br label %424

375:                                              ; preds = %343, %330, %317
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  br label %376

376:                                              ; preds = %375, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %377

377:                                              ; preds = %376, %309
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  br label %696

378:                                              ; preds = %347
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %4, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #7
  br label %466

382:                                              ; preds = %360, %358, %355, %350
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %4, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %5, align 4
  br label %465

386:                                              ; preds = %427, %411, %400, %395, %390, %369, %366, %362
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %4, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %5, align 4
  br label %464

390:                                              ; preds = %373, %368
  %391 = load double, ptr %36, align 8, !tbaa !9
  %392 = fpext double %391 to x86_fp80
  %393 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %392)
          to label %394 unwind label %386

394:                                              ; preds = %390
  br i1 %393, label %407, label %395

395:                                              ; preds = %394
  %396 = load double, ptr %36, align 8, !tbaa !9
  %397 = fpext double %396 to x86_fp80
  %398 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %397)
          to label %399 unwind label %386

399:                                              ; preds = %395
  br i1 %398, label %400, label %407

400:                                              ; preds = %399
  %401 = load double, ptr %36, align 8, !tbaa !9
  %402 = fpext double %401 to x86_fp80
  %403 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %404 unwind label %386

404:                                              ; preds = %400
  %405 = fcmp oeq x86_fp80 %402, %403
  br i1 %405, label %406, label %407

406:                                              ; preds = %404
  store i8 1, ptr %38, align 1, !tbaa !11
  br label %423

407:                                              ; preds = %404, %399, %394
  %408 = load x86_fp80, ptr %37, align 16, !tbaa !15
  %409 = fcmp olt x86_fp80 %408, 0xK3FD0B424DC35095CD800
  br i1 %409, label %410, label %411

410:                                              ; preds = %407
  store i8 1, ptr %38, align 1, !tbaa !11
  br label %422

411:                                              ; preds = %407
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %412 unwind label %386

412:                                              ; preds = %411
  %413 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %414 = load double, ptr %36, align 8, !tbaa !9
  %415 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %416 unwind label %418

416:                                              ; preds = %412
  invoke void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %39, i32 noundef %413, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %414, x86_fp80 noundef %415, i32 noundef 5, i32 noundef 2)
          to label %417 unwind label %418

417:                                              ; preds = %416
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br label %422

418:                                              ; preds = %416, %412
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %4, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br label %464

422:                                              ; preds = %417, %410
  br label %423

423:                                              ; preds = %422, %406
  br label %424

424:                                              ; preds = %423, %374
  %425 = load i8, ptr %38, align 1, !tbaa !11, !range !13, !noundef !14
  %426 = trunc i8 %425 to i1
  br i1 %426, label %427, label %436

427:                                              ; preds = %424
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %428 unwind label %386

428:                                              ; preds = %427
  %429 = load double, ptr %36, align 8, !tbaa !9
  %430 = load x86_fp80, ptr %37, align 16, !tbaa !15
  invoke void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %40, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %429, x86_fp80 noundef %430, i32 noundef 5, i32 noundef 2)
          to label %431 unwind label %432

431:                                              ; preds = %428
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  br label %436

432:                                              ; preds = %428
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %4, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  br label %464

436:                                              ; preds = %431, %424
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #7
  %437 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %438 = add nsw i32 %437, 1
  store i32 %438, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %439 unwind label %467

439:                                              ; preds = %436
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %440 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 10, i32 noundef 8) #7
  store double %440, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #7
  %441 = load double, ptr %43, align 8, !tbaa !9
  %442 = fpext double %441 to x86_fp80
  %443 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
          to label %444 unwind label %471

444:                                              ; preds = %439
  %445 = fsub x86_fp80 %442, %443
  %446 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %445)
          to label %447 unwind label %471

447:                                              ; preds = %444
  %448 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
          to label %449 unwind label %471

449:                                              ; preds = %447
  %450 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %448)
          to label %451 unwind label %471

451:                                              ; preds = %449
  %452 = fadd x86_fp80 0xK3FFF8000000000000000, %450
  %453 = fdiv x86_fp80 %446, %452
  store x86_fp80 %453, ptr %44, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #7
  store i8 0, ptr %45, align 1, !tbaa !11
  %454 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
          to label %455 unwind label %475

455:                                              ; preds = %451
  %456 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %454)
          to label %457 unwind label %475

457:                                              ; preds = %455
  br i1 %456, label %458, label %479

458:                                              ; preds = %457
  %459 = load double, ptr %43, align 8, !tbaa !9
  %460 = fpext double %459 to x86_fp80
  %461 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %460)
          to label %462 unwind label %475

462:                                              ; preds = %458
  br i1 %461, label %463, label %479

463:                                              ; preds = %462
  store i8 1, ptr %45, align 1, !tbaa !11
  br label %513

464:                                              ; preds = %432, %418, %386
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  br label %465

465:                                              ; preds = %464, %382
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  br label %466

466:                                              ; preds = %465, %378
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #7
  br label %696

467:                                              ; preds = %436
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %4, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  br label %555

471:                                              ; preds = %449, %447, %444, %439
  %472 = landingpad { ptr, i32 }
          cleanup
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %4, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %5, align 4
  br label %554

475:                                              ; preds = %516, %500, %489, %484, %479, %458, %455, %451
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %4, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %5, align 4
  br label %553

479:                                              ; preds = %462, %457
  %480 = load double, ptr %43, align 8, !tbaa !9
  %481 = fpext double %480 to x86_fp80
  %482 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %481)
          to label %483 unwind label %475

483:                                              ; preds = %479
  br i1 %482, label %496, label %484

484:                                              ; preds = %483
  %485 = load double, ptr %43, align 8, !tbaa !9
  %486 = fpext double %485 to x86_fp80
  %487 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %486)
          to label %488 unwind label %475

488:                                              ; preds = %484
  br i1 %487, label %489, label %496

489:                                              ; preds = %488
  %490 = load double, ptr %43, align 8, !tbaa !9
  %491 = fpext double %490 to x86_fp80
  %492 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
          to label %493 unwind label %475

493:                                              ; preds = %489
  %494 = fcmp oeq x86_fp80 %491, %492
  br i1 %494, label %495, label %496

495:                                              ; preds = %493
  store i8 1, ptr %45, align 1, !tbaa !11
  br label %512

496:                                              ; preds = %493, %488, %483
  %497 = load x86_fp80, ptr %44, align 16, !tbaa !15
  %498 = fcmp olt x86_fp80 %497, 0xK3FD0B424DC35095CD800
  br i1 %498, label %499, label %500

499:                                              ; preds = %496
  store i8 1, ptr %45, align 1, !tbaa !11
  br label %511

500:                                              ; preds = %496
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %501 unwind label %475

501:                                              ; preds = %500
  %502 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %503 = load double, ptr %43, align 8, !tbaa !9
  %504 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
          to label %505 unwind label %507

505:                                              ; preds = %501
  invoke void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %46, i32 noundef %502, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %503, x86_fp80 noundef %504, i32 noundef 10, i32 noundef 8)
          to label %506 unwind label %507

506:                                              ; preds = %505
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  br label %511

507:                                              ; preds = %505, %501
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %4, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  br label %553

511:                                              ; preds = %506, %499
  br label %512

512:                                              ; preds = %511, %495
  br label %513

513:                                              ; preds = %512, %463
  %514 = load i8, ptr %45, align 1, !tbaa !11, !range !13, !noundef !14
  %515 = trunc i8 %514 to i1
  br i1 %515, label %516, label %525

516:                                              ; preds = %513
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %517 unwind label %475

517:                                              ; preds = %516
  %518 = load double, ptr %43, align 8, !tbaa !9
  %519 = load x86_fp80, ptr %44, align 16, !tbaa !15
  invoke void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %47, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %518, x86_fp80 noundef %519, i32 noundef 10, i32 noundef 8)
          to label %520 unwind label %521

520:                                              ; preds = %517
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %525

521:                                              ; preds = %517
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %4, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %553

525:                                              ; preds = %520, %513
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #7
  %526 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %527 = add nsw i32 %526, 1
  store i32 %527, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %528 unwind label %556

528:                                              ; preds = %525
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  %529 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 10, i32 noundef 9) #7
  store double %529, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #7
  %530 = load double, ptr %50, align 8, !tbaa !9
  %531 = fpext double %530 to x86_fp80
  %532 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %533 unwind label %560

533:                                              ; preds = %528
  %534 = fsub x86_fp80 %531, %532
  %535 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %534)
          to label %536 unwind label %560

536:                                              ; preds = %533
  %537 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %538 unwind label %560

538:                                              ; preds = %536
  %539 = invoke noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %537)
          to label %540 unwind label %560

540:                                              ; preds = %538
  %541 = fadd x86_fp80 0xK3FFF8000000000000000, %539
  %542 = fdiv x86_fp80 %535, %541
  store x86_fp80 %542, ptr %51, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #7
  store i8 0, ptr %52, align 1, !tbaa !11
  %543 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %544 unwind label %564

544:                                              ; preds = %540
  %545 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %543)
          to label %546 unwind label %564

546:                                              ; preds = %544
  br i1 %545, label %547, label %568

547:                                              ; preds = %546
  %548 = load double, ptr %50, align 8, !tbaa !9
  %549 = fpext double %548 to x86_fp80
  %550 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %549)
          to label %551 unwind label %564

551:                                              ; preds = %547
  br i1 %550, label %552, label %568

552:                                              ; preds = %551
  store i8 1, ptr %52, align 1, !tbaa !11
  br label %602

553:                                              ; preds = %521, %507, %475
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #7
  br label %554

554:                                              ; preds = %553, %471
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  br label %555

555:                                              ; preds = %554, %467
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #7
  br label %696

556:                                              ; preds = %525
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %4, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #7
  br label %642

560:                                              ; preds = %538, %536, %533, %528
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %4, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %5, align 4
  br label %641

564:                                              ; preds = %605, %589, %578, %573, %568, %547, %544, %540
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %4, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %5, align 4
  br label %640

568:                                              ; preds = %551, %546
  %569 = load double, ptr %50, align 8, !tbaa !9
  %570 = fpext double %569 to x86_fp80
  %571 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %570)
          to label %572 unwind label %564

572:                                              ; preds = %568
  br i1 %571, label %585, label %573

573:                                              ; preds = %572
  %574 = load double, ptr %50, align 8, !tbaa !9
  %575 = fpext double %574 to x86_fp80
  %576 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %575)
          to label %577 unwind label %564

577:                                              ; preds = %573
  br i1 %576, label %578, label %585

578:                                              ; preds = %577
  %579 = load double, ptr %50, align 8, !tbaa !9
  %580 = fpext double %579 to x86_fp80
  %581 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %582 unwind label %564

582:                                              ; preds = %578
  %583 = fcmp oeq x86_fp80 %580, %581
  br i1 %583, label %584, label %585

584:                                              ; preds = %582
  store i8 1, ptr %52, align 1, !tbaa !11
  br label %601

585:                                              ; preds = %582, %577, %572
  %586 = load x86_fp80, ptr %51, align 16, !tbaa !15
  %587 = fcmp olt x86_fp80 %586, 0xK3FD0B424DC35095CD800
  br i1 %587, label %588, label %589

588:                                              ; preds = %585
  store i8 1, ptr %52, align 1, !tbaa !11
  br label %600

589:                                              ; preds = %585
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %590 unwind label %564

590:                                              ; preds = %589
  %591 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %592 = load double, ptr %50, align 8, !tbaa !9
  %593 = invoke noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
          to label %594 unwind label %596

594:                                              ; preds = %590
  invoke void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %53, i32 noundef %591, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %592, x86_fp80 noundef %593, i32 noundef 10, i32 noundef 9)
          to label %595 unwind label %596

595:                                              ; preds = %594
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  br label %600

596:                                              ; preds = %594, %590
  %597 = landingpad { ptr, i32 }
          cleanup
  %598 = extractvalue { ptr, i32 } %597, 0
  store ptr %598, ptr %4, align 8
  %599 = extractvalue { ptr, i32 } %597, 1
  store i32 %599, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  br label %640

600:                                              ; preds = %595, %588
  br label %601

601:                                              ; preds = %600, %584
  br label %602

602:                                              ; preds = %601, %552
  %603 = load i8, ptr %52, align 1, !tbaa !11, !range !13, !noundef !14
  %604 = trunc i8 %603 to i1
  br i1 %604, label %605, label %614

605:                                              ; preds = %602
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %606 unwind label %564

606:                                              ; preds = %605
  %607 = load double, ptr %50, align 8, !tbaa !9
  %608 = load x86_fp80, ptr %51, align 16, !tbaa !15
  invoke void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %54, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %607, x86_fp80 noundef %608, i32 noundef 10, i32 noundef 9)
          to label %609 unwind label %610

609:                                              ; preds = %606
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  br label %614

610:                                              ; preds = %606
  %611 = landingpad { ptr, i32 }
          cleanup
  %612 = extractvalue { ptr, i32 } %611, 0
  store ptr %612, ptr %4, align 8
  %613 = extractvalue { ptr, i32 } %611, 1
  store i32 %613, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #7
  br label %640

614:                                              ; preds = %609, %602
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #7
  %615 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %616 = add nsw i32 %615, 1
  store i32 %616, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %617 unwind label %643

617:                                              ; preds = %614
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %618 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 10, i32 noundef 10) #7
  store double %618, ptr %57, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  %619 = load double, ptr %57, align 8, !tbaa !9
  %620 = fsub double %619, 0.000000e+00
  %621 = invoke noundef double @_ZSt3absd(double noundef %620)
          to label %622 unwind label %647

622:                                              ; preds = %617
  %623 = call i32 @llvm.abs.i32(i32 0, i1 true)
  %624 = add nsw i32 1, %623
  %625 = sitofp i32 %624 to double
  %626 = fdiv double %621, %625
  store double %626, ptr %58, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #7
  store i8 0, ptr %59, align 1, !tbaa !11
  %627 = load double, ptr %57, align 8, !tbaa !9
  %628 = fpext double %627 to x86_fp80
  %629 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %628)
          to label %630 unwind label %651

630:                                              ; preds = %622
  br i1 %629, label %655, label %631

631:                                              ; preds = %630
  %632 = load double, ptr %57, align 8, !tbaa !9
  %633 = fpext double %632 to x86_fp80
  %634 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %633)
          to label %635 unwind label %651

635:                                              ; preds = %631
  br i1 %634, label %636, label %655

636:                                              ; preds = %635
  %637 = load double, ptr %57, align 8, !tbaa !9
  %638 = fcmp oeq double %637, 0.000000e+00
  br i1 %638, label %639, label %655

639:                                              ; preds = %636
  store i8 1, ptr %59, align 1, !tbaa !11
  br label %669

640:                                              ; preds = %610, %596, %564
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #7
  br label %641

641:                                              ; preds = %640, %560
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #7
  br label %642

642:                                              ; preds = %641, %556
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #7
  br label %696

643:                                              ; preds = %614
  %644 = landingpad { ptr, i32 }
          cleanup
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %4, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #7
  br label %686

647:                                              ; preds = %617
  %648 = landingpad { ptr, i32 }
          cleanup
  %649 = extractvalue { ptr, i32 } %648, 0
  store ptr %649, ptr %4, align 8
  %650 = extractvalue { ptr, i32 } %648, 1
  store i32 %650, ptr %5, align 4
  br label %685

651:                                              ; preds = %672, %659, %631, %622
  %652 = landingpad { ptr, i32 }
          cleanup
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %4, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %5, align 4
  br label %684

655:                                              ; preds = %636, %635, %630
  %656 = load double, ptr %58, align 8, !tbaa !9
  %657 = fcmp olt double %656, 0x3D06849B86A12B9B
  br i1 %657, label %658, label %659

658:                                              ; preds = %655
  store i8 1, ptr %59, align 1, !tbaa !11
  br label %668

659:                                              ; preds = %655
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %660 unwind label %651

660:                                              ; preds = %659
  %661 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %662 = load double, ptr %57, align 8, !tbaa !9
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %60, i32 noundef %661, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %662, i32 noundef 0, i32 noundef 10, i32 noundef 10)
          to label %663 unwind label %664

663:                                              ; preds = %660
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #7
  br label %668

664:                                              ; preds = %660
  %665 = landingpad { ptr, i32 }
          cleanup
  %666 = extractvalue { ptr, i32 } %665, 0
  store ptr %666, ptr %4, align 8
  %667 = extractvalue { ptr, i32 } %665, 1
  store i32 %667, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #7
  br label %684

668:                                              ; preds = %663, %658
  br label %669

669:                                              ; preds = %668, %639
  %670 = load i8, ptr %59, align 1, !tbaa !11, !range !13, !noundef !14
  %671 = trunc i8 %670 to i1
  br i1 %671, label %672, label %681

672:                                              ; preds = %669
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %673 unwind label %651

673:                                              ; preds = %672
  %674 = load double, ptr %57, align 8, !tbaa !9
  %675 = load double, ptr %58, align 8, !tbaa !9
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %61, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %674, double noundef %675, i32 noundef 10, i32 noundef 10)
          to label %676 unwind label %677

676:                                              ; preds = %673
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  br label %681

677:                                              ; preds = %673
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %4, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  br label %684

681:                                              ; preds = %676, %669
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %63)
          to label %682 unwind label %687

682:                                              ; preds = %681
  invoke void @_Z11print_finalNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %62)
          to label %683 unwind label %691

683:                                              ; preds = %682
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #7
  ret i32 0

684:                                              ; preds = %677, %664, %651
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #7
  br label %685

685:                                              ; preds = %684, %647
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  br label %686

686:                                              ; preds = %685, %643
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #7
  br label %696

687:                                              ; preds = %681
  %688 = landingpad { ptr, i32 }
          cleanup
  %689 = extractvalue { ptr, i32 } %688, 0
  store ptr %689, ptr %4, align 8
  %690 = extractvalue { ptr, i32 } %688, 1
  store i32 %690, ptr %5, align 4
  br label %695

691:                                              ; preds = %682
  %692 = landingpad { ptr, i32 }
          cleanup
  %693 = extractvalue { ptr, i32 } %692, 0
  store ptr %693, ptr %4, align 8
  %694 = extractvalue { ptr, i32 } %692, 1
  store i32 %694, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #7
  br label %695

695:                                              ; preds = %691, %687
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #7
  br label %696

696:                                              ; preds = %695, %686, %642, %555, %466, %377, %308, %241, %172, %99
  %697 = load ptr, ptr %4, align 8
  %698 = load i32, ptr %5, align 4
  %699 = insertvalue { ptr, i32 } poison, ptr %697, 0
  %700 = insertvalue { ptr, i32 } %699, i32 %698, 1
  resume { ptr, i32 } %700
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11print_beginNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_failIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, x86_fp80 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, x86_fp80 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11print_finalNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) #1

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@GCEM_TEST_NUMBER = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::allocator", align 1
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator", align 1
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %37 unwind label %50

37:                                               ; preds = %0
  invoke void @_Z11print_beginNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %1)
          to label %38 unwind label %52

38:                                               ; preds = %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  %39 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %41 unwind label %55

41:                                               ; preds = %38
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  %42 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 0, i32 noundef 0) #6
  %43 = call noundef double @_ZSt3absd(double noundef %42)
  %44 = fpext double %42 to x86_fp80
  %45 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %44)
  br i1 %45, label %59, label %46

46:                                               ; preds = %41
  %47 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %44)
  %48 = fcmp oeq double %42, 0.000000e+00
  %or.cond = and i1 %48, %47
  %49 = fcmp olt double %43, 0x3D06849B86A12B9B
  %or.cond154 = or i1 %49, %or.cond
  br i1 %or.cond154, label %65, label %60

50:                                               ; preds = %0
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %37
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  br label %321

55:                                               ; preds = %38
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %91

57:                                               ; preds = %65, %60
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %90

59:                                               ; preds = %41
  %.old = fcmp olt double %43, 0x3D06849B86A12B9B
  br i1 %.old, label %65, label %60

60:                                               ; preds = %46, %59
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %61 unwind label %57

61:                                               ; preds = %60
  %62 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %5, i32 noundef %62, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %42, i32 noundef 0, i32 noundef 0, i32 noundef 0)
          to label %.critedge unwind label %63

63:                                               ; preds = %61
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %90

65:                                               ; preds = %46, %59
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %66 unwind label %57

66:                                               ; preds = %65
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %6, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %42, double noundef %43, i32 noundef 0, i32 noundef 0)
          to label %.critedge unwind label %67

67:                                               ; preds = %66
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %90

.critedge:                                        ; preds = %66, %61
  %.sink = phi ptr [ %5, %61 ], [ %6, %66 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  %69 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %71 unwind label %92

71:                                               ; preds = %.critedge
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  %72 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 0, i32 noundef 1) #6
  %73 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %74 = fadd double %72, %73
  %75 = call noundef double @_ZSt3absd(double noundef %74)
  %76 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %77 = fneg double %76
  %78 = call noundef double @_ZSt3absd(double noundef %77)
  %79 = fadd double %78, 1.000000e+00
  %80 = fdiv double %75, %79
  %81 = fpext double %72 to x86_fp80
  %82 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %81)
  br i1 %82, label %96, label %83

83:                                               ; preds = %71
  %84 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %81)
  br i1 %84, label %85, label %96

85:                                               ; preds = %83
  %86 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %87 = fneg double %86
  %88 = fcmp oeq double %72, %87
  %89 = fcmp olt double %80, 0x3D06849B86A12B9B
  %or.cond156 = or i1 %89, %88
  br i1 %or.cond156, label %104, label %97

90:                                               ; preds = %67, %63, %57
  %.pn113 = phi { ptr, i32 } [ %68, %67 ], [ %58, %57 ], [ %64, %63 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %91

91:                                               ; preds = %90, %55
  %.pn113.pn = phi { ptr, i32 } [ %.pn113, %90 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %321

92:                                               ; preds = %.critedge
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %120

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

96:                                               ; preds = %83, %71
  %.old155 = fcmp olt double %80, 0x3D06849B86A12B9B
  br i1 %.old155, label %104, label %97

97:                                               ; preds = %85, %96
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %98 unwind label %94

98:                                               ; preds = %97
  %99 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %100 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %101 = fneg double %100
  invoke void @_Z15print_test_failIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %9, i32 noundef %99, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %72, double noundef %101, i32 noundef 0, i32 noundef 1)
          to label %.critedge141 unwind label %102

102:                                              ; preds = %98
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %119

104:                                              ; preds = %85, %96
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %105 unwind label %94

105:                                              ; preds = %104
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %10, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %72, double noundef %80, i32 noundef 0, i32 noundef 1)
          to label %.critedge141 unwind label %106

106:                                              ; preds = %105
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %119

.critedge141:                                     ; preds = %105, %98
  %.sink169 = phi ptr [ %9, %98 ], [ %10, %105 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink169) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %108 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %110 unwind label %121

110:                                              ; preds = %.critedge141
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %111 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 1, i32 noundef 0) #6
  %112 = call noundef double @_ZSt3absd(double noundef %111)
  %113 = fpext double %111 to x86_fp80
  %114 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %113)
  br i1 %114, label %125, label %115

115:                                              ; preds = %110
  %116 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %113)
  %117 = fcmp oeq double %111, 0.000000e+00
  %or.cond3 = and i1 %117, %116
  %118 = fcmp olt double %112, 0x3D06849B86A12B9B
  %or.cond158 = or i1 %118, %or.cond3
  br i1 %or.cond158, label %131, label %126

119:                                              ; preds = %106, %102, %94
  %.pn116 = phi { ptr, i32 } [ %107, %106 ], [ %95, %94 ], [ %103, %102 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %120

120:                                              ; preds = %119, %92
  %.pn116.pn = phi { ptr, i32 } [ %.pn116, %119 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %321

121:                                              ; preds = %.critedge141
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %147

123:                                              ; preds = %131, %126
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %146

125:                                              ; preds = %110
  %.old157 = fcmp olt double %112, 0x3D06849B86A12B9B
  br i1 %.old157, label %131, label %126

126:                                              ; preds = %115, %125
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %127 unwind label %123

127:                                              ; preds = %126
  %128 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %13, i32 noundef %128, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %111, i32 noundef 0, i32 noundef 1, i32 noundef 0)
          to label %.critedge143 unwind label %129

129:                                              ; preds = %127
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %146

131:                                              ; preds = %115, %125
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %132 unwind label %123

132:                                              ; preds = %131
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %14, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %111, double noundef %112, i32 noundef 1, i32 noundef 0)
          to label %.critedge143 unwind label %133

133:                                              ; preds = %132
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %146

.critedge143:                                     ; preds = %132, %127
  %.sink170 = phi ptr [ %13, %127 ], [ %14, %132 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink170) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  %135 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %137 unwind label %148

137:                                              ; preds = %.critedge143
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  %138 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 1, i32 noundef 1) #6
  %139 = call noundef double @_ZSt3absd(double noundef %138)
  %140 = fpext double %138 to x86_fp80
  %141 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %140)
  br i1 %141, label %152, label %142

142:                                              ; preds = %137
  %143 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %140)
  %144 = fcmp oeq double %138, 0.000000e+00
  %or.cond5 = and i1 %144, %143
  %145 = fcmp olt double %139, 0x3D06849B86A12B9B
  %or.cond160 = or i1 %145, %or.cond5
  br i1 %or.cond160, label %158, label %153

146:                                              ; preds = %133, %129, %123
  %.pn119 = phi { ptr, i32 } [ %134, %133 ], [ %124, %123 ], [ %130, %129 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %147

147:                                              ; preds = %146, %121
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %146 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  br label %321

148:                                              ; preds = %.critedge143
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  br label %179

150:                                              ; preds = %158, %153
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %178

152:                                              ; preds = %137
  %.old159 = fcmp olt double %139, 0x3D06849B86A12B9B
  br i1 %.old159, label %158, label %153

153:                                              ; preds = %142, %152
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %154 unwind label %150

154:                                              ; preds = %153
  %155 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %17, i32 noundef %155, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %138, i32 noundef 0, i32 noundef 1, i32 noundef 1)
          to label %.critedge145 unwind label %156

156:                                              ; preds = %154
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %178

158:                                              ; preds = %142, %152
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %159 unwind label %150

159:                                              ; preds = %158
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %18, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %138, double noundef %139, i32 noundef 1, i32 noundef 1)
          to label %.critedge145 unwind label %160

160:                                              ; preds = %159
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %178

.critedge145:                                     ; preds = %159, %154
  %.sink171 = phi ptr [ %17, %154 ], [ %18, %159 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink171) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  %162 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %164 unwind label %180

164:                                              ; preds = %.critedge145
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  %165 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 5, i32 noundef 2) #6
  %166 = fpext double %165 to x86_fp80
  %167 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %168 = fsub x86_fp80 %166, %167
  %169 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %168)
  %170 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %171 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %170)
  %172 = fadd x86_fp80 %171, 0xK3FFF8000000000000000
  %173 = fdiv x86_fp80 %169, %172
  %174 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %175 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %174)
  br i1 %175, label %176, label %184

176:                                              ; preds = %164
  %177 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %166)
  br i1 %177, label %199, label %184

178:                                              ; preds = %160, %156, %150
  %.pn122 = phi { ptr, i32 } [ %161, %160 ], [ %151, %150 ], [ %157, %156 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %179

179:                                              ; preds = %178, %148
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %178 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %321

180:                                              ; preds = %.critedge145
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  br label %220

182:                                              ; preds = %199, %193
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %219

184:                                              ; preds = %176, %164
  %185 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %166)
  br i1 %185, label %192, label %186

186:                                              ; preds = %184
  %187 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %166)
  br i1 %187, label %188, label %192

188:                                              ; preds = %186
  %189 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %190 = fcmp oeq x86_fp80 %189, %166
  %191 = fcmp olt x86_fp80 %173, 0xK3FD0B424DC35095CD800
  %or.cond162 = or i1 %191, %190
  br i1 %or.cond162, label %199, label %193

192:                                              ; preds = %186, %184
  %.old161 = fcmp olt x86_fp80 %173, 0xK3FD0B424DC35095CD800
  br i1 %.old161, label %199, label %193

193:                                              ; preds = %188, %192
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %194 unwind label %182

194:                                              ; preds = %193
  %195 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %196 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  invoke void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %21, i32 noundef %195, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %165, x86_fp80 noundef %196, i32 noundef 5, i32 noundef 2)
          to label %.critedge147 unwind label %197

197:                                              ; preds = %194
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %219

199:                                              ; preds = %176, %188, %192
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %200 unwind label %182

200:                                              ; preds = %199
  invoke void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %22, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %165, x86_fp80 noundef %173, i32 noundef 5, i32 noundef 2)
          to label %.critedge147 unwind label %201

201:                                              ; preds = %200
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %219

.critedge147:                                     ; preds = %200, %194
  %.sink172 = phi ptr [ %21, %194 ], [ %22, %200 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink172) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  %203 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %205 unwind label %221

205:                                              ; preds = %.critedge147
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  %206 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 10, i32 noundef 8) #6
  %207 = fpext double %206 to x86_fp80
  %208 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
  %209 = fsub x86_fp80 %207, %208
  %210 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %209)
  %211 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
  %212 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %211)
  %213 = fadd x86_fp80 %212, 0xK3FFF8000000000000000
  %214 = fdiv x86_fp80 %210, %213
  %215 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
  %216 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %215)
  br i1 %216, label %217, label %225

217:                                              ; preds = %205
  %218 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %207)
  br i1 %218, label %240, label %225

219:                                              ; preds = %201, %197, %182
  %.pn125 = phi { ptr, i32 } [ %202, %201 ], [ %183, %182 ], [ %198, %197 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %220

220:                                              ; preds = %219, %180
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %219 ], [ %181, %180 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  br label %321

221:                                              ; preds = %.critedge147
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  br label %261

223:                                              ; preds = %240, %234
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %260

225:                                              ; preds = %217, %205
  %226 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %207)
  br i1 %226, label %233, label %227

227:                                              ; preds = %225
  %228 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %207)
  br i1 %228, label %229, label %233

229:                                              ; preds = %227
  %230 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
  %231 = fcmp oeq x86_fp80 %230, %207
  %232 = fcmp olt x86_fp80 %214, 0xK3FD0B424DC35095CD800
  %or.cond164 = or i1 %232, %231
  br i1 %or.cond164, label %240, label %234

233:                                              ; preds = %227, %225
  %.old163 = fcmp olt x86_fp80 %214, 0xK3FD0B424DC35095CD800
  br i1 %.old163, label %240, label %234

234:                                              ; preds = %229, %233
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %235 unwind label %223

235:                                              ; preds = %234
  %236 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %237 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4004B400000000000000)
  invoke void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %25, i32 noundef %236, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %206, x86_fp80 noundef %237, i32 noundef 10, i32 noundef 8)
          to label %.critedge149 unwind label %238

238:                                              ; preds = %235
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %260

240:                                              ; preds = %217, %229, %233
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %241 unwind label %223

241:                                              ; preds = %240
  invoke void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %26, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %206, x86_fp80 noundef %214, i32 noundef 10, i32 noundef 8)
          to label %.critedge149 unwind label %242

242:                                              ; preds = %241
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %260

.critedge149:                                     ; preds = %241, %235
  %.sink173 = phi ptr [ %25, %235 ], [ %26, %241 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink173) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  %244 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %246 unwind label %262

246:                                              ; preds = %.critedge149
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #6
  %247 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 10, i32 noundef 9) #6
  %248 = fpext double %247 to x86_fp80
  %249 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %250 = fsub x86_fp80 %248, %249
  %251 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %250)
  %252 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %253 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %252)
  %254 = fadd x86_fp80 %253, 0xK3FFF8000000000000000
  %255 = fdiv x86_fp80 %251, %254
  %256 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %257 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %256)
  br i1 %257, label %258, label %266

258:                                              ; preds = %246
  %259 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %248)
  br i1 %259, label %281, label %266

260:                                              ; preds = %242, %238, %223
  %.pn128 = phi { ptr, i32 } [ %243, %242 ], [ %224, %223 ], [ %239, %238 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br label %261

261:                                              ; preds = %260, %221
  %.pn128.pn = phi { ptr, i32 } [ %.pn128, %260 ], [ %222, %221 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  br label %321

262:                                              ; preds = %.critedge149
  %263 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #6
  br label %297

264:                                              ; preds = %281, %275
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %296

266:                                              ; preds = %258, %246
  %267 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %248)
  br i1 %267, label %274, label %268

268:                                              ; preds = %266
  %269 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %248)
  br i1 %269, label %270, label %274

270:                                              ; preds = %268
  %271 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  %272 = fcmp oeq x86_fp80 %271, %248
  %273 = fcmp olt x86_fp80 %255, 0xK3FD0B424DC35095CD800
  %or.cond166 = or i1 %273, %272
  br i1 %or.cond166, label %281, label %275

274:                                              ; preds = %268, %266
  %.old165 = fcmp olt x86_fp80 %255, 0xK3FD0B424DC35095CD800
  br i1 %.old165, label %281, label %275

275:                                              ; preds = %270, %274
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %276 unwind label %264

276:                                              ; preds = %275
  %277 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %278 = call noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef 0xK4002A000000000000000)
  invoke void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %29, i32 noundef %277, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %247, x86_fp80 noundef %278, i32 noundef 10, i32 noundef 9)
          to label %.critedge151 unwind label %279

279:                                              ; preds = %276
  %280 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %296

281:                                              ; preds = %258, %270, %274
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %282 unwind label %264

282:                                              ; preds = %281
  invoke void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %30, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %247, x86_fp80 noundef %255, i32 noundef 10, i32 noundef 9)
          to label %.critedge151 unwind label %283

283:                                              ; preds = %282
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %296

.critedge151:                                     ; preds = %282, %276
  %.sink174 = phi ptr [ %29, %276 ], [ %30, %282 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink174) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #6
  %285 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %287 unwind label %298

287:                                              ; preds = %.critedge151
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #6
  %288 = call noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef 10, i32 noundef 10) #6
  %289 = call noundef double @_ZSt3absd(double noundef %288)
  %290 = fpext double %288 to x86_fp80
  %291 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %290)
  br i1 %291, label %302, label %292

292:                                              ; preds = %287
  %293 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %290)
  %294 = fcmp oeq double %288, 0.000000e+00
  %or.cond7 = and i1 %294, %293
  %295 = fcmp olt double %289, 0x3D06849B86A12B9B
  %or.cond168 = or i1 %295, %or.cond7
  br i1 %or.cond168, label %308, label %303

296:                                              ; preds = %283, %279, %264
  %.pn131 = phi { ptr, i32 } [ %284, %283 ], [ %265, %264 ], [ %280, %279 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %297

297:                                              ; preds = %296, %262
  %.pn131.pn = phi { ptr, i32 } [ %.pn131, %296 ], [ %263, %262 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #6
  br label %321

298:                                              ; preds = %.critedge151
  %299 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #6
  br label %315

300:                                              ; preds = %308, %303
  %301 = landingpad { ptr, i32 }
          cleanup
  br label %314

302:                                              ; preds = %287
  %.old167 = fcmp olt double %289, 0x3D06849B86A12B9B
  br i1 %.old167, label %308, label %303

303:                                              ; preds = %292, %302
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %304 unwind label %300

304:                                              ; preds = %303
  %305 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %33, i32 noundef %305, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %288, i32 noundef 0, i32 noundef 10, i32 noundef 10)
          to label %.critedge153 unwind label %306

306:                                              ; preds = %304
  %307 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  br label %314

308:                                              ; preds = %292, %302
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %309 unwind label %300

309:                                              ; preds = %308
  invoke void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %34, i32 noundef 3, i32 noundef 2, i32 noundef 5, double noundef %288, double noundef %289, i32 noundef 10, i32 noundef 10)
          to label %.critedge153 unwind label %310

310:                                              ; preds = %309
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  br label %314

.critedge153:                                     ; preds = %309, %304
  %.sink175 = phi ptr [ %33, %304 ], [ %34, %309 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink175) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %312 unwind label %316

312:                                              ; preds = %.critedge153
  invoke void @_Z11print_finalNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %35)
          to label %313 unwind label %318

313:                                              ; preds = %312
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #6
  ret i32 0

314:                                              ; preds = %310, %306, %300
  %.pn134 = phi { ptr, i32 } [ %311, %310 ], [ %301, %300 ], [ %307, %306 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %315

315:                                              ; preds = %314, %298
  %.pn134.pn = phi { ptr, i32 } [ %.pn134, %314 ], [ %299, %298 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  br label %321

316:                                              ; preds = %.critedge153
  %317 = landingpad { ptr, i32 }
          cleanup
  br label %320

318:                                              ; preds = %312
  %319 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %320

320:                                              ; preds = %318, %316
  %.pn137 = phi { ptr, i32 } [ %319, %318 ], [ %317, %316 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #6
  br label %321

321:                                              ; preds = %320, %315, %297, %261, %220, %179, %147, %120, %91, %54
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %320 ], [ %.pn134.pn, %315 ], [ %.pn131.pn, %297 ], [ %.pn128.pn, %261 ], [ %.pn125.pn, %220 ], [ %.pn122.pn, %179 ], [ %.pn119.pn, %147 ], [ %.pn116.pn, %120 ], [ %.pn113.pn, %91 ], [ %.pn, %54 ]
  resume { ptr, i32 } %.pn137.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11print_beginNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4gcem17log_binomial_coefIiiEENSt11conditionalIXsr3std11is_integralINSt11common_typeIJT_T0_EE4typeEEE5valueEdS6_E4typeES3_S4_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_failIdiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_passIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_failIddiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3loge(x86_fp80 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_failIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, x86_fp80 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15print_test_passIdeiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, x86_fp80 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z11print_finalNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress norecurse 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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass