; LLVM IR from kthohr/gcem :: tests (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 [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 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 i32, align 4
  %9 = alloca i32, align 4
  %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 i32, align 4
  %16 = alloca i32, align 4
  %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 i32, align 4
  %23 = alloca i32, align 4
  %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 i32, align 4
  %30 = alloca i32, align 4
  %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 i32, align 4
  %37 = alloca i32, align 4
  %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 i32, align 4
  %44 = alloca i32, align 4
  %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 i32, align 4
  %51 = alloca i32, align 4
  %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 i32, align 4
  %58 = alloca i32, align 4
  %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) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  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 %89

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

65:                                               ; preds = %64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  %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) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  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 %98

68:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %69 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 0, i32 noundef 0) #6
  store i32 %69, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %70 = load i32, ptr %8, align 4, !tbaa !5
  %71 = sub nsw i32 %70, 1
  %72 = call i32 @llvm.abs.i32(i32 %71, i1 true)
  %73 = call i32 @llvm.abs.i32(i32 1, i1 true)
  %74 = add nsw i32 1, %73
  %75 = sdiv i32 %72, %74
  store i32 %75, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 0, ptr %10, align 1, !tbaa !9
  %76 = load i32, ptr %8, align 4, !tbaa !5
  %77 = sitofp i32 %76 to x86_fp80
  %78 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %77)
          to label %79 unwind label %102

79:                                               ; preds = %68
  br i1 %78, label %106, label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = sitofp i32 %81 to x86_fp80
  %83 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %82)
          to label %84 unwind label %102

84:                                               ; preds = %80
  br i1 %83, label %85, label %106

85:                                               ; preds = %84
  %86 = load i32, ptr %8, align 4, !tbaa !5
  %87 = icmp eq i32 %86, 1
  br i1 %87, label %88, label %106

88:                                               ; preds = %85
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %121

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

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

97:                                               ; preds = %93, %89
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #6
  br label %574

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

102:                                              ; preds = %124, %111, %80, %68
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %4, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %5, align 4
  br label %157

106:                                              ; preds = %85, %84, %79
  %107 = load i32, ptr %9, align 4, !tbaa !5
  %108 = sitofp i32 %107 to double
  %109 = fcmp olt double %108, 0x3D06849B86A12B9B
  br i1 %109, label %110, label %111

110:                                              ; preds = %106
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %120

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

112:                                              ; preds = %111
  %113 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %114 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %11, i32 noundef %113, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %114, i32 noundef 1, i32 noundef 0, i32 noundef 0)
          to label %115 unwind label %116

115:                                              ; preds = %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %120

116:                                              ; preds = %112
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %4, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %157

120:                                              ; preds = %115, %110
  br label %121

121:                                              ; preds = %120, %88
  %122 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %133

124:                                              ; preds = %121
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %125 unwind label %102

125:                                              ; preds = %124
  %126 = load i32, ptr %8, align 4, !tbaa !5
  %127 = load i32, ptr %9, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %12, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %126, i32 noundef %127, i32 noundef 0, i32 noundef 0)
          to label %128 unwind label %129

128:                                              ; preds = %125
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %133

129:                                              ; preds = %125
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %4, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %157

133:                                              ; preds = %128, %121
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  %134 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  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 %136 unwind label %159

136:                                              ; preds = %133
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %137 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 0, i32 noundef 1) #6
  store i32 %137, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %138 = load i32, ptr %15, align 4, !tbaa !5
  %139 = sub nsw i32 %138, 0
  %140 = call i32 @llvm.abs.i32(i32 %139, i1 true)
  %141 = call i32 @llvm.abs.i32(i32 0, i1 true)
  %142 = add nsw i32 1, %141
  %143 = sdiv i32 %140, %142
  store i32 %143, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  store i8 0, ptr %17, align 1, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !5
  %145 = sitofp i32 %144 to x86_fp80
  %146 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %145)
          to label %147 unwind label %163

147:                                              ; preds = %136
  br i1 %146, label %167, label %148

148:                                              ; preds = %147
  %149 = load i32, ptr %15, align 4, !tbaa !5
  %150 = sitofp i32 %149 to x86_fp80
  %151 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %150)
          to label %152 unwind label %163

152:                                              ; preds = %148
  br i1 %151, label %153, label %167

153:                                              ; preds = %152
  %154 = load i32, ptr %15, align 4, !tbaa !5
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %156, label %167

156:                                              ; preds = %153
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %182

157:                                              ; preds = %129, %116, %102
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %158

158:                                              ; preds = %157, %98
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %574

159:                                              ; preds = %133
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %4, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %219

163:                                              ; preds = %185, %172, %148, %136
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %4, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %5, align 4
  br label %218

167:                                              ; preds = %153, %152, %147
  %168 = load i32, ptr %16, align 4, !tbaa !5
  %169 = sitofp i32 %168 to double
  %170 = fcmp olt double %169, 0x3D06849B86A12B9B
  br i1 %170, label %171, label %172

171:                                              ; preds = %167
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %181

172:                                              ; preds = %167
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %173 unwind label %163

173:                                              ; preds = %172
  %174 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %175 = load i32, ptr %15, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %18, i32 noundef %174, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %175, i32 noundef 0, i32 noundef 0, i32 noundef 1)
          to label %176 unwind label %177

176:                                              ; preds = %173
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %181

177:                                              ; preds = %173
  %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
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %218

181:                                              ; preds = %176, %171
  br label %182

182:                                              ; preds = %181, %156
  %183 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %184 = trunc i8 %183 to i1
  br i1 %184, label %185, label %194

185:                                              ; preds = %182
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %186 unwind label %163

186:                                              ; preds = %185
  %187 = load i32, ptr %15, align 4, !tbaa !5
  %188 = load i32, ptr %16, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %19, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %187, i32 noundef %188, i32 noundef 0, i32 noundef 1)
          to label %189 unwind label %190

189:                                              ; preds = %186
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %194

190:                                              ; preds = %186
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %4, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %218

194:                                              ; preds = %189, %182
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  %195 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  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 %197 unwind label %220

197:                                              ; preds = %194
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %198 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 1, i32 noundef 0) #6
  store i32 %198, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %199 = load i32, ptr %22, align 4, !tbaa !5
  %200 = sub nsw i32 %199, 1
  %201 = call i32 @llvm.abs.i32(i32 %200, i1 true)
  %202 = call i32 @llvm.abs.i32(i32 1, i1 true)
  %203 = add nsw i32 1, %202
  %204 = sdiv i32 %201, %203
  store i32 %204, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  store i8 0, ptr %24, align 1, !tbaa !9
  %205 = load i32, ptr %22, align 4, !tbaa !5
  %206 = sitofp i32 %205 to x86_fp80
  %207 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %206)
          to label %208 unwind label %224

208:                                              ; preds = %197
  br i1 %207, label %228, label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %22, align 4, !tbaa !5
  %211 = sitofp i32 %210 to x86_fp80
  %212 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %211)
          to label %213 unwind label %224

213:                                              ; preds = %209
  br i1 %212, label %214, label %228

214:                                              ; preds = %213
  %215 = load i32, ptr %22, align 4, !tbaa !5
  %216 = icmp eq i32 %215, 1
  br i1 %216, label %217, label %228

217:                                              ; preds = %214
  store i8 1, ptr %24, align 1, !tbaa !9
  br label %243

218:                                              ; preds = %190, %177, %163
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %219

219:                                              ; preds = %218, %159
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br label %574

220:                                              ; preds = %194
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %4, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %280

224:                                              ; preds = %246, %233, %209, %197
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %4, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %5, align 4
  br label %279

228:                                              ; preds = %214, %213, %208
  %229 = load i32, ptr %23, align 4, !tbaa !5
  %230 = sitofp i32 %229 to double
  %231 = fcmp olt double %230, 0x3D06849B86A12B9B
  br i1 %231, label %232, label %233

232:                                              ; preds = %228
  store i8 1, ptr %24, align 1, !tbaa !9
  br label %242

233:                                              ; preds = %228
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %234 unwind label %224

234:                                              ; preds = %233
  %235 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %236 = load i32, ptr %22, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %25, i32 noundef %235, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %236, i32 noundef 1, i32 noundef 1, i32 noundef 0)
          to label %237 unwind label %238

237:                                              ; preds = %234
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %242

238:                                              ; preds = %234
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %4, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %279

242:                                              ; preds = %237, %232
  br label %243

243:                                              ; preds = %242, %217
  %244 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %245 = trunc i8 %244 to i1
  br i1 %245, label %246, label %255

246:                                              ; preds = %243
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %247 unwind label %224

247:                                              ; preds = %246
  %248 = load i32, ptr %22, align 4, !tbaa !5
  %249 = load i32, ptr %23, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %26, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %248, i32 noundef %249, i32 noundef 1, i32 noundef 0)
          to label %250 unwind label %251

250:                                              ; preds = %247
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %255

251:                                              ; preds = %247
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %4, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %279

255:                                              ; preds = %250, %243
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  %256 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %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 @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %258 unwind label %281

258:                                              ; preds = %255
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %259 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 1, i32 noundef 1) #6
  store i32 %259, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %260 = load i32, ptr %29, align 4, !tbaa !5
  %261 = sub nsw i32 %260, 1
  %262 = call i32 @llvm.abs.i32(i32 %261, i1 true)
  %263 = call i32 @llvm.abs.i32(i32 1, i1 true)
  %264 = add nsw i32 1, %263
  %265 = sdiv i32 %262, %264
  store i32 %265, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  store i8 0, ptr %31, align 1, !tbaa !9
  %266 = load i32, ptr %29, align 4, !tbaa !5
  %267 = sitofp i32 %266 to x86_fp80
  %268 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %267)
          to label %269 unwind label %285

269:                                              ; preds = %258
  br i1 %268, label %289, label %270

270:                                              ; preds = %269
  %271 = load i32, ptr %29, align 4, !tbaa !5
  %272 = sitofp i32 %271 to x86_fp80
  %273 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %272)
          to label %274 unwind label %285

274:                                              ; preds = %270
  br i1 %273, label %275, label %289

275:                                              ; preds = %274
  %276 = load i32, ptr %29, align 4, !tbaa !5
  %277 = icmp eq i32 %276, 1
  br i1 %277, label %278, label %289

278:                                              ; preds = %275
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %304

279:                                              ; preds = %251, %238, %224
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %280

280:                                              ; preds = %279, %220
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  br label %574

281:                                              ; preds = %255
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %4, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %341

285:                                              ; preds = %307, %294, %270, %258
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %4, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %5, align 4
  br label %340

289:                                              ; preds = %275, %274, %269
  %290 = load i32, ptr %30, align 4, !tbaa !5
  %291 = sitofp i32 %290 to double
  %292 = fcmp olt double %291, 0x3D06849B86A12B9B
  br i1 %292, label %293, label %294

293:                                              ; preds = %289
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %303

294:                                              ; preds = %289
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %295 unwind label %285

295:                                              ; preds = %294
  %296 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %297 = load i32, ptr %29, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %32, i32 noundef %296, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %297, i32 noundef 1, i32 noundef 1, i32 noundef 1)
          to label %298 unwind label %299

298:                                              ; preds = %295
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  br label %303

299:                                              ; preds = %295
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %4, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  br label %340

303:                                              ; preds = %298, %293
  br label %304

304:                                              ; preds = %303, %278
  %305 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %306 = trunc i8 %305 to i1
  br i1 %306, label %307, label %316

307:                                              ; preds = %304
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %308 unwind label %285

308:                                              ; preds = %307
  %309 = load i32, ptr %29, align 4, !tbaa !5
  %310 = load i32, ptr %30, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %33, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %309, i32 noundef %310, i32 noundef 1, i32 noundef 1)
          to label %311 unwind label %312

311:                                              ; preds = %308
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  br label %316

312:                                              ; preds = %308
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %4, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  br label %340

316:                                              ; preds = %311, %304
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #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 %27) #6
  %317 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  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 %319 unwind label %342

319:                                              ; preds = %316
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %320 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 5, i32 noundef 2) #6
  store i32 %320, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %321 = load i32, ptr %36, align 4, !tbaa !5
  %322 = sub nsw i32 %321, 10
  %323 = call i32 @llvm.abs.i32(i32 %322, i1 true)
  %324 = call i32 @llvm.abs.i32(i32 10, i1 true)
  %325 = add nsw i32 1, %324
  %326 = sdiv i32 %323, %325
  store i32 %326, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  store i8 0, ptr %38, align 1, !tbaa !9
  %327 = load i32, ptr %36, align 4, !tbaa !5
  %328 = sitofp i32 %327 to x86_fp80
  %329 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %328)
          to label %330 unwind label %346

330:                                              ; preds = %319
  br i1 %329, label %350, label %331

331:                                              ; preds = %330
  %332 = load i32, ptr %36, align 4, !tbaa !5
  %333 = sitofp i32 %332 to x86_fp80
  %334 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %333)
          to label %335 unwind label %346

335:                                              ; preds = %331
  br i1 %334, label %336, label %350

336:                                              ; preds = %335
  %337 = load i32, ptr %36, align 4, !tbaa !5
  %338 = icmp eq i32 %337, 10
  br i1 %338, label %339, label %350

339:                                              ; preds = %336
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %365

340:                                              ; preds = %312, %299, %285
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %341

341:                                              ; preds = %340, %281
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  br label %574

342:                                              ; preds = %316
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %4, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  br label %402

346:                                              ; preds = %368, %355, %331, %319
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %4, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %5, align 4
  br label %401

350:                                              ; preds = %336, %335, %330
  %351 = load i32, ptr %37, align 4, !tbaa !5
  %352 = sitofp i32 %351 to double
  %353 = fcmp olt double %352, 0x3D06849B86A12B9B
  br i1 %353, label %354, label %355

354:                                              ; preds = %350
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %364

355:                                              ; preds = %350
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %356 unwind label %346

356:                                              ; preds = %355
  %357 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %358 = load i32, ptr %36, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %39, i32 noundef %357, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %358, i32 noundef 10, i32 noundef 5, i32 noundef 2)
          to label %359 unwind label %360

359:                                              ; preds = %356
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  br label %364

360:                                              ; preds = %356
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %4, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  br label %401

364:                                              ; preds = %359, %354
  br label %365

365:                                              ; preds = %364, %339
  %366 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %367 = trunc i8 %366 to i1
  br i1 %367, label %368, label %377

368:                                              ; preds = %365
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %369 unwind label %346

369:                                              ; preds = %368
  %370 = load i32, ptr %36, align 4, !tbaa !5
  %371 = load i32, ptr %37, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %40, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %370, i32 noundef %371, i32 noundef 5, i32 noundef 2)
          to label %372 unwind label %373

372:                                              ; preds = %369
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  br label %377

373:                                              ; preds = %369
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %4, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #6
  br label %401

377:                                              ; preds = %372, %365
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #6
  %378 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %379 = add nsw i32 %378, 1
  store i32 %379, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #6
  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 %380 unwind label %403

380:                                              ; preds = %377
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  %381 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 10, i32 noundef 8) #6
  store i32 %381, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %382 = load i32, ptr %43, align 4, !tbaa !5
  %383 = sub nsw i32 %382, 45
  %384 = call i32 @llvm.abs.i32(i32 %383, i1 true)
  %385 = call i32 @llvm.abs.i32(i32 45, i1 true)
  %386 = add nsw i32 1, %385
  %387 = sdiv i32 %384, %386
  store i32 %387, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #6
  store i8 0, ptr %45, align 1, !tbaa !9
  %388 = load i32, ptr %43, align 4, !tbaa !5
  %389 = sitofp i32 %388 to x86_fp80
  %390 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %389)
          to label %391 unwind label %407

391:                                              ; preds = %380
  br i1 %390, label %411, label %392

392:                                              ; preds = %391
  %393 = load i32, ptr %43, align 4, !tbaa !5
  %394 = sitofp i32 %393 to x86_fp80
  %395 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %394)
          to label %396 unwind label %407

396:                                              ; preds = %392
  br i1 %395, label %397, label %411

397:                                              ; preds = %396
  %398 = load i32, ptr %43, align 4, !tbaa !5
  %399 = icmp eq i32 %398, 45
  br i1 %399, label %400, label %411

400:                                              ; preds = %397
  store i8 1, ptr %45, align 1, !tbaa !9
  br label %426

401:                                              ; preds = %373, %360, %346
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  br label %402

402:                                              ; preds = %401, %342
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #6
  br label %574

403:                                              ; preds = %377
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %4, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #6
  br label %463

407:                                              ; preds = %429, %416, %392, %380
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %4, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %5, align 4
  br label %462

411:                                              ; preds = %397, %396, %391
  %412 = load i32, ptr %44, align 4, !tbaa !5
  %413 = sitofp i32 %412 to double
  %414 = fcmp olt double %413, 0x3D06849B86A12B9B
  br i1 %414, label %415, label %416

415:                                              ; preds = %411
  store i8 1, ptr %45, align 1, !tbaa !9
  br label %425

416:                                              ; preds = %411
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %417 unwind label %407

417:                                              ; preds = %416
  %418 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %419 = load i32, ptr %43, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %46, i32 noundef %418, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %419, i32 noundef 45, i32 noundef 10, i32 noundef 8)
          to label %420 unwind label %421

420:                                              ; preds = %417
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #6
  br label %425

421:                                              ; preds = %417
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %4, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #6
  br label %462

425:                                              ; preds = %420, %415
  br label %426

426:                                              ; preds = %425, %400
  %427 = load i8, ptr %45, align 1, !tbaa !9, !range !11, !noundef !12
  %428 = trunc i8 %427 to i1
  br i1 %428, label %429, label %438

429:                                              ; preds = %426
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %430 unwind label %407

430:                                              ; preds = %429
  %431 = load i32, ptr %43, align 4, !tbaa !5
  %432 = load i32, ptr %44, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %47, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %431, i32 noundef %432, i32 noundef 10, i32 noundef 8)
          to label %433 unwind label %434

433:                                              ; preds = %430
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  br label %438

434:                                              ; preds = %430
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %4, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #6
  br label %462

438:                                              ; preds = %433, %426
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  %439 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %440 = add nsw i32 %439, 1
  store i32 %440, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  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 %441 unwind label %464

441:                                              ; preds = %438
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  %442 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 10, i32 noundef 9) #6
  store i32 %442, ptr %50, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  %443 = load i32, ptr %50, align 4, !tbaa !5
  %444 = sub nsw i32 %443, 10
  %445 = call i32 @llvm.abs.i32(i32 %444, i1 true)
  %446 = call i32 @llvm.abs.i32(i32 10, i1 true)
  %447 = add nsw i32 1, %446
  %448 = sdiv i32 %445, %447
  store i32 %448, ptr %51, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #6
  store i8 0, ptr %52, align 1, !tbaa !9
  %449 = load i32, ptr %50, align 4, !tbaa !5
  %450 = sitofp i32 %449 to x86_fp80
  %451 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %450)
          to label %452 unwind label %468

452:                                              ; preds = %441
  br i1 %451, label %472, label %453

453:                                              ; preds = %452
  %454 = load i32, ptr %50, align 4, !tbaa !5
  %455 = sitofp i32 %454 to x86_fp80
  %456 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %455)
          to label %457 unwind label %468

457:                                              ; preds = %453
  br i1 %456, label %458, label %472

458:                                              ; preds = %457
  %459 = load i32, ptr %50, align 4, !tbaa !5
  %460 = icmp eq i32 %459, 10
  br i1 %460, label %461, label %472

461:                                              ; preds = %458
  store i8 1, ptr %52, align 1, !tbaa !9
  br label %487

462:                                              ; preds = %434, %421, %407
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #6
  br label %463

463:                                              ; preds = %462, %403
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  br label %574

464:                                              ; preds = %438
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %4, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #6
  br label %524

468:                                              ; preds = %490, %477, %453, %441
  %469 = landingpad { ptr, i32 }
          cleanup
  %470 = extractvalue { ptr, i32 } %469, 0
  store ptr %470, ptr %4, align 8
  %471 = extractvalue { ptr, i32 } %469, 1
  store i32 %471, ptr %5, align 4
  br label %523

472:                                              ; preds = %458, %457, %452
  %473 = load i32, ptr %51, align 4, !tbaa !5
  %474 = sitofp i32 %473 to double
  %475 = fcmp olt double %474, 0x3D06849B86A12B9B
  br i1 %475, label %476, label %477

476:                                              ; preds = %472
  store i8 1, ptr %52, align 1, !tbaa !9
  br label %486

477:                                              ; preds = %472
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %478 unwind label %468

478:                                              ; preds = %477
  %479 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %480 = load i32, ptr %50, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %53, i32 noundef %479, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %480, i32 noundef 10, i32 noundef 10, i32 noundef 9)
          to label %481 unwind label %482

481:                                              ; preds = %478
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #6
  br label %486

482:                                              ; preds = %478
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %4, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #6
  br label %523

486:                                              ; preds = %481, %476
  br label %487

487:                                              ; preds = %486, %461
  %488 = load i8, ptr %52, align 1, !tbaa !9, !range !11, !noundef !12
  %489 = trunc i8 %488 to i1
  br i1 %489, label %490, label %499

490:                                              ; preds = %487
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %491 unwind label %468

491:                                              ; preds = %490
  %492 = load i32, ptr %50, align 4, !tbaa !5
  %493 = load i32, ptr %51, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %54, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %492, i32 noundef %493, i32 noundef 10, i32 noundef 9)
          to label %494 unwind label %495

494:                                              ; preds = %491
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #6
  br label %499

495:                                              ; preds = %491
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %4, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #6
  br label %523

499:                                              ; preds = %494, %487
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  %500 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %501 = add nsw i32 %500, 1
  store i32 %501, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #6
  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 %502 unwind label %525

502:                                              ; preds = %499
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  %503 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 10, i32 noundef 10) #6
  store i32 %503, ptr %57, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  %504 = load i32, ptr %57, align 4, !tbaa !5
  %505 = sub nsw i32 %504, 1
  %506 = call i32 @llvm.abs.i32(i32 %505, i1 true)
  %507 = call i32 @llvm.abs.i32(i32 1, i1 true)
  %508 = add nsw i32 1, %507
  %509 = sdiv i32 %506, %508
  store i32 %509, ptr %58, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #6
  store i8 0, ptr %59, align 1, !tbaa !9
  %510 = load i32, ptr %57, align 4, !tbaa !5
  %511 = sitofp i32 %510 to x86_fp80
  %512 = invoke noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %511)
          to label %513 unwind label %529

513:                                              ; preds = %502
  br i1 %512, label %533, label %514

514:                                              ; preds = %513
  %515 = load i32, ptr %57, align 4, !tbaa !5
  %516 = sitofp i32 %515 to x86_fp80
  %517 = invoke noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %516)
          to label %518 unwind label %529

518:                                              ; preds = %514
  br i1 %517, label %519, label %533

519:                                              ; preds = %518
  %520 = load i32, ptr %57, align 4, !tbaa !5
  %521 = icmp eq i32 %520, 1
  br i1 %521, label %522, label %533

522:                                              ; preds = %519
  store i8 1, ptr %59, align 1, !tbaa !9
  br label %548

523:                                              ; preds = %495, %482, %468
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #6
  br label %524

524:                                              ; preds = %523, %464
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #6
  br label %574

525:                                              ; preds = %499
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %4, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %5, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #6
  br label %564

529:                                              ; preds = %551, %538, %514, %502
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %4, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %5, align 4
  br label %563

533:                                              ; preds = %519, %518, %513
  %534 = load i32, ptr %58, align 4, !tbaa !5
  %535 = sitofp i32 %534 to double
  %536 = fcmp olt double %535, 0x3D06849B86A12B9B
  br i1 %536, label %537, label %538

537:                                              ; preds = %533
  store i8 1, ptr %59, align 1, !tbaa !9
  br label %547

538:                                              ; preds = %533
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %539 unwind label %529

539:                                              ; preds = %538
  %540 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %541 = load i32, ptr %57, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef %60, i32 noundef %540, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %541, i32 noundef 1, i32 noundef 10, i32 noundef 10)
          to label %542 unwind label %543

542:                                              ; preds = %539
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #6
  br label %547

543:                                              ; preds = %539
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %4, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #6
  br label %563

547:                                              ; preds = %542, %537
  br label %548

548:                                              ; preds = %547, %522
  %549 = load i8, ptr %59, align 1, !tbaa !9, !range !11, !noundef !12
  %550 = trunc i8 %549 to i1
  br i1 %550, label %551, label %560

551:                                              ; preds = %548
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %552 unwind label %529

552:                                              ; preds = %551
  %553 = load i32, ptr %57, align 4, !tbaa !5
  %554 = load i32, ptr %58, align 4, !tbaa !5
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef %61, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %553, i32 noundef %554, i32 noundef 10, i32 noundef 10)
          to label %555 unwind label %556

555:                                              ; preds = %552
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #6
  br label %560

556:                                              ; preds = %552
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #6
  br label %563

560:                                              ; preds = %555, %548
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #6
  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 %561 unwind label %565

561:                                              ; preds = %560
  invoke void @_Z11print_finalNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %62)
          to label %562 unwind label %569

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

563:                                              ; preds = %556, %543, %529
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #6
  br label %564

564:                                              ; preds = %563, %525
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #6
  br label %574

565:                                              ; preds = %560
  %566 = landingpad { ptr, i32 }
          cleanup
  %567 = extractvalue { ptr, i32 } %566, 0
  store ptr %567, ptr %4, align 8
  %568 = extractvalue { ptr, i32 } %566, 1
  store i32 %568, ptr %5, align 4
  br label %573

569:                                              ; preds = %561
  %570 = landingpad { ptr, i32 }
          cleanup
  %571 = extractvalue { ptr, i32 } %570, 0
  store ptr %571, ptr %4, align 8
  %572 = extractvalue { ptr, i32 } %570, 1
  store i32 %572, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #6
  br label %573

573:                                              ; preds = %569, %565
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #6
  br label %574

574:                                              ; preds = %573, %564, %524, %463, %402, %341, %280, %219, %158, %97
  %575 = load ptr, ptr %4, align 8
  %576 = load i32, ptr %5, align 4
  %577 = insertvalue { ptr, i32 } poison, ptr %575, 0
  %578 = insertvalue { ptr, i32 } %577, i32 %576, 1
  resume { ptr, i32 } %578
}

; 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 i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef, i32 noundef) #3

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

; 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_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


; 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 [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 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 %52

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

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

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 i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 0, i32 noundef 0) #6
  %43 = add nsw i32 %42, -1
  %44 = call i32 @llvm.abs.i32(i32 %43, i1 true)
  %45 = lshr i32 %44, 1
  %46 = sitofp i32 %42 to x86_fp80
  %47 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %46)
  br i1 %47, label %61, label %48

48:                                               ; preds = %41
  %49 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %46)
  %50 = icmp eq i32 %42, 1
  %or.cond = and i1 %50, %49
  %51 = icmp ult i32 %44, 2
  %or.cond157 = select i1 %or.cond, i1 true, i1 %51
  br i1 %or.cond157, label %67, label %62

52:                                               ; preds = %0
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %56

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

56:                                               ; preds = %54, %52
  %.pn = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  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 %280

57:                                               ; preds = %38
  %58 = 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 %82

59:                                               ; preds = %67, %62
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %81

61:                                               ; preds = %41
  %.old = icmp ult i32 %44, 2
  br i1 %.old, label %67, label %62

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

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

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

67:                                               ; preds = %48, %61
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %68 unwind label %59

68:                                               ; preds = %67
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %6, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %42, i32 noundef %45, i32 noundef 0, i32 noundef 0)
          to label %.critedge unwind label %69

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

.critedge:                                        ; preds = %68, %63
  %.sink = phi ptr [ %5, %63 ], [ %6, %68 ]
  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
  %71 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %72 = add nsw i32 %71, 1
  store i32 %72, 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 %73 unwind label %83

73:                                               ; 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
  %74 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 0, i32 noundef 1) #6
  %75 = call i32 @llvm.abs.i32(i32 %74, i1 true)
  %76 = sitofp i32 %74 to x86_fp80
  %77 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %76)
  br i1 %77, label %87, label %78

78:                                               ; preds = %73
  %79 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %76)
  %80 = icmp eq i32 %74, 0
  br i1 %80, label %93, label %88

81:                                               ; preds = %69, %65, %59
  %.pn116 = phi { ptr, i32 } [ %70, %69 ], [ %60, %59 ], [ %66, %65 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %82

82:                                               ; preds = %81, %57
  %.pn116.pn = phi { ptr, i32 } [ %.pn116, %81 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %280

83:                                               ; preds = %.critedge
  %84 = 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 %111

85:                                               ; preds = %93, %88
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %110

87:                                               ; preds = %73
  %.old158 = icmp eq i32 %74, 0
  br i1 %.old158, label %93, label %88

88:                                               ; preds = %78, %87
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %89 unwind label %85

89:                                               ; preds = %88
  %90 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %9, i32 noundef %90, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %74, i32 noundef 0, i32 noundef 0, i32 noundef 1)
          to label %.critedge144 unwind label %91

91:                                               ; preds = %89
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %110

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

94:                                               ; preds = %93
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %10, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %74, i32 noundef %75, i32 noundef 0, i32 noundef 1)
          to label %.critedge144 unwind label %95

95:                                               ; preds = %94
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %110

.critedge144:                                     ; preds = %94, %89
  %.sink172 = phi ptr [ %9, %89 ], [ %10, %94 ]
  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) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %97 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, 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 %99 unwind label %112

99:                                               ; preds = %.critedge144
  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
  %100 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 1, i32 noundef 0) #6
  %101 = add nsw i32 %100, -1
  %102 = call i32 @llvm.abs.i32(i32 %101, i1 true)
  %103 = lshr i32 %102, 1
  %104 = sitofp i32 %100 to x86_fp80
  %105 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %104)
  br i1 %105, label %116, label %106

106:                                              ; preds = %99
  %107 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %104)
  %108 = icmp eq i32 %100, 1
  %or.cond5 = and i1 %108, %107
  %109 = icmp ult i32 %102, 2
  %or.cond161 = select i1 %or.cond5, i1 true, i1 %109
  br i1 %or.cond161, label %122, label %117

110:                                              ; preds = %95, %91, %85
  %.pn119 = phi { ptr, i32 } [ %96, %95 ], [ %86, %85 ], [ %92, %91 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %111

111:                                              ; preds = %110, %83
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %110 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %280

112:                                              ; preds = %.critedge144
  %113 = 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 %140

114:                                              ; preds = %122, %117
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %139

116:                                              ; preds = %99
  %.old160 = icmp ult i32 %102, 2
  br i1 %.old160, label %122, label %117

117:                                              ; preds = %106, %116
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %118 unwind label %114

118:                                              ; preds = %117
  %119 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %13, i32 noundef %119, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %100, i32 noundef 1, i32 noundef 1, i32 noundef 0)
          to label %.critedge146 unwind label %120

120:                                              ; preds = %118
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %139

122:                                              ; preds = %106, %116
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %123 unwind label %114

123:                                              ; preds = %122
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %14, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %100, i32 noundef %103, i32 noundef 1, i32 noundef 0)
          to label %.critedge146 unwind label %124

124:                                              ; preds = %123
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %139

.critedge146:                                     ; preds = %123, %118
  %.sink173 = phi ptr [ %13, %118 ], [ %14, %123 ]
  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) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  %126 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  store i32 %127, 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 %128 unwind label %141

128:                                              ; preds = %.critedge146
  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
  %129 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 1, i32 noundef 1) #6
  %130 = add nsw i32 %129, -1
  %131 = call i32 @llvm.abs.i32(i32 %130, i1 true)
  %132 = lshr i32 %131, 1
  %133 = sitofp i32 %129 to x86_fp80
  %134 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %133)
  br i1 %134, label %145, label %135

135:                                              ; preds = %128
  %136 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %133)
  %137 = icmp eq i32 %129, 1
  %or.cond7 = and i1 %137, %136
  %138 = icmp ult i32 %131, 2
  %or.cond163 = select i1 %or.cond7, i1 true, i1 %138
  br i1 %or.cond163, label %151, label %146

139:                                              ; preds = %124, %120, %114
  %.pn122 = phi { ptr, i32 } [ %125, %124 ], [ %115, %114 ], [ %121, %120 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %140

140:                                              ; preds = %139, %112
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %139 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  br label %280

141:                                              ; preds = %.critedge146
  %142 = 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 %169

143:                                              ; preds = %151, %146
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %168

145:                                              ; preds = %128
  %.old162 = icmp ult i32 %131, 2
  br i1 %.old162, label %151, label %146

146:                                              ; preds = %135, %145
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %147 unwind label %143

147:                                              ; preds = %146
  %148 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %17, i32 noundef %148, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %129, i32 noundef 1, i32 noundef 1, i32 noundef 1)
          to label %.critedge148 unwind label %149

149:                                              ; preds = %147
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %168

151:                                              ; preds = %135, %145
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %152 unwind label %143

152:                                              ; preds = %151
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %18, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %129, i32 noundef %132, i32 noundef 1, i32 noundef 1)
          to label %.critedge148 unwind label %153

153:                                              ; preds = %152
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %168

.critedge148:                                     ; preds = %152, %147
  %.sink174 = phi ptr [ %17, %147 ], [ %18, %152 ]
  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) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  %155 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %156 = add nsw i32 %155, 1
  store i32 %156, 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 %157 unwind label %170

157:                                              ; preds = %.critedge148
  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
  %158 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 5, i32 noundef 2) #6
  %159 = add nsw i32 %158, -10
  %160 = call i32 @llvm.abs.i32(i32 %159, i1 true)
  %161 = udiv i32 %160, 11
  %162 = sitofp i32 %158 to x86_fp80
  %163 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %162)
  br i1 %163, label %174, label %164

164:                                              ; preds = %157
  %165 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %162)
  %166 = icmp eq i32 %158, 10
  %or.cond9 = and i1 %166, %165
  %167 = icmp ult i32 %160, 11
  %or.cond165 = select i1 %or.cond9, i1 true, i1 %167
  br i1 %or.cond165, label %180, label %175

168:                                              ; preds = %153, %149, %143
  %.pn125 = phi { ptr, i32 } [ %154, %153 ], [ %144, %143 ], [ %150, %149 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %169

169:                                              ; preds = %168, %141
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %168 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %280

170:                                              ; preds = %.critedge148
  %171 = 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 %198

172:                                              ; preds = %180, %175
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %197

174:                                              ; preds = %157
  %.old164 = icmp ult i32 %160, 11
  br i1 %.old164, label %180, label %175

175:                                              ; preds = %164, %174
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %176 unwind label %172

176:                                              ; preds = %175
  %177 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %21, i32 noundef %177, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %158, i32 noundef 10, i32 noundef 5, i32 noundef 2)
          to label %.critedge150 unwind label %178

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

180:                                              ; preds = %164, %174
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %181 unwind label %172

181:                                              ; preds = %180
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %22, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %158, i32 noundef %161, i32 noundef 5, i32 noundef 2)
          to label %.critedge150 unwind label %182

182:                                              ; preds = %181
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %197

.critedge150:                                     ; preds = %181, %176
  %.sink175 = phi ptr [ %21, %176 ], [ %22, %181 ]
  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) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  %184 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, 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 %186 unwind label %199

186:                                              ; preds = %.critedge150
  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
  %187 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 10, i32 noundef 8) #6
  %188 = add nsw i32 %187, -45
  %189 = call i32 @llvm.abs.i32(i32 %188, i1 true)
  %190 = udiv i32 %189, 46
  %191 = sitofp i32 %187 to x86_fp80
  %192 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %191)
  br i1 %192, label %203, label %193

193:                                              ; preds = %186
  %194 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %191)
  %195 = icmp eq i32 %187, 45
  %or.cond11 = and i1 %195, %194
  %196 = icmp ult i32 %189, 46
  %or.cond167 = select i1 %or.cond11, i1 true, i1 %196
  br i1 %or.cond167, label %209, label %204

197:                                              ; preds = %182, %178, %172
  %.pn128 = phi { ptr, i32 } [ %183, %182 ], [ %173, %172 ], [ %179, %178 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %198

198:                                              ; preds = %197, %170
  %.pn128.pn = phi { ptr, i32 } [ %.pn128, %197 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #6
  br label %280

199:                                              ; preds = %.critedge150
  %200 = 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 %227

201:                                              ; preds = %209, %204
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %226

203:                                              ; preds = %186
  %.old166 = icmp ult i32 %189, 46
  br i1 %.old166, label %209, label %204

204:                                              ; preds = %193, %203
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %205 unwind label %201

205:                                              ; preds = %204
  %206 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %25, i32 noundef %206, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %187, i32 noundef 45, i32 noundef 10, i32 noundef 8)
          to label %.critedge152 unwind label %207

207:                                              ; preds = %205
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %226

209:                                              ; preds = %193, %203
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %210 unwind label %201

210:                                              ; preds = %209
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %26, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %187, i32 noundef %190, i32 noundef 10, i32 noundef 8)
          to label %.critedge152 unwind label %211

211:                                              ; preds = %210
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %226

.critedge152:                                     ; preds = %210, %205
  %.sink176 = phi ptr [ %25, %205 ], [ %26, %210 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink176) #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
  %213 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, 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 %215 unwind label %228

215:                                              ; preds = %.critedge152
  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
  %216 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 10, i32 noundef 9) #6
  %217 = add nsw i32 %216, -10
  %218 = call i32 @llvm.abs.i32(i32 %217, i1 true)
  %219 = udiv i32 %218, 11
  %220 = sitofp i32 %216 to x86_fp80
  %221 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %220)
  br i1 %221, label %232, label %222

222:                                              ; preds = %215
  %223 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %220)
  %224 = icmp eq i32 %216, 10
  %or.cond13 = and i1 %224, %223
  %225 = icmp ult i32 %218, 11
  %or.cond169 = select i1 %or.cond13, i1 true, i1 %225
  br i1 %or.cond169, label %238, label %233

226:                                              ; preds = %211, %207, %201
  %.pn131 = phi { ptr, i32 } [ %212, %211 ], [ %202, %201 ], [ %208, %207 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br label %227

227:                                              ; preds = %226, %199
  %.pn131.pn = phi { ptr, i32 } [ %.pn131, %226 ], [ %200, %199 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #6
  br label %280

228:                                              ; preds = %.critedge152
  %229 = 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 %256

230:                                              ; preds = %238, %233
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %255

232:                                              ; preds = %215
  %.old168 = icmp ult i32 %218, 11
  br i1 %.old168, label %238, label %233

233:                                              ; preds = %222, %232
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %234 unwind label %230

234:                                              ; preds = %233
  %235 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %29, i32 noundef %235, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %216, i32 noundef 10, i32 noundef 10, i32 noundef 9)
          to label %.critedge154 unwind label %236

236:                                              ; preds = %234
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %255

238:                                              ; preds = %222, %232
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %239 unwind label %230

239:                                              ; preds = %238
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %30, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %216, i32 noundef %219, i32 noundef 10, i32 noundef 9)
          to label %.critedge154 unwind label %240

240:                                              ; preds = %239
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #6
  br label %255

.critedge154:                                     ; preds = %239, %234
  %.sink177 = phi ptr [ %29, %234 ], [ %30, %239 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink177) #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
  %242 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  store i32 %243, 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 %244 unwind label %257

244:                                              ; preds = %.critedge154
  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
  %245 = call noundef i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef 10, i32 noundef 10) #6
  %246 = add nsw i32 %245, -1
  %247 = call i32 @llvm.abs.i32(i32 %246, i1 true)
  %248 = lshr i32 %247, 1
  %249 = sitofp i32 %245 to x86_fp80
  %250 = call noundef zeroext i1 @_ZSt5isnane(x86_fp80 noundef %249)
  br i1 %250, label %261, label %251

251:                                              ; preds = %244
  %252 = call noundef zeroext i1 @_ZSt5isinfe(x86_fp80 noundef %249)
  %253 = icmp eq i32 %245, 1
  %or.cond15 = and i1 %253, %252
  %254 = icmp ult i32 %247, 2
  %or.cond171 = select i1 %or.cond15, i1 true, i1 %254
  br i1 %or.cond171, label %267, label %262

255:                                              ; preds = %240, %236, %230
  %.pn134 = phi { ptr, i32 } [ %241, %240 ], [ %231, %230 ], [ %237, %236 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %256

256:                                              ; preds = %255, %228
  %.pn134.pn = phi { ptr, i32 } [ %.pn134, %255 ], [ %229, %228 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #6
  br label %280

257:                                              ; preds = %.critedge154
  %258 = 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 %274

259:                                              ; preds = %267, %262
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %273

261:                                              ; preds = %244
  %.old170 = icmp ult i32 %247, 2
  br i1 %.old170, label %267, label %262

262:                                              ; preds = %251, %261
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %263 unwind label %259

263:                                              ; preds = %262
  %264 = load i32, ptr @GCEM_TEST_NUMBER, align 4, !tbaa !5
  invoke void @_Z15print_test_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef nonnull %33, i32 noundef %264, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %245, i32 noundef 1, i32 noundef 10, i32 noundef 10)
          to label %.critedge156 unwind label %265

265:                                              ; preds = %263
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #6
  br label %273

267:                                              ; preds = %251, %261
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %268 unwind label %259

268:                                              ; preds = %267
  invoke void @_Z15print_test_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef nonnull %34, i32 noundef 3, i32 noundef 2, i32 noundef 5, i32 noundef %245, i32 noundef %248, i32 noundef 10, i32 noundef 10)
          to label %.critedge156 unwind label %269

269:                                              ; preds = %268
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #6
  br label %273

.critedge156:                                     ; preds = %268, %263
  %.sink178 = phi ptr [ %33, %263 ], [ %34, %268 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink178) #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 %271 unwind label %275

271:                                              ; preds = %.critedge156
  invoke void @_Z11print_finalNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull %35)
          to label %272 unwind label %277

272:                                              ; preds = %271
  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

273:                                              ; preds = %269, %265, %259
  %.pn137 = phi { ptr, i32 } [ %270, %269 ], [ %260, %259 ], [ %266, %265 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %274

274:                                              ; preds = %273, %257
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %273 ], [ %258, %257 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #6
  br label %280

275:                                              ; preds = %.critedge156
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %279

277:                                              ; preds = %271
  %278 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #6
  br label %279

279:                                              ; preds = %277, %275
  %.pn140 = phi { ptr, i32 } [ %278, %277 ], [ %276, %275 ]
  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 %280

280:                                              ; preds = %279, %274, %256, %227, %198, %169, %140, %111, %82, %56
  %.pn140.pn = phi { ptr, i32 } [ %.pn140, %279 ], [ %.pn137.pn, %274 ], [ %.pn134.pn, %256 ], [ %.pn131.pn, %227 ], [ %.pn128.pn, %198 ], [ %.pn125.pn, %169 ], [ %.pn122.pn, %140 ], [ %.pn119.pn, %111 ], [ %.pn116.pn, %82 ], [ %.pn, %56 ]
  resume { ptr, i32 } %.pn140.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 i32 @_ZN4gcem13binomial_coefIiiEENSt11common_typeIJT_T0_EE4typeES2_S3_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #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_failIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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_passIiiiiEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiT_T0_T1_T2_(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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