; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (dlamch)

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

%struct.cilist = type { i64, i64, i64, ptr, i64 }

@dlamc2_.first = external hidden global i64, align 8
@dlamc2_.iwarn = external hidden global i64, align 8
@dlamc2_.lt = external hidden global i64, align 8
@dlamc2_.leps = external hidden global double, align 8
@dlamc2_.lbeta = external hidden global i64, align 8
@dlamc2_.lemin = external hidden global i64, align 8
@dlamc2_.lemax = external hidden global i64, align 8
@dlamc2_.lrmin = external hidden global double, align 8
@dlamc2_.lrmax = external hidden global double, align 8
@dlamc2_.io___58 = external hidden global %struct.cilist, align 8
@c__1 = external hidden global i64, align 8

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

; Function Attrs: nounwind uwtable
define dso_local i32 @dlamc2_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #1 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca i64, align 8
  %30 = alloca double, align 8
  %31 = alloca i64, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca i64, align 8
  %35 = alloca double, align 8
  %36 = alloca i64, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #3
  %42 = load i64, ptr @dlamc2_.first, align 8, !tbaa !9
  %43 = icmp ne i64 %42, 0
  br i1 %43, label %44, label %345

44:                                               ; preds = %8
  store double 0.000000e+00, ptr %32, align 8, !tbaa !11
  store double 1.000000e+00, ptr %27, align 8, !tbaa !11
  store double 2.000000e+00, ptr %28, align 8, !tbaa !11
  %45 = call i32 @dlamc1_(ptr noundef @dlamc2_.lbeta, ptr noundef @dlamc2_.lt, ptr noundef %31, ptr noundef %39)
  %46 = load i64, ptr @dlamc2_.lbeta, align 8, !tbaa !9
  %47 = sitofp i64 %46 to double
  store double %47, ptr %24, align 8, !tbaa !11
  %48 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !9
  %49 = sub nsw i64 0, %48
  store i64 %49, ptr %17, align 8, !tbaa !9
  %50 = call double @pow_di(ptr noundef %24, ptr noundef %17)
  store double %50, ptr %23, align 8, !tbaa !11
  %51 = load double, ptr %23, align 8, !tbaa !11
  store double %51, ptr @dlamc2_.leps, align 8, !tbaa !11
  %52 = load double, ptr %28, align 8, !tbaa !11
  %53 = fdiv double %52, 3.000000e+00
  store double %53, ptr %24, align 8, !tbaa !11
  %54 = load double, ptr %27, align 8, !tbaa !11
  %55 = fdiv double %54, 2.000000e+00
  store double %55, ptr %30, align 8, !tbaa !11
  %56 = load double, ptr %30, align 8, !tbaa !11
  %57 = fneg double %56
  store double %57, ptr %18, align 8, !tbaa !11
  %58 = call double @dlamc3_(ptr noundef %24, ptr noundef %18)
  store double %58, ptr %38, align 8, !tbaa !11
  %59 = call double @dlamc3_(ptr noundef %38, ptr noundef %38)
  store double %59, ptr %37, align 8, !tbaa !11
  %60 = load double, ptr %30, align 8, !tbaa !11
  %61 = fneg double %60
  store double %61, ptr %18, align 8, !tbaa !11
  %62 = call double @dlamc3_(ptr noundef %37, ptr noundef %18)
  store double %62, ptr %24, align 8, !tbaa !11
  %63 = call double @dlamc3_(ptr noundef %24, ptr noundef %38)
  store double %63, ptr %24, align 8, !tbaa !11
  %64 = load double, ptr %24, align 8, !tbaa !11
  %65 = fcmp oge double %64, 0.000000e+00
  br i1 %65, label %66, label %68

66:                                               ; preds = %44
  %67 = load double, ptr %24, align 8, !tbaa !11
  br label %71

68:                                               ; preds = %44
  %69 = load double, ptr %24, align 8, !tbaa !11
  %70 = fneg double %69
  br label %71

71:                                               ; preds = %68, %66
  %72 = phi double [ %67, %66 ], [ %70, %68 ]
  store double %72, ptr %24, align 8, !tbaa !11
  %73 = load double, ptr %24, align 8, !tbaa !11
  %74 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %75 = fcmp olt double %73, %74
  br i1 %75, label %76, label %78

76:                                               ; preds = %71
  %77 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  store double %77, ptr %24, align 8, !tbaa !11
  br label %78

78:                                               ; preds = %76, %71
  store double 1.000000e+00, ptr @dlamc2_.leps, align 8, !tbaa !11
  br label %79

79:                                               ; preds = %87, %78
  %80 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %81 = load double, ptr %24, align 8, !tbaa !11
  %82 = fcmp ogt double %80, %81
  br i1 %82, label %83, label %116

83:                                               ; preds = %79
  %84 = load double, ptr %24, align 8, !tbaa !11
  %85 = load double, ptr %32, align 8, !tbaa !11
  %86 = fcmp ogt double %84, %85
  br i1 %86, label %87, label %116

87:                                               ; preds = %83
  %88 = load double, ptr %24, align 8, !tbaa !11
  store double %88, ptr @dlamc2_.leps, align 8, !tbaa !11
  %89 = load double, ptr %30, align 8, !tbaa !11
  %90 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %91 = fmul double %89, %90
  store double %91, ptr %18, align 8, !tbaa !11
  %92 = load double, ptr %28, align 8, !tbaa !11
  store double %92, ptr %20, align 8, !tbaa !11
  %93 = load double, ptr %20, align 8, !tbaa !11
  store double %93, ptr %21, align 8, !tbaa !11
  %94 = load double, ptr %20, align 8, !tbaa !11
  %95 = load double, ptr %20, align 8, !tbaa !11
  %96 = fmul double %95, %94
  store double %96, ptr %20, align 8, !tbaa !11
  %97 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  store double %97, ptr %22, align 8, !tbaa !11
  %98 = load double, ptr %21, align 8, !tbaa !11
  %99 = load double, ptr %20, align 8, !tbaa !11
  %100 = load double, ptr %20, align 8, !tbaa !11
  %101 = fmul double %99, %100
  %102 = fmul double %98, %101
  %103 = load double, ptr %22, align 8, !tbaa !11
  %104 = load double, ptr %22, align 8, !tbaa !11
  %105 = fmul double %103, %104
  %106 = fmul double %102, %105
  store double %106, ptr %19, align 8, !tbaa !11
  %107 = call double @dlamc3_(ptr noundef %18, ptr noundef %19)
  store double %107, ptr %25, align 8, !tbaa !11
  %108 = load double, ptr %25, align 8, !tbaa !11
  %109 = fneg double %108
  store double %109, ptr %18, align 8, !tbaa !11
  %110 = call double @dlamc3_(ptr noundef %30, ptr noundef %18)
  store double %110, ptr %25, align 8, !tbaa !11
  %111 = call double @dlamc3_(ptr noundef %30, ptr noundef %25)
  store double %111, ptr %24, align 8, !tbaa !11
  %112 = load double, ptr %24, align 8, !tbaa !11
  %113 = fneg double %112
  store double %113, ptr %18, align 8, !tbaa !11
  %114 = call double @dlamc3_(ptr noundef %30, ptr noundef %18)
  store double %114, ptr %25, align 8, !tbaa !11
  %115 = call double @dlamc3_(ptr noundef %30, ptr noundef %25)
  store double %115, ptr %24, align 8, !tbaa !11
  br label %79

116:                                              ; preds = %83, %79
  %117 = load double, ptr %23, align 8, !tbaa !11
  %118 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %119 = fcmp olt double %117, %118
  br i1 %119, label %120, label %122

120:                                              ; preds = %116
  %121 = load double, ptr %23, align 8, !tbaa !11
  store double %121, ptr @dlamc2_.leps, align 8, !tbaa !11
  br label %122

122:                                              ; preds = %120, %116
  %123 = load double, ptr %27, align 8, !tbaa !11
  %124 = load i64, ptr @dlamc2_.lbeta, align 8, !tbaa !9
  %125 = sitofp i64 %124 to double
  %126 = fdiv double %123, %125
  store double %126, ptr %33, align 8, !tbaa !11
  %127 = load double, ptr %27, align 8, !tbaa !11
  store double %127, ptr %35, align 8, !tbaa !11
  store i64 1, ptr %26, align 8, !tbaa !9
  br label %128

128:                                              ; preds = %136, %122
  %129 = load i64, ptr %26, align 8, !tbaa !9
  %130 = icmp sle i64 %129, 3
  br i1 %130, label %131, label %139

131:                                              ; preds = %128
  %132 = load double, ptr %35, align 8, !tbaa !11
  %133 = load double, ptr %33, align 8, !tbaa !11
  %134 = fmul double %132, %133
  store double %134, ptr %18, align 8, !tbaa !11
  %135 = call double @dlamc3_(ptr noundef %18, ptr noundef %32)
  store double %135, ptr %35, align 8, !tbaa !11
  br label %136

136:                                              ; preds = %131
  %137 = load i64, ptr %26, align 8, !tbaa !9
  %138 = add nsw i64 %137, 1
  store i64 %138, ptr %26, align 8, !tbaa !9
  br label %128, !llvm.loop !13

139:                                              ; preds = %128
  %140 = call double @dlamc3_(ptr noundef %27, ptr noundef %35)
  store double %140, ptr %23, align 8, !tbaa !11
  %141 = call i32 @dlamc4_(ptr noundef %41, ptr noundef %27, ptr noundef @dlamc2_.lbeta)
  %142 = load double, ptr %27, align 8, !tbaa !11
  %143 = fneg double %142
  store double %143, ptr %18, align 8, !tbaa !11
  %144 = call i32 @dlamc4_(ptr noundef %40, ptr noundef %18, ptr noundef @dlamc2_.lbeta)
  %145 = call i32 @dlamc4_(ptr noundef %36, ptr noundef %23, ptr noundef @dlamc2_.lbeta)
  %146 = load double, ptr %23, align 8, !tbaa !11
  %147 = fneg double %146
  store double %147, ptr %18, align 8, !tbaa !11
  %148 = call i32 @dlamc4_(ptr noundef %34, ptr noundef %18, ptr noundef @dlamc2_.lbeta)
  store i64 0, ptr %29, align 8, !tbaa !9
  %149 = load i64, ptr %41, align 8, !tbaa !9
  %150 = load i64, ptr %40, align 8, !tbaa !9
  %151 = icmp eq i64 %149, %150
  br i1 %151, label %152, label %184

152:                                              ; preds = %139
  %153 = load i64, ptr %36, align 8, !tbaa !9
  %154 = load i64, ptr %34, align 8, !tbaa !9
  %155 = icmp eq i64 %153, %154
  br i1 %155, label %156, label %184

156:                                              ; preds = %152
  %157 = load i64, ptr %41, align 8, !tbaa !9
  %158 = load i64, ptr %36, align 8, !tbaa !9
  %159 = icmp eq i64 %157, %158
  br i1 %159, label %160, label %162

160:                                              ; preds = %156
  %161 = load i64, ptr %41, align 8, !tbaa !9
  store i64 %161, ptr @dlamc2_.lemin, align 8, !tbaa !9
  br label %183

162:                                              ; preds = %156
  %163 = load i64, ptr %36, align 8, !tbaa !9
  %164 = load i64, ptr %41, align 8, !tbaa !9
  %165 = sub nsw i64 %163, %164
  %166 = icmp eq i64 %165, 3
  br i1 %166, label %167, label %172

167:                                              ; preds = %162
  %168 = load i64, ptr %41, align 8, !tbaa !9
  %169 = sub nsw i64 %168, 1
  %170 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !9
  %171 = add nsw i64 %169, %170
  store i64 %171, ptr @dlamc2_.lemin, align 8, !tbaa !9
  store i64 1, ptr %29, align 8, !tbaa !9
  br label %182

172:                                              ; preds = %162
  %173 = load i64, ptr %41, align 8, !tbaa !9
  %174 = load i64, ptr %36, align 8, !tbaa !9
  %175 = icmp sle i64 %173, %174
  br i1 %175, label %176, label %178

176:                                              ; preds = %172
  %177 = load i64, ptr %41, align 8, !tbaa !9
  br label %180

178:                                              ; preds = %172
  %179 = load i64, ptr %36, align 8, !tbaa !9
  br label %180

180:                                              ; preds = %178, %176
  %181 = phi i64 [ %177, %176 ], [ %179, %178 ]
  store i64 %181, ptr @dlamc2_.lemin, align 8, !tbaa !9
  store i64 1, ptr @dlamc2_.iwarn, align 8, !tbaa !9
  br label %182

182:                                              ; preds = %180, %167
  br label %183

183:                                              ; preds = %182, %160
  br label %312

184:                                              ; preds = %152, %139
  %185 = load i64, ptr %41, align 8, !tbaa !9
  %186 = load i64, ptr %36, align 8, !tbaa !9
  %187 = icmp eq i64 %185, %186
  br i1 %187, label %188, label %227

188:                                              ; preds = %184
  %189 = load i64, ptr %40, align 8, !tbaa !9
  %190 = load i64, ptr %34, align 8, !tbaa !9
  %191 = icmp eq i64 %189, %190
  br i1 %191, label %192, label %227

192:                                              ; preds = %188
  %193 = load i64, ptr %41, align 8, !tbaa !9
  %194 = load i64, ptr %40, align 8, !tbaa !9
  %195 = sub nsw i64 %193, %194
  store i64 %195, ptr %17, align 8, !tbaa !9
  %196 = load i64, ptr %17, align 8, !tbaa !9
  %197 = icmp sge i64 %196, 0
  br i1 %197, label %198, label %200

198:                                              ; preds = %192
  %199 = load i64, ptr %17, align 8, !tbaa !9
  br label %203

200:                                              ; preds = %192
  %201 = load i64, ptr %17, align 8, !tbaa !9
  %202 = sub nsw i64 0, %201
  br label %203

203:                                              ; preds = %200, %198
  %204 = phi i64 [ %199, %198 ], [ %202, %200 ]
  %205 = icmp eq i64 %204, 1
  br i1 %205, label %206, label %216

206:                                              ; preds = %203
  %207 = load i64, ptr %41, align 8, !tbaa !9
  %208 = load i64, ptr %40, align 8, !tbaa !9
  %209 = icmp sge i64 %207, %208
  br i1 %209, label %210, label %212

210:                                              ; preds = %206
  %211 = load i64, ptr %41, align 8, !tbaa !9
  br label %214

212:                                              ; preds = %206
  %213 = load i64, ptr %40, align 8, !tbaa !9
  br label %214

214:                                              ; preds = %212, %210
  %215 = phi i64 [ %211, %210 ], [ %213, %212 ]
  store i64 %215, ptr @dlamc2_.lemin, align 8, !tbaa !9
  br label %226

216:                                              ; preds = %203
  %217 = load i64, ptr %41, align 8, !tbaa !9
  %218 = load i64, ptr %40, align 8, !tbaa !9
  %219 = icmp sle i64 %217, %218
  br i1 %219, label %220, label %222

220:                                              ; preds = %216
  %221 = load i64, ptr %41, align 8, !tbaa !9
  br label %224

222:                                              ; preds = %216
  %223 = load i64, ptr %40, align 8, !tbaa !9
  br label %224

224:                                              ; preds = %222, %220
  %225 = phi i64 [ %221, %220 ], [ %223, %222 ]
  store i64 %225, ptr @dlamc2_.lemin, align 8, !tbaa !9
  store i64 1, ptr @dlamc2_.iwarn, align 8, !tbaa !9
  br label %226

226:                                              ; preds = %224, %214
  br label %311

227:                                              ; preds = %188, %184
  %228 = load i64, ptr %41, align 8, !tbaa !9
  %229 = load i64, ptr %40, align 8, !tbaa !9
  %230 = sub nsw i64 %228, %229
  store i64 %230, ptr %17, align 8, !tbaa !9
  %231 = load i64, ptr %17, align 8, !tbaa !9
  %232 = icmp sge i64 %231, 0
  br i1 %232, label %233, label %235

233:                                              ; preds = %227
  %234 = load i64, ptr %17, align 8, !tbaa !9
  br label %238

235:                                              ; preds = %227
  %236 = load i64, ptr %17, align 8, !tbaa !9
  %237 = sub nsw i64 0, %236
  br label %238

238:                                              ; preds = %235, %233
  %239 = phi i64 [ %234, %233 ], [ %237, %235 ]
  %240 = icmp eq i64 %239, 1
  br i1 %240, label %241, label %282

241:                                              ; preds = %238
  %242 = load i64, ptr %36, align 8, !tbaa !9
  %243 = load i64, ptr %34, align 8, !tbaa !9
  %244 = icmp eq i64 %242, %243
  br i1 %244, label %245, label %282

245:                                              ; preds = %241
  %246 = load i64, ptr %36, align 8, !tbaa !9
  %247 = load i64, ptr %41, align 8, !tbaa !9
  %248 = load i64, ptr %40, align 8, !tbaa !9
  %249 = icmp sle i64 %247, %248
  br i1 %249, label %250, label %252

250:                                              ; preds = %245
  %251 = load i64, ptr %41, align 8, !tbaa !9
  br label %254

252:                                              ; preds = %245
  %253 = load i64, ptr %40, align 8, !tbaa !9
  br label %254

254:                                              ; preds = %252, %250
  %255 = phi i64 [ %251, %250 ], [ %253, %252 ]
  %256 = sub nsw i64 %246, %255
  %257 = icmp eq i64 %256, 3
  br i1 %257, label %258, label %271

258:                                              ; preds = %254
  %259 = load i64, ptr %41, align 8, !tbaa !9
  %260 = load i64, ptr %40, align 8, !tbaa !9
  %261 = icmp sge i64 %259, %260
  br i1 %261, label %262, label %264

262:                                              ; preds = %258
  %263 = load i64, ptr %41, align 8, !tbaa !9
  br label %266

264:                                              ; preds = %258
  %265 = load i64, ptr %40, align 8, !tbaa !9
  br label %266

266:                                              ; preds = %264, %262
  %267 = phi i64 [ %263, %262 ], [ %265, %264 ]
  %268 = sub nsw i64 %267, 1
  %269 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !9
  %270 = add nsw i64 %268, %269
  store i64 %270, ptr @dlamc2_.lemin, align 8, !tbaa !9
  br label %281

271:                                              ; preds = %254
  %272 = load i64, ptr %41, align 8, !tbaa !9
  %273 = load i64, ptr %40, align 8, !tbaa !9
  %274 = icmp sle i64 %272, %273
  br i1 %274, label %275, label %277

275:                                              ; preds = %271
  %276 = load i64, ptr %41, align 8, !tbaa !9
  br label %279

277:                                              ; preds = %271
  %278 = load i64, ptr %40, align 8, !tbaa !9
  br label %279

279:                                              ; preds = %277, %275
  %280 = phi i64 [ %276, %275 ], [ %278, %277 ]
  store i64 %280, ptr @dlamc2_.lemin, align 8, !tbaa !9
  store i64 1, ptr @dlamc2_.iwarn, align 8, !tbaa !9
  br label %281

281:                                              ; preds = %279, %266
  br label %310

282:                                              ; preds = %241, %238
  %283 = load i64, ptr %41, align 8, !tbaa !9
  %284 = load i64, ptr %40, align 8, !tbaa !9
  %285 = icmp sle i64 %283, %284
  br i1 %285, label %286, label %288

286:                                              ; preds = %282
  %287 = load i64, ptr %41, align 8, !tbaa !9
  br label %290

288:                                              ; preds = %282
  %289 = load i64, ptr %40, align 8, !tbaa !9
  br label %290

290:                                              ; preds = %288, %286
  %291 = phi i64 [ %287, %286 ], [ %289, %288 ]
  store i64 %291, ptr %17, align 8, !tbaa !9
  %292 = load i64, ptr %17, align 8, !tbaa !9
  %293 = load i64, ptr %36, align 8, !tbaa !9
  %294 = icmp sle i64 %292, %293
  br i1 %294, label %295, label %297

295:                                              ; preds = %290
  %296 = load i64, ptr %17, align 8, !tbaa !9
  br label %299

297:                                              ; preds = %290
  %298 = load i64, ptr %36, align 8, !tbaa !9
  br label %299

299:                                              ; preds = %297, %295
  %300 = phi i64 [ %296, %295 ], [ %298, %297 ]
  store i64 %300, ptr %17, align 8, !tbaa !9
  %301 = load i64, ptr %17, align 8, !tbaa !9
  %302 = load i64, ptr %34, align 8, !tbaa !9
  %303 = icmp sle i64 %301, %302
  br i1 %303, label %304, label %306

304:                                              ; preds = %299
  %305 = load i64, ptr %17, align 8, !tbaa !9
  br label %308

306:                                              ; preds = %299
  %307 = load i64, ptr %34, align 8, !tbaa !9
  br label %308

308:                                              ; preds = %306, %304
  %309 = phi i64 [ %305, %304 ], [ %307, %306 ]
  store i64 %309, ptr @dlamc2_.lemin, align 8, !tbaa !9
  store i64 1, ptr @dlamc2_.iwarn, align 8, !tbaa !9
  br label %310

310:                                              ; preds = %308, %281
  br label %311

311:                                              ; preds = %310, %226
  br label %312

312:                                              ; preds = %311, %183
  store i64 0, ptr @dlamc2_.first, align 8, !tbaa !9
  %313 = load i64, ptr @dlamc2_.iwarn, align 8, !tbaa !9
  %314 = icmp ne i64 %313, 0
  br i1 %314, label %315, label %319

315:                                              ; preds = %312
  store i64 1, ptr @dlamc2_.first, align 8, !tbaa !9
  %316 = call i64 @s_wsfe(ptr noundef @dlamc2_.io___58)
  %317 = call i64 @do_fio(ptr noundef @c__1, ptr noundef @dlamc2_.lemin, i64 noundef 8)
  %318 = call i64 @e_wsfe()
  br label %319

319:                                              ; preds = %315, %312
  %320 = load i64, ptr %29, align 8, !tbaa !9
  %321 = icmp ne i64 %320, 0
  br i1 %321, label %325, label %322

322:                                              ; preds = %319
  %323 = load i64, ptr %39, align 8, !tbaa !9
  %324 = icmp ne i64 %323, 0
  br label %325

325:                                              ; preds = %322, %319
  %326 = phi i1 [ true, %319 ], [ %324, %322 ]
  %327 = zext i1 %326 to i32
  %328 = sext i32 %327 to i64
  store i64 %328, ptr %29, align 8, !tbaa !9
  store double 1.000000e+00, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  %329 = load i64, ptr @dlamc2_.lemin, align 8, !tbaa !9
  %330 = sub nsw i64 1, %329
  store i64 %330, ptr %17, align 8, !tbaa !9
  store i64 1, ptr %26, align 8, !tbaa !9
  br label %331

331:                                              ; preds = %340, %325
  %332 = load i64, ptr %26, align 8, !tbaa !9
  %333 = load i64, ptr %17, align 8, !tbaa !9
  %334 = icmp sle i64 %332, %333
  br i1 %334, label %335, label %343

335:                                              ; preds = %331
  %336 = load double, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  %337 = load double, ptr %33, align 8, !tbaa !11
  %338 = fmul double %336, %337
  store double %338, ptr %18, align 8, !tbaa !11
  %339 = call double @dlamc3_(ptr noundef %18, ptr noundef %32)
  store double %339, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  br label %340

340:                                              ; preds = %335
  %341 = load i64, ptr %26, align 8, !tbaa !9
  %342 = add nsw i64 %341, 1
  store i64 %342, ptr %26, align 8, !tbaa !9
  br label %331, !llvm.loop !15

343:                                              ; preds = %331
  %344 = call i32 @dlamc5_(ptr noundef @dlamc2_.lbeta, ptr noundef @dlamc2_.lt, ptr noundef @dlamc2_.lemin, ptr noundef %29, ptr noundef @dlamc2_.lemax, ptr noundef @dlamc2_.lrmax)
  br label %345

345:                                              ; preds = %343, %8
  %346 = load i64, ptr @dlamc2_.lbeta, align 8, !tbaa !9
  %347 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 %346, ptr %347, align 8, !tbaa !9
  %348 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !9
  %349 = load ptr, ptr %10, align 8, !tbaa !5
  store i64 %348, ptr %349, align 8, !tbaa !9
  %350 = load i64, ptr %31, align 8, !tbaa !9
  %351 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 %350, ptr %351, align 8, !tbaa !9
  %352 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %353 = load ptr, ptr %12, align 8, !tbaa !5
  store double %352, ptr %353, align 8, !tbaa !11
  %354 = load i64, ptr @dlamc2_.lemin, align 8, !tbaa !9
  %355 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 %354, ptr %355, align 8, !tbaa !9
  %356 = load double, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  %357 = load ptr, ptr %14, align 8, !tbaa !5
  store double %356, ptr %357, align 8, !tbaa !11
  %358 = load i64, ptr @dlamc2_.lemax, align 8, !tbaa !9
  %359 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %358, ptr %359, align 8, !tbaa !9
  %360 = load double, ptr @dlamc2_.lrmax, align 8, !tbaa !11
  %361 = load ptr, ptr %16, align 8, !tbaa !5
  store double %360, ptr %361, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  ret i32 0
}

declare double @pow_di(ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc1_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local double @dlamc3_(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc4_(ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @s_wsfe(ptr noundef) #2

declare i64 @do_fio(ptr noundef, ptr noundef, i64 noundef) #2

declare i64 @e_wsfe() #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { nounwind }

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

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

%struct.cilist = type { i64, i64, i64, ptr, i64 }

@dlamc2_.first = external hidden local_unnamed_addr global i64, align 8
@dlamc2_.iwarn = external hidden local_unnamed_addr global i64, align 8
@dlamc2_.lt = external hidden global i64, align 8
@dlamc2_.leps = external hidden local_unnamed_addr global double, align 8
@dlamc2_.lbeta = external hidden global i64, align 8
@dlamc2_.lemin = external hidden global i64, align 8
@dlamc2_.lemax = external hidden global i64, align 8
@dlamc2_.lrmin = external hidden local_unnamed_addr global double, align 8
@dlamc2_.lrmax = external hidden global double, align 8
@dlamc2_.io___58 = external hidden global %struct.cilist, align 8
@c__1 = external hidden global i64, align 8

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dlamc2_(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7) local_unnamed_addr #1 {
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca i64, align 8
  %21 = alloca double, align 8
  %22 = alloca i64, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #4
  %28 = load i64, ptr @dlamc2_.first, align 8, !tbaa !5
  %.not = icmp eq i64 %28, 0
  br i1 %.not, label %146, label %29

29:                                               ; preds = %8
  store double 0.000000e+00, ptr %19, align 8, !tbaa !9
  store double 1.000000e+00, ptr %15, align 8, !tbaa !9
  %30 = call i32 @dlamc1_(ptr noundef nonnull @dlamc2_.lbeta, ptr noundef nonnull @dlamc2_.lt, ptr noundef nonnull %18, ptr noundef nonnull %25)
  %31 = load i64, ptr @dlamc2_.lbeta, align 8, !tbaa !5
  %32 = sitofp i64 %31 to double
  store double %32, ptr %13, align 8, !tbaa !9
  %33 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !5
  %34 = sub nsw i64 0, %33
  store i64 %34, ptr %9, align 8, !tbaa !5
  %35 = call double @pow_di(ptr noundef nonnull %13, ptr noundef nonnull %9) #4
  store double %35, ptr %12, align 8, !tbaa !9
  store double %35, ptr @dlamc2_.leps, align 8, !tbaa !9
  store double 0x3FE5555555555555, ptr %13, align 8, !tbaa !9
  store double 5.000000e-01, ptr %17, align 8, !tbaa !9
  store double -5.000000e-01, ptr %10, align 8, !tbaa !9
  %36 = call double @dlamc3_(ptr noundef nonnull %13, ptr noundef nonnull %10)
  store double %36, ptr %24, align 8, !tbaa !9
  %37 = call double @dlamc3_(ptr noundef nonnull %24, ptr noundef nonnull %24)
  store double %37, ptr %23, align 8, !tbaa !9
  store double -5.000000e-01, ptr %10, align 8, !tbaa !9
  %38 = call double @dlamc3_(ptr noundef nonnull %23, ptr noundef nonnull %10)
  store double %38, ptr %13, align 8, !tbaa !9
  %39 = call double @dlamc3_(ptr noundef nonnull %13, ptr noundef nonnull %24)
  %40 = fcmp oge double %39, 0.000000e+00
  %41 = fneg double %39
  %42 = select i1 %40, double %39, double %41
  store double %42, ptr %13, align 8, !tbaa !9
  %43 = load double, ptr @dlamc2_.leps, align 8, !tbaa !9
  %44 = fcmp olt double %42, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %29
  store double %43, ptr %13, align 8, !tbaa !9
  br label %46

46:                                               ; preds = %45, %29
  %47 = phi double [ %43, %45 ], [ %42, %29 ]
  store double 1.000000e+00, ptr @dlamc2_.leps, align 8, !tbaa !9
  %48 = fcmp olt double %47, 1.000000e+00
  %49 = fcmp ogt double %47, 0.000000e+00
  %or.cond47 = and i1 %48, %49
  br i1 %or.cond47, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %46, %.lr.ph
  %50 = phi double [ %61, %.lr.ph ], [ %47, %46 ]
  store double %50, ptr @dlamc2_.leps, align 8, !tbaa !9
  %51 = load double, ptr %17, align 8, !tbaa !9
  %52 = fmul double %50, %51
  store double %52, ptr %10, align 8, !tbaa !9
  %53 = fmul double %50, %50
  %54 = fmul double %53, 3.200000e+01
  store double %54, ptr %11, align 8, !tbaa !9
  %55 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %11)
  store double %55, ptr %14, align 8, !tbaa !9
  %56 = fneg double %55
  store double %56, ptr %10, align 8, !tbaa !9
  %57 = call double @dlamc3_(ptr noundef nonnull %17, ptr noundef nonnull %10)
  store double %57, ptr %14, align 8, !tbaa !9
  %58 = call double @dlamc3_(ptr noundef nonnull %17, ptr noundef nonnull %14)
  store double %58, ptr %13, align 8, !tbaa !9
  %59 = fneg double %58
  store double %59, ptr %10, align 8, !tbaa !9
  %60 = call double @dlamc3_(ptr noundef nonnull %17, ptr noundef nonnull %10)
  store double %60, ptr %14, align 8, !tbaa !9
  %61 = call double @dlamc3_(ptr noundef nonnull %17, ptr noundef nonnull %14)
  store double %61, ptr %13, align 8, !tbaa !9
  %62 = load double, ptr @dlamc2_.leps, align 8, !tbaa !9
  %63 = fcmp ogt double %62, %61
  %64 = fcmp ogt double %61, 0.000000e+00
  %or.cond = and i1 %63, %64
  br i1 %or.cond, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %46
  %.lcssa = phi double [ 1.000000e+00, %46 ], [ %62, %.lr.ph ]
  %65 = fcmp olt double %35, %.lcssa
  br i1 %65, label %66, label %67

66:                                               ; preds = %._crit_edge
  store double %35, ptr @dlamc2_.leps, align 8, !tbaa !9
  br label %67

67:                                               ; preds = %66, %._crit_edge
  %68 = load i64, ptr @dlamc2_.lbeta, align 8, !tbaa !5
  %69 = sitofp i64 %68 to double
  %70 = fdiv double 1.000000e+00, %69
  store double %70, ptr %10, align 8, !tbaa !9
  %71 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %19)
  %72 = fmul double %70, %71
  store double %72, ptr %10, align 8, !tbaa !9
  %73 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %19)
  %74 = fmul double %70, %73
  store double %74, ptr %10, align 8, !tbaa !9
  %75 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %19)
  store double %75, ptr %21, align 8, !tbaa !9
  %76 = call double @dlamc3_(ptr noundef nonnull %15, ptr noundef nonnull %21)
  store double %76, ptr %12, align 8, !tbaa !9
  %77 = call i32 @dlamc4_(ptr noundef nonnull %27, ptr noundef nonnull %15, ptr noundef nonnull @dlamc2_.lbeta)
  %78 = load double, ptr %15, align 8, !tbaa !9
  %79 = fneg double %78
  store double %79, ptr %10, align 8, !tbaa !9
  %80 = call i32 @dlamc4_(ptr noundef nonnull %26, ptr noundef nonnull %10, ptr noundef nonnull @dlamc2_.lbeta)
  %81 = call i32 @dlamc4_(ptr noundef nonnull %22, ptr noundef nonnull %12, ptr noundef nonnull @dlamc2_.lbeta)
  %82 = load double, ptr %12, align 8, !tbaa !9
  %83 = fneg double %82
  store double %83, ptr %10, align 8, !tbaa !9
  %84 = call i32 @dlamc4_(ptr noundef nonnull %20, ptr noundef nonnull %10, ptr noundef nonnull @dlamc2_.lbeta)
  %85 = load i64, ptr %27, align 8
  %86 = load i64, ptr %26, align 8
  %87 = icmp eq i64 %85, %86
  %.pre = load i64, ptr %22, align 8
  %.pre55 = load i64, ptr %20, align 8
  %88 = icmp eq i64 %.pre, %.pre55
  %or.cond59 = select i1 %87, i1 %88, i1 false
  %89 = icmp eq i64 %85, %.pre
  br i1 %or.cond59, label %90, label %100

90:                                               ; preds = %67
  br i1 %89, label %124, label %91

91:                                               ; preds = %90
  %92 = sub nsw i64 %.pre, %85
  %93 = icmp eq i64 %92, 3
  br i1 %93, label %94, label %98

94:                                               ; preds = %91
  %95 = add nsw i64 %85, -1
  %96 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !5
  %97 = add nsw i64 %95, %96
  br label %124

98:                                               ; preds = %91
  %99 = call i64 @llvm.smin.i64(i64 %85, i64 %.pre)
  br label %.thread

100:                                              ; preds = %67
  %101 = icmp eq i64 %86, %.pre55
  %or.cond44 = select i1 %89, i1 %101, i1 false
  %102 = sub nsw i64 %85, %86
  store i64 %102, ptr %9, align 8, !tbaa !5
  %103 = call i64 @llvm.abs.i64(i64 %102, i1 true)
  %104 = icmp eq i64 %103, 1
  br i1 %or.cond44, label %105, label %110

105:                                              ; preds = %100
  br i1 %104, label %106, label %108

106:                                              ; preds = %105
  %107 = call i64 @llvm.smax.i64(i64 %85, i64 %86)
  br label %124

108:                                              ; preds = %105
  %109 = call i64 @llvm.smin.i64(i64 %85, i64 %86)
  br label %.thread

110:                                              ; preds = %100
  %111 = icmp eq i64 %.pre, %.pre55
  %or.cond46 = select i1 %104, i1 %111, i1 false
  %112 = call i64 @llvm.smin.i64(i64 %85, i64 %86)
  br i1 %or.cond46, label %113, label %121

113:                                              ; preds = %110
  %114 = sub nsw i64 %.pre, %112
  %115 = icmp eq i64 %114, 3
  br i1 %115, label %116, label %.thread

116:                                              ; preds = %113
  %117 = call i64 @llvm.smax.i64(i64 %85, i64 %86)
  %118 = add nsw i64 %117, -1
  %119 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !5
  %120 = add nsw i64 %118, %119
  br label %124

121:                                              ; preds = %110
  %122 = call i64 @llvm.smin.i64(i64 %112, i64 %.pre)
  store i64 %122, ptr %9, align 8, !tbaa !5
  %123 = call i64 @llvm.smin.i64(i64 %122, i64 %.pre55)
  br label %.thread

.thread:                                          ; preds = %113, %108, %121, %98
  %.sink = phi i64 [ %109, %108 ], [ %123, %121 ], [ %99, %98 ], [ %112, %113 ]
  store i64 %.sink, ptr @dlamc2_.lemin, align 8, !tbaa !5
  store i64 1, ptr @dlamc2_.iwarn, align 8, !tbaa !5
  br label %126

124:                                              ; preds = %90, %106, %116, %94
  %.sink60 = phi i64 [ %107, %106 ], [ %120, %116 ], [ %97, %94 ], [ %85, %90 ]
  %125 = phi i64 [ 0, %106 ], [ 0, %116 ], [ 1, %94 ], [ 0, %90 ]
  store i64 %.sink60, ptr @dlamc2_.lemin, align 8, !tbaa !5
  %.pr = load i64, ptr @dlamc2_.iwarn, align 8, !tbaa !5
  store i64 0, ptr @dlamc2_.first, align 8, !tbaa !5
  %.not39 = icmp eq i64 %.pr, 0
  br i1 %.not39, label %131, label %126

126:                                              ; preds = %.thread, %124
  %127 = phi i64 [ 0, %.thread ], [ %125, %124 ]
  store i64 1, ptr @dlamc2_.first, align 8, !tbaa !5
  %128 = call i64 @s_wsfe(ptr noundef nonnull @dlamc2_.io___58) #4
  %129 = call i64 @do_fio(ptr noundef nonnull @c__1, ptr noundef nonnull @dlamc2_.lemin, i64 noundef 8) #4
  %130 = call i64 @e_wsfe() #4
  %.pre56 = load i64, ptr @dlamc2_.lemin, align 8, !tbaa !5
  br label %131

131:                                              ; preds = %126, %124
  %132 = phi i64 [ %.pre56, %126 ], [ %.sink60, %124 ]
  %133 = phi i64 [ %127, %126 ], [ %125, %124 ]
  %134 = icmp ne i64 %133, 0
  %135 = load i64, ptr %25, align 8
  %136 = icmp ne i64 %135, 0
  %137 = select i1 %134, i1 true, i1 %136
  %138 = zext i1 %137 to i64
  store i64 %138, ptr %16, align 8, !tbaa !5
  store double 1.000000e+00, ptr @dlamc2_.lrmin, align 8, !tbaa !9
  %139 = sub nsw i64 1, %132
  store i64 %139, ptr %9, align 8, !tbaa !5
  %.not4049 = icmp sgt i64 %132, 0
  br i1 %.not4049, label %._crit_edge53, label %.lr.ph52

.lr.ph52:                                         ; preds = %131, %.lr.ph52
  %140 = phi double [ %142, %.lr.ph52 ], [ 1.000000e+00, %131 ]
  %.150 = phi i64 [ %143, %.lr.ph52 ], [ 1, %131 ]
  %141 = fmul double %70, %140
  store double %141, ptr %10, align 8, !tbaa !9
  %142 = call double @dlamc3_(ptr noundef nonnull %10, ptr noundef nonnull %19)
  store double %142, ptr @dlamc2_.lrmin, align 8, !tbaa !9
  %143 = add nuw nsw i64 %.150, 1
  %144 = load i64, ptr %9, align 8, !tbaa !5
  %.not40.not = icmp slt i64 %.150, %144
  br i1 %.not40.not, label %.lr.ph52, label %._crit_edge53, !llvm.loop !11

._crit_edge53:                                    ; preds = %.lr.ph52, %131
  %145 = call i32 @dlamc5_(ptr noundef nonnull @dlamc2_.lbeta, ptr noundef nonnull @dlamc2_.lt, ptr noundef nonnull @dlamc2_.lemin, ptr noundef nonnull %16, ptr noundef nonnull @dlamc2_.lemax, ptr noundef nonnull @dlamc2_.lrmax)
  %.pre57 = load i64, ptr %18, align 8, !tbaa !5
  br label %146

146:                                              ; preds = %._crit_edge53, %8
  %147 = phi i64 [ %.pre57, %._crit_edge53 ], [ undef, %8 ]
  %148 = load i64, ptr @dlamc2_.lbeta, align 8, !tbaa !5
  store i64 %148, ptr %0, align 8, !tbaa !5
  %149 = load i64, ptr @dlamc2_.lt, align 8, !tbaa !5
  store i64 %149, ptr %1, align 8, !tbaa !5
  store i64 %147, ptr %2, align 8, !tbaa !5
  %150 = load double, ptr @dlamc2_.leps, align 8, !tbaa !9
  store double %150, ptr %3, align 8, !tbaa !9
  %151 = load i64, ptr @dlamc2_.lemin, align 8, !tbaa !5
  store i64 %151, ptr %4, align 8, !tbaa !5
  %152 = load double, ptr @dlamc2_.lrmin, align 8, !tbaa !9
  store double %152, ptr %5, align 8, !tbaa !9
  %153 = load i64, ptr @dlamc2_.lemax, align 8, !tbaa !5
  store i64 %153, ptr %6, align 8, !tbaa !5
  %154 = load double, ptr @dlamc2_.lrmax, align 8, !tbaa !9
  store double %154, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  ret i32 0
}

declare double @pow_di(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc1_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local double @dlamc3_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc4_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @s_wsfe(ptr noundef) local_unnamed_addr #2

declare i64 @do_fio(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i64 @e_wsfe() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @dlamc5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass