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

; 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 [7 x i8], align 1
@c__1 = external hidden global i32, align 4
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@c_b1 = external hidden global %struct.doublecomplex, align 8

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

40:                                               ; preds = %6
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 -1, ptr %41, align 4, !tbaa !9
  br label %67

42:                                               ; preds = %6
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load i32, ptr %45, align 4, !tbaa !9
  %47 = icmp slt i32 %44, %46
  br i1 %47, label %48, label %50

48:                                               ; preds = %42
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 -2, ptr %49, align 4, !tbaa !9
  br label %66

50:                                               ; preds = %42
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = icmp sge i32 1, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %50
  br label %60

57:                                               ; preds = %50
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = load i32, ptr %58, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %57, %56
  %61 = phi i32 [ 1, %56 ], [ %59, %57 ]
  %62 = icmp slt i32 %52, %61
  br i1 %62, label %63, label %65

63:                                               ; preds = %60
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 -4, ptr %64, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %63, %60
  br label %66

66:                                               ; preds = %65, %48
  br label %67

67:                                               ; preds = %66, %40
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %76

71:                                               ; preds = %67
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = sub nsw i32 0, %73
  store i32 %74, ptr %15, align 4, !tbaa !9
  %75 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %15, i32 noundef 6)
  store i32 1, ptr %23, align 4
  br label %400

76:                                               ; preds = %67
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %76
  store i32 1, ptr %23, align 4
  br label %400

81:                                               ; preds = %76
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load i32, ptr %84, align 4, !tbaa !9
  %86 = icmp eq i32 %83, %85
  br i1 %86, label %87, label %110

87:                                               ; preds = %81
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load i32, ptr %88, align 4, !tbaa !9
  store i32 %89, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %106, %87
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = icmp sle i32 %91, %92
  br i1 %93, label %94, label %109

94:                                               ; preds = %90
  %95 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %95, ptr %16, align 4, !tbaa !9
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds %struct.doublecomplex, ptr %96, i64 %98
  %100 = getelementptr inbounds %struct.doublecomplex, ptr %99, i32 0, i32 0
  store double 0.000000e+00, ptr %100, align 8, !tbaa !11
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds %struct.doublecomplex, ptr %101, i64 %103
  %105 = getelementptr inbounds %struct.doublecomplex, ptr %104, i32 0, i32 1
  store double 0.000000e+00, ptr %105, align 8, !tbaa !14
  br label %106

106:                                              ; preds = %94
  %107 = load i32, ptr %19, align 4, !tbaa !9
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %19, align 4, !tbaa !9
  br label %90, !llvm.loop !15

109:                                              ; preds = %90
  br label %399

110:                                              ; preds = %81
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = load i32, ptr %115, align 4, !tbaa !9
  %117 = icmp sle i32 %114, %116
  br i1 %117, label %118, label %120

118:                                              ; preds = %110
  %119 = load i32, ptr %15, align 4, !tbaa !9
  br label %123

120:                                              ; preds = %110
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = load i32, ptr %121, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %120, %118
  %124 = phi i32 [ %119, %118 ], [ %122, %120 ]
  store i32 %124, ptr %22, align 4, !tbaa !9
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = load i32, ptr %125, align 4, !tbaa !9
  store i32 %126, ptr %20, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %395, %123
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = icmp sge i32 %128, 1
  br i1 %129, label %130, label %398

130:                                              ; preds = %127
  %131 = load i32, ptr %20, align 4, !tbaa !9
  %132 = load i32, ptr %20, align 4, !tbaa !9
  %133 = load i32, ptr %13, align 4, !tbaa !9
  %134 = mul nsw i32 %132, %133
  %135 = add nsw i32 %131, %134
  store i32 %135, ptr %15, align 4, !tbaa !9
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = load i32, ptr %20, align 4, !tbaa !9
  %138 = load i32, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %13, align 4, !tbaa !9
  %140 = mul nsw i32 %138, %139
  %141 = add nsw i32 %137, %140
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds %struct.doublecomplex, ptr %136, i64 %142
  %144 = call { double, double } @Cd(ptr noundef %143)
  %145 = extractvalue { double, double } %144, 0
  %146 = extractvalue { double, double } %144, 1
  %147 = fneg double %146
  %148 = call ptr @_pCd(ptr noundef %17)
  %149 = getelementptr inbounds { double, double }, ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds { double, double }, ptr %148, i32 0, i32 1
  store double %145, ptr %149, align 8
  store double %147, ptr %150, align 8
  %151 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 0
  %152 = load double, ptr %151, align 8, !tbaa !11
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = load i32, ptr %15, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds %struct.doublecomplex, ptr %153, i64 %155
  %157 = getelementptr inbounds %struct.doublecomplex, ptr %156, i32 0, i32 0
  store double %152, ptr %157, align 8, !tbaa !11
  %158 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 1
  %159 = load double, ptr %158, align 8, !tbaa !14
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds %struct.doublecomplex, ptr %160, i64 %162
  %164 = getelementptr inbounds %struct.doublecomplex, ptr %163, i32 0, i32 1
  store double %159, ptr %164, align 8, !tbaa !14
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = load i32, ptr %165, align 4, !tbaa !9
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = load i32, ptr %167, align 4, !tbaa !9
  %169 = sub nsw i32 %166, %168
  store i32 %169, ptr %15, align 4, !tbaa !9
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  %171 = load i32, ptr %20, align 4, !tbaa !9
  %172 = load i32, ptr %22, align 4, !tbaa !9
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = mul nsw i32 %172, %173
  %175 = add nsw i32 %171, %174
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds %struct.doublecomplex, ptr %170, i64 %176
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  call void @zlacgv_(ptr noundef %15, ptr noundef %177, ptr noundef %178)
  %179 = load i32, ptr %20, align 4, !tbaa !9
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = load i32, ptr %13, align 4, !tbaa !9
  %182 = mul nsw i32 %180, %181
  %183 = add nsw i32 %179, %182
  store i32 %183, ptr %15, align 4, !tbaa !9
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds %struct.doublecomplex, ptr %184, i64 %186
  %188 = getelementptr inbounds %struct.doublecomplex, ptr %187, i32 0, i32 0
  %189 = load double, ptr %188, align 8, !tbaa !11
  %190 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  store double %189, ptr %190, align 8, !tbaa !11
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = load i32, ptr %15, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds %struct.doublecomplex, ptr %191, i64 %193
  %195 = getelementptr inbounds %struct.doublecomplex, ptr %194, i32 0, i32 1
  %196 = load double, ptr %195, align 8, !tbaa !14
  %197 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  store double %196, ptr %197, align 8, !tbaa !14
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = load i32, ptr %198, align 4, !tbaa !9
  %200 = load ptr, ptr %7, align 8, !tbaa !5
  %201 = load i32, ptr %200, align 4, !tbaa !9
  %202 = sub nsw i32 %199, %201
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %15, align 4, !tbaa !9
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = load i32, ptr %20, align 4, !tbaa !9
  %206 = load i32, ptr %22, 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 = load ptr, ptr %10, align 8, !tbaa !5
  %213 = load ptr, ptr %11, align 8, !tbaa !5
  %214 = load i32, ptr %20, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds %struct.doublecomplex, ptr %213, i64 %215
  call void @zlarfg_(ptr noundef %15, ptr noundef %21, ptr noundef %211, ptr noundef %212, ptr noundef %216)
  %217 = load i32, ptr %20, align 4, !tbaa !9
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = load i32, ptr %13, align 4, !tbaa !9
  %220 = mul nsw i32 %218, %219
  %221 = add nsw i32 %217, %220
  store i32 %221, ptr %15, align 4, !tbaa !9
  %222 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 0
  %223 = load double, ptr %222, align 8, !tbaa !11
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds %struct.doublecomplex, ptr %224, i64 %226
  %228 = getelementptr inbounds %struct.doublecomplex, ptr %227, i32 0, i32 0
  store double %223, ptr %228, align 8, !tbaa !11
  %229 = getelementptr inbounds %struct.doublecomplex, ptr %21, i32 0, i32 1
  %230 = load double, ptr %229, align 8, !tbaa !14
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds %struct.doublecomplex, ptr %231, i64 %233
  %235 = getelementptr inbounds %struct.doublecomplex, ptr %234, i32 0, i32 1
  store double %230, ptr %235, align 8, !tbaa !14
  %236 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %236, ptr %15, align 4, !tbaa !9
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load i32, ptr %20, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds %struct.doublecomplex, ptr %237, i64 %239
  %241 = call { double, double } @Cd(ptr noundef %240)
  %242 = extractvalue { double, double } %241, 0
  %243 = extractvalue { double, double } %241, 1
  %244 = fneg double %243
  %245 = call ptr @_pCd(ptr noundef %17)
  %246 = getelementptr inbounds { double, double }, ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds { double, double }, ptr %245, i32 0, i32 1
  store double %242, ptr %246, align 8
  store double %244, ptr %247, align 8
  %248 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 0
  %249 = load double, ptr %248, align 8, !tbaa !11
  %250 = load ptr, ptr %11, align 8, !tbaa !5
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds %struct.doublecomplex, ptr %250, i64 %252
  %254 = getelementptr inbounds %struct.doublecomplex, ptr %253, i32 0, i32 0
  store double %249, ptr %254, align 8, !tbaa !11
  %255 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 1
  %256 = load double, ptr %255, align 8, !tbaa !14
  %257 = load ptr, ptr %11, align 8, !tbaa !5
  %258 = load i32, ptr %15, align 4, !tbaa !9
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds %struct.doublecomplex, ptr %257, i64 %259
  %261 = getelementptr inbounds %struct.doublecomplex, ptr %260, i32 0, i32 1
  store double %256, ptr %261, align 8, !tbaa !14
  %262 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %262, ptr %15, align 4, !tbaa !9
  %263 = load ptr, ptr %11, align 8, !tbaa !5
  %264 = load i32, ptr %15, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds %struct.doublecomplex, ptr %263, i64 %265
  %267 = getelementptr inbounds %struct.doublecomplex, ptr %266, i32 0, i32 0
  %268 = load double, ptr %267, align 8, !tbaa !11
  %269 = fcmp une double %268, 0.000000e+00
  br i1 %269, label %278, label %270

270:                                              ; preds = %130
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = load i32, ptr %15, align 4, !tbaa !9
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %271, i64 %273
  %275 = getelementptr inbounds %struct.doublecomplex, ptr %274, i32 0, i32 1
  %276 = load double, ptr %275, align 8, !tbaa !14
  %277 = fcmp une double %276, 0.000000e+00
  br i1 %277, label %278, label %394

278:                                              ; preds = %270, %130
  %279 = load i32, ptr %20, align 4, !tbaa !9
  %280 = icmp sgt i32 %279, 1
  br i1 %280, label %281, label %394

281:                                              ; preds = %278
  %282 = load i32, ptr %20, align 4, !tbaa !9
  %283 = sub nsw i32 %282, 1
  store i32 %283, ptr %15, align 4, !tbaa !9
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = load i32, ptr %20, align 4, !tbaa !9
  %286 = load i32, ptr %13, align 4, !tbaa !9
  %287 = mul nsw i32 %285, %286
  %288 = add nsw i32 %287, 1
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds %struct.doublecomplex, ptr %284, i64 %289
  %291 = load ptr, ptr %11, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.doublecomplex, ptr %291, i64 1
  call void @zcopy_(ptr noundef %15, ptr noundef %290, ptr noundef @c__1, ptr noundef %292, ptr noundef @c__1)
  %293 = load i32, ptr %20, align 4, !tbaa !9
  %294 = sub nsw i32 %293, 1
  store i32 %294, ptr %15, align 4, !tbaa !9
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = load i32, ptr %295, align 4, !tbaa !9
  %297 = load ptr, ptr %7, align 8, !tbaa !5
  %298 = load i32, ptr %297, align 4, !tbaa !9
  %299 = sub nsw i32 %296, %298
  store i32 %299, ptr %16, align 4, !tbaa !9
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = load i32, ptr %22, align 4, !tbaa !9
  %302 = load i32, ptr %13, align 4, !tbaa !9
  %303 = mul nsw i32 %301, %302
  %304 = add nsw i32 %303, 1
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds %struct.doublecomplex, ptr %300, i64 %305
  %307 = load ptr, ptr %10, align 8, !tbaa !5
  %308 = load ptr, ptr %9, align 8, !tbaa !5
  %309 = load i32, ptr %20, align 4, !tbaa !9
  %310 = load i32, ptr %22, align 4, !tbaa !9
  %311 = load i32, ptr %13, align 4, !tbaa !9
  %312 = mul nsw i32 %310, %311
  %313 = add nsw i32 %309, %312
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds %struct.doublecomplex, ptr %308, i64 %314
  %316 = load ptr, ptr %10, align 8, !tbaa !5
  %317 = load ptr, ptr %11, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.doublecomplex, ptr %317, i64 1
  call void @zgemv_(ptr noundef @.str.1, ptr noundef %15, ptr noundef %16, ptr noundef @c_b1, ptr noundef %306, ptr noundef %307, ptr noundef %315, ptr noundef %316, ptr noundef @c_b1, ptr noundef %318, ptr noundef @c__1)
  %319 = load i32, ptr %20, align 4, !tbaa !9
  %320 = sub nsw i32 %319, 1
  store i32 %320, ptr %15, align 4, !tbaa !9
  %321 = load ptr, ptr %11, align 8, !tbaa !5
  %322 = load i32, ptr %20, align 4, !tbaa !9
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds %struct.doublecomplex, ptr %321, i64 %323
  %325 = call { double, double } @Cd(ptr noundef %324)
  %326 = extractvalue { double, double } %325, 0
  %327 = extractvalue { double, double } %325, 1
  %328 = fneg double %327
  %329 = call ptr @_pCd(ptr noundef %18)
  %330 = getelementptr inbounds { double, double }, ptr %329, i32 0, i32 0
  %331 = getelementptr inbounds { double, double }, ptr %329, i32 0, i32 1
  store double %326, ptr %330, align 8
  store double %328, ptr %331, align 8
  %332 = getelementptr inbounds %struct.doublecomplex, ptr %18, i32 0, i32 0
  %333 = load double, ptr %332, align 8, !tbaa !11
  %334 = fneg double %333
  %335 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 0
  store double %334, ptr %335, align 8, !tbaa !11
  %336 = getelementptr inbounds %struct.doublecomplex, ptr %18, i32 0, i32 1
  %337 = load double, ptr %336, align 8, !tbaa !14
  %338 = fneg double %337
  %339 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 1
  store double %338, ptr %339, align 8, !tbaa !14
  %340 = load ptr, ptr %11, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.doublecomplex, ptr %340, i64 1
  %342 = load ptr, ptr %9, align 8, !tbaa !5
  %343 = load i32, ptr %20, align 4, !tbaa !9
  %344 = load i32, ptr %13, align 4, !tbaa !9
  %345 = mul nsw i32 %343, %344
  %346 = add nsw i32 %345, 1
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds %struct.doublecomplex, ptr %342, i64 %347
  call void @zaxpy_(ptr noundef %15, ptr noundef %17, ptr noundef %341, ptr noundef @c__1, ptr noundef %348, ptr noundef @c__1)
  %349 = load i32, ptr %20, align 4, !tbaa !9
  %350 = sub nsw i32 %349, 1
  store i32 %350, ptr %15, align 4, !tbaa !9
  %351 = load ptr, ptr %8, align 8, !tbaa !5
  %352 = load i32, ptr %351, align 4, !tbaa !9
  %353 = load ptr, ptr %7, align 8, !tbaa !5
  %354 = load i32, ptr %353, align 4, !tbaa !9
  %355 = sub nsw i32 %352, %354
  store i32 %355, ptr %16, align 4, !tbaa !9
  %356 = load ptr, ptr %11, align 8, !tbaa !5
  %357 = load i32, ptr %20, align 4, !tbaa !9
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds %struct.doublecomplex, ptr %356, i64 %358
  %360 = call { double, double } @Cd(ptr noundef %359)
  %361 = extractvalue { double, double } %360, 0
  %362 = extractvalue { double, double } %360, 1
  %363 = fneg double %362
  %364 = call ptr @_pCd(ptr noundef %18)
  %365 = getelementptr inbounds { double, double }, ptr %364, i32 0, i32 0
  %366 = getelementptr inbounds { double, double }, ptr %364, i32 0, i32 1
  store double %361, ptr %365, align 8
  store double %363, ptr %366, align 8
  %367 = getelementptr inbounds %struct.doublecomplex, ptr %18, i32 0, i32 0
  %368 = load double, ptr %367, align 8, !tbaa !11
  %369 = fneg double %368
  %370 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 0
  store double %369, ptr %370, align 8, !tbaa !11
  %371 = getelementptr inbounds %struct.doublecomplex, ptr %18, i32 0, i32 1
  %372 = load double, ptr %371, align 8, !tbaa !14
  %373 = fneg double %372
  %374 = getelementptr inbounds %struct.doublecomplex, ptr %17, i32 0, i32 1
  store double %373, ptr %374, align 8, !tbaa !14
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.doublecomplex, ptr %375, i64 1
  %377 = load ptr, ptr %9, align 8, !tbaa !5
  %378 = load i32, ptr %20, align 4, !tbaa !9
  %379 = load i32, ptr %22, align 4, !tbaa !9
  %380 = load i32, ptr %13, align 4, !tbaa !9
  %381 = mul nsw i32 %379, %380
  %382 = add nsw i32 %378, %381
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds %struct.doublecomplex, ptr %377, i64 %383
  %385 = load ptr, ptr %10, align 8, !tbaa !5
  %386 = load ptr, ptr %9, align 8, !tbaa !5
  %387 = load i32, ptr %22, align 4, !tbaa !9
  %388 = load i32, ptr %13, align 4, !tbaa !9
  %389 = mul nsw i32 %387, %388
  %390 = add nsw i32 %389, 1
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds %struct.doublecomplex, ptr %386, i64 %391
  %393 = load ptr, ptr %10, align 8, !tbaa !5
  call void @zgerc_(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %376, ptr noundef @c__1, ptr noundef %384, ptr noundef %385, ptr noundef %392, ptr noundef %393)
  br label %394

394:                                              ; preds = %281, %278, %270
  br label %395

395:                                              ; preds = %394
  %396 = load i32, ptr %20, align 4, !tbaa !9
  %397 = add nsw i32 %396, -1
  store i32 %397, ptr %20, align 4, !tbaa !9
  br label %127, !llvm.loop !17

398:                                              ; preds = %127
  br label %399

399:                                              ; preds = %398, %109
  store i32 1, ptr %23, align 4
  br label %400

400:                                              ; preds = %399, %80, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void
}

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(ptr noundef) #3

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

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

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

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

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

declare void @zgerc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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 = { 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 #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 = !{!"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, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 8}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 [7 x i8], align 1
@c__1 = external hidden global i32, align 4
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@c_b1 = external hidden global %struct.doublecomplex, align 8

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

18:                                               ; preds = %6
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = icmp slt i32 %19, %16
  br i1 %20, label %.thread, label %21

21:                                               ; preds = %18
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %spec.select = tail call i32 @llvm.umax.i32(i32 %16, i32 1)
  %23 = icmp slt i32 %22, %spec.select
  br i1 %23, label %.thread, label %25

.thread:                                          ; preds = %21, %18, %6
  %.sink = phi i32 [ -1, %6 ], [ -2, %18 ], [ -4, %21 ]
  %.neg = phi i32 [ 1, %6 ], [ 2, %18 ], [ 4, %21 ]
  store i32 %.sink, ptr %5, align 4, !tbaa !5
  store i32 %.neg, ptr %7, align 4, !tbaa !5
  %24 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %7, i32 noundef 6) #6
  br label %.loopexit127

25:                                               ; preds = %21
  %26 = icmp eq i32 %16, 0
  br i1 %26, label %.loopexit127, label %27

27:                                               ; preds = %25
  %28 = icmp eq i32 %16, %19
  br i1 %28, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %27
  %29 = add nuw nsw i32 %16, 1
  %invariant.gep = getelementptr i8, ptr %14, i64 16
  %.not124.not = icmp ult i32 %16, %19
  %. = select i1 %.not124.not, i32 %29, i32 %19
  %30 = mul nsw i32 %., %12
  %31 = sext i32 %30 to i64
  %gep129 = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %31
  %32 = zext nneg i32 %16 to i64
  %33 = sext i32 %12 to i64
  %34 = add i32 %12, 1
  %invariant.gep141 = getelementptr %struct.doublecomplex, ptr %14, i64 %31
  br label %35

35:                                               ; preds = %.lr.ph, %103
  %indvars.iv = phi i64 [ %32, %.lr.ph ], [ %indvars.iv.next, %103 ]
  %indvars135 = trunc i64 %indvars.iv to i32
  %36 = mul nsw i64 %indvars.iv, %33
  %37 = mul i32 %34, %indvars135
  store i32 %37, ptr %7, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds %struct.doublecomplex, ptr %14, i64 %38
  %40 = call { double, double } @Cd(ptr noundef %39)
  %41 = extractvalue { double, double } %40, 0
  %42 = extractvalue { double, double } %40, 1
  %43 = fneg double %42
  %44 = call ptr @_pCd(ptr noundef nonnull %9)
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  store double %41, ptr %44, align 8
  store double %43, ptr %45, align 8
  %46 = load i32, ptr %7, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds %struct.doublecomplex, ptr %14, i64 %47
  %49 = load <2 x double>, ptr %9, align 16, !tbaa !9
  store <2 x double> %49, ptr %48, align 8, !tbaa !9
  %50 = load i32, ptr %1, align 4, !tbaa !5
  %51 = load i32, ptr %0, align 4, !tbaa !5
  %52 = sub nsw i32 %50, %51
  store i32 %52, ptr %7, align 4, !tbaa !5
  %gep142 = getelementptr %struct.doublecomplex, ptr %invariant.gep141, i64 %indvars.iv
  call void @zlacgv_(ptr noundef nonnull %7, ptr noundef %gep142, ptr noundef nonnull %3) #6
  %53 = load <2 x double>, ptr %39, align 8, !tbaa !9
  store <2 x double> %53, ptr %11, align 16, !tbaa !9
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = load i32, ptr %0, align 4, !tbaa !5
  %56 = add i32 %54, 1
  %57 = sub i32 %56, %55
  store i32 %57, ptr %7, align 4, !tbaa !5
  %58 = getelementptr inbounds %struct.doublecomplex, ptr %15, i64 %indvars.iv
  call void @zlarfg_(ptr noundef nonnull %7, ptr noundef nonnull %11, ptr noundef %gep142, ptr noundef nonnull %3, ptr noundef nonnull %58) #6
  %59 = load <2 x double>, ptr %11, align 16, !tbaa !9
  store <2 x double> %59, ptr %39, align 8, !tbaa !9
  store i32 %indvars135, ptr %7, align 4, !tbaa !5
  %60 = call { double, double } @Cd(ptr noundef nonnull %58)
  %61 = extractvalue { double, double } %60, 0
  %62 = extractvalue { double, double } %60, 1
  %63 = fneg double %62
  %64 = call ptr @_pCd(ptr noundef nonnull %9)
  %65 = getelementptr inbounds i8, ptr %64, i64 8
  store double %61, ptr %64, align 8
  store double %63, ptr %65, align 8
  %66 = load i32, ptr %7, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds %struct.doublecomplex, ptr %15, i64 %67
  %69 = load <2 x double>, ptr %9, align 16, !tbaa !9
  store <2 x double> %69, ptr %68, align 8, !tbaa !9
  store i32 %indvars135, ptr %7, align 4, !tbaa !5
  %70 = load double, ptr %58, align 8, !tbaa !11
  %71 = fcmp une double %70, 0.000000e+00
  br i1 %71, label %77, label %72

72:                                               ; preds = %35
  %73 = getelementptr inbounds i8, ptr %58, i64 8
  %74 = load double, ptr %73, align 8, !tbaa !13
  %75 = fcmp une double %74, 0.000000e+00
  %76 = icmp ne i64 %indvars.iv, 1
  %or.cond = and i1 %76, %75
  br i1 %or.cond, label %78, label %103

77:                                               ; preds = %35
  %.old1.not = icmp eq i64 %indvars.iv, 1
  br i1 %.old1.not, label %.loopexit127, label %78

78:                                               ; preds = %72, %77
  %79 = trunc i64 %indvars.iv to i32
  %80 = add i32 %79, -1
  store i32 %80, ptr %7, align 4, !tbaa !5
  %gep = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %36
  call void @zcopy_(ptr noundef nonnull %7, ptr noundef %gep, ptr noundef nonnull @c__1, ptr noundef nonnull %4, ptr noundef nonnull @c__1) #6
  store i32 %80, ptr %7, align 4, !tbaa !5
  %81 = load i32, ptr %1, align 4, !tbaa !5
  %82 = load i32, ptr %0, align 4, !tbaa !5
  %83 = sub nsw i32 %81, %82
  store i32 %83, ptr %8, align 4, !tbaa !5
  call void @zgemv_(ptr noundef nonnull @.str.1, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull @c_b1, ptr noundef %gep129, ptr noundef nonnull %3, ptr noundef nonnull %gep142, ptr noundef nonnull %3, ptr noundef nonnull @c_b1, ptr noundef nonnull %4, ptr noundef nonnull @c__1) #6
  store i32 %80, ptr %7, align 4, !tbaa !5
  %84 = call { double, double } @Cd(ptr noundef nonnull %58)
  %85 = extractvalue { double, double } %84, 0
  %86 = extractvalue { double, double } %84, 1
  %87 = fneg double %86
  %88 = call ptr @_pCd(ptr noundef nonnull %10)
  %89 = getelementptr inbounds i8, ptr %88, i64 8
  store double %85, ptr %88, align 8
  store double %87, ptr %89, align 8
  %90 = load <2 x double>, ptr %10, align 16, !tbaa !9
  %91 = fneg <2 x double> %90
  store <2 x double> %91, ptr %9, align 16, !tbaa !9
  call void @zaxpy_(ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull @c__1, ptr noundef %gep, ptr noundef nonnull @c__1) #6
  store i32 %80, ptr %7, align 4, !tbaa !5
  %92 = load i32, ptr %1, align 4, !tbaa !5
  %93 = load i32, ptr %0, align 4, !tbaa !5
  %94 = sub nsw i32 %92, %93
  store i32 %94, ptr %8, align 4, !tbaa !5
  %95 = call { double, double } @Cd(ptr noundef nonnull %58)
  %96 = extractvalue { double, double } %95, 0
  %97 = extractvalue { double, double } %95, 1
  %98 = fneg double %97
  %99 = call ptr @_pCd(ptr noundef nonnull %10)
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  store double %96, ptr %99, align 8
  store double %98, ptr %100, align 8
  %101 = load <2 x double>, ptr %10, align 16, !tbaa !9
  %102 = fneg <2 x double> %101
  store <2 x double> %102, ptr %9, align 16, !tbaa !9
  call void @zgerc_(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %4, ptr noundef nonnull @c__1, ptr noundef nonnull %gep142, ptr noundef nonnull %3, ptr noundef %gep129, ptr noundef nonnull %3) #6
  br label %103

103:                                              ; preds = %72, %78
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %104 = icmp sgt i64 %indvars.iv, 1
  br i1 %104, label %35, label %.loopexit127, !llvm.loop !14

.loopexit:                                        ; preds = %27
  %105 = zext nneg i32 %16 to i64
  %106 = shl nuw nsw i64 %105, 4
  tail call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 %106, i1 false), !tbaa !9
  br label %.loopexit127

.loopexit127:                                     ; preds = %77, %103, %.loopexit, %25, %.thread
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  ret void
}

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCd(ptr noundef) local_unnamed_addr #3

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

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

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

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

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

declare void @zgerc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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 nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4

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

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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass