; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/INSTALL (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"

@dlamc2_.first = external hidden global i32, align 4
@dlamc2_.iwarn = external hidden global i32, align 4
@dlamc2_.leps = external hidden global double, align 8
@dlamc2_.lbeta = external hidden global i32, align 4
@dlamc2_.lemin = external hidden global i32, align 4
@dlamc2_.lemax = external hidden global i32, align 4
@dlamc2_.lrmin = external hidden global double, align 8
@dlamc2_.lrmax = external hidden global double, align 8
@dlamc2_.lt = external hidden global i32, align 4

; 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 i32, align 4
  %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 i32, align 4
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca i32, align 4
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  %33 = alloca double, align 8
  %34 = alloca i32, align 4
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca double, 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 4, ptr %17) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #2
  %42 = load i32, ptr @dlamc2_.first, align 4, !tbaa !9
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %339

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

68:                                               ; preds = %44
  %69 = load double, ptr %28, align 8, !tbaa !11
  br label %73

70:                                               ; preds = %44
  %71 = load double, ptr %28, align 8, !tbaa !11
  %72 = fneg double %71
  br label %73

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

78:                                               ; preds = %73
  %79 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  store double %79, ptr %28, align 8, !tbaa !11
  br label %80

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

81:                                               ; preds = %89, %80
  %82 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %83 = load double, ptr %28, align 8, !tbaa !11
  %84 = fcmp ogt double %82, %83
  br i1 %84, label %85, label %118

85:                                               ; preds = %81
  %86 = load double, ptr %28, align 8, !tbaa !11
  %87 = load double, ptr %26, align 8, !tbaa !11
  %88 = fcmp ogt double %86, %87
  br i1 %88, label %89, label %118

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

118:                                              ; preds = %85, %81
  %119 = load double, ptr %27, align 8, !tbaa !11
  %120 = load double, ptr @dlamc2_.leps, align 8, !tbaa !11
  %121 = fcmp olt double %119, %120
  br i1 %121, label %122, label %124

122:                                              ; preds = %118
  %123 = load double, ptr %27, align 8, !tbaa !11
  store double %123, ptr @dlamc2_.leps, align 8, !tbaa !11
  br label %124

124:                                              ; preds = %122, %118
  %125 = load double, ptr %40, align 8, !tbaa !11
  %126 = load i32, ptr @dlamc2_.lbeta, align 4, !tbaa !9
  %127 = sitofp i32 %126 to double
  %128 = fdiv double %125, %127
  store double %128, ptr %31, align 8, !tbaa !11
  %129 = load double, ptr %40, align 8, !tbaa !11
  store double %129, ptr %33, align 8, !tbaa !11
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %138, %124
  %131 = load i32, ptr %30, align 4, !tbaa !9
  %132 = icmp sle i32 %131, 3
  br i1 %132, label %133, label %141

133:                                              ; preds = %130
  %134 = load double, ptr %33, align 8, !tbaa !11
  %135 = load double, ptr %31, align 8, !tbaa !11
  %136 = fmul double %134, %135
  store double %136, ptr %18, align 8, !tbaa !11
  %137 = call double @dlamc3_(ptr noundef %18, ptr noundef %26)
  store double %137, ptr %33, align 8, !tbaa !11
  br label %138

138:                                              ; preds = %133
  %139 = load i32, ptr %30, align 4, !tbaa !9
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %30, align 4, !tbaa !9
  br label %130, !llvm.loop !13

141:                                              ; preds = %130
  %142 = call double @dlamc3_(ptr noundef %40, ptr noundef %33)
  store double %142, ptr %27, align 8, !tbaa !11
  %143 = call i32 @dlamc4_(ptr noundef %39, ptr noundef %40, ptr noundef @dlamc2_.lbeta)
  %144 = load double, ptr %40, align 8, !tbaa !11
  %145 = fneg double %144
  store double %145, ptr %18, align 8, !tbaa !11
  %146 = call i32 @dlamc4_(ptr noundef %38, ptr noundef %18, ptr noundef @dlamc2_.lbeta)
  %147 = call i32 @dlamc4_(ptr noundef %34, ptr noundef %27, ptr noundef @dlamc2_.lbeta)
  %148 = load double, ptr %27, align 8, !tbaa !11
  %149 = fneg double %148
  store double %149, ptr %18, align 8, !tbaa !11
  %150 = call i32 @dlamc4_(ptr noundef %32, ptr noundef %18, ptr noundef @dlamc2_.lbeta)
  store i32 0, ptr %23, align 4, !tbaa !9
  %151 = load i32, ptr %39, align 4, !tbaa !9
  %152 = load i32, ptr %38, align 4, !tbaa !9
  %153 = icmp eq i32 %151, %152
  br i1 %153, label %154, label %186

154:                                              ; preds = %141
  %155 = load i32, ptr %34, align 4, !tbaa !9
  %156 = load i32, ptr %32, align 4, !tbaa !9
  %157 = icmp eq i32 %155, %156
  br i1 %157, label %158, label %186

158:                                              ; preds = %154
  %159 = load i32, ptr %39, align 4, !tbaa !9
  %160 = load i32, ptr %34, align 4, !tbaa !9
  %161 = icmp eq i32 %159, %160
  br i1 %161, label %162, label %164

162:                                              ; preds = %158
  %163 = load i32, ptr %39, align 4, !tbaa !9
  store i32 %163, ptr @dlamc2_.lemin, align 4, !tbaa !9
  br label %185

164:                                              ; preds = %158
  %165 = load i32, ptr %34, align 4, !tbaa !9
  %166 = load i32, ptr %39, align 4, !tbaa !9
  %167 = sub nsw i32 %165, %166
  %168 = icmp eq i32 %167, 3
  br i1 %168, label %169, label %174

169:                                              ; preds = %164
  %170 = load i32, ptr %39, align 4, !tbaa !9
  %171 = sub nsw i32 %170, 1
  %172 = load i32, ptr @dlamc2_.lt, align 4, !tbaa !9
  %173 = add nsw i32 %171, %172
  store i32 %173, ptr @dlamc2_.lemin, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  br label %184

174:                                              ; preds = %164
  %175 = load i32, ptr %39, align 4, !tbaa !9
  %176 = load i32, ptr %34, align 4, !tbaa !9
  %177 = icmp sle i32 %175, %176
  br i1 %177, label %178, label %180

178:                                              ; preds = %174
  %179 = load i32, ptr %39, align 4, !tbaa !9
  br label %182

180:                                              ; preds = %174
  %181 = load i32, ptr %34, align 4, !tbaa !9
  br label %182

182:                                              ; preds = %180, %178
  %183 = phi i32 [ %179, %178 ], [ %181, %180 ]
  store i32 %183, ptr @dlamc2_.lemin, align 4, !tbaa !9
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %182, %169
  br label %185

185:                                              ; preds = %184, %162
  br label %314

186:                                              ; preds = %154, %141
  %187 = load i32, ptr %39, align 4, !tbaa !9
  %188 = load i32, ptr %34, align 4, !tbaa !9
  %189 = icmp eq i32 %187, %188
  br i1 %189, label %190, label %229

190:                                              ; preds = %186
  %191 = load i32, ptr %38, align 4, !tbaa !9
  %192 = load i32, ptr %32, align 4, !tbaa !9
  %193 = icmp eq i32 %191, %192
  br i1 %193, label %194, label %229

194:                                              ; preds = %190
  %195 = load i32, ptr %39, align 4, !tbaa !9
  %196 = load i32, ptr %38, align 4, !tbaa !9
  %197 = sub nsw i32 %195, %196
  store i32 %197, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = icmp sge i32 %198, 0
  br i1 %199, label %200, label %202

200:                                              ; preds = %194
  %201 = load i32, ptr %17, align 4, !tbaa !9
  br label %205

202:                                              ; preds = %194
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = sub nsw i32 0, %203
  br label %205

205:                                              ; preds = %202, %200
  %206 = phi i32 [ %201, %200 ], [ %204, %202 ]
  %207 = icmp eq i32 %206, 1
  br i1 %207, label %208, label %218

208:                                              ; preds = %205
  %209 = load i32, ptr %39, align 4, !tbaa !9
  %210 = load i32, ptr %38, align 4, !tbaa !9
  %211 = icmp sge i32 %209, %210
  br i1 %211, label %212, label %214

212:                                              ; preds = %208
  %213 = load i32, ptr %39, align 4, !tbaa !9
  br label %216

214:                                              ; preds = %208
  %215 = load i32, ptr %38, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %214, %212
  %217 = phi i32 [ %213, %212 ], [ %215, %214 ]
  store i32 %217, ptr @dlamc2_.lemin, align 4, !tbaa !9
  br label %228

218:                                              ; preds = %205
  %219 = load i32, ptr %39, align 4, !tbaa !9
  %220 = load i32, ptr %38, align 4, !tbaa !9
  %221 = icmp sle i32 %219, %220
  br i1 %221, label %222, label %224

222:                                              ; preds = %218
  %223 = load i32, ptr %39, align 4, !tbaa !9
  br label %226

224:                                              ; preds = %218
  %225 = load i32, ptr %38, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %224, %222
  %227 = phi i32 [ %223, %222 ], [ %225, %224 ]
  store i32 %227, ptr @dlamc2_.lemin, align 4, !tbaa !9
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !9
  br label %228

228:                                              ; preds = %226, %216
  br label %313

229:                                              ; preds = %190, %186
  %230 = load i32, ptr %39, align 4, !tbaa !9
  %231 = load i32, ptr %38, align 4, !tbaa !9
  %232 = sub nsw i32 %230, %231
  store i32 %232, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %17, align 4, !tbaa !9
  %234 = icmp sge i32 %233, 0
  br i1 %234, label %235, label %237

235:                                              ; preds = %229
  %236 = load i32, ptr %17, align 4, !tbaa !9
  br label %240

237:                                              ; preds = %229
  %238 = load i32, ptr %17, align 4, !tbaa !9
  %239 = sub nsw i32 0, %238
  br label %240

240:                                              ; preds = %237, %235
  %241 = phi i32 [ %236, %235 ], [ %239, %237 ]
  %242 = icmp eq i32 %241, 1
  br i1 %242, label %243, label %284

243:                                              ; preds = %240
  %244 = load i32, ptr %34, align 4, !tbaa !9
  %245 = load i32, ptr %32, align 4, !tbaa !9
  %246 = icmp eq i32 %244, %245
  br i1 %246, label %247, label %284

247:                                              ; preds = %243
  %248 = load i32, ptr %34, align 4, !tbaa !9
  %249 = load i32, ptr %39, align 4, !tbaa !9
  %250 = load i32, ptr %38, align 4, !tbaa !9
  %251 = icmp sle i32 %249, %250
  br i1 %251, label %252, label %254

252:                                              ; preds = %247
  %253 = load i32, ptr %39, align 4, !tbaa !9
  br label %256

254:                                              ; preds = %247
  %255 = load i32, ptr %38, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %254, %252
  %257 = phi i32 [ %253, %252 ], [ %255, %254 ]
  %258 = sub nsw i32 %248, %257
  %259 = icmp eq i32 %258, 3
  br i1 %259, label %260, label %273

260:                                              ; preds = %256
  %261 = load i32, ptr %39, align 4, !tbaa !9
  %262 = load i32, ptr %38, align 4, !tbaa !9
  %263 = icmp sge i32 %261, %262
  br i1 %263, label %264, label %266

264:                                              ; preds = %260
  %265 = load i32, ptr %39, align 4, !tbaa !9
  br label %268

266:                                              ; preds = %260
  %267 = load i32, ptr %38, align 4, !tbaa !9
  br label %268

268:                                              ; preds = %266, %264
  %269 = phi i32 [ %265, %264 ], [ %267, %266 ]
  %270 = sub nsw i32 %269, 1
  %271 = load i32, ptr @dlamc2_.lt, align 4, !tbaa !9
  %272 = add nsw i32 %270, %271
  store i32 %272, ptr @dlamc2_.lemin, align 4, !tbaa !9
  br label %283

273:                                              ; preds = %256
  %274 = load i32, ptr %39, align 4, !tbaa !9
  %275 = load i32, ptr %38, align 4, !tbaa !9
  %276 = icmp sle i32 %274, %275
  br i1 %276, label %277, label %279

277:                                              ; preds = %273
  %278 = load i32, ptr %39, align 4, !tbaa !9
  br label %281

279:                                              ; preds = %273
  %280 = load i32, ptr %38, align 4, !tbaa !9
  br label %281

281:                                              ; preds = %279, %277
  %282 = phi i32 [ %278, %277 ], [ %280, %279 ]
  store i32 %282, ptr @dlamc2_.lemin, align 4, !tbaa !9
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !9
  br label %283

283:                                              ; preds = %281, %268
  br label %312

284:                                              ; preds = %243, %240
  %285 = load i32, ptr %39, align 4, !tbaa !9
  %286 = load i32, ptr %38, align 4, !tbaa !9
  %287 = icmp sle i32 %285, %286
  br i1 %287, label %288, label %290

288:                                              ; preds = %284
  %289 = load i32, ptr %39, align 4, !tbaa !9
  br label %292

290:                                              ; preds = %284
  %291 = load i32, ptr %38, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %290, %288
  %293 = phi i32 [ %289, %288 ], [ %291, %290 ]
  store i32 %293, ptr %17, align 4, !tbaa !9
  %294 = load i32, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %34, align 4, !tbaa !9
  %296 = icmp sle i32 %294, %295
  br i1 %296, label %297, label %299

297:                                              ; preds = %292
  %298 = load i32, ptr %17, align 4, !tbaa !9
  br label %301

299:                                              ; preds = %292
  %300 = load i32, ptr %34, align 4, !tbaa !9
  br label %301

301:                                              ; preds = %299, %297
  %302 = phi i32 [ %298, %297 ], [ %300, %299 ]
  store i32 %302, ptr %17, align 4, !tbaa !9
  %303 = load i32, ptr %17, align 4, !tbaa !9
  %304 = load i32, ptr %32, align 4, !tbaa !9
  %305 = icmp sle i32 %303, %304
  br i1 %305, label %306, label %308

306:                                              ; preds = %301
  %307 = load i32, ptr %17, align 4, !tbaa !9
  br label %310

308:                                              ; preds = %301
  %309 = load i32, ptr %32, align 4, !tbaa !9
  br label %310

310:                                              ; preds = %308, %306
  %311 = phi i32 [ %307, %306 ], [ %309, %308 ]
  store i32 %311, ptr @dlamc2_.lemin, align 4, !tbaa !9
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !9
  br label %312

312:                                              ; preds = %310, %283
  br label %313

313:                                              ; preds = %312, %228
  br label %314

314:                                              ; preds = %313, %185
  store i32 0, ptr @dlamc2_.first, align 4, !tbaa !9
  %315 = load i32, ptr %23, align 4, !tbaa !9
  %316 = icmp ne i32 %315, 0
  br i1 %316, label %320, label %317

317:                                              ; preds = %314
  %318 = load i32, ptr %37, align 4, !tbaa !9
  %319 = icmp ne i32 %318, 0
  br label %320

320:                                              ; preds = %317, %314
  %321 = phi i1 [ true, %314 ], [ %319, %317 ]
  %322 = zext i1 %321 to i32
  store i32 %322, ptr %23, align 4, !tbaa !9
  store double 1.000000e+00, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  %323 = load i32, ptr @dlamc2_.lemin, align 4, !tbaa !9
  %324 = sub nsw i32 1, %323
  store i32 %324, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %30, align 4, !tbaa !9
  br label %325

325:                                              ; preds = %334, %320
  %326 = load i32, ptr %30, align 4, !tbaa !9
  %327 = load i32, ptr %17, align 4, !tbaa !9
  %328 = icmp sle i32 %326, %327
  br i1 %328, label %329, label %337

329:                                              ; preds = %325
  %330 = load double, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  %331 = load double, ptr %31, align 8, !tbaa !11
  %332 = fmul double %330, %331
  store double %332, ptr %18, align 8, !tbaa !11
  %333 = call double @dlamc3_(ptr noundef %18, ptr noundef %26)
  store double %333, ptr @dlamc2_.lrmin, align 8, !tbaa !11
  br label %334

334:                                              ; preds = %329
  %335 = load i32, ptr %30, align 4, !tbaa !9
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr %30, align 4, !tbaa !9
  br label %325, !llvm.loop !15

337:                                              ; preds = %325
  %338 = call i32 @dlamc5_(ptr noundef @dlamc2_.lbeta, ptr noundef @dlamc2_.lt, ptr noundef @dlamc2_.lemin, ptr noundef %23, ptr noundef @dlamc2_.lemax, ptr noundef @dlamc2_.lrmax)
  br label %339

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

; Function Attrs: nounwind uwtable
declare hidden double @dpow_ui(double noundef, i32 noundef) #1

; 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

; 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 = { 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 = !{!"int", !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"

@dlamc2_.first = external hidden local_unnamed_addr global i32, align 4
@dlamc2_.iwarn = external hidden local_unnamed_addr global i32, align 4
@dlamc2_.leps = external hidden local_unnamed_addr global double, align 8
@dlamc2_.lbeta = external hidden global i32, align 4
@dlamc2_.lemin = external hidden global i32, align 4
@dlamc2_.lemax = external hidden global i32, align 4
@dlamc2_.lrmin = external hidden local_unnamed_addr global double, align 8
@dlamc2_.lrmax = external hidden global double, align 8
@dlamc2_.lt = external hidden global i32, align 4

; 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 double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #3
  %27 = load i32, ptr @dlamc2_.first, align 4, !tbaa !5
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %138, label %28

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

44:                                               ; preds = %28
  store double %42, ptr %16, align 8, !tbaa !9
  br label %45

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

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

._crit_edge:                                      ; preds = %.lr.ph, %45
  %.lcssa = phi double [ 1.000000e+00, %45 ], [ %61, %.lr.ph ]
  %64 = fcmp olt double %34, %.lcssa
  br i1 %64, label %65, label %66

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

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

89:                                               ; preds = %66
  br i1 %88, label %90, label %91

90:                                               ; preds = %89
  store i32 %84, ptr @dlamc2_.lemin, align 4, !tbaa !5
  br label %125

91:                                               ; preds = %89
  %92 = sub nsw i32 %.pre, %84
  %93 = icmp eq i32 %92, 3
  br i1 %93, label %94, label %98

94:                                               ; preds = %91
  %95 = add nsw i32 %84, -1
  %96 = load i32, ptr @dlamc2_.lt, align 4, !tbaa !5
  %97 = add nsw i32 %95, %96
  store i32 %97, ptr @dlamc2_.lemin, align 4, !tbaa !5
  br label %125

98:                                               ; preds = %91
  %99 = call i32 @llvm.smin.i32(i32 %84, i32 %.pre)
  store i32 %99, ptr @dlamc2_.lemin, align 4, !tbaa !5
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !5
  br label %125

100:                                              ; preds = %66
  %101 = icmp eq i32 %85, %.pre65
  %or.cond54 = select i1 %88, i1 %101, i1 false
  %102 = sub nsw i32 %84, %85
  %103 = call i32 @llvm.abs.i32(i32 %102, i1 true)
  %104 = icmp eq i32 %103, 1
  br i1 %or.cond54, label %105, label %110

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

106:                                              ; preds = %105
  %107 = call i32 @llvm.smax.i32(i32 %84, i32 %85)
  store i32 %107, ptr @dlamc2_.lemin, align 4, !tbaa !5
  br label %125

108:                                              ; preds = %105
  %109 = call i32 @llvm.smin.i32(i32 %84, i32 %85)
  store i32 %109, ptr @dlamc2_.lemin, align 4, !tbaa !5
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !5
  br label %125

110:                                              ; preds = %100
  %111 = icmp eq i32 %.pre, %.pre65
  %or.cond56 = select i1 %104, i1 %111, i1 false
  %112 = call i32 @llvm.smin.i32(i32 %84, i32 %85)
  br i1 %or.cond56, label %113, label %122

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

116:                                              ; preds = %113
  %117 = call i32 @llvm.smax.i32(i32 %84, i32 %85)
  %118 = add nsw i32 %117, -1
  %119 = load i32, ptr @dlamc2_.lt, align 4, !tbaa !5
  %120 = add nsw i32 %118, %119
  store i32 %120, ptr @dlamc2_.lemin, align 4, !tbaa !5
  br label %125

121:                                              ; preds = %113
  store i32 %112, ptr @dlamc2_.lemin, align 4, !tbaa !5
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !5
  br label %125

122:                                              ; preds = %110
  %123 = call i32 @llvm.smin.i32(i32 %112, i32 %.pre)
  %124 = call i32 @llvm.smin.i32(i32 %123, i32 %.pre65)
  store i32 %124, ptr @dlamc2_.lemin, align 4, !tbaa !5
  store i32 1, ptr @dlamc2_.iwarn, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %108, %106, %116, %121, %122, %90, %98, %94
  %126 = phi i32 [ %109, %108 ], [ %107, %106 ], [ %120, %116 ], [ %112, %121 ], [ %124, %122 ], [ %84, %90 ], [ %99, %98 ], [ %97, %94 ]
  %127 = phi i1 [ false, %108 ], [ false, %106 ], [ false, %116 ], [ false, %121 ], [ false, %122 ], [ false, %90 ], [ false, %98 ], [ true, %94 ]
  store i32 0, ptr @dlamc2_.first, align 4, !tbaa !5
  %128 = load i32, ptr %23, align 4
  %129 = icmp ne i32 %128, 0
  %130 = select i1 %127, i1 true, i1 %129
  %131 = zext i1 %130 to i32
  store i32 %131, ptr %11, align 4, !tbaa !5
  store double 1.000000e+00, ptr @dlamc2_.lrmin, align 8, !tbaa !9
  %.not5159 = icmp sgt i32 %126, 0
  br i1 %.not5159, label %._crit_edge63, label %.lr.ph62.preheader

.lr.ph62.preheader:                               ; preds = %125
  %132 = sub i32 1, %126
  %smax = call i32 @llvm.smax.i32(i32 %132, i32 1)
  br label %.lr.ph62

.lr.ph62:                                         ; preds = %.lr.ph62.preheader, %.lr.ph62
  %133 = phi double [ %135, %.lr.ph62 ], [ 1.000000e+00, %.lr.ph62.preheader ]
  %.160 = phi i32 [ %136, %.lr.ph62 ], [ 1, %.lr.ph62.preheader ]
  %134 = fmul double %69, %133
  store double %134, ptr %9, align 8, !tbaa !9
  %135 = call double @dlamc3_(ptr noundef nonnull %9, ptr noundef nonnull %14)
  store double %135, ptr @dlamc2_.lrmin, align 8, !tbaa !9
  %136 = add nuw i32 %.160, 1
  %exitcond.not = icmp eq i32 %.160, %smax
  br i1 %exitcond.not, label %._crit_edge63, label %.lr.ph62, !llvm.loop !11

._crit_edge63:                                    ; preds = %.lr.ph62, %125
  %137 = call i32 @dlamc5_(ptr noundef nonnull @dlamc2_.lbeta, ptr noundef nonnull @dlamc2_.lt, ptr noundef nonnull @dlamc2_.lemin, ptr noundef nonnull %11, ptr noundef nonnull @dlamc2_.lemax, ptr noundef nonnull @dlamc2_.lrmax)
  %.pre66 = load i32, ptr %13, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %._crit_edge63, %8
  %139 = phi i32 [ %.pre66, %._crit_edge63 ], [ undef, %8 ]
  %140 = load i32, ptr @dlamc2_.lbeta, align 4, !tbaa !5
  store i32 %140, ptr %0, align 4, !tbaa !5
  %141 = load i32, ptr @dlamc2_.lt, align 4, !tbaa !5
  store i32 %141, ptr %1, align 4, !tbaa !5
  store i32 %139, ptr %2, align 4, !tbaa !5
  %142 = load double, ptr @dlamc2_.leps, align 8, !tbaa !9
  store double %142, ptr %3, align 8, !tbaa !9
  %143 = load i32, ptr @dlamc2_.lemin, align 4, !tbaa !5
  store i32 %143, ptr %4, align 4, !tbaa !5
  %144 = load double, ptr @dlamc2_.lrmin, align 8, !tbaa !9
  store double %144, ptr %5, align 8, !tbaa !9
  %145 = load i32, ptr @dlamc2_.lemax, align 4, !tbaa !5
  store i32 %145, ptr %6, align 4, !tbaa !5
  %146 = load double, ptr @dlamc2_.lrmax, align 8, !tbaa !9
  store double %146, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare hidden double @dpow_ui(double noundef, i32 noundef) local_unnamed_addr #1

; 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

; 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 i32 @llvm.abs.i32(i32, i1 immarg) #2

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

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"int", !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,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass