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

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

@dlacon_.i__ = external hidden global i64, align 8
@dlacon_.j = external hidden global i64, align 8
@dlacon_.iter = external hidden global i64, align 8
@dlacon_.temp = external hidden global double, align 8
@dlacon_.jump = external hidden global i64, align 8
@dlacon_.jlast = external hidden global i64, align 8
@dlacon_.altsgn = external hidden global double, align 8
@dlacon_.estold = external hidden global double, align 8
@c__1 = external hidden global i64, align 8
@c_b11 = external hidden global double, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @dlacon_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %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 i64, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %17 = load ptr, ptr %11, align 8, !tbaa !5
  %18 = getelementptr inbounds i64, ptr %17, i32 -1
  store ptr %18, ptr %11, align 8, !tbaa !5
  %19 = load ptr, ptr %10, align 8, !tbaa !5
  %20 = getelementptr inbounds double, ptr %19, i32 -1
  store ptr %20, ptr %10, align 8, !tbaa !5
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = getelementptr inbounds double, ptr %21, i32 -1
  store ptr %22, ptr %9, align 8, !tbaa !5
  %23 = load ptr, ptr %13, align 8, !tbaa !5
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %26, label %46

26:                                               ; preds = %6
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %28, ptr %14, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %41, %26
  %30 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %31 = load i64, ptr %14, align 8, !tbaa !9
  %32 = icmp sle i64 %30, %31
  br i1 %32, label %33, label %44

33:                                               ; preds = %29
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = sitofp i64 %35 to double
  %37 = fdiv double 1.000000e+00, %36
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %40 = getelementptr inbounds double, ptr %38, i64 %39
  store double %37, ptr %40, align 8, !tbaa !11
  br label %41

41:                                               ; preds = %33
  %42 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %43 = add nsw i64 %42, 1
  store i64 %43, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %29, !llvm.loop !13

44:                                               ; preds = %29
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 1, ptr %45, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.jump, align 8, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %293

46:                                               ; preds = %6
  %47 = load i64, ptr @dlacon_.jump, align 8, !tbaa !9
  switch i64 %47, label %53 [
    i64 1, label %48
    i64 2, label %49
    i64 3, label %50
    i64 4, label %51
    i64 5, label %52
  ]

48:                                               ; preds = %46
  br label %54

49:                                               ; preds = %46
  br label %112

50:                                               ; preds = %46
  br label %136

51:                                               ; preds = %46
  br label %206

52:                                               ; preds = %46
  br label %266

53:                                               ; preds = %46
  br label %54

54:                                               ; preds = %53, %48
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = icmp eq i64 %56, 1
  br i1 %57, label %58, label %80

58:                                               ; preds = %54
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds double, ptr %59, i64 1
  %61 = load double, ptr %60, align 8, !tbaa !11
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds double, ptr %62, i64 1
  store double %61, ptr %63, align 8, !tbaa !11
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i64 1
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = fcmp oge double %66, 0.000000e+00
  br i1 %67, label %68, label %72

68:                                               ; preds = %58
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds double, ptr %69, i64 1
  %71 = load double, ptr %70, align 8, !tbaa !11
  br label %77

72:                                               ; preds = %58
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds double, ptr %73, i64 1
  %75 = load double, ptr %74, align 8, !tbaa !11
  %76 = fneg double %75
  br label %77

77:                                               ; preds = %72, %68
  %78 = phi double [ %71, %68 ], [ %76, %72 ]
  %79 = load ptr, ptr %12, align 8, !tbaa !5
  store double %78, ptr %79, align 8, !tbaa !11
  br label %291

80:                                               ; preds = %54
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds double, ptr %82, i64 1
  %84 = call double @f2c_dasum(ptr noundef %81, ptr noundef %83, ptr noundef @c__1)
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  store double %84, ptr %85, align 8, !tbaa !11
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = load i64, ptr %86, align 8, !tbaa !9
  store i64 %87, ptr %14, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %88

88:                                               ; preds = %107, %80
  %89 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %90 = load i64, ptr %14, align 8, !tbaa !9
  %91 = icmp sle i64 %89, %90
  br i1 %91, label %92, label %110

92:                                               ; preds = %88
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %95 = getelementptr inbounds double, ptr %93, i64 %94
  %96 = call double @d_sign(ptr noundef @c_b11, ptr noundef %95)
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %99 = getelementptr inbounds double, ptr %97, i64 %98
  store double %96, ptr %99, align 8, !tbaa !11
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %102 = getelementptr inbounds double, ptr %100, i64 %101
  %103 = call i64 @i_dnnt(ptr noundef %102)
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %106 = getelementptr inbounds i64, ptr %104, i64 %105
  store i64 %103, ptr %106, align 8, !tbaa !9
  br label %107

107:                                              ; preds = %92
  %108 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %109 = add nsw i64 %108, 1
  store i64 %109, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %88, !llvm.loop !15

110:                                              ; preds = %88
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 2, ptr %111, align 8, !tbaa !9
  store i64 2, ptr @dlacon_.jump, align 8, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %293

112:                                              ; preds = %49
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds double, ptr %114, i64 1
  %116 = call i64 @f2c_idamax(ptr noundef %113, ptr noundef %115, ptr noundef @c__1)
  store i64 %116, ptr @dlacon_.j, align 8, !tbaa !9
  store i64 2, ptr @dlacon_.iter, align 8, !tbaa !9
  br label %117

117:                                              ; preds = %233, %112
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = load i64, ptr %118, align 8, !tbaa !9
  store i64 %119, ptr %14, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %120

120:                                              ; preds = %128, %117
  %121 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %122 = load i64, ptr %14, align 8, !tbaa !9
  %123 = icmp sle i64 %121, %122
  br i1 %123, label %124, label %131

124:                                              ; preds = %120
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %127 = getelementptr inbounds double, ptr %125, i64 %126
  store double 0.000000e+00, ptr %127, align 8, !tbaa !11
  br label %128

128:                                              ; preds = %124
  %129 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %130 = add nsw i64 %129, 1
  store i64 %130, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %120, !llvm.loop !16

131:                                              ; preds = %120
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = load i64, ptr @dlacon_.j, align 8, !tbaa !9
  %134 = getelementptr inbounds double, ptr %132, i64 %133
  store double 1.000000e+00, ptr %134, align 8, !tbaa !11
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 1, ptr %135, align 8, !tbaa !9
  store i64 3, ptr @dlacon_.jump, align 8, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %293

136:                                              ; preds = %50
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds double, ptr %138, i64 1
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = getelementptr inbounds double, ptr %140, i64 1
  %142 = call i32 @f2c_dcopy(ptr noundef %137, ptr noundef %139, ptr noundef @c__1, ptr noundef %141, ptr noundef @c__1)
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  %144 = load double, ptr %143, align 8, !tbaa !11
  store double %144, ptr @dlacon_.estold, align 8, !tbaa !11
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = getelementptr inbounds double, ptr %146, i64 1
  %148 = call double @f2c_dasum(ptr noundef %145, ptr noundef %147, ptr noundef @c__1)
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  store double %148, ptr %149, align 8, !tbaa !11
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = load i64, ptr %150, align 8, !tbaa !9
  store i64 %151, ptr %14, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %152

152:                                              ; preds = %169, %136
  %153 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %154 = load i64, ptr %14, align 8, !tbaa !9
  %155 = icmp sle i64 %153, %154
  br i1 %155, label %156, label %172

156:                                              ; preds = %152
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %159 = getelementptr inbounds double, ptr %157, i64 %158
  %160 = call double @d_sign(ptr noundef @c_b11, ptr noundef %159)
  store double %160, ptr %15, align 8, !tbaa !11
  %161 = call i64 @i_dnnt(ptr noundef %15)
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %164 = getelementptr inbounds i64, ptr %162, i64 %163
  %165 = load i64, ptr %164, align 8, !tbaa !9
  %166 = icmp ne i64 %161, %165
  br i1 %166, label %167, label %168

167:                                              ; preds = %156
  br label %173

168:                                              ; preds = %156
  br label %169

169:                                              ; preds = %168
  %170 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %171 = add nsw i64 %170, 1
  store i64 %171, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %152, !llvm.loop !17

172:                                              ; preds = %152
  br label %237

173:                                              ; preds = %167
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = load double, ptr %174, align 8, !tbaa !11
  %176 = load double, ptr @dlacon_.estold, align 8, !tbaa !11
  %177 = fcmp ole double %175, %176
  br i1 %177, label %178, label %179

178:                                              ; preds = %173
  br label %237

179:                                              ; preds = %173
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  %181 = load i64, ptr %180, align 8, !tbaa !9
  store i64 %181, ptr %14, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %182

182:                                              ; preds = %201, %179
  %183 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %184 = load i64, ptr %14, align 8, !tbaa !9
  %185 = icmp sle i64 %183, %184
  br i1 %185, label %186, label %204

186:                                              ; preds = %182
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %189 = getelementptr inbounds double, ptr %187, i64 %188
  %190 = call double @d_sign(ptr noundef @c_b11, ptr noundef %189)
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  %192 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %193 = getelementptr inbounds double, ptr %191, i64 %192
  store double %190, ptr %193, align 8, !tbaa !11
  %194 = load ptr, ptr %10, align 8, !tbaa !5
  %195 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %196 = getelementptr inbounds double, ptr %194, i64 %195
  %197 = call i64 @i_dnnt(ptr noundef %196)
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %200 = getelementptr inbounds i64, ptr %198, i64 %199
  store i64 %197, ptr %200, align 8, !tbaa !9
  br label %201

201:                                              ; preds = %186
  %202 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %203 = add nsw i64 %202, 1
  store i64 %203, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %182, !llvm.loop !18

204:                                              ; preds = %182
  %205 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 2, ptr %205, align 8, !tbaa !9
  store i64 4, ptr @dlacon_.jump, align 8, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %293

206:                                              ; preds = %51
  %207 = load i64, ptr @dlacon_.j, align 8, !tbaa !9
  store i64 %207, ptr @dlacon_.jlast, align 8, !tbaa !9
  %208 = load ptr, ptr %8, align 8, !tbaa !5
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  %210 = getelementptr inbounds double, ptr %209, i64 1
  %211 = call i64 @f2c_idamax(ptr noundef %208, ptr noundef %210, ptr noundef @c__1)
  store i64 %211, ptr @dlacon_.j, align 8, !tbaa !9
  %212 = load ptr, ptr %10, align 8, !tbaa !5
  %213 = load i64, ptr @dlacon_.jlast, align 8, !tbaa !9
  %214 = getelementptr inbounds double, ptr %212, i64 %213
  %215 = load double, ptr %214, align 8, !tbaa !11
  %216 = load ptr, ptr %10, align 8, !tbaa !5
  %217 = load i64, ptr @dlacon_.j, align 8, !tbaa !9
  %218 = getelementptr inbounds double, ptr %216, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !11
  store double %219, ptr %15, align 8, !tbaa !11
  %220 = load double, ptr %15, align 8, !tbaa !11
  %221 = fcmp oge double %220, 0.000000e+00
  br i1 %221, label %222, label %224

222:                                              ; preds = %206
  %223 = load double, ptr %15, align 8, !tbaa !11
  br label %227

224:                                              ; preds = %206
  %225 = load double, ptr %15, align 8, !tbaa !11
  %226 = fneg double %225
  br label %227

227:                                              ; preds = %224, %222
  %228 = phi double [ %223, %222 ], [ %226, %224 ]
  %229 = fcmp une double %215, %228
  br i1 %229, label %230, label %236

230:                                              ; preds = %227
  %231 = load i64, ptr @dlacon_.iter, align 8, !tbaa !9
  %232 = icmp slt i64 %231, 5
  br i1 %232, label %233, label %236

233:                                              ; preds = %230
  %234 = load i64, ptr @dlacon_.iter, align 8, !tbaa !9
  %235 = add nsw i64 %234, 1
  store i64 %235, ptr @dlacon_.iter, align 8, !tbaa !9
  br label %117

236:                                              ; preds = %230, %227
  br label %237

237:                                              ; preds = %236, %178, %172
  store double 1.000000e+00, ptr @dlacon_.altsgn, align 8, !tbaa !11
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  %239 = load i64, ptr %238, align 8, !tbaa !9
  store i64 %239, ptr %14, align 8, !tbaa !9
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %240

240:                                              ; preds = %261, %237
  %241 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %242 = load i64, ptr %14, align 8, !tbaa !9
  %243 = icmp sle i64 %241, %242
  br i1 %243, label %244, label %264

244:                                              ; preds = %240
  %245 = load double, ptr @dlacon_.altsgn, align 8, !tbaa !11
  %246 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %247 = sub nsw i64 %246, 1
  %248 = sitofp i64 %247 to double
  %249 = load ptr, ptr %8, align 8, !tbaa !5
  %250 = load i64, ptr %249, align 8, !tbaa !9
  %251 = sub nsw i64 %250, 1
  %252 = sitofp i64 %251 to double
  %253 = fdiv double %248, %252
  %254 = fadd double %253, 1.000000e+00
  %255 = fmul double %245, %254
  %256 = load ptr, ptr %10, align 8, !tbaa !5
  %257 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %258 = getelementptr inbounds double, ptr %256, i64 %257
  store double %255, ptr %258, align 8, !tbaa !11
  %259 = load double, ptr @dlacon_.altsgn, align 8, !tbaa !11
  %260 = fneg double %259
  store double %260, ptr @dlacon_.altsgn, align 8, !tbaa !11
  br label %261

261:                                              ; preds = %244
  %262 = load i64, ptr @dlacon_.i__, align 8, !tbaa !9
  %263 = add nsw i64 %262, 1
  store i64 %263, ptr @dlacon_.i__, align 8, !tbaa !9
  br label %240, !llvm.loop !19

264:                                              ; preds = %240
  %265 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 1, ptr %265, align 8, !tbaa !9
  store i64 5, ptr @dlacon_.jump, align 8, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %293

266:                                              ; preds = %52
  %267 = load ptr, ptr %8, align 8, !tbaa !5
  %268 = load ptr, ptr %10, align 8, !tbaa !5
  %269 = getelementptr inbounds double, ptr %268, i64 1
  %270 = call double @f2c_dasum(ptr noundef %267, ptr noundef %269, ptr noundef @c__1)
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = load i64, ptr %271, align 8, !tbaa !9
  %273 = mul nsw i64 %272, 3
  %274 = sitofp i64 %273 to double
  %275 = fdiv double %270, %274
  %276 = fmul double %275, 2.000000e+00
  store double %276, ptr @dlacon_.temp, align 8, !tbaa !11
  %277 = load double, ptr @dlacon_.temp, align 8, !tbaa !11
  %278 = load ptr, ptr %12, align 8, !tbaa !5
  %279 = load double, ptr %278, align 8, !tbaa !11
  %280 = fcmp ogt double %277, %279
  br i1 %280, label %281, label %290

281:                                              ; preds = %266
  %282 = load ptr, ptr %8, align 8, !tbaa !5
  %283 = load ptr, ptr %10, align 8, !tbaa !5
  %284 = getelementptr inbounds double, ptr %283, i64 1
  %285 = load ptr, ptr %9, align 8, !tbaa !5
  %286 = getelementptr inbounds double, ptr %285, i64 1
  %287 = call i32 @f2c_dcopy(ptr noundef %282, ptr noundef %284, ptr noundef @c__1, ptr noundef %286, ptr noundef @c__1)
  %288 = load double, ptr @dlacon_.temp, align 8, !tbaa !11
  %289 = load ptr, ptr %12, align 8, !tbaa !5
  store double %288, ptr %289, align 8, !tbaa !11
  br label %290

290:                                              ; preds = %281, %266
  br label %291

291:                                              ; preds = %290, %77
  %292 = load ptr, ptr %13, align 8, !tbaa !5
  store i64 0, ptr %292, align 8, !tbaa !9
  store i32 0, ptr %7, align 4
  store i32 1, ptr %16, align 4
  br label %293

293:                                              ; preds = %291, %264, %204, %131, %110, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %294 = load i32, ptr %7, align 4
  ret i32 %294
}

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

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

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

declare i64 @i_dnnt(ptr noundef) #2

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

declare i32 @f2c_dcopy(ptr noundef, ptr noundef, ptr noundef, 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) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !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"

@dlacon_.i__ = external hidden local_unnamed_addr global i64, align 8
@dlacon_.j = external hidden local_unnamed_addr global i64, align 8
@dlacon_.iter = external hidden local_unnamed_addr global i64, align 8
@dlacon_.temp = external hidden local_unnamed_addr global double, align 8
@dlacon_.jump = external hidden local_unnamed_addr global i64, align 8
@dlacon_.jlast = external hidden local_unnamed_addr global i64, align 8
@dlacon_.altsgn = external hidden local_unnamed_addr global double, align 8
@dlacon_.estold = external hidden local_unnamed_addr global double, align 8
@c__1 = external hidden global i64, align 8
@c_b11 = external hidden global double, align 8

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dlacon_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef %5) local_unnamed_addr #0 {
  %7 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %8 = getelementptr inbounds i8, ptr %3, i64 -8
  %9 = getelementptr inbounds i8, ptr %2, i64 -8
  %10 = load i64, ptr %5, align 8, !tbaa !5
  %11 = icmp eq i64 %10, 0
  br i1 %11, label %12, label %39

12:                                               ; preds = %6
  %13 = load i64, ptr %0, align 8, !tbaa !5
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not89110 = icmp slt i64 %13, 1
  br i1 %.not89110, label %._crit_edge114, label %.lr.ph113.preheader

.lr.ph113.preheader:                              ; preds = %12
  %min.iters.check = icmp eq i64 %13, 1
  br i1 %min.iters.check, label %.lr.ph113.preheader116, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph113.preheader
  %scevgep = getelementptr i8, ptr %0, i64 8
  %bound0 = icmp ugt ptr %scevgep, @dlacon_.i__
  %bound1 = icmp ult ptr %0, getelementptr inbounds (i8, ptr @dlacon_.i__, i64 8)
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph113.preheader116, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %13, 9223372036854775806
  %ind.end = or i64 %13, 1
  %14 = load i64, ptr %0, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %14, i64 0
  %15 = sitofp <2 x i64> %broadcast.splatinsert to <2 x double>
  %16 = fdiv <2 x double> <double 1.000000e+00, double poison>, %15
  %17 = shufflevector <2 x double> %16, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %18 = phi i64 [ 2, %vector.ph ], [ %21, %vector.body ]
  %19 = getelementptr double, ptr %2, i64 %index
  store <2 x double> %17, ptr %19, align 8, !tbaa !12
  %20 = or disjoint i64 %18, 1
  %index.next = add nuw i64 %index, 2
  %21 = add i64 %18, 2
  %22 = icmp eq i64 %index.next, %n.vec
  br i1 %22, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  store i64 %20, ptr @dlacon_.i__, align 8, !tbaa !5, !alias.scope !18, !noalias !9
  %cmp.n = icmp eq i64 %13, %n.vec
  br i1 %cmp.n, label %._crit_edge114, label %.lr.ph113.preheader116

.lr.ph113.preheader116:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph113.preheader
  %storemerge88111.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph113.preheader ], [ %ind.end, %middle.block ]
  %xtraiter = and i64 %13, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph113.prol.loopexit, label %.lr.ph113.prol

.lr.ph113.prol:                                   ; preds = %.lr.ph113.preheader116
  %23 = load i64, ptr %0, align 8, !tbaa !5
  %24 = sitofp i64 %23 to double
  %25 = fdiv double 1.000000e+00, %24
  %26 = getelementptr inbounds double, ptr %9, i64 %storemerge88111.ph
  store double %25, ptr %26, align 8, !tbaa !12
  %27 = add nuw i64 %storemerge88111.ph, 1
  store i64 %27, ptr @dlacon_.i__, align 8, !tbaa !5
  br label %.lr.ph113.prol.loopexit

.lr.ph113.prol.loopexit:                          ; preds = %.lr.ph113.prol, %.lr.ph113.preheader116
  %storemerge88111.unr = phi i64 [ %storemerge88111.ph, %.lr.ph113.preheader116 ], [ %27, %.lr.ph113.prol ]
  %28 = icmp eq i64 %13, %storemerge88111.ph
  br i1 %28, label %._crit_edge114, label %.lr.ph113

.lr.ph113:                                        ; preds = %.lr.ph113.prol.loopexit, %.lr.ph113
  %storemerge88111 = phi i64 [ %38, %.lr.ph113 ], [ %storemerge88111.unr, %.lr.ph113.prol.loopexit ]
  %29 = load i64, ptr %0, align 8, !tbaa !5
  %30 = sitofp i64 %29 to double
  %31 = fdiv double 1.000000e+00, %30
  %32 = getelementptr inbounds double, ptr %9, i64 %storemerge88111
  store double %31, ptr %32, align 8, !tbaa !12
  %33 = add nuw i64 %storemerge88111, 1
  store i64 %33, ptr @dlacon_.i__, align 8, !tbaa !5
  %34 = load i64, ptr %0, align 8, !tbaa !5
  %35 = sitofp i64 %34 to double
  %36 = fdiv double 1.000000e+00, %35
  %37 = getelementptr double, ptr %2, i64 %storemerge88111
  store double %36, ptr %37, align 8, !tbaa !12
  %38 = add nuw i64 %storemerge88111, 2
  store i64 %38, ptr @dlacon_.i__, align 8, !tbaa !5
  %exitcond115.not.1 = icmp eq i64 %33, %13
  br i1 %exitcond115.not.1, label %._crit_edge114, label %.lr.ph113, !llvm.loop !20

._crit_edge114:                                   ; preds = %.lr.ph113.prol.loopexit, %.lr.ph113, %middle.block, %12
  store i64 1, ptr %5, align 8, !tbaa !5
  store i64 1, ptr @dlacon_.jump, align 8, !tbaa !5
  br label %140

39:                                               ; preds = %6
  %40 = load i64, ptr @dlacon_.jump, align 8, !tbaa !5
  switch i64 %40, label %41 [
    i64 5, label %127
    i64 2, label %61
    i64 3, label %69
    i64 4, label %97
  ]

41:                                               ; preds = %39
  %42 = load i64, ptr %0, align 8, !tbaa !5
  %43 = icmp eq i64 %42, 1
  br i1 %43, label %44, label %49

44:                                               ; preds = %41
  %45 = load double, ptr %2, align 8, !tbaa !12
  store double %45, ptr %1, align 8, !tbaa !12
  %46 = fcmp ult double %45, 0.000000e+00
  %47 = fneg double %45
  %48 = select i1 %46, double %47, double %45
  br label %.sink.split

49:                                               ; preds = %41
  %50 = tail call double @f2c_dasum(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @c__1) #4
  store double %50, ptr %4, align 8, !tbaa !12
  %51 = load i64, ptr %0, align 8, !tbaa !5
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not87105 = icmp slt i64 %51, 1
  br i1 %.not87105, label %._crit_edge109, label %.lr.ph108

.lr.ph108:                                        ; preds = %49, %.lr.ph108
  %storemerge86106 = phi i64 [ %60, %.lr.ph108 ], [ 1, %49 ]
  %52 = getelementptr inbounds double, ptr %9, i64 %storemerge86106
  %53 = tail call double @d_sign(ptr noundef nonnull @c_b11, ptr noundef nonnull %52) #4
  %54 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %55 = getelementptr inbounds double, ptr %9, i64 %54
  store double %53, ptr %55, align 8, !tbaa !12
  %56 = tail call i64 @i_dnnt(ptr noundef nonnull %55) #4
  %57 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %58 = getelementptr inbounds i64, ptr %8, i64 %57
  store i64 %56, ptr %58, align 8, !tbaa !5
  %59 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %60 = add nsw i64 %59, 1
  store i64 %60, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not87.not = icmp slt i64 %59, %51
  br i1 %.not87.not, label %.lr.ph108, label %._crit_edge109, !llvm.loop !21

._crit_edge109:                                   ; preds = %.lr.ph108, %49
  store i64 2, ptr %5, align 8, !tbaa !5
  store i64 2, ptr @dlacon_.jump, align 8, !tbaa !5
  br label %140

61:                                               ; preds = %39
  %62 = tail call i64 @f2c_idamax(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1) #4
  store i64 %62, ptr @dlacon_.j, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %111, %61
  %64 = phi i64 [ %99, %111 ], [ %62, %61 ]
  %storemerge = phi i64 [ %112, %111 ], [ 2, %61 ]
  store i64 %storemerge, ptr @dlacon_.iter, align 8, !tbaa !5
  %65 = load i64, ptr %0, align 8, !tbaa !5
  %.not85100 = icmp slt i64 %65, 1
  br i1 %.not85100, label %._crit_edge104, label %.lr.ph103.preheader

.lr.ph103.preheader:                              ; preds = %63
  %66 = shl nuw i64 %65, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 %66, i1 false), !tbaa !12
  %67 = add nuw i64 %65, 1
  br label %._crit_edge104

._crit_edge104:                                   ; preds = %.lr.ph103.preheader, %63
  %storemerge84.lcssa = phi i64 [ 1, %63 ], [ %67, %.lr.ph103.preheader ]
  store i64 %storemerge84.lcssa, ptr @dlacon_.i__, align 8, !tbaa !5
  %68 = getelementptr inbounds double, ptr %9, i64 %64
  store double 1.000000e+00, ptr %68, align 8, !tbaa !12
  store i64 1, ptr %5, align 8, !tbaa !5
  store i64 3, ptr @dlacon_.jump, align 8, !tbaa !5
  br label %140

69:                                               ; preds = %39
  %70 = tail call i32 @f2c_dcopy(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1, ptr noundef %1, ptr noundef nonnull @c__1) #4
  %71 = load double, ptr %4, align 8, !tbaa !12
  store double %71, ptr @dlacon_.estold, align 8, !tbaa !12
  %72 = tail call double @f2c_dasum(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @c__1) #4
  store double %72, ptr %4, align 8, !tbaa !12
  %73 = load i64, ptr %0, align 8, !tbaa !5
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not90 = icmp slt i64 %73, 1
  br i1 %.not90, label %.loopexit, label %.lr.ph

74:                                               ; preds = %.lr.ph
  %75 = add nsw i64 %79, 1
  store i64 %75, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not.not = icmp slt i64 %79, %73
  br i1 %.not.not, label %.lr.ph, label %.loopexit, !llvm.loop !22

.lr.ph:                                           ; preds = %69, %74
  %storemerge7891 = phi i64 [ %75, %74 ], [ 1, %69 ]
  %76 = getelementptr inbounds double, ptr %9, i64 %storemerge7891
  %77 = call double @d_sign(ptr noundef nonnull @c_b11, ptr noundef nonnull %76) #4
  store double %77, ptr %7, align 8, !tbaa !12
  %78 = call i64 @i_dnnt(ptr noundef nonnull %7) #4
  %79 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %80 = getelementptr inbounds i64, ptr %8, i64 %79
  %81 = load i64, ptr %80, align 8, !tbaa !5
  %.not79 = icmp eq i64 %78, %81
  br i1 %.not79, label %74, label %82

82:                                               ; preds = %.lr.ph
  %83 = load double, ptr %4, align 8, !tbaa !12
  %84 = load double, ptr @dlacon_.estold, align 8, !tbaa !12
  %85 = fcmp ugt double %83, %84
  br i1 %85, label %86, label %.loopexit

86:                                               ; preds = %82
  %87 = load i64, ptr %0, align 8, !tbaa !5
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not8192 = icmp slt i64 %87, 1
  br i1 %.not8192, label %._crit_edge, label %.lr.ph94

.lr.ph94:                                         ; preds = %86, %.lr.ph94
  %storemerge8093 = phi i64 [ %96, %.lr.ph94 ], [ 1, %86 ]
  %88 = getelementptr inbounds double, ptr %9, i64 %storemerge8093
  %89 = call double @d_sign(ptr noundef nonnull @c_b11, ptr noundef nonnull %88) #4
  %90 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %91 = getelementptr inbounds double, ptr %9, i64 %90
  store double %89, ptr %91, align 8, !tbaa !12
  %92 = call i64 @i_dnnt(ptr noundef nonnull %91) #4
  %93 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %94 = getelementptr inbounds i64, ptr %8, i64 %93
  store i64 %92, ptr %94, align 8, !tbaa !5
  %95 = load i64, ptr @dlacon_.i__, align 8, !tbaa !5
  %96 = add nsw i64 %95, 1
  store i64 %96, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not81.not = icmp slt i64 %95, %87
  br i1 %.not81.not, label %.lr.ph94, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph94, %86
  store i64 2, ptr %5, align 8, !tbaa !5
  store i64 4, ptr @dlacon_.jump, align 8, !tbaa !5
  br label %140

97:                                               ; preds = %39
  %98 = load i64, ptr @dlacon_.j, align 8, !tbaa !5
  store i64 %98, ptr @dlacon_.jlast, align 8, !tbaa !5
  %99 = tail call i64 @f2c_idamax(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1) #4
  store i64 %99, ptr @dlacon_.j, align 8, !tbaa !5
  %100 = load i64, ptr @dlacon_.jlast, align 8, !tbaa !5
  %101 = getelementptr inbounds double, ptr %9, i64 %100
  %102 = load double, ptr %101, align 8, !tbaa !12
  %103 = getelementptr inbounds double, ptr %9, i64 %99
  %104 = load double, ptr %103, align 8, !tbaa !12
  %105 = fcmp oge double %104, 0.000000e+00
  %106 = fneg double %104
  %107 = select i1 %105, double %104, double %106
  %108 = fcmp une double %102, %107
  %109 = load i64, ptr @dlacon_.iter, align 8
  %110 = icmp slt i64 %109, 5
  %or.cond = select i1 %108, i1 %110, i1 false
  br i1 %or.cond, label %111, label %.loopexit

111:                                              ; preds = %97
  %112 = add nsw i64 %109, 1
  br label %63

.loopexit:                                        ; preds = %74, %69, %97, %82
  store double 1.000000e+00, ptr @dlacon_.altsgn, align 8, !tbaa !12
  %113 = load i64, ptr %0, align 8, !tbaa !5
  store i64 1, ptr @dlacon_.i__, align 8, !tbaa !5
  %.not8395 = icmp slt i64 %113, 1
  br i1 %.not8395, label %._crit_edge99, label %.lr.ph98

.lr.ph98:                                         ; preds = %.loopexit, %.lr.ph98
  %114 = phi double [ %125, %.lr.ph98 ], [ 1.000000e+00, %.loopexit ]
  %storemerge8296 = phi i64 [ %126, %.lr.ph98 ], [ 1, %.loopexit ]
  %115 = add nsw i64 %storemerge8296, -1
  %116 = sitofp i64 %115 to double
  %117 = load i64, ptr %0, align 8, !tbaa !5
  %118 = add nsw i64 %117, -1
  %119 = sitofp i64 %118 to double
  %120 = fdiv double %116, %119
  %121 = fadd double %120, 1.000000e+00
  %122 = fmul double %114, %121
  %123 = getelementptr inbounds double, ptr %9, i64 %storemerge8296
  store double %122, ptr %123, align 8, !tbaa !12
  %124 = load double, ptr @dlacon_.altsgn, align 8, !tbaa !12
  %125 = fneg double %124
  store double %125, ptr @dlacon_.altsgn, align 8, !tbaa !12
  %126 = add nuw i64 %storemerge8296, 1
  store i64 %126, ptr @dlacon_.i__, align 8, !tbaa !5
  %exitcond.not = icmp eq i64 %storemerge8296, %113
  br i1 %exitcond.not, label %._crit_edge99, label %.lr.ph98, !llvm.loop !24

._crit_edge99:                                    ; preds = %.lr.ph98, %.loopexit
  store i64 1, ptr %5, align 8, !tbaa !5
  store i64 5, ptr @dlacon_.jump, align 8, !tbaa !5
  br label %140

127:                                              ; preds = %39
  %128 = tail call double @f2c_dasum(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @c__1) #4
  %129 = load i64, ptr %0, align 8, !tbaa !5
  %130 = mul nsw i64 %129, 3
  %131 = sitofp i64 %130 to double
  %132 = fdiv double %128, %131
  %133 = fmul double %132, 2.000000e+00
  store double %133, ptr @dlacon_.temp, align 8, !tbaa !12
  %134 = load double, ptr %4, align 8, !tbaa !12
  %135 = fcmp ogt double %133, %134
  br i1 %135, label %136, label %139

136:                                              ; preds = %127
  %137 = tail call i32 @f2c_dcopy(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @c__1, ptr noundef %1, ptr noundef nonnull @c__1) #4
  %138 = load double, ptr @dlacon_.temp, align 8, !tbaa !12
  br label %.sink.split

.sink.split:                                      ; preds = %44, %136
  %.sink = phi double [ %138, %136 ], [ %48, %44 ]
  store double %.sink, ptr %4, align 8, !tbaa !12
  br label %139

139:                                              ; preds = %.sink.split, %127
  store i64 0, ptr %5, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %139, %._crit_edge99, %._crit_edge, %._crit_edge104, %._crit_edge109, %._crit_edge114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  ret i32 0
}

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

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

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

declare i64 @i_dnnt(ptr noundef) local_unnamed_addr #2

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

declare i32 @f2c_dcopy(ptr noundef, ptr noundef, ptr noundef, 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) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nounwind willreturn memory(argmem: write) }
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 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = !{!19}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !15, !16}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass