; LLVM IR from sunkafei/xcpc-algorithm-templates :: 算法/数学算法 (多项式拟合（辛普森积分）)

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

@a = external dso_local global [110 x [110 x x86_fp80]], align 16
@pl = external dso_local global [110 x x86_fp80], align 16
@pr = external dso_local global [110 x x86_fp80], align 16
@c = external dso_local global [110 x x86_fp80], align 16
@pos = external dso_local global i32, align 4
@_ZL1L = external hidden global x86_fp80, align 16
@_ZL1R = external hidden global x86_fp80, align 16
@.str = external hidden unnamed_addr constant [8 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z4asmeeee(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca x86_fp80, align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca x86_fp80, align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca x86_fp80, align 16
  %13 = alloca i32, align 4
  %14 = alloca x86_fp80, align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  store x86_fp80 0xK3FFF8000000000000000, ptr @pr, align 16, !tbaa !5
  store x86_fp80 0xK3FFF8000000000000000, ptr @pl, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %42, %0
  %18 = load i32, ptr %2, align 4, !tbaa !9
  %19 = icmp slt i32 %18, 110
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %45

21:                                               ; preds = %17
  %22 = load i32, ptr %2, align 4, !tbaa !9
  %23 = sub nsw i32 %22, 1
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %24
  %26 = load x86_fp80, ptr %25, align 16, !tbaa !5
  %27 = load x86_fp80, ptr @_ZL1L, align 16, !tbaa !5
  %28 = fmul x86_fp80 %26, %27
  %29 = load i32, ptr %2, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %30
  store x86_fp80 %28, ptr %31, align 16, !tbaa !5
  %32 = load i32, ptr %2, align 4, !tbaa !9
  %33 = sub nsw i32 %32, 1
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %34
  %36 = load x86_fp80, ptr %35, align 16, !tbaa !5
  %37 = load x86_fp80, ptr @_ZL1R, align 16, !tbaa !5
  %38 = fmul x86_fp80 %36, %37
  %39 = load i32, ptr %2, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %40
  store x86_fp80 %38, ptr %41, align 16, !tbaa !5
  br label %42

42:                                               ; preds = %21
  %43 = load i32, ptr %2, align 4, !tbaa !9
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %2, align 4, !tbaa !9
  br label %17, !llvm.loop !11

45:                                               ; preds = %20
  %46 = load x86_fp80, ptr @_ZL1R, align 16, !tbaa !5
  %47 = load x86_fp80, ptr @_ZL1L, align 16, !tbaa !5
  %48 = fsub x86_fp80 %46, %47
  %49 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %48)
  %50 = fdiv x86_fp80 0xK3FFF8000000000000000, %49
  store x86_fp80 %50, ptr @a, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %220, %45
  %52 = load i32, ptr %3, align 4, !tbaa !9
  %53 = icmp sle i32 %52, 15
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %223

55:                                               ; preds = %51
  %56 = load i32, ptr %3, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %57
  %59 = load i32, ptr %3, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [110 x x86_fp80], ptr %58, i64 0, i64 %60
  store x86_fp80 0xK3FFF8000000000000000, ptr %61, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %136, %55
  %63 = load i32, ptr %5, align 4, !tbaa !9
  %64 = load i32, ptr %3, align 4, !tbaa !9
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %139

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  store x86_fp80 0xK00000000000000000000, ptr %6, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %105, %67
  %69 = load i32, ptr %7, align 4, !tbaa !9
  %70 = load i32, ptr %5, align 4, !tbaa !9
  %71 = icmp sle i32 %69, %70
  br i1 %71, label %73, label %72

72:                                               ; preds = %68
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %108

73:                                               ; preds = %68
  %74 = load i32, ptr %5, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %75
  %77 = load i32, ptr %7, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [110 x x86_fp80], ptr %76, i64 0, i64 %78
  %80 = load x86_fp80, ptr %79, align 16, !tbaa !5
  %81 = load i32, ptr %3, align 4, !tbaa !9
  %82 = load i32, ptr %7, align 4, !tbaa !9
  %83 = add nsw i32 %81, %82
  %84 = add nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %85
  %87 = load x86_fp80, ptr %86, align 16, !tbaa !5
  %88 = load i32, ptr %3, align 4, !tbaa !9
  %89 = load i32, ptr %7, align 4, !tbaa !9
  %90 = add nsw i32 %88, %89
  %91 = add nsw i32 %90, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %92
  %94 = load x86_fp80, ptr %93, align 16, !tbaa !5
  %95 = fsub x86_fp80 %87, %94
  %96 = fmul x86_fp80 %80, %95
  %97 = load i32, ptr %3, align 4, !tbaa !9
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = add nsw i32 %97, %98
  %100 = add nsw i32 %99, 1
  %101 = sitofp i32 %100 to x86_fp80
  %102 = fdiv x86_fp80 %96, %101
  %103 = load x86_fp80, ptr %6, align 16, !tbaa !5
  %104 = fadd x86_fp80 %103, %102
  store x86_fp80 %104, ptr %6, align 16, !tbaa !5
  br label %105

105:                                              ; preds = %73
  %106 = load i32, ptr %7, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %7, align 4, !tbaa !9
  br label %68, !llvm.loop !13

108:                                              ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %109

109:                                              ; preds = %132, %108
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = load i32, ptr %5, align 4, !tbaa !9
  %112 = icmp sle i32 %110, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %109
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %135

114:                                              ; preds = %109
  %115 = load x86_fp80, ptr %6, align 16, !tbaa !5
  %116 = load i32, ptr %5, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %117
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [110 x x86_fp80], ptr %118, i64 0, i64 %120
  %122 = load x86_fp80, ptr %121, align 16, !tbaa !5
  %123 = load i32, ptr %3, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %124
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [110 x x86_fp80], ptr %125, i64 0, i64 %127
  %129 = load x86_fp80, ptr %128, align 16, !tbaa !5
  %130 = fneg x86_fp80 %115
  %131 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %130, x86_fp80 %122, x86_fp80 %129)
  store x86_fp80 %131, ptr %128, align 16, !tbaa !5
  br label %132

132:                                              ; preds = %114
  %133 = load i32, ptr %8, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %8, align 4, !tbaa !9
  br label %109, !llvm.loop !14

135:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  br label %136

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

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

140:                                              ; preds = %195, %139
  %141 = load i32, ptr %10, align 4, !tbaa !9
  %142 = load i32, ptr %3, align 4, !tbaa !9
  %143 = icmp sle i32 %141, %142
  br i1 %143, label %145, label %144

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

145:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %191, %145
  %147 = load i32, ptr %11, align 4, !tbaa !9
  %148 = load i32, ptr %3, align 4, !tbaa !9
  %149 = icmp sle i32 %147, %148
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  store i32 20, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %194

151:                                              ; preds = %146
  %152 = load i32, ptr %3, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %153
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [110 x x86_fp80], ptr %154, i64 0, i64 %156
  %158 = load x86_fp80, ptr %157, align 16, !tbaa !5
  %159 = load i32, ptr %3, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %160
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [110 x x86_fp80], ptr %161, i64 0, i64 %163
  %165 = load x86_fp80, ptr %164, align 16, !tbaa !5
  %166 = fmul x86_fp80 %158, %165
  %167 = load i32, ptr %10, align 4, !tbaa !9
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = add nsw i32 %167, %168
  %170 = add nsw i32 %169, 1
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %171
  %173 = load x86_fp80, ptr %172, align 16, !tbaa !5
  %174 = load i32, ptr %10, align 4, !tbaa !9
  %175 = load i32, ptr %11, align 4, !tbaa !9
  %176 = add nsw i32 %174, %175
  %177 = add nsw i32 %176, 1
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %178
  %180 = load x86_fp80, ptr %179, align 16, !tbaa !5
  %181 = fsub x86_fp80 %173, %180
  %182 = fmul x86_fp80 %166, %181
  %183 = load i32, ptr %10, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = add nsw i32 %183, %184
  %186 = add nsw i32 %185, 1
  %187 = sitofp i32 %186 to x86_fp80
  %188 = fdiv x86_fp80 %182, %187
  %189 = load x86_fp80, ptr %9, align 16, !tbaa !5
  %190 = fadd x86_fp80 %189, %188
  store x86_fp80 %190, ptr %9, align 16, !tbaa !5
  br label %191

191:                                              ; preds = %151
  %192 = load i32, ptr %11, align 4, !tbaa !9
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %11, align 4, !tbaa !9
  br label %146, !llvm.loop !16

194:                                              ; preds = %150
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %10, align 4, !tbaa !9
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %10, align 4, !tbaa !9
  br label %140, !llvm.loop !17

198:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %199 = load x86_fp80, ptr %9, align 16, !tbaa !5
  %200 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %199)
  store x86_fp80 %200, ptr %12, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %201

201:                                              ; preds = %216, %198
  %202 = load i32, ptr %13, align 4, !tbaa !9
  %203 = load i32, ptr %3, align 4, !tbaa !9
  %204 = icmp sle i32 %202, %203
  br i1 %204, label %206, label %205

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

206:                                              ; preds = %201
  %207 = load x86_fp80, ptr %12, align 16, !tbaa !5
  %208 = load i32, ptr %3, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %209
  %211 = load i32, ptr %13, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [110 x x86_fp80], ptr %210, i64 0, i64 %212
  %214 = load x86_fp80, ptr %213, align 16, !tbaa !5
  %215 = fdiv x86_fp80 %214, %207
  store x86_fp80 %215, ptr %213, align 16, !tbaa !5
  br label %216

216:                                              ; preds = %206
  %217 = load i32, ptr %13, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %13, align 4, !tbaa !9
  br label %201, !llvm.loop !18

219:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %3, align 4, !tbaa !9
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %3, align 4, !tbaa !9
  br label %51, !llvm.loop !19

223:                                              ; preds = %54
  store i32 0, ptr @pos, align 4, !tbaa !9
  br label %224

224:                                              ; preds = %254, %223
  %225 = load i32, ptr @pos, align 4, !tbaa !9
  %226 = icmp sle i32 %225, 15
  br i1 %226, label %227, label %257

227:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %228 = load x86_fp80, ptr @_ZL1L, align 16, !tbaa !5
  %229 = load x86_fp80, ptr @_ZL1R, align 16, !tbaa !5
  %230 = call noundef x86_fp80 @_Z4asmeeee(x86_fp80 noundef %228, x86_fp80 noundef %229, x86_fp80 noundef 0xK3FC9E69594BEC44DE15B)
  store x86_fp80 %230, ptr %14, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %231

231:                                              ; preds = %250, %227
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr @pos, align 4, !tbaa !9
  %234 = icmp sle i32 %232, %233
  br i1 %234, label %236, label %235

235:                                              ; preds = %231
  store i32 29, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %253

236:                                              ; preds = %231
  %237 = load i32, ptr @pos, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %238
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [110 x x86_fp80], ptr %239, i64 0, i64 %241
  %243 = load x86_fp80, ptr %242, align 16, !tbaa !5
  %244 = load x86_fp80, ptr %14, align 16, !tbaa !5
  %245 = load i32, ptr %15, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [110 x x86_fp80], ptr @c, i64 0, i64 %246
  %248 = load x86_fp80, ptr %247, align 16, !tbaa !5
  %249 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %243, x86_fp80 %244, x86_fp80 %248)
  store x86_fp80 %249, ptr %247, align 16, !tbaa !5
  br label %250

250:                                              ; preds = %236
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %15, align 4, !tbaa !9
  br label %231, !llvm.loop !20

253:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr @pos, align 4, !tbaa !9
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr @pos, align 4, !tbaa !9
  br label %224, !llvm.loop !21

257:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %258

258:                                              ; preds = %268, %257
  %259 = load i32, ptr %16, align 4, !tbaa !9
  %260 = icmp sle i32 %259, 15
  br i1 %260, label %262, label %261

261:                                              ; preds = %258
  store i32 32, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %271

262:                                              ; preds = %258
  %263 = load i32, ptr %16, align 4, !tbaa !9
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds [110 x x86_fp80], ptr @c, i64 0, i64 %264
  %266 = load x86_fp80, ptr %265, align 16, !tbaa !5
  %267 = call i32 (ptr, ...) @printf(ptr noundef @.str, x86_fp80 noundef %266)
  br label %268

268:                                              ; preds = %262
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %16, align 4, !tbaa !9
  br label %258, !llvm.loop !22

271:                                              ; preds = %261
  ret i32 0
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !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"

@a = external dso_local local_unnamed_addr global [110 x [110 x x86_fp80]], align 16
@pl = external dso_local local_unnamed_addr global [110 x x86_fp80], align 16
@pr = external dso_local local_unnamed_addr global [110 x x86_fp80], align 16
@c = external dso_local local_unnamed_addr global [110 x x86_fp80], align 16
@pos = external dso_local local_unnamed_addr global i32, align 4
@_ZL1L = external hidden local_unnamed_addr global x86_fp80, align 16
@_ZL1R = external hidden local_unnamed_addr global x86_fp80, align 16
@.str = external hidden unnamed_addr constant [8 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z4asmeeee(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  store x86_fp80 0xK3FFF8000000000000000, ptr @pr, align 16, !tbaa !5
  store x86_fp80 0xK3FFF8000000000000000, ptr @pl, align 16, !tbaa !5
  %1 = load x86_fp80, ptr @_ZL1L, align 16, !tbaa !5
  %2 = load x86_fp80, ptr @_ZL1R, align 16, !tbaa !5
  br label %7

3:                                                ; preds = %7
  %4 = fsub x86_fp80 %2, %1
  %5 = tail call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %4)
  %6 = fdiv x86_fp80 0xK3FFF8000000000000000, %5
  store x86_fp80 %6, ptr @a, align 16, !tbaa !5
  br label %19

7:                                                ; preds = %14, %0
  %8 = phi x86_fp80 [ 0xK3FFF8000000000000000, %0 ], [ %17, %14 ]
  %9 = phi x86_fp80 [ 0xK3FFF8000000000000000, %0 ], [ %15, %14 ]
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next.1, %14 ]
  %10 = fmul x86_fp80 %9, %1
  %11 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %indvars.iv
  store x86_fp80 %10, ptr %11, align 16, !tbaa !5
  %12 = fmul x86_fp80 %8, %2
  %13 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %indvars.iv
  store x86_fp80 %12, ptr %13, align 16, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 110
  br i1 %exitcond.not, label %3, label %14, !llvm.loop !9

14:                                               ; preds = %7
  %15 = fmul x86_fp80 %10, %1
  %16 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %indvars.iv.next
  store x86_fp80 %15, ptr %16, align 16, !tbaa !5
  %17 = fmul x86_fp80 %12, %2
  %18 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %indvars.iv.next
  store x86_fp80 %17, ptr %18, align 16, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  br label %7

.preheader84:                                     ; preds = %.epilog-lcssa170
  store i32 0, ptr @pos, align 4, !tbaa !11
  br label %118

19:                                               ; preds = %3, %.epilog-lcssa170
  %indvars.iv143 = phi i64 [ 1, %3 ], [ %indvars.iv.next144, %.epilog-lcssa170 ]
  %indvars.iv141 = phi i64 [ 2, %3 ], [ %indvars.iv.next142, %.epilog-lcssa170 ]
  %20 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv143
  store x86_fp80 0xK3FFF8000000000000000, ptr %20, align 16, !tbaa !5
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  br label %.preheader87

.preheader87:                                     ; preds = %19, %69
  %indvars.iv118 = phi i64 [ 0, %19 ], [ %indvars.iv.next119, %69 ]
  %indvars.iv116 = phi i64 [ 1, %19 ], [ %indvars.iv.next117, %69 ]
  %xtraiter = and i64 %indvars.iv116, 1
  %21 = icmp eq i64 %indvars.iv118, 0
  br i1 %21, label %.preheader86.unr-lcssa, label %.preheader87.new

.preheader87.new:                                 ; preds = %.preheader87
  %unroll_iter = and i64 %indvars.iv116, 9223372036854775806
  br label %37

.preheader86.unr-lcssa:                           ; preds = %37, %.preheader87
  %.lcssa.ph = phi x86_fp80 [ poison, %.preheader87 ], [ %63, %37 ]
  %indvars.iv105.unr = phi i64 [ 0, %.preheader87 ], [ %indvars.iv.next106.1, %37 ]
  %.07491.unr = phi x86_fp80 [ 0xK00000000000000000000, %.preheader87 ], [ %63, %37 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader86, label %.preheader86.epilog-lcssa

.preheader86.epilog-lcssa:                        ; preds = %.preheader86.unr-lcssa
  %22 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv118, i64 %indvars.iv105.unr
  %23 = load x86_fp80, ptr %22, align 16, !tbaa !5
  %24 = add nuw nsw i64 %indvars.iv.next144, %indvars.iv105.unr
  %25 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %24
  %26 = load x86_fp80, ptr %25, align 16, !tbaa !5
  %27 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %24
  %28 = load x86_fp80, ptr %27, align 16, !tbaa !5
  %29 = fsub x86_fp80 %26, %28
  %30 = fmul x86_fp80 %23, %29
  %31 = trunc nuw nsw i64 %24 to i32
  %32 = uitofp nneg i32 %31 to x86_fp80
  %33 = fdiv x86_fp80 %30, %32
  %34 = fadd x86_fp80 %.07491.unr, %33
  br label %.preheader86

.preheader86:                                     ; preds = %.preheader86.unr-lcssa, %.preheader86.epilog-lcssa
  %.lcssa = phi x86_fp80 [ %.lcssa.ph, %.preheader86.unr-lcssa ], [ %34, %.preheader86.epilog-lcssa ]
  %35 = fneg x86_fp80 %.lcssa
  %xtraiter162 = and i64 %indvars.iv116, 1
  %36 = icmp eq i64 %indvars.iv118, 0
  br i1 %36, label %.unr-lcssa, label %.preheader86.new

.preheader86.new:                                 ; preds = %.preheader86
  %unroll_iter164 = and i64 %indvars.iv116, 9223372036854775806
  br label %70

37:                                               ; preds = %37, %.preheader87.new
  %indvars.iv105 = phi i64 [ 0, %.preheader87.new ], [ %indvars.iv.next106.1, %37 ]
  %.07491 = phi x86_fp80 [ 0xK00000000000000000000, %.preheader87.new ], [ %63, %37 ]
  %niter = phi i64 [ 0, %.preheader87.new ], [ %niter.next.1, %37 ]
  %38 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv118, i64 %indvars.iv105
  %39 = load x86_fp80, ptr %38, align 16, !tbaa !5
  %40 = add nuw nsw i64 %indvars.iv.next144, %indvars.iv105
  %41 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %40
  %42 = load x86_fp80, ptr %41, align 16, !tbaa !5
  %43 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %40
  %44 = load x86_fp80, ptr %43, align 16, !tbaa !5
  %45 = fsub x86_fp80 %42, %44
  %46 = fmul x86_fp80 %39, %45
  %47 = trunc nuw nsw i64 %40 to i32
  %48 = uitofp nneg i32 %47 to x86_fp80
  %49 = fdiv x86_fp80 %46, %48
  %50 = fadd x86_fp80 %.07491, %49
  %indvars.iv.next106 = or disjoint i64 %indvars.iv105, 1
  %51 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv118, i64 %indvars.iv.next106
  %52 = load x86_fp80, ptr %51, align 16, !tbaa !5
  %53 = add nuw nsw i64 %indvars.iv.next144, %indvars.iv.next106
  %54 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %53
  %55 = load x86_fp80, ptr %54, align 16, !tbaa !5
  %56 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %53
  %57 = load x86_fp80, ptr %56, align 16, !tbaa !5
  %58 = fsub x86_fp80 %55, %57
  %59 = fmul x86_fp80 %52, %58
  %60 = trunc nuw nsw i64 %53 to i32
  %61 = uitofp nneg i32 %60 to x86_fp80
  %62 = fdiv x86_fp80 %59, %61
  %63 = fadd x86_fp80 %50, %62
  %indvars.iv.next106.1 = add nuw nsw i64 %indvars.iv105, 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 %.preheader86.unr-lcssa, label %37, !llvm.loop !13

.unr-lcssa:                                       ; preds = %70, %.preheader86
  %indvars.iv111.unr = phi i64 [ 0, %.preheader86 ], [ %indvars.iv.next112.1, %70 ]
  %lcmp.mod163.not = icmp eq i64 %xtraiter162, 0
  br i1 %lcmp.mod163.not, label %69, label %.epilog-lcssa

.epilog-lcssa:                                    ; preds = %.unr-lcssa
  %64 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv118, i64 %indvars.iv111.unr
  %65 = load x86_fp80, ptr %64, align 16, !tbaa !5
  %66 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv111.unr
  %67 = load x86_fp80, ptr %66, align 16, !tbaa !5
  %68 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %65, x86_fp80 %67)
  store x86_fp80 %68, ptr %66, align 16, !tbaa !5
  br label %69

69:                                               ; preds = %.unr-lcssa, %.epilog-lcssa
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %exitcond124.not = icmp eq i64 %indvars.iv.next119, %indvars.iv143
  br i1 %exitcond124.not, label %.preheader85, label %.preheader87, !llvm.loop !14

70:                                               ; preds = %70, %.preheader86.new
  %indvars.iv111 = phi i64 [ 0, %.preheader86.new ], [ %indvars.iv.next112.1, %70 ]
  %niter165 = phi i64 [ 0, %.preheader86.new ], [ %niter165.next.1, %70 ]
  %71 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv118, i64 %indvars.iv111
  %72 = load x86_fp80, ptr %71, align 16, !tbaa !5
  %73 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv111
  %74 = load x86_fp80, ptr %73, align 16, !tbaa !5
  %75 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %72, x86_fp80 %74)
  store x86_fp80 %75, ptr %73, align 16, !tbaa !5
  %indvars.iv.next112 = or disjoint i64 %indvars.iv111, 1
  %76 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv118, i64 %indvars.iv.next112
  %77 = load x86_fp80, ptr %76, align 16, !tbaa !5
  %78 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv.next112
  %79 = load x86_fp80, ptr %78, align 16, !tbaa !5
  %80 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %77, x86_fp80 %79)
  store x86_fp80 %80, ptr %78, align 16, !tbaa !5
  %indvars.iv.next112.1 = add nuw nsw i64 %indvars.iv111, 2
  %niter165.next.1 = add i64 %niter165, 2
  %niter165.ncmp.1 = icmp eq i64 %niter165.next.1, %unroll_iter164
  br i1 %niter165.ncmp.1, label %.unr-lcssa, label %70, !llvm.loop !15

.preheader85:                                     ; preds = %69, %86
  %indvars.iv131 = phi i64 [ %indvars.iv.next132, %86 ], [ 0, %69 ]
  %.07396 = phi x86_fp80 [ %101, %86 ], [ 0xK00000000000000000000, %69 ]
  %81 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv131
  %82 = load x86_fp80, ptr %81, align 16, !tbaa !5
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  br label %87

83:                                               ; preds = %86
  %84 = tail call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %101)
  %xtraiter168 = and i64 %indvars.iv141, 3
  %85 = icmp ult i64 %indvars.iv143, 3
  br i1 %85, label %.unr-lcssa166, label %.new

.new:                                             ; preds = %83
  %unroll_iter171 = and i64 %indvars.iv141, 9223372036854775804
  br label %105

86:                                               ; preds = %87
  %exitcond135.not = icmp eq i64 %indvars.iv.next132, %indvars.iv141
  br i1 %exitcond135.not, label %83, label %.preheader85, !llvm.loop !16

87:                                               ; preds = %.preheader85, %87
  %indvars.iv125 = phi i64 [ 0, %.preheader85 ], [ %indvars.iv.next126, %87 ]
  %.194 = phi x86_fp80 [ %.07396, %.preheader85 ], [ %101, %87 ]
  %88 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv125
  %89 = load x86_fp80, ptr %88, align 16, !tbaa !5
  %90 = fmul x86_fp80 %82, %89
  %91 = add nuw nsw i64 %indvars.iv.next132, %indvars.iv125
  %92 = getelementptr inbounds [110 x x86_fp80], ptr @pr, i64 0, i64 %91
  %93 = load x86_fp80, ptr %92, align 16, !tbaa !5
  %94 = getelementptr inbounds [110 x x86_fp80], ptr @pl, i64 0, i64 %91
  %95 = load x86_fp80, ptr %94, align 16, !tbaa !5
  %96 = fsub x86_fp80 %93, %95
  %97 = fmul x86_fp80 %90, %96
  %98 = trunc nuw nsw i64 %91 to i32
  %99 = uitofp nneg i32 %98 to x86_fp80
  %100 = fdiv x86_fp80 %97, %99
  %101 = fadd x86_fp80 %.194, %100
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %exitcond130.not = icmp eq i64 %indvars.iv.next126, %indvars.iv141
  br i1 %exitcond130.not, label %86, label %87, !llvm.loop !17

.unr-lcssa166:                                    ; preds = %105, %83
  %indvars.iv136.unr = phi i64 [ 0, %83 ], [ %indvars.iv.next137.3, %105 ]
  %lcmp.mod169.not = icmp eq i64 %xtraiter168, 0
  br i1 %lcmp.mod169.not, label %.epilog-lcssa170, label %.epil.preheader167

.epil.preheader167:                               ; preds = %.unr-lcssa166, %.epil.preheader167
  %indvars.iv136.epil = phi i64 [ %indvars.iv.next137.epil, %.epil.preheader167 ], [ %indvars.iv136.unr, %.unr-lcssa166 ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader167 ], [ 0, %.unr-lcssa166 ]
  %102 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv136.epil
  %103 = load x86_fp80, ptr %102, align 16, !tbaa !5
  %104 = fdiv x86_fp80 %103, %84
  store x86_fp80 %104, ptr %102, align 16, !tbaa !5
  %indvars.iv.next137.epil = add nuw nsw i64 %indvars.iv136.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter168
  br i1 %epil.iter.cmp.not, label %.epilog-lcssa170, label %.epil.preheader167, !llvm.loop !18

.epilog-lcssa170:                                 ; preds = %.epil.preheader167, %.unr-lcssa166
  %indvars.iv.next142 = add nuw nsw i64 %indvars.iv141, 1
  %exitcond148.not = icmp eq i64 %indvars.iv.next144, 16
  br i1 %exitcond148.not, label %.preheader84, label %19, !llvm.loop !20

105:                                              ; preds = %105, %.new
  %indvars.iv136 = phi i64 [ 0, %.new ], [ %indvars.iv.next137.3, %105 ]
  %niter172 = phi i64 [ 0, %.new ], [ %niter172.next.3, %105 ]
  %106 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv136
  %107 = load x86_fp80, ptr %106, align 16, !tbaa !5
  %108 = fdiv x86_fp80 %107, %84
  store x86_fp80 %108, ptr %106, align 16, !tbaa !5
  %indvars.iv.next137 = or disjoint i64 %indvars.iv136, 1
  %109 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv.next137
  %110 = load x86_fp80, ptr %109, align 16, !tbaa !5
  %111 = fdiv x86_fp80 %110, %84
  store x86_fp80 %111, ptr %109, align 16, !tbaa !5
  %indvars.iv.next137.1 = or disjoint i64 %indvars.iv136, 2
  %112 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv.next137.1
  %113 = load x86_fp80, ptr %112, align 16, !tbaa !5
  %114 = fdiv x86_fp80 %113, %84
  store x86_fp80 %114, ptr %112, align 16, !tbaa !5
  %indvars.iv.next137.2 = or disjoint i64 %indvars.iv136, 3
  %115 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %indvars.iv143, i64 %indvars.iv.next137.2
  %116 = load x86_fp80, ptr %115, align 16, !tbaa !5
  %117 = fdiv x86_fp80 %116, %84
  store x86_fp80 %117, ptr %115, align 16, !tbaa !5
  %indvars.iv.next137.3 = add nuw nsw i64 %indvars.iv136, 4
  %niter172.next.3 = add i64 %niter172, 4
  %niter172.ncmp.3 = icmp eq i64 %niter172.next.3, %unroll_iter171
  br i1 %niter172.ncmp.3, label %.unr-lcssa166, label %105, !llvm.loop !21

118:                                              ; preds = %.preheader84, %._crit_edge
  %119 = load x86_fp80, ptr @_ZL1L, align 16, !tbaa !5
  %120 = load x86_fp80, ptr @_ZL1R, align 16, !tbaa !5
  %121 = tail call noundef x86_fp80 @_Z4asmeeee(x86_fp80 noundef %119, x86_fp80 noundef %120, x86_fp80 noundef 0xK3FC9E69594BEC44DE15B)
  %122 = load i32, ptr @pos, align 4, !tbaa !11
  %.not100 = icmp slt i32 %122, 0
  br i1 %.not100, label %.._crit_edge_crit_edge, label %.lr.ph

.._crit_edge_crit_edge:                           ; preds = %118
  %.pre = add nsw i32 %122, 1
  br label %._crit_edge

.lr.ph:                                           ; preds = %118
  %123 = zext nneg i32 %122 to i64
  %124 = add nuw i32 %122, 1
  %wide.trip.count = zext i32 %124 to i64
  %xtraiter174 = and i64 %wide.trip.count, 1
  %125 = icmp eq i32 %122, 0
  br i1 %125, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter177 = and i64 %wide.trip.count, 4294967294
  br label %164

._crit_edge.loopexit.unr-lcssa:                   ; preds = %164, %.lr.ph
  %indvars.iv149.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next150.1, %164 ]
  %lcmp.mod176.not = icmp eq i64 %xtraiter174, 0
  br i1 %lcmp.mod176.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %126 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %123, i64 %indvars.iv149.unr
  %127 = load x86_fp80, ptr %126, align 16, !tbaa !5
  %128 = getelementptr inbounds [110 x x86_fp80], ptr @c, i64 0, i64 %indvars.iv149.unr
  %129 = load x86_fp80, ptr %128, align 16, !tbaa !5
  %130 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %127, x86_fp80 %121, x86_fp80 %129)
  store x86_fp80 %130, ptr %128, align 16, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %.._crit_edge_crit_edge
  %.pre-phi = phi i32 [ %.pre, %.._crit_edge_crit_edge ], [ %124, %._crit_edge.loopexit.unr-lcssa ], [ %124, %._crit_edge.loopexit.epilog-lcssa ]
  store i32 %.pre-phi, ptr @pos, align 4, !tbaa !11
  %131 = icmp slt i32 %122, 15
  br i1 %131, label %118, label %.preheader.preheader, !llvm.loop !22

.preheader.preheader:                             ; preds = %._crit_edge
  %132 = load x86_fp80, ptr @c, align 16, !tbaa !5
  %133 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %132)
  %134 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 16), align 16, !tbaa !5
  %135 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %134)
  %136 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 32), align 16, !tbaa !5
  %137 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %136)
  %138 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 48), align 16, !tbaa !5
  %139 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %138)
  %140 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 64), align 16, !tbaa !5
  %141 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %140)
  %142 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 80), align 16, !tbaa !5
  %143 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %142)
  %144 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 96), align 16, !tbaa !5
  %145 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %144)
  %146 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 112), align 16, !tbaa !5
  %147 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %146)
  %148 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 128), align 16, !tbaa !5
  %149 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %148)
  %150 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 144), align 16, !tbaa !5
  %151 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %150)
  %152 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 160), align 16, !tbaa !5
  %153 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %152)
  %154 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 176), align 16, !tbaa !5
  %155 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %154)
  %156 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 192), align 16, !tbaa !5
  %157 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %156)
  %158 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 208), align 16, !tbaa !5
  %159 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %158)
  %160 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 224), align 16, !tbaa !5
  %161 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %160)
  %162 = load x86_fp80, ptr getelementptr inbounds (i8, ptr @c, i64 240), align 16, !tbaa !5
  %163 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, x86_fp80 noundef %162)
  ret i32 0

164:                                              ; preds = %164, %.lr.ph.new
  %indvars.iv149 = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next150.1, %164 ]
  %niter178 = phi i64 [ 0, %.lr.ph.new ], [ %niter178.next.1, %164 ]
  %165 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %123, i64 %indvars.iv149
  %166 = load x86_fp80, ptr %165, align 16, !tbaa !5
  %167 = getelementptr inbounds [110 x x86_fp80], ptr @c, i64 0, i64 %indvars.iv149
  %168 = load x86_fp80, ptr %167, align 16, !tbaa !5
  %169 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %166, x86_fp80 %121, x86_fp80 %168)
  store x86_fp80 %169, ptr %167, align 16, !tbaa !5
  %indvars.iv.next150 = or disjoint i64 %indvars.iv149, 1
  %170 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @a, i64 0, i64 %123, i64 %indvars.iv.next150
  %171 = load x86_fp80, ptr %170, align 16, !tbaa !5
  %172 = getelementptr inbounds [110 x x86_fp80], ptr @c, i64 0, i64 %indvars.iv.next150
  %173 = load x86_fp80, ptr %172, align 16, !tbaa !5
  %174 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %171, x86_fp80 %121, x86_fp80 %173)
  store x86_fp80 %174, ptr %172, align 16, !tbaa !5
  %indvars.iv.next150.1 = add nuw nsw i64 %indvars.iv149, 2
  %niter178.next.1 = add i64 %niter178, 2
  %niter178.ncmp.1 = icmp eq i64 %niter178.next.1, %unroll_iter177
  br i1 %niter178.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %164, !llvm.loop !23
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 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 #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 = { 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" }

!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 = !{!"long double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.unroll.disable"}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}


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