; LLVM IR from tangjz/acm-icpc :: lydsy (4181)

; 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"

@n = external dso_local global i32, align 4
@mat = external dso_local global [17 x [17 x x86_fp80]], align 16
@poly = external dso_local global [17 x [17 x x86_fp80]], align 16
@rt = external dso_local global [17 x [2 x x86_fp80]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca x86_fp80, align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca x86_fp80, align 16
  %18 = alloca i32, align 4
  %19 = alloca x86_fp80, align 16
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca x86_fp80, align 16
  %26 = alloca ptr, align 8
  %27 = alloca x86_fp80, align 16
  %28 = alloca double, align 8
  %29 = alloca x86_fp80, align 16
  %30 = alloca x86_fp80, align 16
  store i32 0, ptr %1, align 4
  %31 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %66, %0
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = load i32, ptr @n, align 4, !tbaa !5
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %69

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %62, %37
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load i32, ptr @n, align 4, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %65

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %44 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %5)
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = icmp eq i32 %45, %46
  br i1 %47, label %48, label %50

48:                                               ; preds = %43
  %49 = load double, ptr %5, align 8, !tbaa !9
  br label %53

50:                                               ; preds = %43
  %51 = load double, ptr %5, align 8, !tbaa !9
  %52 = fdiv double %51, 2.000000e+00
  br label %53

53:                                               ; preds = %50, %48
  %54 = phi double [ %49, %48 ], [ %52, %50 ]
  %55 = fpext double %54 to x86_fp80
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %57
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [17 x x86_fp80], ptr %58, i64 0, i64 %60
  store x86_fp80 %55, ptr %61, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %62

62:                                               ; preds = %53
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %4, align 4, !tbaa !5
  br label %38, !llvm.loop !13

65:                                               ; preds = %42
  br label %66

66:                                               ; preds = %65
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %2, align 4, !tbaa !5
  br label %32, !llvm.loop !15

69:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %263, %69
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = add nsw i32 %71, 1
  %73 = load i32, ptr @n, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %70
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %266

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %79 = load i32, ptr %6, align 4, !tbaa !5
  %80 = add nsw i32 %79, 2
  store i32 %80, ptr %8, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %107, %76
  %82 = load i32, ptr %8, align 4, !tbaa !5
  %83 = load i32, ptr @n, align 4, !tbaa !5
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %81
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %110

86:                                               ; preds = %81
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %88
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [17 x x86_fp80], ptr %89, i64 0, i64 %91
  %93 = load x86_fp80, ptr %92, align 16, !tbaa !11
  %94 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %93)
  %95 = load i32, ptr %7, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %96
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [17 x x86_fp80], ptr %97, i64 0, i64 %99
  %101 = load x86_fp80, ptr %100, align 16, !tbaa !11
  %102 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %101)
  %103 = fcmp ogt x86_fp80 %94, %102
  br i1 %103, label %104, label %106

104:                                              ; preds = %86
  %105 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %105, ptr %7, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %104, %86
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %8, align 4, !tbaa !5
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %8, align 4, !tbaa !5
  br label %81, !llvm.loop !16

110:                                              ; preds = %85
  %111 = load i32, ptr %7, align 4, !tbaa !5
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  %114 = icmp ne i32 %111, %113
  br i1 %114, label %115, label %163

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %116 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %116, ptr %9, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %136, %115
  %118 = load i32, ptr %9, align 4, !tbaa !5
  %119 = load i32, ptr @n, align 4, !tbaa !5
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %122, label %121

121:                                              ; preds = %117
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %139

122:                                              ; preds = %117
  %123 = load i32, ptr %6, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %125
  %127 = load i32, ptr %9, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [17 x x86_fp80], ptr %126, i64 0, i64 %128
  %130 = load i32, ptr %7, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %131
  %133 = load i32, ptr %9, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [17 x x86_fp80], ptr %132, i64 0, i64 %134
  call void @_ZSt4swapIeENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 16 dereferenceable(16) %129, ptr noundef nonnull align 16 dereferenceable(16) %135) #7
  br label %136

136:                                              ; preds = %122
  %137 = load i32, ptr %9, align 4, !tbaa !5
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %9, align 4, !tbaa !5
  br label %117, !llvm.loop !17

139:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %140

140:                                              ; preds = %159, %139
  %141 = load i32, ptr %10, align 4, !tbaa !5
  %142 = load i32, ptr @n, align 4, !tbaa !5
  %143 = icmp slt i32 %141, %142
  br i1 %143, label %145, label %144

144:                                              ; preds = %140
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %162

145:                                              ; preds = %140
  %146 = load i32, ptr %10, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %147
  %149 = load i32, ptr %7, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [17 x x86_fp80], ptr %148, i64 0, i64 %150
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %153
  %155 = load i32, ptr %6, align 4, !tbaa !5
  %156 = add nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [17 x x86_fp80], ptr %154, i64 0, i64 %157
  call void @_ZSt4swapIeENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 16 dereferenceable(16) %151, ptr noundef nonnull align 16 dereferenceable(16) %158) #7
  br label %159

159:                                              ; preds = %145
  %160 = load i32, ptr %10, align 4, !tbaa !5
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %10, align 4, !tbaa !5
  br label %140, !llvm.loop !18

162:                                              ; preds = %144
  br label %163

163:                                              ; preds = %162, %110
  %164 = load i32, ptr %6, align 4, !tbaa !5
  %165 = add nsw i32 %164, 1
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %166
  %168 = load i32, ptr %6, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [17 x x86_fp80], ptr %167, i64 0, i64 %169
  %171 = load x86_fp80, ptr %170, align 16, !tbaa !11
  %172 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %171)
  %173 = fcmp olt x86_fp80 %172, 0xK3FCD901D7CF73AB0ACD9
  br i1 %173, label %174, label %175

174:                                              ; preds = %163
  store i32 10, ptr %3, align 4
  br label %260

175:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %176 = load i32, ptr %6, align 4, !tbaa !5
  %177 = add nsw i32 %176, 2
  store i32 %177, ptr %11, align 4, !tbaa !5
  br label %178

178:                                              ; preds = %256, %175
  %179 = load i32, ptr %11, align 4, !tbaa !5
  %180 = load i32, ptr @n, align 4, !tbaa !5
  %181 = icmp slt i32 %179, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %259

183:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %184 = load i32, ptr %11, align 4, !tbaa !5
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %185
  %187 = load i32, ptr %6, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [17 x x86_fp80], ptr %186, i64 0, i64 %188
  %190 = load x86_fp80, ptr %189, align 16, !tbaa !11
  %191 = load i32, ptr %6, align 4, !tbaa !5
  %192 = add nsw i32 %191, 1
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %193
  %195 = load i32, ptr %6, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [17 x x86_fp80], ptr %194, i64 0, i64 %196
  %198 = load x86_fp80, ptr %197, align 16, !tbaa !11
  %199 = fdiv x86_fp80 %190, %198
  store x86_fp80 %199, ptr %12, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %200 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %200, ptr %13, align 4, !tbaa !5
  br label %201

201:                                              ; preds = %225, %183
  %202 = load i32, ptr %13, align 4, !tbaa !5
  %203 = load i32, ptr @n, align 4, !tbaa !5
  %204 = icmp slt i32 %202, %203
  br i1 %204, label %206, label %205

205:                                              ; preds = %201
  store i32 23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %228

206:                                              ; preds = %201
  %207 = load x86_fp80, ptr %12, align 16, !tbaa !11
  %208 = load i32, ptr %6, align 4, !tbaa !5
  %209 = add nsw i32 %208, 1
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %210
  %212 = load i32, ptr %13, align 4, !tbaa !5
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [17 x x86_fp80], ptr %211, i64 0, i64 %213
  %215 = load x86_fp80, ptr %214, align 16, !tbaa !11
  %216 = load i32, ptr %11, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %217
  %219 = load i32, ptr %13, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [17 x x86_fp80], ptr %218, i64 0, i64 %220
  %222 = load x86_fp80, ptr %221, align 16, !tbaa !11
  %223 = fneg x86_fp80 %207
  %224 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %223, x86_fp80 %215, x86_fp80 %222)
  store x86_fp80 %224, ptr %221, align 16, !tbaa !11
  br label %225

225:                                              ; preds = %206
  %226 = load i32, ptr %13, align 4, !tbaa !5
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %13, align 4, !tbaa !5
  br label %201, !llvm.loop !19

228:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %229

229:                                              ; preds = %252, %228
  %230 = load i32, ptr %14, align 4, !tbaa !5
  %231 = load i32, ptr @n, align 4, !tbaa !5
  %232 = icmp slt i32 %230, %231
  br i1 %232, label %234, label %233

233:                                              ; preds = %229
  store i32 26, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %255

234:                                              ; preds = %229
  %235 = load x86_fp80, ptr %12, align 16, !tbaa !11
  %236 = load i32, ptr %14, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %237
  %239 = load i32, ptr %11, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [17 x x86_fp80], ptr %238, i64 0, i64 %240
  %242 = load x86_fp80, ptr %241, align 16, !tbaa !11
  %243 = load i32, ptr %14, align 4, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %244
  %246 = load i32, ptr %6, align 4, !tbaa !5
  %247 = add nsw i32 %246, 1
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [17 x x86_fp80], ptr %245, i64 0, i64 %248
  %250 = load x86_fp80, ptr %249, align 16, !tbaa !11
  %251 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %235, x86_fp80 %242, x86_fp80 %250)
  store x86_fp80 %251, ptr %249, align 16, !tbaa !11
  br label %252

252:                                              ; preds = %234
  %253 = load i32, ptr %14, align 4, !tbaa !5
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %14, align 4, !tbaa !5
  br label %229, !llvm.loop !20

255:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %256

256:                                              ; preds = %255
  %257 = load i32, ptr %11, align 4, !tbaa !5
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %11, align 4, !tbaa !5
  br label %178, !llvm.loop !21

259:                                              ; preds = %182
  store i32 0, ptr %3, align 4
  br label %260

260:                                              ; preds = %259, %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  %261 = load i32, ptr %3, align 4
  switch i32 %261, label %593 [
    i32 0, label %262
    i32 10, label %263
  ]

262:                                              ; preds = %260
  br label %263

263:                                              ; preds = %262, %260
  %264 = load i32, ptr %6, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %6, align 4, !tbaa !5
  br label %70, !llvm.loop !22

266:                                              ; preds = %75
  %267 = load i32, ptr @n, align 4, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %268
  %270 = getelementptr inbounds [17 x x86_fp80], ptr %269, i64 0, i64 0
  store x86_fp80 0xK3FFF8000000000000000, ptr %270, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %271 = load i32, ptr @n, align 4, !tbaa !5
  %272 = sub nsw i32 %271, 1
  store i32 %272, ptr %15, align 4, !tbaa !5
  br label %273

273:                                              ; preds = %394, %266
  %274 = load i32, ptr %15, align 4, !tbaa !5
  %275 = icmp sge i32 %274, 0
  br i1 %275, label %277, label %276

276:                                              ; preds = %273
  store i32 29, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %397

277:                                              ; preds = %273
  %278 = load i32, ptr %15, align 4, !tbaa !5
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %279
  %281 = getelementptr inbounds [17 x x86_fp80], ptr %280, i64 0, i64 0
  store x86_fp80 0xK00000000000000000000, ptr %281, align 16, !tbaa !11
  %282 = load i32, ptr %15, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %283
  %285 = getelementptr inbounds [17 x x86_fp80], ptr %284, i64 0, i64 0
  %286 = getelementptr inbounds x86_fp80, ptr %285, i64 1
  %287 = load i32, ptr %15, align 4, !tbaa !5
  %288 = add nsw i32 %287, 1
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %289
  %291 = getelementptr inbounds [17 x x86_fp80], ptr %290, i64 0, i64 0
  %292 = load i32, ptr @n, align 4, !tbaa !5
  %293 = load i32, ptr %15, align 4, !tbaa !5
  %294 = sub nsw i32 %292, %293
  %295 = sext i32 %294 to i64
  %296 = mul i64 %295, 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %286, ptr align 16 %291, i64 %296, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %297

297:                                              ; preds = %329, %277
  %298 = load i32, ptr %16, align 4, !tbaa !5
  %299 = load i32, ptr @n, align 4, !tbaa !5
  %300 = load i32, ptr %15, align 4, !tbaa !5
  %301 = sub nsw i32 %299, %300
  %302 = icmp slt i32 %298, %301
  br i1 %302, label %304, label %303

303:                                              ; preds = %297
  store i32 32, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %332

304:                                              ; preds = %297
  %305 = load i32, ptr %15, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %306
  %308 = load i32, ptr %15, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds [17 x x86_fp80], ptr %307, i64 0, i64 %309
  %311 = load x86_fp80, ptr %310, align 16, !tbaa !11
  %312 = load i32, ptr %15, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %314
  %316 = load i32, ptr %16, align 4, !tbaa !5
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds [17 x x86_fp80], ptr %315, i64 0, i64 %317
  %319 = load x86_fp80, ptr %318, align 16, !tbaa !11
  %320 = load i32, ptr %15, align 4, !tbaa !5
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %321
  %323 = load i32, ptr %16, align 4, !tbaa !5
  %324 = sext i32 %323 to i64
  %325 = getelementptr inbounds [17 x x86_fp80], ptr %322, i64 0, i64 %324
  %326 = load x86_fp80, ptr %325, align 16, !tbaa !11
  %327 = fneg x86_fp80 %311
  %328 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %327, x86_fp80 %319, x86_fp80 %326)
  store x86_fp80 %328, ptr %325, align 16, !tbaa !11
  br label %329

329:                                              ; preds = %304
  %330 = load i32, ptr %16, align 4, !tbaa !5
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %16, align 4, !tbaa !5
  br label %297, !llvm.loop !23

332:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  store x86_fp80 0xK3FFF8000000000000000, ptr %17, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %333 = load i32, ptr %15, align 4, !tbaa !5
  %334 = add nsw i32 %333, 1
  store i32 %334, ptr %18, align 4, !tbaa !5
  br label %335

335:                                              ; preds = %390, %332
  %336 = load i32, ptr %18, align 4, !tbaa !5
  %337 = load i32, ptr @n, align 4, !tbaa !5
  %338 = icmp slt i32 %336, %337
  br i1 %338, label %340, label %339

339:                                              ; preds = %335
  store i32 35, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %393

340:                                              ; preds = %335
  %341 = load i32, ptr %18, align 4, !tbaa !5
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %342
  %344 = load i32, ptr %18, align 4, !tbaa !5
  %345 = sub nsw i32 %344, 1
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds [17 x x86_fp80], ptr %343, i64 0, i64 %346
  %348 = load x86_fp80, ptr %347, align 16, !tbaa !11
  %349 = load x86_fp80, ptr %17, align 16, !tbaa !11
  %350 = fmul x86_fp80 %349, %348
  store x86_fp80 %350, ptr %17, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  %351 = load x86_fp80, ptr %17, align 16, !tbaa !11
  %352 = load i32, ptr %15, align 4, !tbaa !5
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %353
  %355 = load i32, ptr %18, align 4, !tbaa !5
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds [17 x x86_fp80], ptr %354, i64 0, i64 %356
  %358 = load x86_fp80, ptr %357, align 16, !tbaa !11
  %359 = fmul x86_fp80 %351, %358
  store x86_fp80 %359, ptr %19, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %360

360:                                              ; preds = %386, %340
  %361 = load i32, ptr %20, align 4, !tbaa !5
  %362 = load i32, ptr @n, align 4, !tbaa !5
  %363 = load i32, ptr %18, align 4, !tbaa !5
  %364 = sub nsw i32 %362, %363
  %365 = icmp slt i32 %361, %364
  br i1 %365, label %367, label %366

366:                                              ; preds = %360
  store i32 38, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %389

367:                                              ; preds = %360
  %368 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %369 = load i32, ptr %18, align 4, !tbaa !5
  %370 = add nsw i32 %369, 1
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %371
  %373 = load i32, ptr %20, align 4, !tbaa !5
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds [17 x x86_fp80], ptr %372, i64 0, i64 %374
  %376 = load x86_fp80, ptr %375, align 16, !tbaa !11
  %377 = load i32, ptr %15, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %378
  %380 = load i32, ptr %20, align 4, !tbaa !5
  %381 = sext i32 %380 to i64
  %382 = getelementptr inbounds [17 x x86_fp80], ptr %379, i64 0, i64 %381
  %383 = load x86_fp80, ptr %382, align 16, !tbaa !11
  %384 = fneg x86_fp80 %368
  %385 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %384, x86_fp80 %376, x86_fp80 %383)
  store x86_fp80 %385, ptr %382, align 16, !tbaa !11
  br label %386

386:                                              ; preds = %367
  %387 = load i32, ptr %20, align 4, !tbaa !5
  %388 = add nsw i32 %387, 1
  store i32 %388, ptr %20, align 4, !tbaa !5
  br label %360, !llvm.loop !24

389:                                              ; preds = %366
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  br label %390

390:                                              ; preds = %389
  %391 = load i32, ptr %18, align 4, !tbaa !5
  %392 = add nsw i32 %391, 1
  store i32 %392, ptr %18, align 4, !tbaa !5
  br label %335, !llvm.loop !25

393:                                              ; preds = %339
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %394

394:                                              ; preds = %393
  %395 = load i32, ptr %15, align 4, !tbaa !5
  %396 = add nsw i32 %395, -1
  store i32 %396, ptr %15, align 4, !tbaa !5
  br label %273, !llvm.loop !26

397:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 1, ptr %21, align 4, !tbaa !5
  br label %398

398:                                              ; preds = %441, %397
  %399 = load i32, ptr %21, align 4, !tbaa !5
  %400 = load i32, ptr @n, align 4, !tbaa !5
  %401 = icmp slt i32 %399, %400
  br i1 %401, label %403, label %402

402:                                              ; preds = %398
  store i32 41, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %444

403:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %404

404:                                              ; preds = %437, %403
  %405 = load i32, ptr %22, align 4, !tbaa !5
  %406 = load i32, ptr @n, align 4, !tbaa !5
  %407 = load i32, ptr %21, align 4, !tbaa !5
  %408 = sub nsw i32 %406, %407
  %409 = icmp sle i32 %405, %408
  br i1 %409, label %411, label %410

410:                                              ; preds = %404
  store i32 44, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %440

411:                                              ; preds = %404
  %412 = load i32, ptr %21, align 4, !tbaa !5
  %413 = sub nsw i32 %412, 1
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %414
  %416 = load i32, ptr %22, align 4, !tbaa !5
  %417 = add nsw i32 %416, 1
  %418 = sext i32 %417 to i64
  %419 = getelementptr inbounds [17 x x86_fp80], ptr %415, i64 0, i64 %418
  %420 = load x86_fp80, ptr %419, align 16, !tbaa !11
  %421 = load i32, ptr %22, align 4, !tbaa !5
  %422 = add nsw i32 %421, 1
  %423 = sitofp i32 %422 to x86_fp80
  %424 = fmul x86_fp80 %420, %423
  %425 = load i32, ptr @n, align 4, !tbaa !5
  %426 = load i32, ptr %21, align 4, !tbaa !5
  %427 = sub nsw i32 %425, %426
  %428 = add nsw i32 %427, 1
  %429 = sitofp i32 %428 to x86_fp80
  %430 = fdiv x86_fp80 %424, %429
  %431 = load i32, ptr %21, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %432
  %434 = load i32, ptr %22, align 4, !tbaa !5
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds [17 x x86_fp80], ptr %433, i64 0, i64 %435
  store x86_fp80 %430, ptr %436, align 16, !tbaa !11
  br label %437

437:                                              ; preds = %411
  %438 = load i32, ptr %22, align 4, !tbaa !5
  %439 = add nsw i32 %438, 1
  store i32 %439, ptr %22, align 4, !tbaa !5
  br label %404, !llvm.loop !27

440:                                              ; preds = %410
  br label %441

441:                                              ; preds = %440
  %442 = load i32, ptr %21, align 4, !tbaa !5
  %443 = add nsw i32 %442, 1
  store i32 %443, ptr %21, align 4, !tbaa !5
  br label %398, !llvm.loop !28

444:                                              ; preds = %402
  %445 = load i32, ptr @n, align 4, !tbaa !5
  %446 = sub nsw i32 %445, 1
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %447
  %449 = getelementptr inbounds [17 x x86_fp80], ptr %448, i64 0, i64 0
  %450 = load x86_fp80, ptr %449, align 16, !tbaa !11
  %451 = fneg x86_fp80 %450
  %452 = load i32, ptr @n, align 4, !tbaa !5
  %453 = sub nsw i32 %452, 1
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %454
  %456 = getelementptr inbounds [2 x x86_fp80], ptr %455, i64 0, i64 1
  store x86_fp80 %451, ptr %456, align 16, !tbaa !11
  %457 = load i32, ptr @n, align 4, !tbaa !5
  %458 = sub nsw i32 %457, 1
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %459
  %461 = getelementptr inbounds [2 x x86_fp80], ptr %460, i64 0, i64 0
  store x86_fp80 %451, ptr %461, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %462 = load i32, ptr @n, align 4, !tbaa !5
  %463 = sub nsw i32 %462, 2
  store i32 %463, ptr %23, align 4, !tbaa !5
  br label %464

464:                                              ; preds = %577, %444
  %465 = load i32, ptr %23, align 4, !tbaa !5
  %466 = icmp sge i32 %465, 0
  br i1 %466, label %468, label %467

467:                                              ; preds = %464
  store i32 47, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %580

468:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %469 = load i32, ptr %23, align 4, !tbaa !5
  %470 = add nsw i32 %469, 1
  %471 = sext i32 %470 to i64
  %472 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %471
  %473 = getelementptr inbounds [2 x x86_fp80], ptr %472, i64 0, i64 0
  %474 = load x86_fp80, ptr %473, align 16, !tbaa !11
  %475 = fsub x86_fp80 %474, 0xK3FFF8000000000000000
  %476 = load i32, ptr %23, align 4, !tbaa !5
  %477 = sext i32 %476 to i64
  %478 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %477
  %479 = getelementptr inbounds [2 x x86_fp80], ptr %478, i64 0, i64 0
  store x86_fp80 %475, ptr %479, align 16, !tbaa !11
  store ptr %479, ptr %24, align 8, !tbaa !29
  br label %480

480:                                              ; preds = %521, %468
  br label %481

481:                                              ; preds = %480
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  %482 = load i32, ptr @n, align 4, !tbaa !5
  %483 = load i32, ptr %23, align 4, !tbaa !5
  %484 = sub nsw i32 %482, %483
  %485 = load i32, ptr %23, align 4, !tbaa !5
  %486 = sext i32 %485 to i64
  %487 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %486
  %488 = getelementptr inbounds [17 x x86_fp80], ptr %487, i64 0, i64 0
  %489 = load ptr, ptr %24, align 8, !tbaa !29
  %490 = load x86_fp80, ptr %489, align 16, !tbaa !11
  %491 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %484, ptr noundef %488, x86_fp80 noundef %490)
  store x86_fp80 %491, ptr %25, align 16, !tbaa !11
  %492 = load x86_fp80, ptr %25, align 16, !tbaa !11
  %493 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %492)
  %494 = fcmp olt x86_fp80 %493, 0xK3FCD901D7CF73AB0ACD9
  br i1 %494, label %495, label %496

495:                                              ; preds = %481
  store i32 51, ptr %3, align 4
  br label %519

496:                                              ; preds = %481
  %497 = load x86_fp80, ptr %25, align 16, !tbaa !11
  %498 = load i32, ptr @n, align 4, !tbaa !5
  %499 = load i32, ptr %23, align 4, !tbaa !5
  %500 = sub nsw i32 %498, %499
  %501 = sitofp i32 %500 to x86_fp80
  %502 = fdiv x86_fp80 %497, %501
  %503 = load i32, ptr @n, align 4, !tbaa !5
  %504 = load i32, ptr %23, align 4, !tbaa !5
  %505 = sub nsw i32 %503, %504
  %506 = sub nsw i32 %505, 1
  %507 = load i32, ptr %23, align 4, !tbaa !5
  %508 = add nsw i32 %507, 1
  %509 = sext i32 %508 to i64
  %510 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %509
  %511 = getelementptr inbounds [17 x x86_fp80], ptr %510, i64 0, i64 0
  %512 = load ptr, ptr %24, align 8, !tbaa !29
  %513 = load x86_fp80, ptr %512, align 16, !tbaa !11
  %514 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %506, ptr noundef %511, x86_fp80 noundef %513)
  %515 = fdiv x86_fp80 %502, %514
  %516 = load ptr, ptr %24, align 8, !tbaa !29
  %517 = load x86_fp80, ptr %516, align 16, !tbaa !11
  %518 = fsub x86_fp80 %517, %515
  store x86_fp80 %518, ptr %516, align 16, !tbaa !11
  store i32 0, ptr %3, align 4
  br label %519

519:                                              ; preds = %496, %495
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  %520 = load i32, ptr %3, align 4
  switch i32 %520, label %593 [
    i32 0, label %521
    i32 51, label %522
  ]

521:                                              ; preds = %519
  br label %480, !llvm.loop !31

522:                                              ; preds = %519
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %523 = load i32, ptr %23, align 4, !tbaa !5
  %524 = add nsw i32 %523, 1
  %525 = sext i32 %524 to i64
  %526 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %525
  %527 = getelementptr inbounds [2 x x86_fp80], ptr %526, i64 0, i64 1
  %528 = load x86_fp80, ptr %527, align 16, !tbaa !11
  %529 = fadd x86_fp80 %528, 0xK3FFF8000000000000000
  %530 = load i32, ptr %23, align 4, !tbaa !5
  %531 = sext i32 %530 to i64
  %532 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %531
  %533 = getelementptr inbounds [2 x x86_fp80], ptr %532, i64 0, i64 1
  store x86_fp80 %529, ptr %533, align 16, !tbaa !11
  store ptr %533, ptr %26, align 8, !tbaa !29
  br label %534

534:                                              ; preds = %575, %522
  br label %535

535:                                              ; preds = %534
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  %536 = load i32, ptr @n, align 4, !tbaa !5
  %537 = load i32, ptr %23, align 4, !tbaa !5
  %538 = sub nsw i32 %536, %537
  %539 = load i32, ptr %23, align 4, !tbaa !5
  %540 = sext i32 %539 to i64
  %541 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %540
  %542 = getelementptr inbounds [17 x x86_fp80], ptr %541, i64 0, i64 0
  %543 = load ptr, ptr %26, align 8, !tbaa !29
  %544 = load x86_fp80, ptr %543, align 16, !tbaa !11
  %545 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %538, ptr noundef %542, x86_fp80 noundef %544)
  store x86_fp80 %545, ptr %27, align 16, !tbaa !11
  %546 = load x86_fp80, ptr %27, align 16, !tbaa !11
  %547 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %546)
  %548 = fcmp olt x86_fp80 %547, 0xK3FCD901D7CF73AB0ACD9
  br i1 %548, label %549, label %550

549:                                              ; preds = %535
  store i32 53, ptr %3, align 4
  br label %573

550:                                              ; preds = %535
  %551 = load x86_fp80, ptr %27, align 16, !tbaa !11
  %552 = load i32, ptr @n, align 4, !tbaa !5
  %553 = load i32, ptr %23, align 4, !tbaa !5
  %554 = sub nsw i32 %552, %553
  %555 = sitofp i32 %554 to x86_fp80
  %556 = fdiv x86_fp80 %551, %555
  %557 = load i32, ptr @n, align 4, !tbaa !5
  %558 = load i32, ptr %23, align 4, !tbaa !5
  %559 = sub nsw i32 %557, %558
  %560 = sub nsw i32 %559, 1
  %561 = load i32, ptr %23, align 4, !tbaa !5
  %562 = add nsw i32 %561, 1
  %563 = sext i32 %562 to i64
  %564 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %563
  %565 = getelementptr inbounds [17 x x86_fp80], ptr %564, i64 0, i64 0
  %566 = load ptr, ptr %26, align 8, !tbaa !29
  %567 = load x86_fp80, ptr %566, align 16, !tbaa !11
  %568 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %560, ptr noundef %565, x86_fp80 noundef %567)
  %569 = fdiv x86_fp80 %556, %568
  %570 = load ptr, ptr %26, align 8, !tbaa !29
  %571 = load x86_fp80, ptr %570, align 16, !tbaa !11
  %572 = fsub x86_fp80 %571, %569
  store x86_fp80 %572, ptr %570, align 16, !tbaa !11
  store i32 0, ptr %3, align 4
  br label %573

573:                                              ; preds = %550, %549
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  %574 = load i32, ptr %3, align 4
  switch i32 %574, label %593 [
    i32 0, label %575
    i32 53, label %576
  ]

575:                                              ; preds = %573
  br label %534, !llvm.loop !32

576:                                              ; preds = %573
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %577

577:                                              ; preds = %576
  %578 = load i32, ptr %23, align 4, !tbaa !5
  %579 = add nsw i32 %578, -1
  store i32 %579, ptr %23, align 4, !tbaa !5
  br label %464, !llvm.loop !33

580:                                              ; preds = %467
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %581 = load x86_fp80, ptr @rt, align 16, !tbaa !11
  %582 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %581)
  store x86_fp80 %582, ptr %29, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %583 = load x86_fp80, ptr getelementptr inbounds ([2 x x86_fp80], ptr @rt, i64 0, i64 1), align 16, !tbaa !11
  %584 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %583)
  store x86_fp80 %584, ptr %30, align 16, !tbaa !11
  %585 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %29, ptr noundef nonnull align 16 dereferenceable(16) %30)
  %586 = load x86_fp80, ptr %585, align 16, !tbaa !11
  %587 = call x86_fp80 @sqrtl(x86_fp80 noundef %586) #7
  %588 = fdiv x86_fp80 0xK3FFF8000000000000000, %587
  %589 = fptrunc x86_fp80 %588 to double
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  store double %589, ptr %28, align 8, !tbaa !9
  %590 = load double, ptr %28, align 8, !tbaa !9
  %591 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %590)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %592 = load i32, ptr %1, align 4
  ret i32 %592

593:                                              ; preds = %573, %519, %260
  unreachable
}

declare i32 @__isoc99_scanf(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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIeENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z4evaliPee(i32 noundef, ptr noundef, x86_fp80 noundef) #3

; Function Attrs: nounwind
declare x86_fp80 @sqrtl(x86_fp80 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #3

declare i32 @printf(ptr noundef, ...) #1

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = !{!30, !30, i64 0}
!30 = !{!"any pointer", !7, i64 0}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !14}


; 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"

@n = external dso_local global i32, align 4
@mat = external dso_local global [17 x [17 x x86_fp80]], align 16
@poly = external dso_local global [17 x [17 x x86_fp80]], align 16
@rt = external dso_local local_unnamed_addr global [17 x [2 x x86_fp80]], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca double, align 8
  %2 = alloca x86_fp80, align 16
  %3 = alloca x86_fp80, align 16
  %4 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.preheader173, label %.preheader172.._crit_edge196_crit_edge

.preheader173:                                    ; preds = %0, %._crit_edge
  %7 = phi i32 [ %11, %._crit_edge ], [ %5, %0 ]
  %indvars.iv232 = phi i64 [ %indvars.iv.next233, %._crit_edge ], [ 0, %0 ]
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %.preheader173.._crit_edge_crit_edge

.preheader173.._crit_edge_crit_edge:              ; preds = %.preheader173
  %.pre304 = sext i32 %7 to i64
  br label %._crit_edge

.preheader172:                                    ; preds = %._crit_edge
  %9 = icmp sgt i32 %11, 1
  br i1 %9, label %.lr.ph195, label %.preheader172.._crit_edge196_crit_edge

.preheader172.._crit_edge196_crit_edge:           ; preds = %0, %.preheader172
  %10 = phi i32 [ %11, %.preheader172 ], [ %5, %0 ]
  %.pre307 = sext i32 %10 to i64
  br label %._crit_edge196

._crit_edge:                                      ; preds = %.lr.ph, %.preheader173.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre304, %.preheader173.._crit_edge_crit_edge ], [ %21, %.lr.ph ]
  %11 = phi i32 [ %7, %.preheader173.._crit_edge_crit_edge ], [ %20, %.lr.ph ]
  %indvars.iv.next233 = add nuw nsw i64 %indvars.iv232, 1
  %12 = icmp slt i64 %indvars.iv.next233, %.pre-phi
  br i1 %12, label %.preheader173, label %.preheader172, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader173, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader173 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %1)
  %14 = icmp eq i64 %indvars.iv232, %indvars.iv
  %15 = load double, ptr %1, align 8
  %16 = fmul double %15, 5.000000e-01
  %17 = select i1 %14, double %15, double %16
  %18 = fpext double %17 to x86_fp80
  %19 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv232, i64 %indvars.iv
  store x86_fp80 %18, ptr %19, align 16, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %20 = load i32, ptr @n, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = icmp slt i64 %indvars.iv.next, %21
  br i1 %22, label %.lr.ph, label %._crit_edge, !llvm.loop !14

._crit_edge196:                                   ; preds = %.loopexit168, %.preheader172.._crit_edge196_crit_edge
  %.pre-phi308 = phi i64 [ %.pre307, %.preheader172.._crit_edge196_crit_edge ], [ %.pre305, %.loopexit168 ]
  %.lcssa174 = phi i32 [ %10, %.preheader172.._crit_edge196_crit_edge ], [ %.pre, %.loopexit168 ]
  %23 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %.pre-phi308
  store x86_fp80 0xK3FFF8000000000000000, ptr %23, align 16, !tbaa !12
  %24 = icmp sgt i32 %.lcssa174, 0
  br i1 %24, label %.lr.ph212.preheader, label %._crit_edge229.critedge

.lr.ph212.preheader:                              ; preds = %._crit_edge196
  %25 = add nuw i32 %.lcssa174, 1
  %wide.trip.count287 = zext i32 %25 to i64
  br label %.lr.ph200

.lr.ph195:                                        ; preds = %.preheader172, %.loopexit168
  %26 = phi i32 [ %.pre, %.loopexit168 ], [ %11, %.preheader172 ]
  %indvars.iv261 = phi i64 [ %indvars.iv.next262, %.loopexit168 ], [ 1, %.preheader172 ]
  %indvars.iv240 = phi i64 [ %indvars.iv.next241, %.loopexit168 ], [ 0, %.preheader172 ]
  %indvars.iv235 = phi i64 [ %indvars.iv.next236, %.loopexit168 ], [ 2, %.preheader172 ]
  %27 = add nuw nsw i64 %indvars.iv240, 2
  %28 = sext i32 %26 to i64
  %29 = icmp slt i64 %27, %28
  %30 = trunc nuw nsw i64 %indvars.iv261 to i32
  br i1 %29, label %.lr.ph180, label %._crit_edge181

._crit_edge181:                                   ; preds = %.lr.ph180, %.lr.ph195
  %31 = phi i32 [ %26, %.lr.ph195 ], [ %45, %.lr.ph180 ]
  %.0135.lcssa = phi i32 [ %30, %.lr.ph195 ], [ %.1136, %.lr.ph180 ]
  %32 = zext i32 %.0135.lcssa to i64
  %.not155 = icmp eq i64 %indvars.iv261, %32
  br i1 %.not155, label %.loopexit170, label %.preheader171

.preheader171:                                    ; preds = %._crit_edge181
  %33 = sext i32 %31 to i64
  %34 = icmp slt i64 %indvars.iv240, %33
  br i1 %34, label %.lr.ph183, label %.preheader169

.lr.ph183:                                        ; preds = %.preheader171
  %35 = sext i32 %.0135.lcssa to i64
  br label %51

.lr.ph180:                                        ; preds = %.lr.ph195, %.lr.ph180
  %indvars.iv237 = phi i64 [ %indvars.iv.next238, %.lr.ph180 ], [ %indvars.iv235, %.lr.ph195 ]
  %.0135178 = phi i32 [ %.1136, %.lr.ph180 ], [ %30, %.lr.ph195 ]
  %36 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv237, i64 %indvars.iv240
  %37 = load x86_fp80, ptr %36, align 16, !tbaa !12
  %38 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %37)
  %39 = sext i32 %.0135178 to i64
  %40 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %39, i64 %indvars.iv240
  %41 = load x86_fp80, ptr %40, align 16, !tbaa !12
  %42 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %41)
  %43 = fcmp ogt x86_fp80 %38, %42
  %44 = trunc nuw nsw i64 %indvars.iv237 to i32
  %.1136 = select i1 %43, i32 %44, i32 %.0135178
  %indvars.iv.next238 = add nuw nsw i64 %indvars.iv237, 1
  %45 = load i32, ptr @n, align 4, !tbaa !5
  %46 = trunc nuw i64 %indvars.iv.next238 to i32
  %47 = icmp sgt i32 %45, %46
  br i1 %47, label %.lr.ph180, label %._crit_edge181, !llvm.loop !15

.preheader169:                                    ; preds = %51, %.preheader171
  %48 = phi i32 [ %31, %.preheader171 ], [ %54, %51 ]
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %.lr.ph185, label %.loopexit170

.lr.ph185:                                        ; preds = %.preheader169
  %50 = sext i32 %.0135.lcssa to i64
  br label %57

51:                                               ; preds = %.lr.ph183, %51
  %indvars.iv242 = phi i64 [ %indvars.iv240, %.lr.ph183 ], [ %indvars.iv.next243, %51 ]
  %52 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv261, i64 %indvars.iv242
  %53 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %35, i64 %indvars.iv242
  call void @_ZSt4swapIeENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 16 dereferenceable(16) %52, ptr noundef nonnull align 16 dereferenceable(16) %53) #7
  %indvars.iv.next243 = add nuw nsw i64 %indvars.iv242, 1
  %54 = load i32, ptr @n, align 4, !tbaa !5
  %55 = trunc nuw i64 %indvars.iv.next243 to i32
  %56 = icmp sgt i32 %54, %55
  br i1 %56, label %51, label %.preheader169, !llvm.loop !16

57:                                               ; preds = %.lr.ph185, %57
  %indvars.iv245 = phi i64 [ 0, %.lr.ph185 ], [ %indvars.iv.next246, %57 ]
  %58 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv245, i64 %50
  %59 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv245, i64 %indvars.iv261
  call void @_ZSt4swapIeENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 16 dereferenceable(16) %58, ptr noundef nonnull align 16 dereferenceable(16) %59) #7
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %60 = load i32, ptr @n, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = icmp slt i64 %indvars.iv.next246, %61
  br i1 %62, label %57, label %.loopexit170, !llvm.loop !17

.loopexit170:                                     ; preds = %57, %.preheader169, %._crit_edge181
  %63 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv261, i64 %indvars.iv240
  %64 = load x86_fp80, ptr %63, align 16, !tbaa !12
  %65 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %64)
  %66 = fcmp uge x86_fp80 %65, 0xK3FCD901D7CF73AB0ACD9
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  %.pre305 = sext i32 %.pre to i64
  %67 = icmp slt i64 %27, %.pre305
  %or.cond = select i1 %66, i1 %67, i1 false
  br i1 %or.cond, label %.lr.ph193, label %.loopexit168

.lr.ph193:                                        ; preds = %.loopexit170
  %68 = icmp sgt i32 %.pre, 0
  %wide.trip.count259 = zext i32 %.pre to i64
  %69 = sub nsw i64 %wide.trip.count259, %indvars.iv240
  %xtraiter = and i64 %69, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %70 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv261, i64 %indvars.iv240
  %indvars.iv.next249.prol = add nuw nsw i64 %indvars.iv240, 1
  %71 = add nsw i64 %wide.trip.count259, -1
  %72 = icmp eq i64 %indvars.iv240, %71
  %xtraiter322 = and i64 %wide.trip.count259, 1
  %73 = icmp eq i32 %.pre, 1
  %unroll_iter = and i64 %wide.trip.count259, 2147483646
  %lcmp.mod323.not = icmp eq i64 %xtraiter322, 0
  br label %.lr.ph188

.lr.ph188:                                        ; preds = %.lr.ph193, %._crit_edge191
  %indvars.iv256 = phi i64 [ %indvars.iv235, %.lr.ph193 ], [ %indvars.iv.next257, %._crit_edge191 ]
  %74 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv256, i64 %indvars.iv240
  %75 = load x86_fp80, ptr %74, align 16, !tbaa !12
  %76 = load x86_fp80, ptr %63, align 16, !tbaa !12
  %77 = fdiv x86_fp80 %75, %76
  %78 = fneg x86_fp80 %77
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph188
  %79 = load x86_fp80, ptr %70, align 16, !tbaa !12
  %80 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv256, i64 %indvars.iv240
  %81 = load x86_fp80, ptr %80, align 16, !tbaa !12
  %82 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %78, x86_fp80 %79, x86_fp80 %81)
  store x86_fp80 %82, ptr %80, align 16, !tbaa !12
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph188
  %indvars.iv248.unr = phi i64 [ %indvars.iv240, %.lr.ph188 ], [ %indvars.iv.next249.prol, %.prol.loopexit.unr-lcssa ]
  br i1 %72, label %.preheader166, label %.lr.ph188.new

.preheader166:                                    ; preds = %.lr.ph188.new, %.prol.loopexit
  br i1 %68, label %.lr.ph190.preheader, label %._crit_edge191

.lr.ph190.preheader:                              ; preds = %.preheader166
  br i1 %73, label %._crit_edge191.loopexit.unr-lcssa, label %.lr.ph190

.lr.ph188.new:                                    ; preds = %.prol.loopexit, %.lr.ph188.new
  %indvars.iv248 = phi i64 [ %indvars.iv.next249.1, %.lr.ph188.new ], [ %indvars.iv248.unr, %.prol.loopexit ]
  %83 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv261, i64 %indvars.iv248
  %84 = load x86_fp80, ptr %83, align 16, !tbaa !12
  %85 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv256, i64 %indvars.iv248
  %86 = load x86_fp80, ptr %85, align 16, !tbaa !12
  %87 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %78, x86_fp80 %84, x86_fp80 %86)
  store x86_fp80 %87, ptr %85, align 16, !tbaa !12
  %indvars.iv.next249 = add nuw nsw i64 %indvars.iv248, 1
  %88 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv261, i64 %indvars.iv.next249
  %89 = load x86_fp80, ptr %88, align 16, !tbaa !12
  %90 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv256, i64 %indvars.iv.next249
  %91 = load x86_fp80, ptr %90, align 16, !tbaa !12
  %92 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %78, x86_fp80 %89, x86_fp80 %91)
  store x86_fp80 %92, ptr %90, align 16, !tbaa !12
  %indvars.iv.next249.1 = add nuw nsw i64 %indvars.iv248, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next249.1, %wide.trip.count259
  br i1 %exitcond.not.1, label %.preheader166, label %.lr.ph188.new, !llvm.loop !18

._crit_edge191.loopexit.unr-lcssa:                ; preds = %.lr.ph190, %.lr.ph190.preheader
  %indvars.iv251.unr = phi i64 [ 0, %.lr.ph190.preheader ], [ %indvars.iv.next252.1, %.lr.ph190 ]
  br i1 %lcmp.mod323.not, label %._crit_edge191, label %.lr.ph190.epil

.lr.ph190.epil:                                   ; preds = %._crit_edge191.loopexit.unr-lcssa
  %93 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv251.unr, i64 %indvars.iv256
  %94 = load x86_fp80, ptr %93, align 16, !tbaa !12
  %95 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv251.unr, i64 %indvars.iv261
  %96 = load x86_fp80, ptr %95, align 16, !tbaa !12
  %97 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %77, x86_fp80 %94, x86_fp80 %96)
  store x86_fp80 %97, ptr %95, align 16, !tbaa !12
  br label %._crit_edge191

._crit_edge191:                                   ; preds = %.lr.ph190.epil, %._crit_edge191.loopexit.unr-lcssa, %.preheader166
  %indvars.iv.next257 = add nuw nsw i64 %indvars.iv256, 1
  %exitcond260.not = icmp eq i64 %indvars.iv.next257, %wide.trip.count259
  br i1 %exitcond260.not, label %.loopexit168, label %.lr.ph188, !llvm.loop !19

.lr.ph190:                                        ; preds = %.lr.ph190.preheader, %.lr.ph190
  %indvars.iv251 = phi i64 [ %indvars.iv.next252.1, %.lr.ph190 ], [ 0, %.lr.ph190.preheader ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph190 ], [ 0, %.lr.ph190.preheader ]
  %98 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv251, i64 %indvars.iv256
  %99 = load x86_fp80, ptr %98, align 16, !tbaa !12
  %100 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv251, i64 %indvars.iv261
  %101 = load x86_fp80, ptr %100, align 16, !tbaa !12
  %102 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %77, x86_fp80 %99, x86_fp80 %101)
  store x86_fp80 %102, ptr %100, align 16, !tbaa !12
  %indvars.iv.next252 = or disjoint i64 %indvars.iv251, 1
  %103 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv.next252, i64 %indvars.iv256
  %104 = load x86_fp80, ptr %103, align 16, !tbaa !12
  %105 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv.next252, i64 %indvars.iv261
  %106 = load x86_fp80, ptr %105, align 16, !tbaa !12
  %107 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %77, x86_fp80 %104, x86_fp80 %106)
  store x86_fp80 %107, ptr %105, align 16, !tbaa !12
  %indvars.iv.next252.1 = add nuw nsw i64 %indvars.iv251, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge191.loopexit.unr-lcssa, label %.lr.ph190, !llvm.loop !20

.loopexit168:                                     ; preds = %._crit_edge191, %.loopexit170
  %indvars.iv.next262 = add nuw nsw i64 %indvars.iv261, 1
  %108 = icmp slt i64 %indvars.iv.next262, %.pre305
  %indvars.iv.next236 = add nuw nsw i64 %indvars.iv235, 1
  %indvars.iv.next241 = add nuw nsw i64 %indvars.iv240, 1
  br i1 %108, label %.lr.ph195, label %._crit_edge196, !llvm.loop !21

.loopexit:                                        ; preds = %._crit_edge204, %.preheader165
  %indvars.iv.next283 = add nuw nsw i64 %indvars.iv282, 1
  %exitcond288.not = icmp eq i64 %indvars.iv.next283, %wide.trip.count287
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond288.not, label %.preheader164, label %.lr.ph200, !llvm.loop !22

.preheader164:                                    ; preds = %.loopexit
  %.not = icmp eq i32 %.lcssa174, 1
  br i1 %.not, label %._crit_edge229.critedge, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader164
  %wide.trip.count299 = zext nneg i32 %.lcssa174 to i64
  br label %.preheader

.lr.ph200:                                        ; preds = %.loopexit, %.lr.ph212.preheader
  %indvar = phi i64 [ %indvar.next, %.loopexit ], [ 0, %.lr.ph212.preheader ]
  %indvars.iv282 = phi i64 [ %indvars.iv.next283, %.loopexit ], [ 1, %.lr.ph212.preheader ]
  %indvars.iv276 = phi i64 [ %indvars.iv.next277, %.loopexit ], [ %.pre-phi308, %.lr.ph212.preheader ]
  %indvars.iv.next277 = add nsw i64 %indvars.iv276, -1
  %109 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277
  store x86_fp80 0xK00000000000000000000, ptr %109, align 16, !tbaa !12
  %110 = getelementptr inbounds i8, ptr %109, i64 16
  %111 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv276
  %112 = sub nsw i64 %.pre-phi308, %indvars.iv.next277
  %113 = shl nsw i64 %112, 4
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %110, ptr nonnull align 16 %111, i64 %113, i1 false)
  %114 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv.next277
  %115 = load x86_fp80, ptr %114, align 16, !tbaa !12
  %116 = fneg x86_fp80 %115
  %xtraiter324 = and i64 %indvars.iv282, 1
  %117 = icmp eq i64 %indvar, 0
  br i1 %117, label %.preheader165.unr-lcssa, label %.lr.ph200.new

.lr.ph200.new:                                    ; preds = %.lr.ph200
  %unroll_iter326 = and i64 %indvars.iv282, 9223372036854775806
  br label %124

.preheader165.unr-lcssa:                          ; preds = %124, %.lr.ph200
  %indvars.iv266.unr = phi i64 [ 0, %.lr.ph200 ], [ %indvars.iv.next267.1, %124 ]
  %lcmp.mod325.not = icmp eq i64 %xtraiter324, 0
  br i1 %lcmp.mod325.not, label %.preheader165, label %.preheader165.epilog-lcssa

.preheader165.epilog-lcssa:                       ; preds = %.preheader165.unr-lcssa
  %118 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv276, i64 %indvars.iv266.unr
  %119 = load x86_fp80, ptr %118, align 16, !tbaa !12
  %120 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv266.unr
  %121 = load x86_fp80, ptr %120, align 16, !tbaa !12
  %122 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %116, x86_fp80 %119, x86_fp80 %121)
  store x86_fp80 %122, ptr %120, align 16, !tbaa !12
  br label %.preheader165

.preheader165:                                    ; preds = %.preheader165.unr-lcssa, %.preheader165.epilog-lcssa
  %123 = icmp slt i64 %indvars.iv276, %.pre-phi308
  br i1 %123, label %.lr.ph207, label %.loopexit

124:                                              ; preds = %124, %.lr.ph200.new
  %indvars.iv266 = phi i64 [ 0, %.lr.ph200.new ], [ %indvars.iv.next267.1, %124 ]
  %niter327 = phi i64 [ 0, %.lr.ph200.new ], [ %niter327.next.1, %124 ]
  %125 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv276, i64 %indvars.iv266
  %126 = load x86_fp80, ptr %125, align 16, !tbaa !12
  %127 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv266
  %128 = load x86_fp80, ptr %127, align 16, !tbaa !12
  %129 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %116, x86_fp80 %126, x86_fp80 %128)
  store x86_fp80 %129, ptr %127, align 16, !tbaa !12
  %indvars.iv.next267 = or disjoint i64 %indvars.iv266, 1
  %130 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv276, i64 %indvars.iv.next267
  %131 = load x86_fp80, ptr %130, align 16, !tbaa !12
  %132 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv.next267
  %133 = load x86_fp80, ptr %132, align 16, !tbaa !12
  %134 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %116, x86_fp80 %131, x86_fp80 %133)
  store x86_fp80 %134, ptr %132, align 16, !tbaa !12
  %indvars.iv.next267.1 = add nuw nsw i64 %indvars.iv266, 2
  %niter327.next.1 = add i64 %niter327, 2
  %niter327.ncmp.1 = icmp eq i64 %niter327.next.1, %unroll_iter326
  br i1 %niter327.ncmp.1, label %.preheader165.unr-lcssa, label %124, !llvm.loop !23

.lr.ph207:                                        ; preds = %.preheader165, %._crit_edge204
  %indvars.iv278 = phi i64 [ %indvars.iv.next279.pre-phi, %._crit_edge204 ], [ %indvars.iv276, %.preheader165 ]
  %.0145205 = phi x86_fp80 [ %138, %._crit_edge204 ], [ 0xK3FFF8000000000000000, %.preheader165 ]
  %135 = add nsw i64 %indvars.iv278, -1
  %136 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv278, i64 %135
  %137 = load x86_fp80, ptr %136, align 16, !tbaa !12
  %138 = fmul x86_fp80 %.0145205, %137
  %139 = sub nsw i64 %.pre-phi308, %indvars.iv278
  %140 = icmp sgt i64 %139, 0
  br i1 %140, label %.lr.ph203, label %.lr.ph207.._crit_edge204_crit_edge

.lr.ph207.._crit_edge204_crit_edge:               ; preds = %.lr.ph207
  %.pre309 = add nsw i64 %indvars.iv278, 1
  br label %._crit_edge204

.lr.ph203:                                        ; preds = %.lr.ph207
  %141 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @mat, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv278
  %142 = load x86_fp80, ptr %141, align 16, !tbaa !12
  %143 = add nsw i64 %indvars.iv278, 1
  %144 = fneg x86_fp80 %138
  %145 = fmul x86_fp80 %142, %144
  %.neg = add i64 %indvars.iv278, 1
  %xtraiter329 = and i64 %139, 1
  %146 = icmp eq i64 %.pre-phi308, %.neg
  br i1 %146, label %._crit_edge204.loopexit.unr-lcssa, label %.lr.ph203.new

.lr.ph203.new:                                    ; preds = %.lr.ph203
  %unroll_iter331 = and i64 %139, 9223372036854775806
  br label %152

._crit_edge204.loopexit.unr-lcssa:                ; preds = %152, %.lr.ph203
  %indvars.iv273.unr = phi i64 [ 0, %.lr.ph203 ], [ %indvars.iv.next274.1, %152 ]
  %lcmp.mod330.not = icmp eq i64 %xtraiter329, 0
  br i1 %lcmp.mod330.not, label %._crit_edge204, label %._crit_edge204.loopexit.epilog-lcssa

._crit_edge204.loopexit.epilog-lcssa:             ; preds = %._crit_edge204.loopexit.unr-lcssa
  %147 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %143, i64 %indvars.iv273.unr
  %148 = load x86_fp80, ptr %147, align 16, !tbaa !12
  %149 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv273.unr
  %150 = load x86_fp80, ptr %149, align 16, !tbaa !12
  %151 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %145, x86_fp80 %148, x86_fp80 %150)
  store x86_fp80 %151, ptr %149, align 16, !tbaa !12
  br label %._crit_edge204

._crit_edge204:                                   ; preds = %._crit_edge204.loopexit.epilog-lcssa, %._crit_edge204.loopexit.unr-lcssa, %.lr.ph207.._crit_edge204_crit_edge
  %indvars.iv.next279.pre-phi = phi i64 [ %.pre309, %.lr.ph207.._crit_edge204_crit_edge ], [ %143, %._crit_edge204.loopexit.unr-lcssa ], [ %143, %._crit_edge204.loopexit.epilog-lcssa ]
  %lftr.wideiv = trunc i64 %indvars.iv.next279.pre-phi to i32
  %exitcond281.not = icmp eq i32 %.lcssa174, %lftr.wideiv
  br i1 %exitcond281.not, label %.loopexit, label %.lr.ph207, !llvm.loop !24

152:                                              ; preds = %152, %.lr.ph203.new
  %indvars.iv273 = phi i64 [ 0, %.lr.ph203.new ], [ %indvars.iv.next274.1, %152 ]
  %niter332 = phi i64 [ 0, %.lr.ph203.new ], [ %niter332.next.1, %152 ]
  %153 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %143, i64 %indvars.iv273
  %154 = load x86_fp80, ptr %153, align 16, !tbaa !12
  %155 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv273
  %156 = load x86_fp80, ptr %155, align 16, !tbaa !12
  %157 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %145, x86_fp80 %154, x86_fp80 %156)
  store x86_fp80 %157, ptr %155, align 16, !tbaa !12
  %indvars.iv.next274 = or disjoint i64 %indvars.iv273, 1
  %158 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %143, i64 %indvars.iv.next274
  %159 = load x86_fp80, ptr %158, align 16, !tbaa !12
  %160 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv.next277, i64 %indvars.iv.next274
  %161 = load x86_fp80, ptr %160, align 16, !tbaa !12
  %162 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %145, x86_fp80 %159, x86_fp80 %161)
  store x86_fp80 %162, ptr %160, align 16, !tbaa !12
  %indvars.iv.next274.1 = add nuw nsw i64 %indvars.iv273, 2
  %niter332.next.1 = add i64 %niter332, 2
  %niter332.ncmp.1.not = icmp eq i64 %niter332.next.1, %unroll_iter331
  br i1 %niter332.ncmp.1.not, label %._crit_edge204.loopexit.unr-lcssa, label %152, !llvm.loop !25

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge216
  %indvars.iv296 = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next297, %._crit_edge216 ]
  %indvars.iv292 = phi i32 [ %.lcssa174, %.preheader.preheader ], [ %indvars.iv.next293, %._crit_edge216 ]
  %163 = zext i32 %indvars.iv292 to i64
  %164 = sub nsw i64 %.pre-phi308, %indvars.iv296
  %.not213 = icmp slt i64 %164, 0
  br i1 %.not213, label %._crit_edge216, label %.lr.ph215

.lr.ph215:                                        ; preds = %.preheader
  %165 = add nsw i64 %indvars.iv296, -1
  %166 = trunc i64 %164 to i32
  %167 = add i32 %166, 1
  %168 = sitofp i32 %167 to x86_fp80
  %xtraiter334 = and i64 %163, 1
  %169 = icmp eq i32 %indvars.iv292, 1
  br i1 %169, label %._crit_edge216.loopexit.unr-lcssa, label %.lr.ph215.new

.lr.ph215.new:                                    ; preds = %.lr.ph215
  %unroll_iter336 = and i64 %163, 4294967294
  br label %186

._crit_edge218:                                   ; preds = %._crit_edge216
  %170 = add nsw i32 %.lcssa174, -1
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %171
  %173 = load x86_fp80, ptr %172, align 16, !tbaa !12
  %174 = fneg x86_fp80 %173
  %175 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %171, i64 1
  store x86_fp80 %174, ptr %175, align 16, !tbaa !12
  %176 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %171
  store x86_fp80 %174, ptr %176, align 16, !tbaa !12
  br i1 %.not, label %._crit_edge229, label %.lr.ph228.preheader

.lr.ph228.preheader:                              ; preds = %._crit_edge218
  %177 = add nsw i32 %.lcssa174, -2
  %178 = zext i32 %177 to i64
  br label %.lr.ph228

._crit_edge216.loopexit.unr-lcssa:                ; preds = %186, %.lr.ph215
  %indvars.iv289.unr = phi i64 [ 0, %.lr.ph215 ], [ %indvars.iv.next290.1, %186 ]
  %lcmp.mod335.not = icmp eq i64 %xtraiter334, 0
  br i1 %lcmp.mod335.not, label %._crit_edge216, label %._crit_edge216.loopexit.epilog-lcssa

._crit_edge216.loopexit.epilog-lcssa:             ; preds = %._crit_edge216.loopexit.unr-lcssa
  %indvars.iv.next290.epil = add nuw nsw i64 %indvars.iv289.unr, 1
  %179 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %165, i64 %indvars.iv.next290.epil
  %180 = load x86_fp80, ptr %179, align 16, !tbaa !12
  %181 = trunc nuw nsw i64 %indvars.iv.next290.epil to i32
  %182 = uitofp nneg i32 %181 to x86_fp80
  %183 = fmul x86_fp80 %180, %182
  %184 = fdiv x86_fp80 %183, %168
  %185 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv296, i64 %indvars.iv289.unr
  store x86_fp80 %184, ptr %185, align 16, !tbaa !12
  br label %._crit_edge216

._crit_edge216:                                   ; preds = %._crit_edge216.loopexit.epilog-lcssa, %._crit_edge216.loopexit.unr-lcssa, %.preheader
  %indvars.iv.next297 = add nuw nsw i64 %indvars.iv296, 1
  %indvars.iv.next293 = add i32 %indvars.iv292, -1
  %exitcond300.not = icmp eq i64 %indvars.iv.next297, %wide.trip.count299
  br i1 %exitcond300.not, label %._crit_edge218, label %.preheader, !llvm.loop !26

186:                                              ; preds = %186, %.lr.ph215.new
  %indvars.iv289 = phi i64 [ 0, %.lr.ph215.new ], [ %indvars.iv.next290.1, %186 ]
  %niter337 = phi i64 [ 0, %.lr.ph215.new ], [ %niter337.next.1, %186 ]
  %indvars.iv.next290 = or disjoint i64 %indvars.iv289, 1
  %187 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %165, i64 %indvars.iv.next290
  %188 = load x86_fp80, ptr %187, align 16, !tbaa !12
  %189 = trunc nuw nsw i64 %indvars.iv.next290 to i32
  %190 = uitofp nneg i32 %189 to x86_fp80
  %191 = fmul x86_fp80 %188, %190
  %192 = fdiv x86_fp80 %191, %168
  %193 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv296, i64 %indvars.iv289
  store x86_fp80 %192, ptr %193, align 16, !tbaa !12
  %indvars.iv.next290.1 = add nuw nsw i64 %indvars.iv289, 2
  %194 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %165, i64 %indvars.iv.next290.1
  %195 = load x86_fp80, ptr %194, align 16, !tbaa !12
  %196 = trunc nuw nsw i64 %indvars.iv.next290.1 to i32
  %197 = uitofp nneg i32 %196 to x86_fp80
  %198 = fmul x86_fp80 %195, %197
  %199 = fdiv x86_fp80 %198, %168
  %200 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv296, i64 %indvars.iv.next290
  store x86_fp80 %199, ptr %200, align 16, !tbaa !12
  %niter337.next.1 = add i64 %niter337, 2
  %niter337.ncmp.1 = icmp eq i64 %niter337.next.1, %unroll_iter336
  br i1 %niter337.ncmp.1, label %._crit_edge216.loopexit.unr-lcssa, label %186, !llvm.loop !27

._crit_edge229.critedge:                          ; preds = %._crit_edge196, %.preheader164
  %201 = add nsw i32 %.lcssa174, -1
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %202
  %204 = load x86_fp80, ptr %203, align 16, !tbaa !12
  %205 = fneg x86_fp80 %204
  %206 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %202, i64 1
  store x86_fp80 %205, ptr %206, align 16, !tbaa !12
  %207 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %202
  store x86_fp80 %205, ptr %207, align 16, !tbaa !12
  br label %._crit_edge229

._crit_edge229:                                   ; preds = %._crit_edge225, %._crit_edge229.critedge, %._crit_edge218
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  %208 = load x86_fp80, ptr @rt, align 16, !tbaa !12
  %209 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %208)
  store x86_fp80 %209, ptr %2, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  %210 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @rt, i64 16), align 16, !tbaa !12
  %211 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %210)
  store x86_fp80 %211, ptr %3, align 16, !tbaa !12
  %212 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) %3)
  %213 = load x86_fp80, ptr %212, align 16, !tbaa !12
  %214 = call x86_fp80 @sqrtl(x86_fp80 noundef %213) #7
  %215 = fdiv x86_fp80 0xK3FFF8000000000000000, %214
  %216 = fptrunc x86_fp80 %215 to double
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  %217 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %216)
  ret i32 0

.lr.ph228:                                        ; preds = %.lr.ph228.preheader, %._crit_edge225
  %indvars.iv301 = phi i64 [ %178, %.lr.ph228.preheader ], [ %indvars.iv.next302, %._crit_edge225 ]
  %218 = add nuw nsw i64 %indvars.iv301, 1
  %219 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %218
  %220 = load x86_fp80, ptr %219, align 16, !tbaa !12
  %221 = fadd x86_fp80 %220, 0xKBFFF8000000000000000
  %222 = getelementptr inbounds [17 x [2 x x86_fp80]], ptr @rt, i64 0, i64 %indvars.iv301
  %223 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %indvars.iv301
  store x86_fp80 %221, ptr %222, align 16, !tbaa !12
  %224 = load i32, ptr @n, align 4, !tbaa !5
  %225 = trunc nuw nsw i64 %indvars.iv301 to i32
  %226 = sub nsw i32 %224, %225
  %227 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %226, ptr noundef nonnull %223, x86_fp80 noundef %221)
  %228 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %227)
  %229 = fcmp olt x86_fp80 %228, 0xK3FCD901D7CF73AB0ACD9
  br i1 %229, label %._crit_edge221, label %.lr.ph220

.lr.ph220:                                        ; preds = %.lr.ph228
  %230 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %218
  br label %231

231:                                              ; preds = %.lr.ph220, %231
  %232 = phi x86_fp80 [ %227, %.lr.ph220 ], [ %245, %231 ]
  %233 = load i32, ptr @n, align 4, !tbaa !5
  %234 = sub nsw i32 %233, %225
  %235 = sitofp i32 %234 to x86_fp80
  %236 = fdiv x86_fp80 %232, %235
  %237 = add nsw i32 %234, -1
  %238 = load x86_fp80, ptr %222, align 16, !tbaa !12
  %239 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %237, ptr noundef nonnull %230, x86_fp80 noundef %238)
  %240 = fdiv x86_fp80 %236, %239
  %241 = load x86_fp80, ptr %222, align 16, !tbaa !12
  %242 = fsub x86_fp80 %241, %240
  store x86_fp80 %242, ptr %222, align 16, !tbaa !12
  %243 = load i32, ptr @n, align 4, !tbaa !5
  %244 = sub nsw i32 %243, %225
  %245 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %244, ptr noundef nonnull %223, x86_fp80 noundef %242)
  %246 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %245)
  %247 = fcmp olt x86_fp80 %246, 0xK3FCD901D7CF73AB0ACD9
  br i1 %247, label %._crit_edge221, label %231

._crit_edge221:                                   ; preds = %231, %.lr.ph228
  %248 = getelementptr inbounds i8, ptr %219, i64 16
  %249 = load x86_fp80, ptr %248, align 16, !tbaa !12
  %250 = fadd x86_fp80 %249, 0xK3FFF8000000000000000
  %251 = getelementptr inbounds i8, ptr %222, i64 16
  store x86_fp80 %250, ptr %251, align 16, !tbaa !12
  %252 = load i32, ptr @n, align 4, !tbaa !5
  %253 = sub nsw i32 %252, %225
  %254 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %253, ptr noundef nonnull %223, x86_fp80 noundef %250)
  %255 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %254)
  %256 = fcmp olt x86_fp80 %255, 0xK3FCD901D7CF73AB0ACD9
  br i1 %256, label %._crit_edge225, label %.lr.ph224

.lr.ph224:                                        ; preds = %._crit_edge221
  %257 = getelementptr inbounds [17 x [17 x x86_fp80]], ptr @poly, i64 0, i64 %218
  br label %258

258:                                              ; preds = %.lr.ph224, %258
  %259 = phi x86_fp80 [ %254, %.lr.ph224 ], [ %272, %258 ]
  %260 = load i32, ptr @n, align 4, !tbaa !5
  %261 = sub nsw i32 %260, %225
  %262 = sitofp i32 %261 to x86_fp80
  %263 = fdiv x86_fp80 %259, %262
  %264 = add nsw i32 %261, -1
  %265 = load x86_fp80, ptr %251, align 16, !tbaa !12
  %266 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %264, ptr noundef nonnull %257, x86_fp80 noundef %265)
  %267 = fdiv x86_fp80 %263, %266
  %268 = load x86_fp80, ptr %251, align 16, !tbaa !12
  %269 = fsub x86_fp80 %268, %267
  store x86_fp80 %269, ptr %251, align 16, !tbaa !12
  %270 = load i32, ptr @n, align 4, !tbaa !5
  %271 = sub nsw i32 %270, %225
  %272 = call noundef x86_fp80 @_Z4evaliPee(i32 noundef %271, ptr noundef nonnull %223, x86_fp80 noundef %269)
  %273 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %272)
  %274 = fcmp olt x86_fp80 %273, 0xK3FCD901D7CF73AB0ACD9
  br i1 %274, label %._crit_edge225, label %258

._crit_edge225:                                   ; preds = %258, %._crit_edge221
  %indvars.iv.next302 = add nsw i64 %indvars.iv301, -1
  %275 = icmp sgt i64 %indvars.iv301, 0
  br i1 %275, label %.lr.ph228, label %._crit_edge229, !llvm.loop !28
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIeENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z4evaliPee(i32 noundef, ptr noundef, x86_fp80 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare x86_fp80 @sqrtl(x86_fp80 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

!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 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.unswitch.partial.disable"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long double", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass