; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/SRC (zlange)

; 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.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local double @zlange_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca ptr, align 8
  %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 i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca [2 x double], align 16
  %23 = alloca double, align 8
  %24 = alloca [2 x double], align 16
  %25 = alloca { double, double }, align 8
  %26 = alloca { double, double }, align 8
  %27 = alloca { double, double }, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %29, ptr %13, align 4, !tbaa !9
  %30 = load i32, ptr %13, align 4, !tbaa !9
  %31 = mul nsw i32 %30, 1
  %32 = add nsw i32 1, %31
  store i32 %32, ptr %14, align 4, !tbaa !9
  %33 = load i32, ptr %14, align 4, !tbaa !9
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = sext i32 %33 to i64
  %36 = sub i64 0, %35
  %37 = getelementptr inbounds %struct.doublecomplex, ptr %34, i64 %36
  store ptr %37, ptr %10, align 8, !tbaa !5
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = getelementptr inbounds double, ptr %38, i32 -1
  store ptr %39, ptr %12, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = icmp sle i32 %41, %43
  br i1 %44, label %45, label %48

45:                                               ; preds = %6
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load i32, ptr %46, align 4, !tbaa !9
  br label %51

48:                                               ; preds = %6
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = load i32, ptr %49, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %48, %45
  %52 = phi i32 [ %47, %45 ], [ %50, %48 ]
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  br label %307

55:                                               ; preds = %51
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = call i32 @lsame_(ptr noundef %56, ptr noundef @.str)
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %109

59:                                               ; preds = %55
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = load i32, ptr %60, align 4, !tbaa !9
  store i32 %61, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %105, %59
  %63 = load i32, ptr %20, align 4, !tbaa !9
  %64 = load i32, ptr %15, align 4, !tbaa !9
  %65 = icmp sle i32 %63, %64
  br i1 %65, label %66, label %108

66:                                               ; preds = %62
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = load i32, ptr %67, align 4, !tbaa !9
  store i32 %68, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %101, %66
  %70 = load i32, ptr %19, align 4, !tbaa !9
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = icmp sle i32 %70, %71
  br i1 %72, label %73, label %104

73:                                               ; preds = %69
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load i32, ptr %19, align 4, !tbaa !9
  %76 = load i32, ptr %20, align 4, !tbaa !9
  %77 = load i32, ptr %13, align 4, !tbaa !9
  %78 = mul nsw i32 %76, %77
  %79 = add nsw i32 %75, %78
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds %struct.doublecomplex, ptr %74, i64 %80
  %82 = call { double, double } @Cd(ptr noundef %81)
  %83 = extractvalue { double, double } %82, 0
  %84 = extractvalue { double, double } %82, 1
  %85 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %86 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  store double %83, ptr %85, align 8
  store double %84, ptr %86, align 8
  %87 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %88 = load double, ptr %87, align 8
  %89 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %90 = load double, ptr %89, align 8
  %91 = call double @cabs(double noundef %88, double noundef %90) #5
  store double %91, ptr %18, align 8, !tbaa !11
  %92 = load double, ptr %21, align 8, !tbaa !11
  %93 = load double, ptr %18, align 8, !tbaa !11
  %94 = fcmp olt double %92, %93
  br i1 %94, label %98, label %95

95:                                               ; preds = %73
  %96 = call i32 @disnan_(ptr noundef %18)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %100

98:                                               ; preds = %95, %73
  %99 = load double, ptr %18, align 8, !tbaa !11
  store double %99, ptr %21, align 8, !tbaa !11
  br label %100

100:                                              ; preds = %98, %95
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %19, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %19, align 4, !tbaa !9
  br label %69, !llvm.loop !13

104:                                              ; preds = %69
  br label %105

105:                                              ; preds = %104
  %106 = load i32, ptr %20, align 4, !tbaa !9
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %20, align 4, !tbaa !9
  br label %62, !llvm.loop !15

108:                                              ; preds = %62
  br label %306

109:                                              ; preds = %55
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = call i32 @lsame_(ptr noundef %110, ptr noundef @.str.1)
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %118, label %113

113:                                              ; preds = %109
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = load i8, ptr %114, align 1, !tbaa !16
  %116 = zext i8 %115 to i32
  %117 = icmp eq i32 %116, 49
  br i1 %117, label %118, label %170

118:                                              ; preds = %113, %109
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = load i32, ptr %119, align 4, !tbaa !9
  store i32 %120, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %166, %118
  %122 = load i32, ptr %20, align 4, !tbaa !9
  %123 = load i32, ptr %15, align 4, !tbaa !9
  %124 = icmp sle i32 %122, %123
  br i1 %124, label %125, label %169

125:                                              ; preds = %121
  store double 0.000000e+00, ptr %23, align 8, !tbaa !11
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = load i32, ptr %126, align 4, !tbaa !9
  store i32 %127, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %153, %125
  %129 = load i32, ptr %19, align 4, !tbaa !9
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = icmp sle i32 %129, %130
  br i1 %131, label %132, label %156

132:                                              ; preds = %128
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load i32, ptr %19, align 4, !tbaa !9
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = mul nsw i32 %135, %136
  %138 = add nsw i32 %134, %137
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds %struct.doublecomplex, ptr %133, i64 %139
  %141 = call { double, double } @Cd(ptr noundef %140)
  %142 = extractvalue { double, double } %141, 0
  %143 = extractvalue { double, double } %141, 1
  %144 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %145 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  store double %142, ptr %144, align 8
  store double %143, ptr %145, align 8
  %146 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %147 = load double, ptr %146, align 8
  %148 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %149 = load double, ptr %148, align 8
  %150 = call double @cabs(double noundef %147, double noundef %149) #5
  %151 = load double, ptr %23, align 8, !tbaa !11
  %152 = fadd double %151, %150
  store double %152, ptr %23, align 8, !tbaa !11
  br label %153

153:                                              ; preds = %132
  %154 = load i32, ptr %19, align 4, !tbaa !9
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %19, align 4, !tbaa !9
  br label %128, !llvm.loop !17

156:                                              ; preds = %128
  %157 = load double, ptr %21, align 8, !tbaa !11
  %158 = load double, ptr %23, align 8, !tbaa !11
  %159 = fcmp olt double %157, %158
  br i1 %159, label %163, label %160

160:                                              ; preds = %156
  %161 = call i32 @disnan_(ptr noundef %23)
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %165

163:                                              ; preds = %160, %156
  %164 = load double, ptr %23, align 8, !tbaa !11
  store double %164, ptr %21, align 8, !tbaa !11
  br label %165

165:                                              ; preds = %163, %160
  br label %166

166:                                              ; preds = %165
  %167 = load i32, ptr %20, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %20, align 4, !tbaa !9
  br label %121, !llvm.loop !18

169:                                              ; preds = %121
  br label %305

170:                                              ; preds = %113
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = call i32 @lsame_(ptr noundef %171, ptr noundef @.str.2)
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %174, label %261

174:                                              ; preds = %170
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = load i32, ptr %175, align 4, !tbaa !9
  store i32 %176, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %186, %174
  %178 = load i32, ptr %19, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  %180 = icmp sle i32 %178, %179
  br i1 %180, label %181, label %189

181:                                              ; preds = %177
  %182 = load ptr, ptr %12, align 8, !tbaa !5
  %183 = load i32, ptr %19, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %182, i64 %184
  store double 0.000000e+00, ptr %185, align 8, !tbaa !11
  br label %186

186:                                              ; preds = %181
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %19, align 4, !tbaa !9
  br label %177, !llvm.loop !19

189:                                              ; preds = %177
  %190 = load ptr, ptr %9, align 8, !tbaa !5
  %191 = load i32, ptr %190, align 4, !tbaa !9
  store i32 %191, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %232, %189
  %193 = load i32, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = icmp sle i32 %193, %194
  br i1 %195, label %196, label %235

196:                                              ; preds = %192
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = load i32, ptr %197, align 4, !tbaa !9
  store i32 %198, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %199

199:                                              ; preds = %228, %196
  %200 = load i32, ptr %19, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = icmp sle i32 %200, %201
  br i1 %202, label %203, label %231

203:                                              ; preds = %199
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = load i32, ptr %20, align 4, !tbaa !9
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = mul nsw i32 %206, %207
  %209 = add nsw i32 %205, %208
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %struct.doublecomplex, ptr %204, i64 %210
  %212 = call { double, double } @Cd(ptr noundef %211)
  %213 = extractvalue { double, double } %212, 0
  %214 = extractvalue { double, double } %212, 1
  %215 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %216 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  store double %213, ptr %215, align 8
  store double %214, ptr %216, align 8
  %217 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %218 = load double, ptr %217, align 8
  %219 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %220 = load double, ptr %219, align 8
  %221 = call double @cabs(double noundef %218, double noundef %220) #5
  %222 = load ptr, ptr %12, align 8, !tbaa !5
  %223 = load i32, ptr %19, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds double, ptr %222, i64 %224
  %226 = load double, ptr %225, align 8, !tbaa !11
  %227 = fadd double %226, %221
  store double %227, ptr %225, align 8, !tbaa !11
  br label %228

228:                                              ; preds = %203
  %229 = load i32, ptr %19, align 4, !tbaa !9
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %19, align 4, !tbaa !9
  br label %199, !llvm.loop !20

231:                                              ; preds = %199
  br label %232

232:                                              ; preds = %231
  %233 = load i32, ptr %20, align 4, !tbaa !9
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %20, align 4, !tbaa !9
  br label %192, !llvm.loop !21

235:                                              ; preds = %192
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  %237 = load i32, ptr %236, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %238

238:                                              ; preds = %257, %235
  %239 = load i32, ptr %19, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = icmp sle i32 %239, %240
  br i1 %241, label %242, label %260

242:                                              ; preds = %238
  %243 = load ptr, ptr %12, align 8, !tbaa !5
  %244 = load i32, ptr %19, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds double, ptr %243, i64 %245
  %247 = load double, ptr %246, align 8, !tbaa !11
  store double %247, ptr %18, align 8, !tbaa !11
  %248 = load double, ptr %21, align 8, !tbaa !11
  %249 = load double, ptr %18, align 8, !tbaa !11
  %250 = fcmp olt double %248, %249
  br i1 %250, label %254, label %251

251:                                              ; preds = %242
  %252 = call i32 @disnan_(ptr noundef %18)
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %254, label %256

254:                                              ; preds = %251, %242
  %255 = load double, ptr %18, align 8, !tbaa !11
  store double %255, ptr %21, align 8, !tbaa !11
  br label %256

256:                                              ; preds = %254, %251
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %19, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %19, align 4, !tbaa !9
  br label %238, !llvm.loop !22

260:                                              ; preds = %238
  br label %304

261:                                              ; preds = %170
  %262 = load ptr, ptr %7, align 8, !tbaa !5
  %263 = call i32 @lsame_(ptr noundef %262, ptr noundef @.str.3)
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %269, label %265

265:                                              ; preds = %261
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = call i32 @lsame_(ptr noundef %266, ptr noundef @.str.4)
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %303

269:                                              ; preds = %265, %261
  %270 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0
  store double 0.000000e+00, ptr %270, align 16, !tbaa !11
  %271 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1
  store double 1.000000e+00, ptr %271, align 8, !tbaa !11
  %272 = load ptr, ptr %9, align 8, !tbaa !5
  %273 = load i32, ptr %272, align 4, !tbaa !9
  store i32 %273, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %274

274:                                              ; preds = %293, %269
  %275 = load i32, ptr %20, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = icmp sle i32 %275, %276
  br i1 %277, label %278, label %296

278:                                              ; preds = %274
  %279 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 0
  store double 0.000000e+00, ptr %279, align 16, !tbaa !11
  %280 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 1
  store double 1.000000e+00, ptr %280, align 8, !tbaa !11
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = load ptr, ptr %10, align 8, !tbaa !5
  %283 = load i32, ptr %20, align 4, !tbaa !9
  %284 = load i32, ptr %13, align 4, !tbaa !9
  %285 = mul nsw i32 %283, %284
  %286 = add nsw i32 %285, 1
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds %struct.doublecomplex, ptr %282, i64 %287
  %289 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 0
  %290 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 1
  call void @zlassq_(ptr noundef %281, ptr noundef %288, ptr noundef @c__1, ptr noundef %289, ptr noundef %290)
  %291 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0
  %292 = getelementptr inbounds [2 x double], ptr %22, i64 0, i64 0
  call void @dcombssq_(ptr noundef %291, ptr noundef %292)
  br label %293

293:                                              ; preds = %278
  %294 = load i32, ptr %20, align 4, !tbaa !9
  %295 = add nsw i32 %294, 1
  store i32 %295, ptr %20, align 4, !tbaa !9
  br label %274, !llvm.loop !23

296:                                              ; preds = %274
  %297 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 0
  %298 = load double, ptr %297, align 16, !tbaa !11
  %299 = getelementptr inbounds [2 x double], ptr %24, i64 0, i64 1
  %300 = load double, ptr %299, align 8, !tbaa !11
  %301 = call double @sqrt(double noundef %300) #5
  %302 = fmul double %298, %301
  store double %302, ptr %21, align 8, !tbaa !11
  br label %303

303:                                              ; preds = %296, %265
  br label %304

304:                                              ; preds = %303, %260
  br label %305

305:                                              ; preds = %304, %169
  br label %306

306:                                              ; preds = %305, %108
  br label %307

307:                                              ; preds = %306, %54
  %308 = load double, ptr %21, align 8, !tbaa !11
  store double %308, ptr %17, align 8, !tbaa !11
  %309 = load double, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret double %309
}

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

declare i32 @lsame_(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare double @cabs(double noundef, double noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) #4

declare i32 @disnan_(ptr noundef) #2

declare void @zlassq_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @dcombssq_(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; 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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}


; 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.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@c__1 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local double @zlange_(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef %5) local_unnamed_addr #0 {
  %7 = alloca double, align 8
  %8 = alloca [2 x double], align 16
  %9 = alloca double, align 8
  %10 = alloca [2 x double], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %11 = load i32, ptr %4, align 4, !tbaa !5
  %narrow = xor i32 %11, -1
  %12 = sext i32 %narrow to i64
  %13 = getelementptr inbounds %struct.doublecomplex, ptr %3, i64 %12
  %14 = getelementptr inbounds i8, ptr %5, i64 -8
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %. = tail call i32 @llvm.smin.i32(i32 %15, i32 %16)
  %17 = icmp eq i32 %., 0
  br i1 %17, label %.loopexit, label %18

18:                                               ; preds = %6
  %19 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #8
  %.not92 = icmp eq i32 %19, 0
  br i1 %.not92, label %38, label %20

20:                                               ; preds = %18
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %.not106114 = icmp slt i32 %21, 1
  br i1 %.not106114, label %.loopexit, label %.lr.ph118

.lr.ph118:                                        ; preds = %20
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = icmp slt i32 %22, 1
  br i1 %23, label %.loopexit, label %.lr.ph118.split.preheader

.lr.ph118.split.preheader:                        ; preds = %.lr.ph118
  %24 = sext i32 %11 to i64
  %25 = add nuw i32 %21, 1
  %wide.trip.count165 = zext i32 %25 to i64
  br label %.lr.ph118.split

.lr.ph118.split:                                  ; preds = %.lr.ph118.split.preheader, %._crit_edge
  %indvars.iv162 = phi i64 [ 1, %.lr.ph118.split.preheader ], [ %indvars.iv.next163, %._crit_edge ]
  %.085115 = phi double [ 0.000000e+00, %.lr.ph118.split.preheader ], [ %.186.lcssa, %._crit_edge ]
  %26 = load i32, ptr %1, align 4, !tbaa !5
  %.not107111 = icmp slt i32 %26, 1
  br i1 %.not107111, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph118.split
  %27 = mul nsw i64 %indvars.iv162, %24
  %28 = add nuw i32 %26, 1
  %wide.trip.count = zext i32 %28 to i64
  %invariant.gep212 = getelementptr %struct.doublecomplex, ptr %13, i64 %27
  br label %29

29:                                               ; preds = %.lr.ph, %37
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %37 ]
  %.186112 = phi double [ %.085115, %.lr.ph ], [ %.287, %37 ]
  %gep213 = getelementptr %struct.doublecomplex, ptr %invariant.gep212, i64 %indvars.iv
  %30 = call { double, double } @Cd(ptr noundef %gep213)
  %31 = extractvalue { double, double } %30, 0
  %32 = extractvalue { double, double } %30, 1
  %33 = call double @cabs(double noundef %31, double noundef %32) #8
  store double %33, ptr %7, align 8, !tbaa !9
  %34 = fcmp olt double %.186112, %33
  br i1 %34, label %37, label %35

35:                                               ; preds = %29
  %36 = call i32 @disnan_(ptr noundef nonnull %7) #8
  %.not108 = icmp eq i32 %36, 0
  br i1 %.not108, label %37, label %._crit_edge200

._crit_edge200:                                   ; preds = %35
  %.pre = load double, ptr %7, align 8, !tbaa !9
  br label %37

37:                                               ; preds = %29, %._crit_edge200, %35
  %.287 = phi double [ %.186112, %35 ], [ %.pre, %._crit_edge200 ], [ %33, %29 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %29, !llvm.loop !11

._crit_edge:                                      ; preds = %37, %.lr.ph118.split
  %.186.lcssa = phi double [ %.085115, %.lr.ph118.split ], [ %.287, %37 ]
  %indvars.iv.next163 = add nuw nsw i64 %indvars.iv162, 1
  %exitcond166.not = icmp eq i64 %indvars.iv.next163, %wide.trip.count165
  br i1 %exitcond166.not, label %.loopexit, label %.lr.ph118.split, !llvm.loop !13

38:                                               ; preds = %18
  %39 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #8
  %.not93 = icmp eq i32 %39, 0
  br i1 %.not93, label %40, label %43

40:                                               ; preds = %38
  %41 = load i8, ptr %0, align 1, !tbaa !15
  %42 = icmp eq i8 %41, 49
  br i1 %42, label %43, label %62

43:                                               ; preds = %40, %38
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %.not103151 = icmp slt i32 %44, 1
  br i1 %.not103151, label %.loopexit, label %.lr.ph155.preheader

.lr.ph155.preheader:                              ; preds = %43
  %45 = sext i32 %11 to i64
  %46 = add nuw i32 %44, 1
  %wide.trip.count198 = zext i32 %46 to i64
  br label %.lr.ph155

.lr.ph155:                                        ; preds = %.lr.ph155.preheader, %61
  %indvars.iv195 = phi i64 [ 1, %.lr.ph155.preheader ], [ %indvars.iv.next196, %61 ]
  %.388152 = phi double [ 0.000000e+00, %.lr.ph155.preheader ], [ %.489, %61 ]
  store double 0.000000e+00, ptr %9, align 8, !tbaa !9
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %.not104146 = icmp slt i32 %47, 1
  br i1 %.not104146, label %._crit_edge150, label %.lr.ph149

.lr.ph149:                                        ; preds = %.lr.ph155
  %48 = mul nsw i64 %indvars.iv195, %45
  %49 = add nuw i32 %47, 1
  %wide.trip.count193 = zext i32 %49 to i64
  %invariant.gep216 = getelementptr %struct.doublecomplex, ptr %13, i64 %48
  br label %50

50:                                               ; preds = %.lr.ph149, %50
  %indvars.iv190 = phi i64 [ 1, %.lr.ph149 ], [ %indvars.iv.next191, %50 ]
  %gep217 = getelementptr %struct.doublecomplex, ptr %invariant.gep216, i64 %indvars.iv190
  %51 = call { double, double } @Cd(ptr noundef %gep217)
  %52 = extractvalue { double, double } %51, 0
  %53 = extractvalue { double, double } %51, 1
  %54 = call double @cabs(double noundef %52, double noundef %53) #8
  %55 = load double, ptr %9, align 8, !tbaa !9
  %56 = fadd double %54, %55
  store double %56, ptr %9, align 8, !tbaa !9
  %indvars.iv.next191 = add nuw nsw i64 %indvars.iv190, 1
  %exitcond194.not = icmp eq i64 %indvars.iv.next191, %wide.trip.count193
  br i1 %exitcond194.not, label %._crit_edge150, label %50, !llvm.loop !16

._crit_edge150:                                   ; preds = %50, %.lr.ph155
  %57 = phi double [ 0.000000e+00, %.lr.ph155 ], [ %56, %50 ]
  %58 = fcmp olt double %.388152, %57
  br i1 %58, label %61, label %59

59:                                               ; preds = %._crit_edge150
  %60 = call i32 @disnan_(ptr noundef nonnull %9) #8
  %.not105 = icmp eq i32 %60, 0
  br i1 %.not105, label %61, label %._crit_edge206

._crit_edge206:                                   ; preds = %59
  %.pre207 = load double, ptr %9, align 8, !tbaa !9
  br label %61

61:                                               ; preds = %._crit_edge150, %._crit_edge206, %59
  %.489 = phi double [ %.388152, %59 ], [ %.pre207, %._crit_edge206 ], [ %57, %._crit_edge150 ]
  %indvars.iv.next196 = add nuw nsw i64 %indvars.iv195, 1
  %exitcond199.not = icmp eq i64 %indvars.iv.next196, %wide.trip.count198
  br i1 %exitcond199.not, label %.loopexit, label %.lr.ph155, !llvm.loop !17

62:                                               ; preds = %40
  %63 = tail call i32 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #8
  %.not94 = icmp eq i32 %63, 0
  br i1 %.not94, label %91, label %64

64:                                               ; preds = %62
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %.not98120 = icmp slt i32 %65, 1
  br i1 %.not98120, label %._crit_edge134, label %._crit_edge124.thread

._crit_edge124.thread:                            ; preds = %64
  %66 = zext nneg i32 %65 to i64
  %67 = shl nuw nsw i64 %66, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %5, i8 0, i64 %67, i1 false), !tbaa !9
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %.not99130208 = icmp slt i32 %68, 1
  br i1 %.not99130208, label %.lr.ph139.preheader, label %.lr.ph133.split.preheader

.lr.ph133.split.preheader:                        ; preds = %._crit_edge124.thread
  %69 = sext i32 %11 to i64
  %70 = add nuw i32 %68, 1
  %wide.trip.count178 = zext i32 %70 to i64
  br label %.lr.ph133.split

.lr.ph133.split:                                  ; preds = %.lr.ph133.split.preheader, %._crit_edge129
  %indvars.iv175 = phi i64 [ 1, %.lr.ph133.split.preheader ], [ %indvars.iv.next176, %._crit_edge129 ]
  %71 = load i32, ptr %1, align 4, !tbaa !5
  %.not102125 = icmp slt i32 %71, 1
  br i1 %.not102125, label %._crit_edge129, label %.lr.ph128

.lr.ph128:                                        ; preds = %.lr.ph133.split
  %72 = mul nsw i64 %indvars.iv175, %69
  %73 = add nuw i32 %71, 1
  %wide.trip.count173 = zext i32 %73 to i64
  %invariant.gep214 = getelementptr %struct.doublecomplex, ptr %13, i64 %72
  br label %74

74:                                               ; preds = %.lr.ph128, %74
  %indvars.iv170 = phi i64 [ 1, %.lr.ph128 ], [ %indvars.iv.next171, %74 ]
  %gep215 = getelementptr %struct.doublecomplex, ptr %invariant.gep214, i64 %indvars.iv170
  %75 = tail call { double, double } @Cd(ptr noundef %gep215)
  %76 = extractvalue { double, double } %75, 0
  %77 = extractvalue { double, double } %75, 1
  %78 = tail call double @cabs(double noundef %76, double noundef %77) #8
  %79 = getelementptr inbounds double, ptr %14, i64 %indvars.iv170
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = fadd double %78, %80
  store double %81, ptr %79, align 8, !tbaa !9
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %exitcond174.not = icmp eq i64 %indvars.iv.next171, %wide.trip.count173
  br i1 %exitcond174.not, label %._crit_edge129, label %74, !llvm.loop !18

._crit_edge129:                                   ; preds = %74, %.lr.ph133.split
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %exitcond179.not = icmp eq i64 %indvars.iv.next176, %wide.trip.count178
  br i1 %exitcond179.not, label %._crit_edge134.loopexit158, label %.lr.ph133.split, !llvm.loop !19

._crit_edge134.loopexit158:                       ; preds = %._crit_edge129
  %.pre201 = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge134

._crit_edge134:                                   ; preds = %64, %._crit_edge134.loopexit158
  %82 = phi i32 [ %.pre201, %._crit_edge134.loopexit158 ], [ %65, %64 ]
  %.not100135 = icmp slt i32 %82, 1
  br i1 %.not100135, label %.loopexit, label %.lr.ph139.preheader

.lr.ph139.preheader:                              ; preds = %._crit_edge124.thread, %._crit_edge134
  %83 = phi i32 [ %82, %._crit_edge134 ], [ %65, %._crit_edge124.thread ]
  %84 = add nuw i32 %83, 1
  %wide.trip.count183 = zext i32 %84 to i64
  br label %.lr.ph139

.lr.ph139:                                        ; preds = %.lr.ph139.preheader, %90
  %indvars.iv180 = phi i64 [ 1, %.lr.ph139.preheader ], [ %indvars.iv.next181, %90 ]
  %.5136 = phi double [ 0.000000e+00, %.lr.ph139.preheader ], [ %.6, %90 ]
  %85 = getelementptr inbounds double, ptr %14, i64 %indvars.iv180
  %86 = load double, ptr %85, align 8, !tbaa !9
  store double %86, ptr %7, align 8, !tbaa !9
  %87 = fcmp olt double %.5136, %86
  br i1 %87, label %90, label %88

88:                                               ; preds = %.lr.ph139
  %89 = call i32 @disnan_(ptr noundef nonnull %7) #8
  %.not101 = icmp eq i32 %89, 0
  br i1 %.not101, label %90, label %._crit_edge202

._crit_edge202:                                   ; preds = %88
  %.pre203 = load double, ptr %7, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %.lr.ph139, %._crit_edge202, %88
  %.6 = phi double [ %.5136, %88 ], [ %.pre203, %._crit_edge202 ], [ %86, %.lr.ph139 ]
  %indvars.iv.next181 = add nuw nsw i64 %indvars.iv180, 1
  %exitcond184.not = icmp eq i64 %indvars.iv.next181, %wide.trip.count183
  br i1 %exitcond184.not, label %.loopexit, label %.lr.ph139, !llvm.loop !20

91:                                               ; preds = %62
  %92 = tail call i32 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #8
  %.not95 = icmp eq i32 %92, 0
  br i1 %.not95, label %93, label %95

93:                                               ; preds = %91
  %94 = tail call i32 @lsame_(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #8
  %.not96 = icmp eq i32 %94, 0
  br i1 %.not96, label %.loopexit, label %95

95:                                               ; preds = %93, %91
  %96 = getelementptr inbounds i8, ptr %10, i64 8
  store <2 x double> <double 0.000000e+00, double 1.000000e+00>, ptr %10, align 16, !tbaa !9
  %97 = load i32, ptr %2, align 4, !tbaa !5
  %invariant.gep = getelementptr i8, ptr %13, i64 16
  %.not97141 = icmp slt i32 %97, 1
  br i1 %.not97141, label %._crit_edge145, label %.lr.ph144

.lr.ph144:                                        ; preds = %95
  %98 = getelementptr inbounds i8, ptr %8, i64 8
  %99 = sext i32 %11 to i64
  %100 = add nuw i32 %97, 1
  %wide.trip.count188 = zext i32 %100 to i64
  br label %101

101:                                              ; preds = %.lr.ph144, %101
  %indvars.iv185 = phi i64 [ 1, %.lr.ph144 ], [ %indvars.iv.next186, %101 ]
  store <2 x double> <double 0.000000e+00, double 1.000000e+00>, ptr %8, align 16, !tbaa !9
  %102 = mul nsw i64 %indvars.iv185, %99
  %gep = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %102
  call void @zlassq_(ptr noundef nonnull %1, ptr noundef %gep, ptr noundef nonnull @c__1, ptr noundef nonnull %8, ptr noundef nonnull %98) #8
  call void @dcombssq_(ptr noundef nonnull %10, ptr noundef nonnull %8) #8
  %indvars.iv.next186 = add nuw nsw i64 %indvars.iv185, 1
  %exitcond189.not = icmp eq i64 %indvars.iv.next186, %wide.trip.count188
  br i1 %exitcond189.not, label %._crit_edge145.loopexit, label %101, !llvm.loop !21

._crit_edge145.loopexit:                          ; preds = %101
  %.pre204 = load double, ptr %10, align 16, !tbaa !9
  %.pre205 = load double, ptr %96, align 8, !tbaa !9
  br label %._crit_edge145

._crit_edge145:                                   ; preds = %._crit_edge145.loopexit, %95
  %103 = phi double [ %.pre205, %._crit_edge145.loopexit ], [ 1.000000e+00, %95 ]
  %104 = phi double [ %.pre204, %._crit_edge145.loopexit ], [ 0.000000e+00, %95 ]
  %105 = call double @sqrt(double noundef %103) #8
  %106 = fmul double %104, %105
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge, %90, %61, %.lr.ph118, %20, %._crit_edge134, %43, %6, %._crit_edge145, %93
  %.7 = phi double [ %106, %._crit_edge145 ], [ undef, %93 ], [ 0.000000e+00, %6 ], [ 0.000000e+00, %43 ], [ 0.000000e+00, %._crit_edge134 ], [ 0.000000e+00, %20 ], [ 0.000000e+00, %.lr.ph118 ], [ %.489, %61 ], [ %.6, %90 ], [ %.186.lcssa, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  ret double %.7
}

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

declare i32 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare double @cabs(double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) local_unnamed_addr #4

declare i32 @disnan_(ptr noundef) local_unnamed_addr #2

declare void @zlassq_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @dcombssq_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #5

; 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 nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #6

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

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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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"}
!13 = distinct !{!13, !12, !14}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12, !14}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}


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