; LLVM IR from OpenMathLib/OpenBLAS :: relapack/src (ctrsyl_rec2)

; 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.complex = type { float, float }

@RELAPACK_ctrsyl_rec2.j = external hidden global i32, align 4
@RELAPACK_ctrsyl_rec2.k = external hidden global i32, align 4
@RELAPACK_ctrsyl_rec2.l = external hidden global i32, align 4
@RELAPACK_ctrsyl_rec2.a11 = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.db = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.x11 = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.da11 = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.vec = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.dum = external hidden global [1 x float], align 4
@RELAPACK_ctrsyl_rec2.eps = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.sgn = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.smin = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.suml = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.sumr = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.scaloc = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.bignum = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.notrna = external hidden global i32, align 4
@RELAPACK_ctrsyl_rec2.notrnb = external hidden global i32, align 4
@RELAPACK_ctrsyl_rec2.smlnum = external hidden global float, align 4
@.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 [7 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
@.str.5 = 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 void @RELAPACK_ctrsyl_rec2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i64 noundef %13, i64 noundef %14) #0 {
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca %struct.complex, align 4
  %44 = alloca %struct.complex, align 4
  %45 = alloca %struct.complex, align 4
  %46 = alloca %struct.complex, align 4
  %47 = alloca i32, align 4
  %48 = alloca %struct.complex, align 4
  %49 = alloca %struct.complex, align 4
  %50 = alloca %struct.complex, align 4
  %51 = alloca %struct.complex, align 4
  %52 = alloca %struct.complex, align 4
  %53 = alloca %struct.complex, align 4
  %54 = alloca %struct.complex, align 4
  %55 = alloca %struct.complex, align 4
  %56 = alloca %struct.complex, align 4
  %57 = alloca %struct.complex, align 4
  %58 = alloca %struct.complex, align 4
  %59 = alloca %struct.complex, align 4
  store ptr %0, ptr %16, align 8, !tbaa !5
  store ptr %1, ptr %17, align 8, !tbaa !5
  store ptr %2, ptr %18, align 8, !tbaa !5
  store ptr %3, ptr %19, align 8, !tbaa !5
  store ptr %4, ptr %20, align 8, !tbaa !5
  store ptr %5, ptr %21, align 8, !tbaa !5
  store ptr %6, ptr %22, align 8, !tbaa !5
  store ptr %7, ptr %23, align 8, !tbaa !5
  store ptr %8, ptr %24, align 8, !tbaa !5
  store ptr %9, ptr %25, align 8, !tbaa !5
  store ptr %10, ptr %26, align 8, !tbaa !5
  store ptr %11, ptr %27, align 8, !tbaa !5
  store ptr %12, ptr %28, align 8, !tbaa !5
  store i64 %13, ptr %29, align 8, !tbaa !9
  store i64 %14, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %60 = load ptr, ptr %22, align 8, !tbaa !5
  %61 = load i32, ptr %60, align 4, !tbaa !11
  store i32 %61, ptr %31, align 4, !tbaa !11
  %62 = load i32, ptr %31, align 4, !tbaa !11
  %63 = add nsw i32 1, %62
  store i32 %63, ptr %32, align 4, !tbaa !11
  %64 = load i32, ptr %32, align 4, !tbaa !11
  %65 = load ptr, ptr %21, align 8, !tbaa !5
  %66 = sext i32 %64 to i64
  %67 = sub i64 0, %66
  %68 = getelementptr inbounds %struct.complex, ptr %65, i64 %67
  store ptr %68, ptr %21, align 8, !tbaa !5
  %69 = load ptr, ptr %24, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !11
  store i32 %70, ptr %33, align 4, !tbaa !11
  %71 = load i32, ptr %33, align 4, !tbaa !11
  %72 = add nsw i32 1, %71
  store i32 %72, ptr %34, align 4, !tbaa !11
  %73 = load i32, ptr %34, align 4, !tbaa !11
  %74 = load ptr, ptr %23, align 8, !tbaa !5
  %75 = sext i32 %73 to i64
  %76 = sub i64 0, %75
  %77 = getelementptr inbounds %struct.complex, ptr %74, i64 %76
  store ptr %77, ptr %23, align 8, !tbaa !5
  %78 = load ptr, ptr %26, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !11
  store i32 %79, ptr %35, align 4, !tbaa !11
  %80 = load i32, ptr %35, align 4, !tbaa !11
  %81 = add nsw i32 1, %80
  store i32 %81, ptr %36, align 4, !tbaa !11
  %82 = load i32, ptr %36, align 4, !tbaa !11
  %83 = load ptr, ptr %25, align 8, !tbaa !5
  %84 = sext i32 %82 to i64
  %85 = sub i64 0, %84
  %86 = getelementptr inbounds %struct.complex, ptr %83, i64 %85
  store ptr %86, ptr %25, align 8, !tbaa !5
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = call i32 @lsame_(ptr noundef %87, ptr noundef @.str, i64 noundef 1, i64 noundef 1)
  store i32 %88, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !11
  %89 = load ptr, ptr %17, align 8, !tbaa !5
  %90 = call i32 @lsame_(ptr noundef %89, ptr noundef @.str, i64 noundef 1, i64 noundef 1)
  store i32 %90, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !11
  %91 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 0, ptr %91, align 4, !tbaa !11
  %92 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !11
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %100, label %94

94:                                               ; preds = %15
  %95 = load ptr, ptr %16, align 8, !tbaa !5
  %96 = call i32 @lsame_(ptr noundef %95, ptr noundef @.str.1, i64 noundef 1, i64 noundef 1)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %100, label %98

98:                                               ; preds = %94
  %99 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -1, ptr %99, align 4, !tbaa !11
  br label %183

100:                                              ; preds = %94, %15
  %101 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !11
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %109, label %103

103:                                              ; preds = %100
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = call i32 @lsame_(ptr noundef %104, ptr noundef @.str.1, i64 noundef 1, i64 noundef 1)
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %109, label %107

107:                                              ; preds = %103
  %108 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -2, ptr %108, align 4, !tbaa !11
  br label %182

109:                                              ; preds = %103, %100
  %110 = load ptr, ptr %18, align 8, !tbaa !5
  %111 = load i32, ptr %110, align 4, !tbaa !11
  %112 = icmp ne i32 %111, 1
  br i1 %112, label %113, label %119

113:                                              ; preds = %109
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load i32, ptr %114, align 4, !tbaa !11
  %116 = icmp ne i32 %115, -1
  br i1 %116, label %117, label %119

117:                                              ; preds = %113
  %118 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -3, ptr %118, align 4, !tbaa !11
  br label %181

119:                                              ; preds = %113, %109
  %120 = load ptr, ptr %19, align 8, !tbaa !5
  %121 = load i32, ptr %120, align 4, !tbaa !11
  %122 = icmp slt i32 %121, 0
  br i1 %122, label %123, label %125

123:                                              ; preds = %119
  %124 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -4, ptr %124, align 4, !tbaa !11
  br label %180

125:                                              ; preds = %119
  %126 = load ptr, ptr %20, align 8, !tbaa !5
  %127 = load i32, ptr %126, align 4, !tbaa !11
  %128 = icmp slt i32 %127, 0
  br i1 %128, label %129, label %131

129:                                              ; preds = %125
  %130 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -5, ptr %130, align 4, !tbaa !11
  br label %179

131:                                              ; preds = %125
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = load i32, ptr %132, align 4, !tbaa !11
  %134 = load ptr, ptr %19, align 8, !tbaa !5
  %135 = load i32, ptr %134, align 4, !tbaa !11
  %136 = icmp sge i32 1, %135
  br i1 %136, label %137, label %138

137:                                              ; preds = %131
  br label %141

138:                                              ; preds = %131
  %139 = load ptr, ptr %19, align 8, !tbaa !5
  %140 = load i32, ptr %139, align 4, !tbaa !11
  br label %141

141:                                              ; preds = %138, %137
  %142 = phi i32 [ 1, %137 ], [ %140, %138 ]
  %143 = icmp slt i32 %133, %142
  br i1 %143, label %144, label %146

144:                                              ; preds = %141
  %145 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -7, ptr %145, align 4, !tbaa !11
  br label %178

146:                                              ; preds = %141
  %147 = load ptr, ptr %24, align 8, !tbaa !5
  %148 = load i32, ptr %147, align 4, !tbaa !11
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = load i32, ptr %149, align 4, !tbaa !11
  %151 = icmp sge i32 1, %150
  br i1 %151, label %152, label %153

152:                                              ; preds = %146
  br label %156

153:                                              ; preds = %146
  %154 = load ptr, ptr %20, align 8, !tbaa !5
  %155 = load i32, ptr %154, align 4, !tbaa !11
  br label %156

156:                                              ; preds = %153, %152
  %157 = phi i32 [ 1, %152 ], [ %155, %153 ]
  %158 = icmp slt i32 %148, %157
  br i1 %158, label %159, label %161

159:                                              ; preds = %156
  %160 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -9, ptr %160, align 4, !tbaa !11
  br label %177

161:                                              ; preds = %156
  %162 = load ptr, ptr %26, align 8, !tbaa !5
  %163 = load i32, ptr %162, align 4, !tbaa !11
  %164 = load ptr, ptr %19, align 8, !tbaa !5
  %165 = load i32, ptr %164, align 4, !tbaa !11
  %166 = icmp sge i32 1, %165
  br i1 %166, label %167, label %168

167:                                              ; preds = %161
  br label %171

168:                                              ; preds = %161
  %169 = load ptr, ptr %19, align 8, !tbaa !5
  %170 = load i32, ptr %169, align 4, !tbaa !11
  br label %171

171:                                              ; preds = %168, %167
  %172 = phi i32 [ 1, %167 ], [ %170, %168 ]
  %173 = icmp slt i32 %163, %172
  br i1 %173, label %174, label %176

174:                                              ; preds = %171
  %175 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 -11, ptr %175, align 4, !tbaa !11
  br label %176

176:                                              ; preds = %174, %171
  br label %177

177:                                              ; preds = %176, %159
  br label %178

178:                                              ; preds = %177, %144
  br label %179

179:                                              ; preds = %178, %129
  br label %180

180:                                              ; preds = %179, %123
  br label %181

181:                                              ; preds = %180, %117
  br label %182

182:                                              ; preds = %181, %107
  br label %183

183:                                              ; preds = %182, %98
  %184 = load ptr, ptr %28, align 8, !tbaa !5
  %185 = load i32, ptr %184, align 4, !tbaa !11
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %192

187:                                              ; preds = %183
  %188 = load ptr, ptr %28, align 8, !tbaa !5
  %189 = load i32, ptr %188, align 4, !tbaa !11
  %190 = sub nsw i32 0, %189
  store i32 %190, ptr %37, align 4, !tbaa !11
  %191 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %37, i64 noundef 6)
  store i32 1, ptr %47, align 4
  br label %1631

192:                                              ; preds = %183
  %193 = load ptr, ptr %27, align 8, !tbaa !5
  store float 1.000000e+00, ptr %193, align 4, !tbaa !13
  %194 = load ptr, ptr %19, align 8, !tbaa !5
  %195 = load i32, ptr %194, align 4, !tbaa !11
  %196 = icmp eq i32 %195, 0
  br i1 %196, label %201, label %197

197:                                              ; preds = %192
  %198 = load ptr, ptr %20, align 8, !tbaa !5
  %199 = load i32, ptr %198, align 4, !tbaa !11
  %200 = icmp eq i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %197, %192
  store i32 1, ptr %47, align 4
  br label %1631

202:                                              ; preds = %197
  %203 = call float @slamch_(ptr noundef @.str.3, i64 noundef 1)
  store float %203, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !13
  %204 = call float @slamch_(ptr noundef @.str.4, i64 noundef 1)
  store float %204, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !13
  %205 = load float, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !13
  %206 = fdiv float 1.000000e+00, %205
  store float %206, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !13
  %207 = call i32 @slabad_(ptr noundef @RELAPACK_ctrsyl_rec2.smlnum, ptr noundef @RELAPACK_ctrsyl_rec2.bignum)
  %208 = load float, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !13
  %209 = load ptr, ptr %19, align 8, !tbaa !5
  %210 = load i32, ptr %209, align 4, !tbaa !11
  %211 = load ptr, ptr %20, align 8, !tbaa !5
  %212 = load i32, ptr %211, align 4, !tbaa !11
  %213 = mul nsw i32 %210, %212
  %214 = sitofp i32 %213 to float
  %215 = fmul float %208, %214
  %216 = load float, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !13
  %217 = fdiv float %215, %216
  store float %217, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !13
  %218 = load float, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !13
  %219 = fdiv float 1.000000e+00, %218
  store float %219, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !13
  %220 = load float, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !13
  store float %220, ptr %41, align 4, !tbaa !13
  %221 = load float, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !13
  %222 = load ptr, ptr %19, align 8, !tbaa !5
  %223 = load ptr, ptr %19, align 8, !tbaa !5
  %224 = load ptr, ptr %21, align 8, !tbaa !5
  %225 = load i32, ptr %32, align 4, !tbaa !11
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds %struct.complex, ptr %224, i64 %226
  %228 = load ptr, ptr %22, align 8, !tbaa !5
  %229 = call float @clange_(ptr noundef @.str.5, ptr noundef %222, ptr noundef %223, ptr noundef %227, ptr noundef %228, ptr noundef @RELAPACK_ctrsyl_rec2.dum, i64 noundef 1)
  %230 = fmul float %221, %229
  store float %230, ptr %42, align 4, !tbaa !13
  %231 = load float, ptr %41, align 4, !tbaa !13
  %232 = load float, ptr %42, align 4, !tbaa !13
  %233 = fcmp oge float %231, %232
  br i1 %233, label %234, label %236

234:                                              ; preds = %202
  %235 = load float, ptr %41, align 4, !tbaa !13
  br label %238

236:                                              ; preds = %202
  %237 = load float, ptr %42, align 4, !tbaa !13
  br label %238

238:                                              ; preds = %236, %234
  %239 = phi float [ %235, %234 ], [ %237, %236 ]
  store float %239, ptr %41, align 4, !tbaa !13
  %240 = load float, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !13
  %241 = load ptr, ptr %20, align 8, !tbaa !5
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  %243 = load ptr, ptr %23, align 8, !tbaa !5
  %244 = load i32, ptr %34, align 4, !tbaa !11
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds %struct.complex, ptr %243, i64 %245
  %247 = load ptr, ptr %24, align 8, !tbaa !5
  %248 = call float @clange_(ptr noundef @.str.5, ptr noundef %241, ptr noundef %242, ptr noundef %246, ptr noundef %247, ptr noundef @RELAPACK_ctrsyl_rec2.dum, i64 noundef 1)
  %249 = fmul float %240, %248
  store float %249, ptr %42, align 4, !tbaa !13
  %250 = load float, ptr %41, align 4, !tbaa !13
  %251 = load float, ptr %42, align 4, !tbaa !13
  %252 = fcmp oge float %250, %251
  br i1 %252, label %253, label %255

253:                                              ; preds = %238
  %254 = load float, ptr %41, align 4, !tbaa !13
  br label %257

255:                                              ; preds = %238
  %256 = load float, ptr %42, align 4, !tbaa !13
  br label %257

257:                                              ; preds = %255, %253
  %258 = phi float [ %254, %253 ], [ %256, %255 ]
  %259 = fpext float %258 to double
  %260 = fptrunc double %259 to float
  store float %260, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  %261 = load ptr, ptr %18, align 8, !tbaa !5
  %262 = load i32, ptr %261, align 4, !tbaa !11
  %263 = sitofp i32 %262 to float
  store float %263, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %264 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !11
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %266, label %605

266:                                              ; preds = %257
  %267 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !11
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %605

269:                                              ; preds = %266
  %270 = load ptr, ptr %20, align 8, !tbaa !5
  %271 = load i32, ptr %270, align 4, !tbaa !11
  store i32 %271, ptr %37, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %272

272:                                              ; preds = %601, %269
  %273 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %274 = load i32, ptr %37, align 4, !tbaa !11
  %275 = icmp sle i32 %273, %274
  br i1 %275, label %276, label %604

276:                                              ; preds = %272
  %277 = load ptr, ptr %19, align 8, !tbaa !5
  %278 = load i32, ptr %277, align 4, !tbaa !11
  store i32 %278, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %279

279:                                              ; preds = %597, %276
  %280 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %281 = icmp sge i32 %280, 1
  br i1 %281, label %282, label %600

282:                                              ; preds = %279
  %283 = load ptr, ptr %19, align 8, !tbaa !5
  %284 = load i32, ptr %283, align 4, !tbaa !11
  %285 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %286 = sub nsw i32 %284, %285
  store i32 %286, ptr %38, align 4, !tbaa !11
  %287 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %39, align 4, !tbaa !11
  %289 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %291 = load ptr, ptr %21, align 8, !tbaa !5
  %292 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %293 = load i32, ptr %39, align 4, !tbaa !11
  %294 = load ptr, ptr %19, align 8, !tbaa !5
  %295 = load i32, ptr %294, align 4, !tbaa !11
  %296 = icmp sle i32 %293, %295
  br i1 %296, label %297, label %299

297:                                              ; preds = %282
  %298 = load i32, ptr %39, align 4, !tbaa !11
  br label %302

299:                                              ; preds = %282
  %300 = load ptr, ptr %19, align 8, !tbaa !5
  %301 = load i32, ptr %300, align 4, !tbaa !11
  br label %302

302:                                              ; preds = %299, %297
  %303 = phi i32 [ %298, %297 ], [ %301, %299 ]
  %304 = load i32, ptr %31, align 4, !tbaa !11
  %305 = mul nsw i32 %303, %304
  %306 = add nsw i32 %292, %305
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds %struct.complex, ptr %291, i64 %307
  %309 = load ptr, ptr %22, align 8, !tbaa !5
  %310 = load ptr, ptr %25, align 8, !tbaa !5
  %311 = load i32, ptr %40, align 4, !tbaa !11
  %312 = load ptr, ptr %19, align 8, !tbaa !5
  %313 = load i32, ptr %312, align 4, !tbaa !11
  %314 = icmp sle i32 %311, %313
  br i1 %314, label %315, label %317

315:                                              ; preds = %302
  %316 = load i32, ptr %40, align 4, !tbaa !11
  br label %320

317:                                              ; preds = %302
  %318 = load ptr, ptr %19, align 8, !tbaa !5
  %319 = load i32, ptr %318, align 4, !tbaa !11
  br label %320

320:                                              ; preds = %317, %315
  %321 = phi i32 [ %316, %315 ], [ %319, %317 ]
  %322 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %323 = load i32, ptr %35, align 4, !tbaa !11
  %324 = mul nsw i32 %322, %323
  %325 = add nsw i32 %321, %324
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds %struct.complex, ptr %310, i64 %326
  %328 = call <2 x float> @cdotu_(ptr noundef %38, ptr noundef %308, ptr noundef %309, ptr noundef %327, ptr noundef @c__1)
  store <2 x float> %328, ptr %48, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  %329 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %330 = load float, ptr %329, align 4, !tbaa !16
  store float %330, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %331 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %332 = load float, ptr %331, align 4, !tbaa !18
  store float %332, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %333 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %334 = sub nsw i32 %333, 1
  store i32 %334, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  %335 = load ptr, ptr %25, align 8, !tbaa !5
  %336 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %337 = load i32, ptr %35, align 4, !tbaa !11
  %338 = add nsw i32 %336, %337
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds %struct.complex, ptr %335, i64 %339
  %341 = load ptr, ptr %26, align 8, !tbaa !5
  %342 = load ptr, ptr %23, align 8, !tbaa !5
  %343 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %344 = load i32, ptr %33, align 4, !tbaa !11
  %345 = mul nsw i32 %343, %344
  %346 = add nsw i32 %345, 1
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds %struct.complex, ptr %342, i64 %347
  %349 = call <2 x float> @cdotu_(ptr noundef %38, ptr noundef %340, ptr noundef %341, ptr noundef %348, ptr noundef @c__1)
  store <2 x float> %349, ptr %49, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  %350 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %351 = load float, ptr %350, align 4, !tbaa !16
  store float %351, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !16
  %352 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %353 = load float, ptr %352, align 4, !tbaa !18
  store float %353, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.sumr, i32 0, i32 1), align 4, !tbaa !18
  %354 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %355 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %356 = load i32, ptr %35, align 4, !tbaa !11
  %357 = mul nsw i32 %355, %356
  %358 = add nsw i32 %354, %357
  store i32 %358, ptr %38, align 4, !tbaa !11
  %359 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %360 = load float, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !16
  %361 = fmul float %359, %360
  %362 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %361, ptr %362, align 4, !tbaa !16
  %363 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %364 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.sumr, i32 0, i32 1), align 4, !tbaa !18
  %365 = fmul float %363, %364
  %366 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float %365, ptr %366, align 4, !tbaa !18
  %367 = load float, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %368 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %369 = load float, ptr %368, align 4, !tbaa !16
  %370 = fadd float %367, %369
  %371 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %370, ptr %371, align 4, !tbaa !16
  %372 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %373 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %374 = load float, ptr %373, align 4, !tbaa !18
  %375 = fadd float %372, %374
  %376 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %375, ptr %376, align 4, !tbaa !18
  %377 = load ptr, ptr %25, align 8, !tbaa !5
  %378 = load i32, ptr %38, align 4, !tbaa !11
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds %struct.complex, ptr %377, i64 %379
  %381 = getelementptr inbounds %struct.complex, ptr %380, i32 0, i32 0
  %382 = load float, ptr %381, align 4, !tbaa !16
  %383 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %384 = load float, ptr %383, align 4, !tbaa !16
  %385 = fsub float %382, %384
  %386 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %385, ptr %386, align 4, !tbaa !16
  %387 = load ptr, ptr %25, align 8, !tbaa !5
  %388 = load i32, ptr %38, align 4, !tbaa !11
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds %struct.complex, ptr %387, i64 %389
  %391 = getelementptr inbounds %struct.complex, ptr %390, i32 0, i32 1
  %392 = load float, ptr %391, align 4, !tbaa !18
  %393 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %394 = load float, ptr %393, align 4, !tbaa !18
  %395 = fsub float %392, %394
  %396 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %395, ptr %396, align 4, !tbaa !18
  %397 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %398 = load float, ptr %397, align 4, !tbaa !16
  store float %398, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %399 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %400 = load float, ptr %399, align 4, !tbaa !18
  store float %400, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %401 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %402 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %403 = load i32, ptr %31, align 4, !tbaa !11
  %404 = mul nsw i32 %402, %403
  %405 = add nsw i32 %401, %404
  store i32 %405, ptr %38, align 4, !tbaa !11
  %406 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %407 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %408 = load i32, ptr %33, align 4, !tbaa !11
  %409 = mul nsw i32 %407, %408
  %410 = add nsw i32 %406, %409
  store i32 %410, ptr %39, align 4, !tbaa !11
  %411 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %412 = load ptr, ptr %23, align 8, !tbaa !5
  %413 = load i32, ptr %39, align 4, !tbaa !11
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds %struct.complex, ptr %412, i64 %414
  %416 = getelementptr inbounds %struct.complex, ptr %415, i32 0, i32 0
  %417 = load float, ptr %416, align 4, !tbaa !16
  %418 = fmul float %411, %417
  %419 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %418, ptr %419, align 4, !tbaa !16
  %420 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %421 = load ptr, ptr %23, align 8, !tbaa !5
  %422 = load i32, ptr %39, align 4, !tbaa !11
  %423 = sext i32 %422 to i64
  %424 = getelementptr inbounds %struct.complex, ptr %421, i64 %423
  %425 = getelementptr inbounds %struct.complex, ptr %424, i32 0, i32 1
  %426 = load float, ptr %425, align 4, !tbaa !18
  %427 = fmul float %420, %426
  %428 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %427, ptr %428, align 4, !tbaa !18
  %429 = load ptr, ptr %21, align 8, !tbaa !5
  %430 = load i32, ptr %38, align 4, !tbaa !11
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds %struct.complex, ptr %429, i64 %431
  %433 = getelementptr inbounds %struct.complex, ptr %432, i32 0, i32 0
  %434 = load float, ptr %433, align 4, !tbaa !16
  %435 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %436 = load float, ptr %435, align 4, !tbaa !16
  %437 = fadd float %434, %436
  %438 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %437, ptr %438, align 4, !tbaa !16
  %439 = load ptr, ptr %21, align 8, !tbaa !5
  %440 = load i32, ptr %38, align 4, !tbaa !11
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds %struct.complex, ptr %439, i64 %441
  %443 = getelementptr inbounds %struct.complex, ptr %442, i32 0, i32 1
  %444 = load float, ptr %443, align 4, !tbaa !18
  %445 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %446 = load float, ptr %445, align 4, !tbaa !18
  %447 = fadd float %444, %446
  %448 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %447, ptr %448, align 4, !tbaa !18
  %449 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %450 = load float, ptr %449, align 4, !tbaa !16
  store float %450, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  %451 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %452 = load float, ptr %451, align 4, !tbaa !18
  store float %452, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %453 = load float, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float %453, ptr %41, align 4, !tbaa !13
  %454 = load float, ptr %41, align 4, !tbaa !13
  %455 = fcmp oge float %454, 0.000000e+00
  br i1 %455, label %456, label %458

456:                                              ; preds = %320
  %457 = load float, ptr %41, align 4, !tbaa !13
  br label %461

458:                                              ; preds = %320
  %459 = load float, ptr %41, align 4, !tbaa !13
  %460 = fneg float %459
  br label %461

461:                                              ; preds = %458, %456
  %462 = phi float [ %457, %456 ], [ %460, %458 ]
  %463 = fpext float %462 to double
  %464 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store float %464, ptr %42, align 4, !tbaa !13
  %465 = load float, ptr %42, align 4, !tbaa !13
  %466 = fcmp oge float %465, 0.000000e+00
  br i1 %466, label %467, label %469

467:                                              ; preds = %461
  %468 = load float, ptr %42, align 4, !tbaa !13
  br label %472

469:                                              ; preds = %461
  %470 = load float, ptr %42, align 4, !tbaa !13
  %471 = fneg float %470
  br label %472

472:                                              ; preds = %469, %467
  %473 = phi float [ %468, %467 ], [ %471, %469 ]
  %474 = fpext float %473 to double
  %475 = fadd double %463, %474
  %476 = fptrunc double %475 to float
  store float %476, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %477 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %478 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  %479 = fcmp ole float %477, %478
  br i1 %479, label %480, label %484

480:                                              ; preds = %472
  %481 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %481, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float 0.000000e+00, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %482 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %482, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %483 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 1, ptr %483, align 4, !tbaa !11
  br label %484

484:                                              ; preds = %480, %472
  %485 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  store float %485, ptr %41, align 4, !tbaa !13
  %486 = load float, ptr %41, align 4, !tbaa !13
  %487 = fcmp oge float %486, 0.000000e+00
  br i1 %487, label %488, label %490

488:                                              ; preds = %484
  %489 = load float, ptr %41, align 4, !tbaa !13
  br label %493

490:                                              ; preds = %484
  %491 = load float, ptr %41, align 4, !tbaa !13
  %492 = fneg float %491
  br label %493

493:                                              ; preds = %490, %488
  %494 = phi float [ %489, %488 ], [ %492, %490 ]
  %495 = fpext float %494 to double
  %496 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.vec)
  store float %496, ptr %42, align 4, !tbaa !13
  %497 = load float, ptr %42, align 4, !tbaa !13
  %498 = fcmp oge float %497, 0.000000e+00
  br i1 %498, label %499, label %501

499:                                              ; preds = %493
  %500 = load float, ptr %42, align 4, !tbaa !13
  br label %504

501:                                              ; preds = %493
  %502 = load float, ptr %42, align 4, !tbaa !13
  %503 = fneg float %502
  br label %504

504:                                              ; preds = %501, %499
  %505 = phi float [ %500, %499 ], [ %503, %501 ]
  %506 = fpext float %505 to double
  %507 = fadd double %495, %506
  %508 = fptrunc double %507 to float
  store float %508, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %509 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %510 = fcmp olt float %509, 1.000000e+00
  br i1 %510, label %511, label %524

511:                                              ; preds = %504
  %512 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %513 = fcmp ogt float %512, 1.000000e+00
  br i1 %513, label %514, label %524

514:                                              ; preds = %511
  %515 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %516 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !13
  %517 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %518 = fmul float %516, %517
  %519 = fcmp ogt float %515, %518
  br i1 %519, label %520, label %523

520:                                              ; preds = %514
  %521 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %522 = fdiv float 1.000000e+00, %521
  store float %522, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  br label %523

523:                                              ; preds = %520, %514
  br label %524

524:                                              ; preds = %523, %511, %504
  %525 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %526 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %525, ptr %526, align 4, !tbaa !16
  %527 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float 0.000000e+00, ptr %527, align 4, !tbaa !18
  %528 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %529 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %530 = load float, ptr %529, align 4, !tbaa !16
  %531 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %532 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %533 = load float, ptr %532, align 4, !tbaa !18
  %534 = fmul float %531, %533
  %535 = fneg float %534
  %536 = call float @llvm.fmuladd.f32(float %528, float %530, float %535)
  %537 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %536, ptr %537, align 4, !tbaa !16
  %538 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %539 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %540 = load float, ptr %539, align 4, !tbaa !18
  %541 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %542 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %543 = load float, ptr %542, align 4, !tbaa !16
  %544 = fmul float %541, %543
  %545 = call float @llvm.fmuladd.f32(float %538, float %540, float %544)
  %546 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %545, ptr %546, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  %547 = call <2 x float> @cladiv_(ptr noundef %44, ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store <2 x float> %547, ptr %50, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  %548 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %549 = load float, ptr %548, align 4, !tbaa !16
  store float %549, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %550 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %551 = load float, ptr %550, align 4, !tbaa !18
  store float %551, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %552 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %553 = fcmp une float %552, 1.000000e+00
  br i1 %553, label %554, label %579

554:                                              ; preds = %524
  %555 = load ptr, ptr %20, align 8, !tbaa !5
  %556 = load i32, ptr %555, align 4, !tbaa !11
  store i32 %556, ptr %38, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %557

557:                                              ; preds = %571, %554
  %558 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %559 = load i32, ptr %38, align 4, !tbaa !11
  %560 = icmp sle i32 %558, %559
  br i1 %560, label %561, label %574

561:                                              ; preds = %557
  %562 = load ptr, ptr %19, align 8, !tbaa !5
  %563 = load ptr, ptr %25, align 8, !tbaa !5
  %564 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %565 = load i32, ptr %35, align 4, !tbaa !11
  %566 = mul nsw i32 %564, %565
  %567 = add nsw i32 %566, 1
  %568 = sext i32 %567 to i64
  %569 = getelementptr inbounds %struct.complex, ptr %563, i64 %568
  %570 = call i32 @csscal_(ptr noundef %562, ptr noundef @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %569, ptr noundef @c__1)
  br label %571

571:                                              ; preds = %561
  %572 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %573 = add nsw i32 %572, 1
  store i32 %573, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %557, !llvm.loop !19

574:                                              ; preds = %557
  %575 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %576 = load ptr, ptr %27, align 8, !tbaa !5
  %577 = load float, ptr %576, align 4, !tbaa !13
  %578 = fmul float %577, %575
  store float %578, ptr %576, align 4, !tbaa !13
  br label %579

579:                                              ; preds = %574, %524
  %580 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %581 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %582 = load i32, ptr %35, align 4, !tbaa !11
  %583 = mul nsw i32 %581, %582
  %584 = add nsw i32 %580, %583
  store i32 %584, ptr %38, align 4, !tbaa !11
  %585 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %586 = load ptr, ptr %25, align 8, !tbaa !5
  %587 = load i32, ptr %38, align 4, !tbaa !11
  %588 = sext i32 %587 to i64
  %589 = getelementptr inbounds %struct.complex, ptr %586, i64 %588
  %590 = getelementptr inbounds %struct.complex, ptr %589, i32 0, i32 0
  store float %585, ptr %590, align 4, !tbaa !16
  %591 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %592 = load ptr, ptr %25, align 8, !tbaa !5
  %593 = load i32, ptr %38, align 4, !tbaa !11
  %594 = sext i32 %593 to i64
  %595 = getelementptr inbounds %struct.complex, ptr %592, i64 %594
  %596 = getelementptr inbounds %struct.complex, ptr %595, i32 0, i32 1
  store float %591, ptr %596, align 4, !tbaa !18
  br label %597

597:                                              ; preds = %579
  %598 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %599 = add nsw i32 %598, -1
  store i32 %599, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %279, !llvm.loop !21

600:                                              ; preds = %279
  br label %601

601:                                              ; preds = %600
  %602 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %603 = add nsw i32 %602, 1
  store i32 %603, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %272, !llvm.loop !22

604:                                              ; preds = %272
  br label %1630

605:                                              ; preds = %266, %257
  %606 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !11
  %607 = icmp ne i32 %606, 0
  br i1 %607, label %914, label %608

608:                                              ; preds = %605
  %609 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !11
  %610 = icmp ne i32 %609, 0
  br i1 %610, label %611, label %914

611:                                              ; preds = %608
  %612 = load ptr, ptr %20, align 8, !tbaa !5
  %613 = load i32, ptr %612, align 4, !tbaa !11
  store i32 %613, ptr %37, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %614

614:                                              ; preds = %910, %611
  %615 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %616 = load i32, ptr %37, align 4, !tbaa !11
  %617 = icmp sle i32 %615, %616
  br i1 %617, label %618, label %913

618:                                              ; preds = %614
  %619 = load ptr, ptr %19, align 8, !tbaa !5
  %620 = load i32, ptr %619, align 4, !tbaa !11
  store i32 %620, ptr %38, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %621

621:                                              ; preds = %906, %618
  %622 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %623 = load i32, ptr %38, align 4, !tbaa !11
  %624 = icmp sle i32 %622, %623
  br i1 %624, label %625, label %909

625:                                              ; preds = %621
  %626 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %627 = sub nsw i32 %626, 1
  store i32 %627, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  %628 = load ptr, ptr %21, align 8, !tbaa !5
  %629 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %630 = load i32, ptr %31, align 4, !tbaa !11
  %631 = mul nsw i32 %629, %630
  %632 = add nsw i32 %631, 1
  %633 = sext i32 %632 to i64
  %634 = getelementptr inbounds %struct.complex, ptr %628, i64 %633
  %635 = load ptr, ptr %25, align 8, !tbaa !5
  %636 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %637 = load i32, ptr %35, align 4, !tbaa !11
  %638 = mul nsw i32 %636, %637
  %639 = add nsw i32 %638, 1
  %640 = sext i32 %639 to i64
  %641 = getelementptr inbounds %struct.complex, ptr %635, i64 %640
  %642 = call <2 x float> @cdotc_(ptr noundef %39, ptr noundef %634, ptr noundef @c__1, ptr noundef %641, ptr noundef @c__1)
  store <2 x float> %642, ptr %51, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  %643 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %644 = load float, ptr %643, align 4, !tbaa !16
  store float %644, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %645 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %646 = load float, ptr %645, align 4, !tbaa !18
  store float %646, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %647 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %648 = sub nsw i32 %647, 1
  store i32 %648, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  %649 = load ptr, ptr %25, align 8, !tbaa !5
  %650 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %651 = load i32, ptr %35, align 4, !tbaa !11
  %652 = add nsw i32 %650, %651
  %653 = sext i32 %652 to i64
  %654 = getelementptr inbounds %struct.complex, ptr %649, i64 %653
  %655 = load ptr, ptr %26, align 8, !tbaa !5
  %656 = load ptr, ptr %23, align 8, !tbaa !5
  %657 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %658 = load i32, ptr %33, align 4, !tbaa !11
  %659 = mul nsw i32 %657, %658
  %660 = add nsw i32 %659, 1
  %661 = sext i32 %660 to i64
  %662 = getelementptr inbounds %struct.complex, ptr %656, i64 %661
  %663 = call <2 x float> @cdotu_(ptr noundef %39, ptr noundef %654, ptr noundef %655, ptr noundef %662, ptr noundef @c__1)
  store <2 x float> %663, ptr %52, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  %664 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %665 = load float, ptr %664, align 4, !tbaa !16
  store float %665, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !16
  %666 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %667 = load float, ptr %666, align 4, !tbaa !18
  store float %667, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.sumr, i32 0, i32 1), align 4, !tbaa !18
  %668 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %669 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %670 = load i32, ptr %35, align 4, !tbaa !11
  %671 = mul nsw i32 %669, %670
  %672 = add nsw i32 %668, %671
  store i32 %672, ptr %39, align 4, !tbaa !11
  %673 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %674 = load float, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !16
  %675 = fmul float %673, %674
  %676 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %675, ptr %676, align 4, !tbaa !16
  %677 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %678 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.sumr, i32 0, i32 1), align 4, !tbaa !18
  %679 = fmul float %677, %678
  %680 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float %679, ptr %680, align 4, !tbaa !18
  %681 = load float, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %682 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %683 = load float, ptr %682, align 4, !tbaa !16
  %684 = fadd float %681, %683
  %685 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %684, ptr %685, align 4, !tbaa !16
  %686 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %687 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %688 = load float, ptr %687, align 4, !tbaa !18
  %689 = fadd float %686, %688
  %690 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %689, ptr %690, align 4, !tbaa !18
  %691 = load ptr, ptr %25, align 8, !tbaa !5
  %692 = load i32, ptr %39, align 4, !tbaa !11
  %693 = sext i32 %692 to i64
  %694 = getelementptr inbounds %struct.complex, ptr %691, i64 %693
  %695 = getelementptr inbounds %struct.complex, ptr %694, i32 0, i32 0
  %696 = load float, ptr %695, align 4, !tbaa !16
  %697 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %698 = load float, ptr %697, align 4, !tbaa !16
  %699 = fsub float %696, %698
  %700 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %699, ptr %700, align 4, !tbaa !16
  %701 = load ptr, ptr %25, align 8, !tbaa !5
  %702 = load i32, ptr %39, align 4, !tbaa !11
  %703 = sext i32 %702 to i64
  %704 = getelementptr inbounds %struct.complex, ptr %701, i64 %703
  %705 = getelementptr inbounds %struct.complex, ptr %704, i32 0, i32 1
  %706 = load float, ptr %705, align 4, !tbaa !18
  %707 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %708 = load float, ptr %707, align 4, !tbaa !18
  %709 = fsub float %706, %708
  %710 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %709, ptr %710, align 4, !tbaa !18
  %711 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %712 = load float, ptr %711, align 4, !tbaa !16
  store float %712, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %713 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %714 = load float, ptr %713, align 4, !tbaa !18
  store float %714, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %715 = load ptr, ptr %21, align 8, !tbaa !5
  %716 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %717 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %718 = load i32, ptr %31, align 4, !tbaa !11
  %719 = mul nsw i32 %717, %718
  %720 = add nsw i32 %716, %719
  %721 = sext i32 %720 to i64
  %722 = getelementptr inbounds %struct.complex, ptr %715, i64 %721
  call void @r_cnjg(ptr noundef %44, ptr noundef %722)
  %723 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %724 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %725 = load i32, ptr %33, align 4, !tbaa !11
  %726 = mul nsw i32 %724, %725
  %727 = add nsw i32 %723, %726
  store i32 %727, ptr %39, align 4, !tbaa !11
  %728 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %729 = load ptr, ptr %23, align 8, !tbaa !5
  %730 = load i32, ptr %39, align 4, !tbaa !11
  %731 = sext i32 %730 to i64
  %732 = getelementptr inbounds %struct.complex, ptr %729, i64 %731
  %733 = getelementptr inbounds %struct.complex, ptr %732, i32 0, i32 0
  %734 = load float, ptr %733, align 4, !tbaa !16
  %735 = fmul float %728, %734
  %736 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %735, ptr %736, align 4, !tbaa !16
  %737 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %738 = load ptr, ptr %23, align 8, !tbaa !5
  %739 = load i32, ptr %39, align 4, !tbaa !11
  %740 = sext i32 %739 to i64
  %741 = getelementptr inbounds %struct.complex, ptr %738, i64 %740
  %742 = getelementptr inbounds %struct.complex, ptr %741, i32 0, i32 1
  %743 = load float, ptr %742, align 4, !tbaa !18
  %744 = fmul float %737, %743
  %745 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float %744, ptr %745, align 4, !tbaa !18
  %746 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %747 = load float, ptr %746, align 4, !tbaa !16
  %748 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %749 = load float, ptr %748, align 4, !tbaa !16
  %750 = fadd float %747, %749
  %751 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %750, ptr %751, align 4, !tbaa !16
  %752 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %753 = load float, ptr %752, align 4, !tbaa !18
  %754 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %755 = load float, ptr %754, align 4, !tbaa !18
  %756 = fadd float %753, %755
  %757 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %756, ptr %757, align 4, !tbaa !18
  %758 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %759 = load float, ptr %758, align 4, !tbaa !16
  store float %759, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  %760 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %761 = load float, ptr %760, align 4, !tbaa !18
  store float %761, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %762 = load float, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float %762, ptr %41, align 4, !tbaa !13
  %763 = load float, ptr %41, align 4, !tbaa !13
  %764 = fcmp oge float %763, 0.000000e+00
  br i1 %764, label %765, label %767

765:                                              ; preds = %625
  %766 = load float, ptr %41, align 4, !tbaa !13
  br label %770

767:                                              ; preds = %625
  %768 = load float, ptr %41, align 4, !tbaa !13
  %769 = fneg float %768
  br label %770

770:                                              ; preds = %767, %765
  %771 = phi float [ %766, %765 ], [ %769, %767 ]
  %772 = fpext float %771 to double
  %773 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store float %773, ptr %42, align 4, !tbaa !13
  %774 = load float, ptr %42, align 4, !tbaa !13
  %775 = fcmp oge float %774, 0.000000e+00
  br i1 %775, label %776, label %778

776:                                              ; preds = %770
  %777 = load float, ptr %42, align 4, !tbaa !13
  br label %781

778:                                              ; preds = %770
  %779 = load float, ptr %42, align 4, !tbaa !13
  %780 = fneg float %779
  br label %781

781:                                              ; preds = %778, %776
  %782 = phi float [ %777, %776 ], [ %780, %778 ]
  %783 = fpext float %782 to double
  %784 = fadd double %772, %783
  %785 = fptrunc double %784 to float
  store float %785, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %786 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %787 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  %788 = fcmp ole float %786, %787
  br i1 %788, label %789, label %793

789:                                              ; preds = %781
  %790 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %790, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float 0.000000e+00, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %791 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %791, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %792 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 1, ptr %792, align 4, !tbaa !11
  br label %793

793:                                              ; preds = %789, %781
  %794 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  store float %794, ptr %41, align 4, !tbaa !13
  %795 = load float, ptr %41, align 4, !tbaa !13
  %796 = fcmp oge float %795, 0.000000e+00
  br i1 %796, label %797, label %799

797:                                              ; preds = %793
  %798 = load float, ptr %41, align 4, !tbaa !13
  br label %802

799:                                              ; preds = %793
  %800 = load float, ptr %41, align 4, !tbaa !13
  %801 = fneg float %800
  br label %802

802:                                              ; preds = %799, %797
  %803 = phi float [ %798, %797 ], [ %801, %799 ]
  %804 = fpext float %803 to double
  %805 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.vec)
  store float %805, ptr %42, align 4, !tbaa !13
  %806 = load float, ptr %42, align 4, !tbaa !13
  %807 = fcmp oge float %806, 0.000000e+00
  br i1 %807, label %808, label %810

808:                                              ; preds = %802
  %809 = load float, ptr %42, align 4, !tbaa !13
  br label %813

810:                                              ; preds = %802
  %811 = load float, ptr %42, align 4, !tbaa !13
  %812 = fneg float %811
  br label %813

813:                                              ; preds = %810, %808
  %814 = phi float [ %809, %808 ], [ %812, %810 ]
  %815 = fpext float %814 to double
  %816 = fadd double %804, %815
  %817 = fptrunc double %816 to float
  store float %817, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %818 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %819 = fcmp olt float %818, 1.000000e+00
  br i1 %819, label %820, label %833

820:                                              ; preds = %813
  %821 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %822 = fcmp ogt float %821, 1.000000e+00
  br i1 %822, label %823, label %833

823:                                              ; preds = %820
  %824 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %825 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !13
  %826 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %827 = fmul float %825, %826
  %828 = fcmp ogt float %824, %827
  br i1 %828, label %829, label %832

829:                                              ; preds = %823
  %830 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %831 = fdiv float 1.000000e+00, %830
  store float %831, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  br label %832

832:                                              ; preds = %829, %823
  br label %833

833:                                              ; preds = %832, %820, %813
  %834 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %835 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %834, ptr %835, align 4, !tbaa !16
  %836 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float 0.000000e+00, ptr %836, align 4, !tbaa !18
  %837 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %838 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %839 = load float, ptr %838, align 4, !tbaa !16
  %840 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %841 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %842 = load float, ptr %841, align 4, !tbaa !18
  %843 = fmul float %840, %842
  %844 = fneg float %843
  %845 = call float @llvm.fmuladd.f32(float %837, float %839, float %844)
  %846 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %845, ptr %846, align 4, !tbaa !16
  %847 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %848 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %849 = load float, ptr %848, align 4, !tbaa !18
  %850 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %851 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %852 = load float, ptr %851, align 4, !tbaa !16
  %853 = fmul float %850, %852
  %854 = call float @llvm.fmuladd.f32(float %847, float %849, float %853)
  %855 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %854, ptr %855, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  %856 = call <2 x float> @cladiv_(ptr noundef %44, ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store <2 x float> %856, ptr %53, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  %857 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %858 = load float, ptr %857, align 4, !tbaa !16
  store float %858, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %859 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %860 = load float, ptr %859, align 4, !tbaa !18
  store float %860, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %861 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %862 = fcmp une float %861, 1.000000e+00
  br i1 %862, label %863, label %888

863:                                              ; preds = %833
  %864 = load ptr, ptr %20, align 8, !tbaa !5
  %865 = load i32, ptr %864, align 4, !tbaa !11
  store i32 %865, ptr %39, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %866

866:                                              ; preds = %880, %863
  %867 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %868 = load i32, ptr %39, align 4, !tbaa !11
  %869 = icmp sle i32 %867, %868
  br i1 %869, label %870, label %883

870:                                              ; preds = %866
  %871 = load ptr, ptr %19, align 8, !tbaa !5
  %872 = load ptr, ptr %25, align 8, !tbaa !5
  %873 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %874 = load i32, ptr %35, align 4, !tbaa !11
  %875 = mul nsw i32 %873, %874
  %876 = add nsw i32 %875, 1
  %877 = sext i32 %876 to i64
  %878 = getelementptr inbounds %struct.complex, ptr %872, i64 %877
  %879 = call i32 @csscal_(ptr noundef %871, ptr noundef @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %878, ptr noundef @c__1)
  br label %880

880:                                              ; preds = %870
  %881 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %882 = add nsw i32 %881, 1
  store i32 %882, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %866, !llvm.loop !23

883:                                              ; preds = %866
  %884 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %885 = load ptr, ptr %27, align 8, !tbaa !5
  %886 = load float, ptr %885, align 4, !tbaa !13
  %887 = fmul float %886, %884
  store float %887, ptr %885, align 4, !tbaa !13
  br label %888

888:                                              ; preds = %883, %833
  %889 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %890 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %891 = load i32, ptr %35, align 4, !tbaa !11
  %892 = mul nsw i32 %890, %891
  %893 = add nsw i32 %889, %892
  store i32 %893, ptr %39, align 4, !tbaa !11
  %894 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %895 = load ptr, ptr %25, align 8, !tbaa !5
  %896 = load i32, ptr %39, align 4, !tbaa !11
  %897 = sext i32 %896 to i64
  %898 = getelementptr inbounds %struct.complex, ptr %895, i64 %897
  %899 = getelementptr inbounds %struct.complex, ptr %898, i32 0, i32 0
  store float %894, ptr %899, align 4, !tbaa !16
  %900 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %901 = load ptr, ptr %25, align 8, !tbaa !5
  %902 = load i32, ptr %39, align 4, !tbaa !11
  %903 = sext i32 %902 to i64
  %904 = getelementptr inbounds %struct.complex, ptr %901, i64 %903
  %905 = getelementptr inbounds %struct.complex, ptr %904, i32 0, i32 1
  store float %900, ptr %905, align 4, !tbaa !18
  br label %906

906:                                              ; preds = %888
  %907 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %908 = add nsw i32 %907, 1
  store i32 %908, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %621, !llvm.loop !24

909:                                              ; preds = %621
  br label %910

910:                                              ; preds = %909
  %911 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %912 = add nsw i32 %911, 1
  store i32 %912, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %614, !llvm.loop !25

913:                                              ; preds = %614
  br label %1629

914:                                              ; preds = %608, %605
  %915 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !11
  %916 = icmp ne i32 %915, 0
  br i1 %916, label %1259, label %917

917:                                              ; preds = %914
  %918 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !11
  %919 = icmp ne i32 %918, 0
  br i1 %919, label %1259, label %920

920:                                              ; preds = %917
  %921 = load ptr, ptr %20, align 8, !tbaa !5
  %922 = load i32, ptr %921, align 4, !tbaa !11
  store i32 %922, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %923

923:                                              ; preds = %1255, %920
  %924 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %925 = icmp sge i32 %924, 1
  br i1 %925, label %926, label %1258

926:                                              ; preds = %923
  %927 = load ptr, ptr %19, align 8, !tbaa !5
  %928 = load i32, ptr %927, align 4, !tbaa !11
  store i32 %928, ptr %37, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %929

929:                                              ; preds = %1251, %926
  %930 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %931 = load i32, ptr %37, align 4, !tbaa !11
  %932 = icmp sle i32 %930, %931
  br i1 %932, label %933, label %1254

933:                                              ; preds = %929
  %934 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %935 = sub nsw i32 %934, 1
  store i32 %935, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %936 = load ptr, ptr %21, align 8, !tbaa !5
  %937 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %938 = load i32, ptr %31, align 4, !tbaa !11
  %939 = mul nsw i32 %937, %938
  %940 = add nsw i32 %939, 1
  %941 = sext i32 %940 to i64
  %942 = getelementptr inbounds %struct.complex, ptr %936, i64 %941
  %943 = load ptr, ptr %25, align 8, !tbaa !5
  %944 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %945 = load i32, ptr %35, align 4, !tbaa !11
  %946 = mul nsw i32 %944, %945
  %947 = add nsw i32 %946, 1
  %948 = sext i32 %947 to i64
  %949 = getelementptr inbounds %struct.complex, ptr %943, i64 %948
  %950 = call <2 x float> @cdotc_(ptr noundef %38, ptr noundef %942, ptr noundef @c__1, ptr noundef %949, ptr noundef @c__1)
  store <2 x float> %950, ptr %54, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %54, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  %951 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %952 = load float, ptr %951, align 4, !tbaa !16
  store float %952, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %953 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %954 = load float, ptr %953, align 4, !tbaa !18
  store float %954, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %955 = load ptr, ptr %20, align 8, !tbaa !5
  %956 = load i32, ptr %955, align 4, !tbaa !11
  %957 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %958 = sub nsw i32 %956, %957
  store i32 %958, ptr %38, align 4, !tbaa !11
  %959 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %960 = add nsw i32 %959, 1
  store i32 %960, ptr %39, align 4, !tbaa !11
  %961 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %962 = add nsw i32 %961, 1
  store i32 %962, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #5
  %963 = load ptr, ptr %25, align 8, !tbaa !5
  %964 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %965 = load i32, ptr %39, align 4, !tbaa !11
  %966 = load ptr, ptr %20, align 8, !tbaa !5
  %967 = load i32, ptr %966, align 4, !tbaa !11
  %968 = icmp sle i32 %965, %967
  br i1 %968, label %969, label %971

969:                                              ; preds = %933
  %970 = load i32, ptr %39, align 4, !tbaa !11
  br label %974

971:                                              ; preds = %933
  %972 = load ptr, ptr %20, align 8, !tbaa !5
  %973 = load i32, ptr %972, align 4, !tbaa !11
  br label %974

974:                                              ; preds = %971, %969
  %975 = phi i32 [ %970, %969 ], [ %973, %971 ]
  %976 = load i32, ptr %35, align 4, !tbaa !11
  %977 = mul nsw i32 %975, %976
  %978 = add nsw i32 %964, %977
  %979 = sext i32 %978 to i64
  %980 = getelementptr inbounds %struct.complex, ptr %963, i64 %979
  %981 = load ptr, ptr %26, align 8, !tbaa !5
  %982 = load ptr, ptr %23, align 8, !tbaa !5
  %983 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %984 = load i32, ptr %40, align 4, !tbaa !11
  %985 = load ptr, ptr %20, align 8, !tbaa !5
  %986 = load i32, ptr %985, align 4, !tbaa !11
  %987 = icmp sle i32 %984, %986
  br i1 %987, label %988, label %990

988:                                              ; preds = %974
  %989 = load i32, ptr %40, align 4, !tbaa !11
  br label %993

990:                                              ; preds = %974
  %991 = load ptr, ptr %20, align 8, !tbaa !5
  %992 = load i32, ptr %991, align 4, !tbaa !11
  br label %993

993:                                              ; preds = %990, %988
  %994 = phi i32 [ %989, %988 ], [ %992, %990 ]
  %995 = load i32, ptr %33, align 4, !tbaa !11
  %996 = mul nsw i32 %994, %995
  %997 = add nsw i32 %983, %996
  %998 = sext i32 %997 to i64
  %999 = getelementptr inbounds %struct.complex, ptr %982, i64 %998
  %1000 = load ptr, ptr %24, align 8, !tbaa !5
  %1001 = call <2 x float> @cdotc_(ptr noundef %38, ptr noundef %980, ptr noundef %981, ptr noundef %999, ptr noundef %1000)
  store <2 x float> %1001, ptr %55, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %55, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #5
  %1002 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1003 = load float, ptr %1002, align 4, !tbaa !16
  store float %1003, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !16
  %1004 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1005 = load float, ptr %1004, align 4, !tbaa !18
  store float %1005, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.sumr, i32 0, i32 1), align 4, !tbaa !18
  %1006 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1007 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1008 = load i32, ptr %35, align 4, !tbaa !11
  %1009 = mul nsw i32 %1007, %1008
  %1010 = add nsw i32 %1006, %1009
  store i32 %1010, ptr %38, align 4, !tbaa !11
  call void @r_cnjg(ptr noundef %46, ptr noundef @RELAPACK_ctrsyl_rec2.sumr)
  %1011 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1012 = getelementptr inbounds %struct.complex, ptr %46, i32 0, i32 0
  %1013 = load float, ptr %1012, align 4, !tbaa !16
  %1014 = fmul float %1011, %1013
  %1015 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %1014, ptr %1015, align 4, !tbaa !16
  %1016 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1017 = getelementptr inbounds %struct.complex, ptr %46, i32 0, i32 1
  %1018 = load float, ptr %1017, align 4, !tbaa !18
  %1019 = fmul float %1016, %1018
  %1020 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float %1019, ptr %1020, align 4, !tbaa !18
  %1021 = load float, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %1022 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1023 = load float, ptr %1022, align 4, !tbaa !16
  %1024 = fadd float %1021, %1023
  %1025 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %1024, ptr %1025, align 4, !tbaa !16
  %1026 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %1027 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1028 = load float, ptr %1027, align 4, !tbaa !18
  %1029 = fadd float %1026, %1028
  %1030 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %1029, ptr %1030, align 4, !tbaa !18
  %1031 = load ptr, ptr %25, align 8, !tbaa !5
  %1032 = load i32, ptr %38, align 4, !tbaa !11
  %1033 = sext i32 %1032 to i64
  %1034 = getelementptr inbounds %struct.complex, ptr %1031, i64 %1033
  %1035 = getelementptr inbounds %struct.complex, ptr %1034, i32 0, i32 0
  %1036 = load float, ptr %1035, align 4, !tbaa !16
  %1037 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %1038 = load float, ptr %1037, align 4, !tbaa !16
  %1039 = fsub float %1036, %1038
  %1040 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %1039, ptr %1040, align 4, !tbaa !16
  %1041 = load ptr, ptr %25, align 8, !tbaa !5
  %1042 = load i32, ptr %38, align 4, !tbaa !11
  %1043 = sext i32 %1042 to i64
  %1044 = getelementptr inbounds %struct.complex, ptr %1041, i64 %1043
  %1045 = getelementptr inbounds %struct.complex, ptr %1044, i32 0, i32 1
  %1046 = load float, ptr %1045, align 4, !tbaa !18
  %1047 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %1048 = load float, ptr %1047, align 4, !tbaa !18
  %1049 = fsub float %1046, %1048
  %1050 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %1049, ptr %1050, align 4, !tbaa !18
  %1051 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1052 = load float, ptr %1051, align 4, !tbaa !16
  store float %1052, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %1053 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1054 = load float, ptr %1053, align 4, !tbaa !18
  store float %1054, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1055 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1056 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1057 = load i32, ptr %31, align 4, !tbaa !11
  %1058 = mul nsw i32 %1056, %1057
  %1059 = add nsw i32 %1055, %1058
  store i32 %1059, ptr %38, align 4, !tbaa !11
  %1060 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1061 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1062 = load i32, ptr %33, align 4, !tbaa !11
  %1063 = mul nsw i32 %1061, %1062
  %1064 = add nsw i32 %1060, %1063
  store i32 %1064, ptr %39, align 4, !tbaa !11
  %1065 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1066 = load ptr, ptr %23, align 8, !tbaa !5
  %1067 = load i32, ptr %39, align 4, !tbaa !11
  %1068 = sext i32 %1067 to i64
  %1069 = getelementptr inbounds %struct.complex, ptr %1066, i64 %1068
  %1070 = getelementptr inbounds %struct.complex, ptr %1069, i32 0, i32 0
  %1071 = load float, ptr %1070, align 4, !tbaa !16
  %1072 = fmul float %1065, %1071
  %1073 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %1072, ptr %1073, align 4, !tbaa !16
  %1074 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1075 = load ptr, ptr %23, align 8, !tbaa !5
  %1076 = load i32, ptr %39, align 4, !tbaa !11
  %1077 = sext i32 %1076 to i64
  %1078 = getelementptr inbounds %struct.complex, ptr %1075, i64 %1077
  %1079 = getelementptr inbounds %struct.complex, ptr %1078, i32 0, i32 1
  %1080 = load float, ptr %1079, align 4, !tbaa !18
  %1081 = fmul float %1074, %1080
  %1082 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float %1081, ptr %1082, align 4, !tbaa !18
  %1083 = load ptr, ptr %21, align 8, !tbaa !5
  %1084 = load i32, ptr %38, align 4, !tbaa !11
  %1085 = sext i32 %1084 to i64
  %1086 = getelementptr inbounds %struct.complex, ptr %1083, i64 %1085
  %1087 = getelementptr inbounds %struct.complex, ptr %1086, i32 0, i32 0
  %1088 = load float, ptr %1087, align 4, !tbaa !16
  %1089 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1090 = load float, ptr %1089, align 4, !tbaa !16
  %1091 = fadd float %1088, %1090
  %1092 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %1091, ptr %1092, align 4, !tbaa !16
  %1093 = load ptr, ptr %21, align 8, !tbaa !5
  %1094 = load i32, ptr %38, align 4, !tbaa !11
  %1095 = sext i32 %1094 to i64
  %1096 = getelementptr inbounds %struct.complex, ptr %1093, i64 %1095
  %1097 = getelementptr inbounds %struct.complex, ptr %1096, i32 0, i32 1
  %1098 = load float, ptr %1097, align 4, !tbaa !18
  %1099 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1100 = load float, ptr %1099, align 4, !tbaa !18
  %1101 = fadd float %1098, %1100
  %1102 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %1101, ptr %1102, align 4, !tbaa !18
  call void @r_cnjg(ptr noundef %43, ptr noundef %44)
  %1103 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1104 = load float, ptr %1103, align 4, !tbaa !16
  store float %1104, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  %1105 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1106 = load float, ptr %1105, align 4, !tbaa !18
  store float %1106, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %1107 = load float, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float %1107, ptr %41, align 4, !tbaa !13
  %1108 = load float, ptr %41, align 4, !tbaa !13
  %1109 = fcmp oge float %1108, 0.000000e+00
  br i1 %1109, label %1110, label %1112

1110:                                             ; preds = %993
  %1111 = load float, ptr %41, align 4, !tbaa !13
  br label %1115

1112:                                             ; preds = %993
  %1113 = load float, ptr %41, align 4, !tbaa !13
  %1114 = fneg float %1113
  br label %1115

1115:                                             ; preds = %1112, %1110
  %1116 = phi float [ %1111, %1110 ], [ %1114, %1112 ]
  %1117 = fpext float %1116 to double
  %1118 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store float %1118, ptr %42, align 4, !tbaa !13
  %1119 = load float, ptr %42, align 4, !tbaa !13
  %1120 = fcmp oge float %1119, 0.000000e+00
  br i1 %1120, label %1121, label %1123

1121:                                             ; preds = %1115
  %1122 = load float, ptr %42, align 4, !tbaa !13
  br label %1126

1123:                                             ; preds = %1115
  %1124 = load float, ptr %42, align 4, !tbaa !13
  %1125 = fneg float %1124
  br label %1126

1126:                                             ; preds = %1123, %1121
  %1127 = phi float [ %1122, %1121 ], [ %1125, %1123 ]
  %1128 = fpext float %1127 to double
  %1129 = fadd double %1117, %1128
  %1130 = fptrunc double %1129 to float
  store float %1130, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1131 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1132 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  %1133 = fcmp ole float %1131, %1132
  br i1 %1133, label %1134, label %1138

1134:                                             ; preds = %1126
  %1135 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %1135, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float 0.000000e+00, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %1136 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %1136, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1137 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 1, ptr %1137, align 4, !tbaa !11
  br label %1138

1138:                                             ; preds = %1134, %1126
  %1139 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  store float %1139, ptr %41, align 4, !tbaa !13
  %1140 = load float, ptr %41, align 4, !tbaa !13
  %1141 = fcmp oge float %1140, 0.000000e+00
  br i1 %1141, label %1142, label %1144

1142:                                             ; preds = %1138
  %1143 = load float, ptr %41, align 4, !tbaa !13
  br label %1147

1144:                                             ; preds = %1138
  %1145 = load float, ptr %41, align 4, !tbaa !13
  %1146 = fneg float %1145
  br label %1147

1147:                                             ; preds = %1144, %1142
  %1148 = phi float [ %1143, %1142 ], [ %1146, %1144 ]
  %1149 = fpext float %1148 to double
  %1150 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.vec)
  store float %1150, ptr %42, align 4, !tbaa !13
  %1151 = load float, ptr %42, align 4, !tbaa !13
  %1152 = fcmp oge float %1151, 0.000000e+00
  br i1 %1152, label %1153, label %1155

1153:                                             ; preds = %1147
  %1154 = load float, ptr %42, align 4, !tbaa !13
  br label %1158

1155:                                             ; preds = %1147
  %1156 = load float, ptr %42, align 4, !tbaa !13
  %1157 = fneg float %1156
  br label %1158

1158:                                             ; preds = %1155, %1153
  %1159 = phi float [ %1154, %1153 ], [ %1157, %1155 ]
  %1160 = fpext float %1159 to double
  %1161 = fadd double %1149, %1160
  %1162 = fptrunc double %1161 to float
  store float %1162, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1163 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1164 = fcmp olt float %1163, 1.000000e+00
  br i1 %1164, label %1165, label %1178

1165:                                             ; preds = %1158
  %1166 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1167 = fcmp ogt float %1166, 1.000000e+00
  br i1 %1167, label %1168, label %1178

1168:                                             ; preds = %1165
  %1169 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1170 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !13
  %1171 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1172 = fmul float %1170, %1171
  %1173 = fcmp ogt float %1169, %1172
  br i1 %1173, label %1174, label %1177

1174:                                             ; preds = %1168
  %1175 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1176 = fdiv float 1.000000e+00, %1175
  store float %1176, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  br label %1177

1177:                                             ; preds = %1174, %1168
  br label %1178

1178:                                             ; preds = %1177, %1165, %1158
  %1179 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1180 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %1179, ptr %1180, align 4, !tbaa !16
  %1181 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float 0.000000e+00, ptr %1181, align 4, !tbaa !18
  %1182 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %1183 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1184 = load float, ptr %1183, align 4, !tbaa !16
  %1185 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %1186 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1187 = load float, ptr %1186, align 4, !tbaa !18
  %1188 = fmul float %1185, %1187
  %1189 = fneg float %1188
  %1190 = call float @llvm.fmuladd.f32(float %1182, float %1184, float %1189)
  %1191 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %1190, ptr %1191, align 4, !tbaa !16
  %1192 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %1193 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1194 = load float, ptr %1193, align 4, !tbaa !18
  %1195 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %1196 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1197 = load float, ptr %1196, align 4, !tbaa !16
  %1198 = fmul float %1195, %1197
  %1199 = call float @llvm.fmuladd.f32(float %1192, float %1194, float %1198)
  %1200 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %1199, ptr %1200, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #5
  %1201 = call <2 x float> @cladiv_(ptr noundef %44, ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store <2 x float> %1201, ptr %56, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %56, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #5
  %1202 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1203 = load float, ptr %1202, align 4, !tbaa !16
  store float %1203, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %1204 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1205 = load float, ptr %1204, align 4, !tbaa !18
  store float %1205, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %1206 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1207 = fcmp une float %1206, 1.000000e+00
  br i1 %1207, label %1208, label %1233

1208:                                             ; preds = %1178
  %1209 = load ptr, ptr %20, align 8, !tbaa !5
  %1210 = load i32, ptr %1209, align 4, !tbaa !11
  store i32 %1210, ptr %38, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %1211

1211:                                             ; preds = %1225, %1208
  %1212 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %1213 = load i32, ptr %38, align 4, !tbaa !11
  %1214 = icmp sle i32 %1212, %1213
  br i1 %1214, label %1215, label %1228

1215:                                             ; preds = %1211
  %1216 = load ptr, ptr %19, align 8, !tbaa !5
  %1217 = load ptr, ptr %25, align 8, !tbaa !5
  %1218 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %1219 = load i32, ptr %35, align 4, !tbaa !11
  %1220 = mul nsw i32 %1218, %1219
  %1221 = add nsw i32 %1220, 1
  %1222 = sext i32 %1221 to i64
  %1223 = getelementptr inbounds %struct.complex, ptr %1217, i64 %1222
  %1224 = call i32 @csscal_(ptr noundef %1216, ptr noundef @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %1223, ptr noundef @c__1)
  br label %1225

1225:                                             ; preds = %1215
  %1226 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %1227 = add nsw i32 %1226, 1
  store i32 %1227, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %1211, !llvm.loop !26

1228:                                             ; preds = %1211
  %1229 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1230 = load ptr, ptr %27, align 8, !tbaa !5
  %1231 = load float, ptr %1230, align 4, !tbaa !13
  %1232 = fmul float %1231, %1229
  store float %1232, ptr %1230, align 4, !tbaa !13
  br label %1233

1233:                                             ; preds = %1228, %1178
  %1234 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1235 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1236 = load i32, ptr %35, align 4, !tbaa !11
  %1237 = mul nsw i32 %1235, %1236
  %1238 = add nsw i32 %1234, %1237
  store i32 %1238, ptr %38, align 4, !tbaa !11
  %1239 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %1240 = load ptr, ptr %25, align 8, !tbaa !5
  %1241 = load i32, ptr %38, align 4, !tbaa !11
  %1242 = sext i32 %1241 to i64
  %1243 = getelementptr inbounds %struct.complex, ptr %1240, i64 %1242
  %1244 = getelementptr inbounds %struct.complex, ptr %1243, i32 0, i32 0
  store float %1239, ptr %1244, align 4, !tbaa !16
  %1245 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %1246 = load ptr, ptr %25, align 8, !tbaa !5
  %1247 = load i32, ptr %38, align 4, !tbaa !11
  %1248 = sext i32 %1247 to i64
  %1249 = getelementptr inbounds %struct.complex, ptr %1246, i64 %1248
  %1250 = getelementptr inbounds %struct.complex, ptr %1249, i32 0, i32 1
  store float %1245, ptr %1250, align 4, !tbaa !18
  br label %1251

1251:                                             ; preds = %1233
  %1252 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1253 = add nsw i32 %1252, 1
  store i32 %1253, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %929, !llvm.loop !27

1254:                                             ; preds = %929
  br label %1255

1255:                                             ; preds = %1254
  %1256 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1257 = add nsw i32 %1256, -1
  store i32 %1257, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %923, !llvm.loop !28

1258:                                             ; preds = %923
  br label %1628

1259:                                             ; preds = %917, %914
  %1260 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !11
  %1261 = icmp ne i32 %1260, 0
  br i1 %1261, label %1262, label %1627

1262:                                             ; preds = %1259
  %1263 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !11
  %1264 = icmp ne i32 %1263, 0
  br i1 %1264, label %1627, label %1265

1265:                                             ; preds = %1262
  %1266 = load ptr, ptr %20, align 8, !tbaa !5
  %1267 = load i32, ptr %1266, align 4, !tbaa !11
  store i32 %1267, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %1268

1268:                                             ; preds = %1623, %1265
  %1269 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1270 = icmp sge i32 %1269, 1
  br i1 %1270, label %1271, label %1626

1271:                                             ; preds = %1268
  %1272 = load ptr, ptr %19, align 8, !tbaa !5
  %1273 = load i32, ptr %1272, align 4, !tbaa !11
  store i32 %1273, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %1274

1274:                                             ; preds = %1619, %1271
  %1275 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1276 = icmp sge i32 %1275, 1
  br i1 %1276, label %1277, label %1622

1277:                                             ; preds = %1274
  %1278 = load ptr, ptr %19, align 8, !tbaa !5
  %1279 = load i32, ptr %1278, align 4, !tbaa !11
  %1280 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1281 = sub nsw i32 %1279, %1280
  store i32 %1281, ptr %37, align 4, !tbaa !11
  %1282 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1283 = add nsw i32 %1282, 1
  store i32 %1283, ptr %38, align 4, !tbaa !11
  %1284 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1285 = add nsw i32 %1284, 1
  store i32 %1285, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #5
  %1286 = load ptr, ptr %21, align 8, !tbaa !5
  %1287 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1288 = load i32, ptr %38, align 4, !tbaa !11
  %1289 = load ptr, ptr %19, align 8, !tbaa !5
  %1290 = load i32, ptr %1289, align 4, !tbaa !11
  %1291 = icmp sle i32 %1288, %1290
  br i1 %1291, label %1292, label %1294

1292:                                             ; preds = %1277
  %1293 = load i32, ptr %38, align 4, !tbaa !11
  br label %1297

1294:                                             ; preds = %1277
  %1295 = load ptr, ptr %19, align 8, !tbaa !5
  %1296 = load i32, ptr %1295, align 4, !tbaa !11
  br label %1297

1297:                                             ; preds = %1294, %1292
  %1298 = phi i32 [ %1293, %1292 ], [ %1296, %1294 ]
  %1299 = load i32, ptr %31, align 4, !tbaa !11
  %1300 = mul nsw i32 %1298, %1299
  %1301 = add nsw i32 %1287, %1300
  %1302 = sext i32 %1301 to i64
  %1303 = getelementptr inbounds %struct.complex, ptr %1286, i64 %1302
  %1304 = load ptr, ptr %22, align 8, !tbaa !5
  %1305 = load ptr, ptr %25, align 8, !tbaa !5
  %1306 = load i32, ptr %39, align 4, !tbaa !11
  %1307 = load ptr, ptr %19, align 8, !tbaa !5
  %1308 = load i32, ptr %1307, align 4, !tbaa !11
  %1309 = icmp sle i32 %1306, %1308
  br i1 %1309, label %1310, label %1312

1310:                                             ; preds = %1297
  %1311 = load i32, ptr %39, align 4, !tbaa !11
  br label %1315

1312:                                             ; preds = %1297
  %1313 = load ptr, ptr %19, align 8, !tbaa !5
  %1314 = load i32, ptr %1313, align 4, !tbaa !11
  br label %1315

1315:                                             ; preds = %1312, %1310
  %1316 = phi i32 [ %1311, %1310 ], [ %1314, %1312 ]
  %1317 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1318 = load i32, ptr %35, align 4, !tbaa !11
  %1319 = mul nsw i32 %1317, %1318
  %1320 = add nsw i32 %1316, %1319
  %1321 = sext i32 %1320 to i64
  %1322 = getelementptr inbounds %struct.complex, ptr %1305, i64 %1321
  %1323 = call <2 x float> @cdotu_(ptr noundef %37, ptr noundef %1303, ptr noundef %1304, ptr noundef %1322, ptr noundef @c__1)
  store <2 x float> %1323, ptr %57, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #5
  %1324 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1325 = load float, ptr %1324, align 4, !tbaa !16
  store float %1325, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %1326 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1327 = load float, ptr %1326, align 4, !tbaa !18
  store float %1327, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %1328 = load ptr, ptr %20, align 8, !tbaa !5
  %1329 = load i32, ptr %1328, align 4, !tbaa !11
  %1330 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1331 = sub nsw i32 %1329, %1330
  store i32 %1331, ptr %37, align 4, !tbaa !11
  %1332 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1333 = add nsw i32 %1332, 1
  store i32 %1333, ptr %38, align 4, !tbaa !11
  %1334 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1335 = add nsw i32 %1334, 1
  store i32 %1335, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #5
  %1336 = load ptr, ptr %25, align 8, !tbaa !5
  %1337 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1338 = load i32, ptr %38, align 4, !tbaa !11
  %1339 = load ptr, ptr %20, align 8, !tbaa !5
  %1340 = load i32, ptr %1339, align 4, !tbaa !11
  %1341 = icmp sle i32 %1338, %1340
  br i1 %1341, label %1342, label %1344

1342:                                             ; preds = %1315
  %1343 = load i32, ptr %38, align 4, !tbaa !11
  br label %1347

1344:                                             ; preds = %1315
  %1345 = load ptr, ptr %20, align 8, !tbaa !5
  %1346 = load i32, ptr %1345, align 4, !tbaa !11
  br label %1347

1347:                                             ; preds = %1344, %1342
  %1348 = phi i32 [ %1343, %1342 ], [ %1346, %1344 ]
  %1349 = load i32, ptr %35, align 4, !tbaa !11
  %1350 = mul nsw i32 %1348, %1349
  %1351 = add nsw i32 %1337, %1350
  %1352 = sext i32 %1351 to i64
  %1353 = getelementptr inbounds %struct.complex, ptr %1336, i64 %1352
  %1354 = load ptr, ptr %26, align 8, !tbaa !5
  %1355 = load ptr, ptr %23, align 8, !tbaa !5
  %1356 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1357 = load i32, ptr %39, align 4, !tbaa !11
  %1358 = load ptr, ptr %20, align 8, !tbaa !5
  %1359 = load i32, ptr %1358, align 4, !tbaa !11
  %1360 = icmp sle i32 %1357, %1359
  br i1 %1360, label %1361, label %1363

1361:                                             ; preds = %1347
  %1362 = load i32, ptr %39, align 4, !tbaa !11
  br label %1366

1363:                                             ; preds = %1347
  %1364 = load ptr, ptr %20, align 8, !tbaa !5
  %1365 = load i32, ptr %1364, align 4, !tbaa !11
  br label %1366

1366:                                             ; preds = %1363, %1361
  %1367 = phi i32 [ %1362, %1361 ], [ %1365, %1363 ]
  %1368 = load i32, ptr %33, align 4, !tbaa !11
  %1369 = mul nsw i32 %1367, %1368
  %1370 = add nsw i32 %1356, %1369
  %1371 = sext i32 %1370 to i64
  %1372 = getelementptr inbounds %struct.complex, ptr %1355, i64 %1371
  %1373 = load ptr, ptr %24, align 8, !tbaa !5
  %1374 = call <2 x float> @cdotc_(ptr noundef %37, ptr noundef %1353, ptr noundef %1354, ptr noundef %1372, ptr noundef %1373)
  store <2 x float> %1374, ptr %58, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %58, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  %1375 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1376 = load float, ptr %1375, align 4, !tbaa !16
  store float %1376, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !16
  %1377 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1378 = load float, ptr %1377, align 4, !tbaa !18
  store float %1378, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.sumr, i32 0, i32 1), align 4, !tbaa !18
  %1379 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1380 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1381 = load i32, ptr %35, align 4, !tbaa !11
  %1382 = mul nsw i32 %1380, %1381
  %1383 = add nsw i32 %1379, %1382
  store i32 %1383, ptr %37, align 4, !tbaa !11
  call void @r_cnjg(ptr noundef %46, ptr noundef @RELAPACK_ctrsyl_rec2.sumr)
  %1384 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1385 = getelementptr inbounds %struct.complex, ptr %46, i32 0, i32 0
  %1386 = load float, ptr %1385, align 4, !tbaa !16
  %1387 = fmul float %1384, %1386
  %1388 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %1387, ptr %1388, align 4, !tbaa !16
  %1389 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1390 = getelementptr inbounds %struct.complex, ptr %46, i32 0, i32 1
  %1391 = load float, ptr %1390, align 4, !tbaa !18
  %1392 = fmul float %1389, %1391
  %1393 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float %1392, ptr %1393, align 4, !tbaa !18
  %1394 = load float, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !16
  %1395 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1396 = load float, ptr %1395, align 4, !tbaa !16
  %1397 = fadd float %1394, %1396
  %1398 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %1397, ptr %1398, align 4, !tbaa !16
  %1399 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.suml, i32 0, i32 1), align 4, !tbaa !18
  %1400 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1401 = load float, ptr %1400, align 4, !tbaa !18
  %1402 = fadd float %1399, %1401
  %1403 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %1402, ptr %1403, align 4, !tbaa !18
  %1404 = load ptr, ptr %25, align 8, !tbaa !5
  %1405 = load i32, ptr %37, align 4, !tbaa !11
  %1406 = sext i32 %1405 to i64
  %1407 = getelementptr inbounds %struct.complex, ptr %1404, i64 %1406
  %1408 = getelementptr inbounds %struct.complex, ptr %1407, i32 0, i32 0
  %1409 = load float, ptr %1408, align 4, !tbaa !16
  %1410 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %1411 = load float, ptr %1410, align 4, !tbaa !16
  %1412 = fsub float %1409, %1411
  %1413 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %1412, ptr %1413, align 4, !tbaa !16
  %1414 = load ptr, ptr %25, align 8, !tbaa !5
  %1415 = load i32, ptr %37, align 4, !tbaa !11
  %1416 = sext i32 %1415 to i64
  %1417 = getelementptr inbounds %struct.complex, ptr %1414, i64 %1416
  %1418 = getelementptr inbounds %struct.complex, ptr %1417, i32 0, i32 1
  %1419 = load float, ptr %1418, align 4, !tbaa !18
  %1420 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %1421 = load float, ptr %1420, align 4, !tbaa !18
  %1422 = fsub float %1419, %1421
  %1423 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %1422, ptr %1423, align 4, !tbaa !18
  %1424 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1425 = load float, ptr %1424, align 4, !tbaa !16
  store float %1425, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %1426 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1427 = load float, ptr %1426, align 4, !tbaa !18
  store float %1427, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1428 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1429 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1430 = load i32, ptr %31, align 4, !tbaa !11
  %1431 = mul nsw i32 %1429, %1430
  %1432 = add nsw i32 %1428, %1431
  store i32 %1432, ptr %37, align 4, !tbaa !11
  %1433 = load ptr, ptr %23, align 8, !tbaa !5
  %1434 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1435 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1436 = load i32, ptr %33, align 4, !tbaa !11
  %1437 = mul nsw i32 %1435, %1436
  %1438 = add nsw i32 %1434, %1437
  %1439 = sext i32 %1438 to i64
  %1440 = getelementptr inbounds %struct.complex, ptr %1433, i64 %1439
  call void @r_cnjg(ptr noundef %45, ptr noundef %1440)
  %1441 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1442 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1443 = load float, ptr %1442, align 4, !tbaa !16
  %1444 = fmul float %1441, %1443
  %1445 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %1444, ptr %1445, align 4, !tbaa !16
  %1446 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !13
  %1447 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1448 = load float, ptr %1447, align 4, !tbaa !18
  %1449 = fmul float %1446, %1448
  %1450 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %1449, ptr %1450, align 4, !tbaa !18
  %1451 = load ptr, ptr %21, align 8, !tbaa !5
  %1452 = load i32, ptr %37, align 4, !tbaa !11
  %1453 = sext i32 %1452 to i64
  %1454 = getelementptr inbounds %struct.complex, ptr %1451, i64 %1453
  %1455 = getelementptr inbounds %struct.complex, ptr %1454, i32 0, i32 0
  %1456 = load float, ptr %1455, align 4, !tbaa !16
  %1457 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  %1458 = load float, ptr %1457, align 4, !tbaa !16
  %1459 = fadd float %1456, %1458
  %1460 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  store float %1459, ptr %1460, align 4, !tbaa !16
  %1461 = load ptr, ptr %21, align 8, !tbaa !5
  %1462 = load i32, ptr %37, align 4, !tbaa !11
  %1463 = sext i32 %1462 to i64
  %1464 = getelementptr inbounds %struct.complex, ptr %1461, i64 %1463
  %1465 = getelementptr inbounds %struct.complex, ptr %1464, i32 0, i32 1
  %1466 = load float, ptr %1465, align 4, !tbaa !18
  %1467 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  %1468 = load float, ptr %1467, align 4, !tbaa !18
  %1469 = fadd float %1466, %1468
  %1470 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  store float %1469, ptr %1470, align 4, !tbaa !18
  %1471 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1472 = load float, ptr %1471, align 4, !tbaa !16
  store float %1472, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  %1473 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1474 = load float, ptr %1473, align 4, !tbaa !18
  store float %1474, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %1475 = load float, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float %1475, ptr %41, align 4, !tbaa !13
  %1476 = load float, ptr %41, align 4, !tbaa !13
  %1477 = fcmp oge float %1476, 0.000000e+00
  br i1 %1477, label %1478, label %1480

1478:                                             ; preds = %1366
  %1479 = load float, ptr %41, align 4, !tbaa !13
  br label %1483

1480:                                             ; preds = %1366
  %1481 = load float, ptr %41, align 4, !tbaa !13
  %1482 = fneg float %1481
  br label %1483

1483:                                             ; preds = %1480, %1478
  %1484 = phi float [ %1479, %1478 ], [ %1482, %1480 ]
  %1485 = fpext float %1484 to double
  %1486 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store float %1486, ptr %42, align 4, !tbaa !13
  %1487 = load float, ptr %42, align 4, !tbaa !13
  %1488 = fcmp oge float %1487, 0.000000e+00
  br i1 %1488, label %1489, label %1491

1489:                                             ; preds = %1483
  %1490 = load float, ptr %42, align 4, !tbaa !13
  br label %1494

1491:                                             ; preds = %1483
  %1492 = load float, ptr %42, align 4, !tbaa !13
  %1493 = fneg float %1492
  br label %1494

1494:                                             ; preds = %1491, %1489
  %1495 = phi float [ %1490, %1489 ], [ %1493, %1491 ]
  %1496 = fpext float %1495 to double
  %1497 = fadd double %1485, %1496
  %1498 = fptrunc double %1497 to float
  store float %1498, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1499 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1500 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  %1501 = fcmp ole float %1499, %1500
  br i1 %1501, label %1502, label %1506

1502:                                             ; preds = %1494
  %1503 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %1503, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !16
  store float 0.000000e+00, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.a11, i32 0, i32 1), align 4, !tbaa !18
  %1504 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !13
  store float %1504, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1505 = load ptr, ptr %28, align 8, !tbaa !5
  store i32 1, ptr %1505, align 4, !tbaa !11
  br label %1506

1506:                                             ; preds = %1502, %1494
  %1507 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  store float %1507, ptr %41, align 4, !tbaa !13
  %1508 = load float, ptr %41, align 4, !tbaa !13
  %1509 = fcmp oge float %1508, 0.000000e+00
  br i1 %1509, label %1510, label %1512

1510:                                             ; preds = %1506
  %1511 = load float, ptr %41, align 4, !tbaa !13
  br label %1515

1512:                                             ; preds = %1506
  %1513 = load float, ptr %41, align 4, !tbaa !13
  %1514 = fneg float %1513
  br label %1515

1515:                                             ; preds = %1512, %1510
  %1516 = phi float [ %1511, %1510 ], [ %1514, %1512 ]
  %1517 = fpext float %1516 to double
  %1518 = call float @r_imag(ptr noundef @RELAPACK_ctrsyl_rec2.vec)
  store float %1518, ptr %42, align 4, !tbaa !13
  %1519 = load float, ptr %42, align 4, !tbaa !13
  %1520 = fcmp oge float %1519, 0.000000e+00
  br i1 %1520, label %1521, label %1523

1521:                                             ; preds = %1515
  %1522 = load float, ptr %42, align 4, !tbaa !13
  br label %1526

1523:                                             ; preds = %1515
  %1524 = load float, ptr %42, align 4, !tbaa !13
  %1525 = fneg float %1524
  br label %1526

1526:                                             ; preds = %1523, %1521
  %1527 = phi float [ %1522, %1521 ], [ %1525, %1523 ]
  %1528 = fpext float %1527 to double
  %1529 = fadd double %1517, %1528
  %1530 = fptrunc double %1529 to float
  store float %1530, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1531 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1532 = fcmp olt float %1531, 1.000000e+00
  br i1 %1532, label %1533, label %1546

1533:                                             ; preds = %1526
  %1534 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1535 = fcmp ogt float %1534, 1.000000e+00
  br i1 %1535, label %1536, label %1546

1536:                                             ; preds = %1533
  %1537 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1538 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !13
  %1539 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !13
  %1540 = fmul float %1538, %1539
  %1541 = fcmp ogt float %1537, %1540
  br i1 %1541, label %1542, label %1545

1542:                                             ; preds = %1536
  %1543 = load float, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !13
  %1544 = fdiv float 1.000000e+00, %1543
  store float %1544, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  br label %1545

1545:                                             ; preds = %1542, %1536
  br label %1546

1546:                                             ; preds = %1545, %1533, %1526
  %1547 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1548 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  store float %1547, ptr %1548, align 4, !tbaa !16
  %1549 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  store float 0.000000e+00, ptr %1549, align 4, !tbaa !18
  %1550 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %1551 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1552 = load float, ptr %1551, align 4, !tbaa !16
  %1553 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %1554 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1555 = load float, ptr %1554, align 4, !tbaa !18
  %1556 = fmul float %1553, %1555
  %1557 = fneg float %1556
  %1558 = call float @llvm.fmuladd.f32(float %1550, float %1552, float %1557)
  %1559 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 0
  store float %1558, ptr %1559, align 4, !tbaa !16
  %1560 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !16
  %1561 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 1
  %1562 = load float, ptr %1561, align 4, !tbaa !18
  %1563 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.vec, i32 0, i32 1), align 4, !tbaa !18
  %1564 = getelementptr inbounds %struct.complex, ptr %45, i32 0, i32 0
  %1565 = load float, ptr %1564, align 4, !tbaa !16
  %1566 = fmul float %1563, %1565
  %1567 = call float @llvm.fmuladd.f32(float %1560, float %1562, float %1566)
  %1568 = getelementptr inbounds %struct.complex, ptr %44, i32 0, i32 1
  store float %1567, ptr %1568, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  %1569 = call <2 x float> @cladiv_(ptr noundef %44, ptr noundef @RELAPACK_ctrsyl_rec2.a11)
  store <2 x float> %1569, ptr %59, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  %1570 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 0
  %1571 = load float, ptr %1570, align 4, !tbaa !16
  store float %1571, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %1572 = getelementptr inbounds %struct.complex, ptr %43, i32 0, i32 1
  %1573 = load float, ptr %1572, align 4, !tbaa !18
  store float %1573, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %1574 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1575 = fcmp une float %1574, 1.000000e+00
  br i1 %1575, label %1576, label %1601

1576:                                             ; preds = %1546
  %1577 = load ptr, ptr %20, align 8, !tbaa !5
  %1578 = load i32, ptr %1577, align 4, !tbaa !11
  store i32 %1578, ptr %37, align 4, !tbaa !11
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %1579

1579:                                             ; preds = %1593, %1576
  %1580 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %1581 = load i32, ptr %37, align 4, !tbaa !11
  %1582 = icmp sle i32 %1580, %1581
  br i1 %1582, label %1583, label %1596

1583:                                             ; preds = %1579
  %1584 = load ptr, ptr %19, align 8, !tbaa !5
  %1585 = load ptr, ptr %25, align 8, !tbaa !5
  %1586 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %1587 = load i32, ptr %35, align 4, !tbaa !11
  %1588 = mul nsw i32 %1586, %1587
  %1589 = add nsw i32 %1588, 1
  %1590 = sext i32 %1589 to i64
  %1591 = getelementptr inbounds %struct.complex, ptr %1585, i64 %1590
  %1592 = call i32 @csscal_(ptr noundef %1584, ptr noundef @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %1591, ptr noundef @c__1)
  br label %1593

1593:                                             ; preds = %1583
  %1594 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  %1595 = add nsw i32 %1594, 1
  store i32 %1595, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !11
  br label %1579, !llvm.loop !29

1596:                                             ; preds = %1579
  %1597 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !13
  %1598 = load ptr, ptr %27, align 8, !tbaa !5
  %1599 = load float, ptr %1598, align 4, !tbaa !13
  %1600 = fmul float %1599, %1597
  store float %1600, ptr %1598, align 4, !tbaa !13
  br label %1601

1601:                                             ; preds = %1596, %1546
  %1602 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1603 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1604 = load i32, ptr %35, align 4, !tbaa !11
  %1605 = mul nsw i32 %1603, %1604
  %1606 = add nsw i32 %1602, %1605
  store i32 %1606, ptr %37, align 4, !tbaa !11
  %1607 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !16
  %1608 = load ptr, ptr %25, align 8, !tbaa !5
  %1609 = load i32, ptr %37, align 4, !tbaa !11
  %1610 = sext i32 %1609 to i64
  %1611 = getelementptr inbounds %struct.complex, ptr %1608, i64 %1610
  %1612 = getelementptr inbounds %struct.complex, ptr %1611, i32 0, i32 0
  store float %1607, ptr %1612, align 4, !tbaa !16
  %1613 = load float, ptr getelementptr inbounds (%struct.complex, ptr @RELAPACK_ctrsyl_rec2.x11, i32 0, i32 1), align 4, !tbaa !18
  %1614 = load ptr, ptr %25, align 8, !tbaa !5
  %1615 = load i32, ptr %37, align 4, !tbaa !11
  %1616 = sext i32 %1615 to i64
  %1617 = getelementptr inbounds %struct.complex, ptr %1614, i64 %1616
  %1618 = getelementptr inbounds %struct.complex, ptr %1617, i32 0, i32 1
  store float %1613, ptr %1618, align 4, !tbaa !18
  br label %1619

1619:                                             ; preds = %1601
  %1620 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  %1621 = add nsw i32 %1620, -1
  store i32 %1621, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !11
  br label %1274, !llvm.loop !30

1622:                                             ; preds = %1274
  br label %1623

1623:                                             ; preds = %1622
  %1624 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  %1625 = add nsw i32 %1624, -1
  store i32 %1625, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !11
  br label %1268, !llvm.loop !31

1626:                                             ; preds = %1268
  br label %1627

1627:                                             ; preds = %1626, %1262, %1259
  br label %1628

1628:                                             ; preds = %1627, %1258
  br label %1629

1629:                                             ; preds = %1628, %913
  br label %1630

1630:                                             ; preds = %1629, %604
  store i32 1, ptr %47, align 4
  br label %1631

1631:                                             ; preds = %1630, %201, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  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 @lsame_(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #2

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

declare float @slamch_(ptr noundef, i64 noundef) #2

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

declare float @clange_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

declare <2 x float> @cdotu_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

declare float @r_imag(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

declare <2 x float> @cladiv_(ptr noundef, ptr noundef) #2

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

declare <2 x float> @cdotc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{i64 0, i64 4, !13, i64 4, i64 4, !13}
!16 = !{!17, !14, i64 0}
!17 = !{!"", !14, i64 0, !14, i64 4}
!18 = !{!17, !14, i64 4}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}


; 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.complex = type { float, float }

@RELAPACK_ctrsyl_rec2.j = external hidden local_unnamed_addr global i32, align 4
@RELAPACK_ctrsyl_rec2.k = external hidden local_unnamed_addr global i32, align 4
@RELAPACK_ctrsyl_rec2.l = external hidden local_unnamed_addr global i32, align 4
@RELAPACK_ctrsyl_rec2.a11 = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.db = external hidden local_unnamed_addr global float, align 4
@RELAPACK_ctrsyl_rec2.x11 = external hidden local_unnamed_addr global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.da11 = external hidden local_unnamed_addr global float, align 4
@RELAPACK_ctrsyl_rec2.vec = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.dum = external hidden global [1 x float], align 4
@RELAPACK_ctrsyl_rec2.eps = external hidden local_unnamed_addr global float, align 4
@RELAPACK_ctrsyl_rec2.sgn = external hidden local_unnamed_addr global float, align 4
@RELAPACK_ctrsyl_rec2.smin = external hidden local_unnamed_addr global float, align 4
@RELAPACK_ctrsyl_rec2.suml = external hidden local_unnamed_addr global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.sumr = external hidden global %struct.complex, align 4
@RELAPACK_ctrsyl_rec2.scaloc = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.bignum = external hidden global float, align 4
@RELAPACK_ctrsyl_rec2.notrna = external hidden local_unnamed_addr global i32, align 4
@RELAPACK_ctrsyl_rec2.notrnb = external hidden local_unnamed_addr global i32, align 4
@RELAPACK_ctrsyl_rec2.smlnum = external hidden global float, align 4
@.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 [7 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
@.str.5 = 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 void @RELAPACK_ctrsyl_rec2(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr nocapture noundef %11, ptr nocapture noundef %12, i64 noundef %13, i64 noundef %14) local_unnamed_addr #0 {
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.complex, align 8
  %20 = alloca %struct.complex, align 8
  %21 = alloca %struct.complex, align 8
  %22 = alloca %struct.complex, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  %23 = load i32, ptr %6, align 4, !tbaa !5
  %narrow325 = xor i32 %23, -1
  %24 = sext i32 %narrow325 to i64
  %25 = getelementptr inbounds %struct.complex, ptr %5, i64 %24
  %26 = load i32, ptr %8, align 4, !tbaa !5
  %narrow326 = xor i32 %26, -1
  %27 = sext i32 %narrow326 to i64
  %28 = getelementptr inbounds %struct.complex, ptr %7, i64 %27
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %narrow = xor i32 %29, -1
  %30 = sext i32 %narrow to i64
  %31 = getelementptr inbounds %struct.complex, ptr %9, i64 %30
  %32 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef 1, i64 noundef 1) #4
  store i32 %32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !5
  %33 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str, i64 noundef 1, i64 noundef 1) #4
  store i32 %33, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !5
  store i32 0, ptr %12, align 4, !tbaa !5
  %34 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !5
  %.not = icmp eq i32 %34, 0
  br i1 %.not, label %35, label %37

35:                                               ; preds = %15
  %36 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef 1, i64 noundef 1) #4
  %.not319 = icmp eq i32 %36, 0
  br i1 %.not319, label %.thread.sink.split, label %37

37:                                               ; preds = %35, %15
  %38 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4, !tbaa !5
  %.not320 = icmp eq i32 %38, 0
  br i1 %.not320, label %39, label %41

39:                                               ; preds = %37
  %40 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1, i64 noundef 1, i64 noundef 1) #4
  %.not321 = icmp eq i32 %40, 0
  br i1 %.not321, label %.thread.sink.split, label %41

41:                                               ; preds = %39, %37
  %42 = load i32, ptr %2, align 4, !tbaa !5
  switch i32 %42, label %.thread.sink.split [
    i32 1, label %43
    i32 -1, label %43
  ]

43:                                               ; preds = %41, %41
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = icmp slt i32 %44, 0
  br i1 %45, label %.thread.sink.split, label %46

46:                                               ; preds = %43
  %47 = load i32, ptr %4, align 4, !tbaa !5
  %48 = icmp slt i32 %47, 0
  br i1 %48, label %.thread.sink.split, label %49

49:                                               ; preds = %46
  %50 = load i32, ptr %6, align 4, !tbaa !5
  %spec.select = tail call i32 @llvm.umax.i32(i32 %44, i32 1)
  %51 = icmp slt i32 %50, %spec.select
  br i1 %51, label %.thread.sink.split, label %52

52:                                               ; preds = %49
  %53 = load i32, ptr %8, align 4, !tbaa !5
  %spec.select354 = tail call i32 @llvm.umax.i32(i32 %47, i32 1)
  %54 = icmp slt i32 %53, %spec.select354
  br i1 %54, label %.thread.sink.split, label %55

55:                                               ; preds = %52
  %56 = load i32, ptr %10, align 4, !tbaa !5
  %57 = icmp slt i32 %56, %spec.select
  br i1 %57, label %.thread.sink.split, label %58

58:                                               ; preds = %55
  %.pr = load i32, ptr %12, align 4, !tbaa !5
  %.not324 = icmp eq i32 %.pr, 0
  br i1 %.not324, label %62, label %.thread

.thread.sink.split:                               ; preds = %55, %52, %49, %46, %43, %41, %39, %35
  %.sink = phi i32 [ -1, %35 ], [ -2, %39 ], [ -3, %41 ], [ -4, %43 ], [ -5, %46 ], [ -7, %49 ], [ -9, %52 ], [ -11, %55 ]
  store i32 %.sink, ptr %12, align 4, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %.thread.sink.split, %58
  %59 = phi i32 [ %.pr, %58 ], [ %.sink, %.thread.sink.split ]
  %60 = sub nsw i32 0, %59
  store i32 %60, ptr %16, align 4, !tbaa !5
  %61 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %16, i64 noundef 6) #4
  br label %.loopexit

62:                                               ; preds = %58
  store float 1.000000e+00, ptr %11, align 4, !tbaa !9
  %63 = icmp eq i32 %44, 0
  %64 = icmp eq i32 %47, 0
  %or.cond471 = or i1 %63, %64
  br i1 %or.cond471, label %.loopexit, label %65

65:                                               ; preds = %62
  %66 = tail call float @slamch_(ptr noundef nonnull @.str.3, i64 noundef 1) #4
  store float %66, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !9
  %67 = tail call float @slamch_(ptr noundef nonnull @.str.4, i64 noundef 1) #4
  store float %67, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !9
  %68 = fdiv float 1.000000e+00, %67
  store float %68, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !9
  %69 = tail call i32 @slabad_(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.smlnum, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.bignum) #4
  %70 = load float, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !9
  %71 = load i32, ptr %3, align 4, !tbaa !5
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = mul nsw i32 %72, %71
  %74 = sitofp i32 %73 to float
  %75 = fmul float %70, %74
  %76 = load float, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !9
  %77 = fdiv float %75, %76
  store float %77, ptr @RELAPACK_ctrsyl_rec2.smlnum, align 4, !tbaa !9
  %78 = fdiv float 1.000000e+00, %77
  store float %78, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !9
  %79 = tail call float @clange_(ptr noundef nonnull @.str.5, ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.dum, i64 noundef 1) #4
  %80 = fmul float %76, %79
  %81 = fcmp oge float %77, %80
  %82 = select i1 %81, float %77, float %80
  %83 = load float, ptr @RELAPACK_ctrsyl_rec2.eps, align 4, !tbaa !9
  %84 = tail call float @clange_(ptr noundef nonnull @.str.5, ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef %7, ptr noundef nonnull %8, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.dum, i64 noundef 1) #4
  %85 = fmul float %83, %84
  %86 = fcmp oge float %82, %85
  %87 = select i1 %86, float %82, float %85
  store float %87, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !9
  %88 = load i32, ptr %2, align 4, !tbaa !5
  %89 = sitofp i32 %88 to float
  store float %89, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %90 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrna, align 4, !tbaa !5
  %91 = icmp ne i32 %90, 0
  %92 = load i32, ptr @RELAPACK_ctrsyl_rec2.notrnb, align 4
  %93 = icmp ne i32 %92, 0
  %or.cond = select i1 %91, i1 %93, i1 false
  br i1 %or.cond, label %94, label %230

94:                                               ; preds = %65
  %95 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %95, ptr %16, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %.not348422 = icmp slt i32 %95, 1
  br i1 %.not348422, label %.loopexit, label %.lr.ph424

.lr.ph424:                                        ; preds = %94
  %invariant.gep416 = getelementptr i8, ptr %28, i64 8
  %96 = add i32 %23, 1
  %97 = add i32 %26, 1
  %invariant.gep409 = getelementptr i8, ptr %31, i64 8
  br label %98

98:                                               ; preds = %.lr.ph424, %._crit_edge421
  %99 = phi i32 [ %95, %.lr.ph424 ], [ %227, %._crit_edge421 ]
  %100 = phi i32 [ 1, %.lr.ph424 ], [ %229, %._crit_edge421 ]
  %101 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %101, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %102 = icmp sgt i32 %101, 0
  br i1 %102, label %.lr.ph420, label %._crit_edge421

.lr.ph420:                                        ; preds = %98, %215
  %103 = phi i32 [ %219, %215 ], [ %100, %98 ]
  %storemerge349418 = phi i32 [ %225, %215 ], [ %101, %98 ]
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = sub nsw i32 %104, %storemerge349418
  store i32 %105, ptr %17, align 4, !tbaa !5
  %106 = add nuw nsw i32 %storemerge349418, 1
  %.not350.not = icmp slt i32 %storemerge349418, %104
  %. = select i1 %.not350.not, i32 %106, i32 %104
  %107 = mul nsw i32 %., %23
  %108 = add nsw i32 %107, %storemerge349418
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %struct.complex, ptr %25, i64 %109
  %111 = mul nsw i32 %103, %29
  %112 = add nsw i32 %111, %.
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds %struct.complex, ptr %31, i64 %113
  %115 = call <2 x float> @cdotu_(ptr noundef nonnull %17, ptr noundef %110, ptr noundef nonnull %6, ptr noundef %114, ptr noundef nonnull @c__1) #4
  %bc459 = bitcast <2 x float> %115 to <2 x i32>
  %116 = extractelement <2 x i32> %bc459, i64 0
  store i32 %116, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !11
  %117 = extractelement <2 x float> %115, i64 1
  store float %117, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.suml, i64 4), align 4, !tbaa !13
  %118 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %119 = add nsw i32 %118, -1
  store i32 %119, ptr %17, align 4, !tbaa !5
  %120 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %121 = add nsw i32 %120, %29
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds %struct.complex, ptr %31, i64 %122
  %124 = mul nsw i32 %118, %26
  %125 = sext i32 %124 to i64
  %gep417 = getelementptr %struct.complex, ptr %invariant.gep416, i64 %125
  %126 = call <2 x float> @cdotu_(ptr noundef nonnull %17, ptr noundef %123, ptr noundef nonnull %10, ptr noundef %gep417, ptr noundef nonnull @c__1) #4
  %bc461 = bitcast <2 x float> %126 to <2 x i32>
  %127 = extractelement <2 x i32> %bc461, i64 0
  %128 = bitcast i32 %127 to float
  store i32 %127, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !11
  %129 = extractelement <2 x float> %126, i64 1
  store float %129, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.sumr, i64 4), align 4, !tbaa !13
  %130 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %131 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %132 = mul nsw i32 %131, %29
  %133 = add nsw i32 %132, %130
  %134 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %135 = sext i32 %133 to i64
  %136 = getelementptr inbounds %struct.complex, ptr %31, i64 %135
  %137 = insertelement <2 x float> poison, float %134, i64 0
  %138 = shufflevector <2 x float> %137, <2 x float> poison, <2 x i32> zeroinitializer
  %139 = insertelement <2 x float> %126, float %128, i64 0
  %140 = fmul <2 x float> %138, %139
  %141 = load <2 x float>, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !9
  %142 = fadd <2 x float> %140, %141
  %143 = load <2 x float>, ptr %136, align 4, !tbaa !9
  %144 = fsub <2 x float> %143, %142
  store <2 x float> %144, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !9
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %145 = mul i32 %130, %96
  store i32 %145, ptr %17, align 4, !tbaa !5
  %146 = mul i32 %131, %97
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds %struct.complex, ptr %28, i64 %147
  %149 = load <2 x float>, ptr %148, align 4, !tbaa !9
  %150 = fmul <2 x float> %138, %149
  store <2 x float> %150, ptr %20, align 8, !tbaa !9
  %151 = sext i32 %145 to i64
  %152 = getelementptr inbounds %struct.complex, ptr %25, i64 %151
  %153 = load <2 x float>, ptr %152, align 4, !tbaa !9
  %154 = fadd <2 x float> %150, %153
  store <2 x float> %154, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !9
  %155 = extractelement <2 x float> %154, i64 0
  %156 = fcmp oge float %155, 0.000000e+00
  %157 = fneg float %155
  %158 = select i1 %156, float %155, float %157
  %159 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %160 = fcmp oge float %159, 0.000000e+00
  %161 = fneg float %159
  %162 = select i1 %160, float %159, float %161
  %163 = fadd float %158, %162
  store float %163, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %164 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !9
  %165 = fcmp ugt float %163, %164
  br i1 %165, label %167, label %166

166:                                              ; preds = %.lr.ph420
  store float %164, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !11
  store float 0.000000e+00, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.a11, i64 4), align 4, !tbaa !13
  store float %164, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %166, %.lr.ph420
  %168 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %169 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.vec) #4
  %170 = insertelement <2 x float> poison, float %168, i64 0
  %171 = insertelement <2 x float> %170, float %169, i64 1
  %172 = fcmp oge <2 x float> %171, zeroinitializer
  %173 = fneg <2 x float> %171
  %174 = select <2 x i1> %172, <2 x float> %171, <2 x float> %173
  %shift = shufflevector <2 x float> %174, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %175 = fadd <2 x float> %174, %shift
  %176 = extractelement <2 x float> %175, i64 0
  store float %176, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !9
  %177 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %178 = fcmp olt float %177, 1.000000e+00
  %179 = fcmp ogt float %176, 1.000000e+00
  %or.cond3 = select i1 %178, i1 %179, i1 false
  br i1 %or.cond3, label %180, label %186

180:                                              ; preds = %167
  %181 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !9
  %182 = fmul float %177, %181
  %183 = fcmp ogt float %176, %182
  br i1 %183, label %184, label %186

184:                                              ; preds = %180
  %185 = fdiv float 1.000000e+00, %176
  store float %185, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %180, %184, %167
  %187 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %188 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %189 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.vec, i64 4), align 4, !tbaa !13
  %190 = insertelement <2 x float> poison, float %189, i64 0
  %191 = shufflevector <2 x float> %190, <2 x float> poison, <2 x i32> zeroinitializer
  %192 = insertelement <2 x float> <float -0.000000e+00, float poison>, float %187, i64 1
  %193 = fmul <2 x float> %191, %192
  %194 = insertelement <2 x float> poison, float %188, i64 0
  %195 = shufflevector <2 x float> %194, <2 x float> poison, <2 x i32> zeroinitializer
  %196 = insertelement <2 x float> <float poison, float 0.000000e+00>, float %187, i64 0
  %197 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %195, <2 x float> %196, <2 x float> %193)
  store <2 x float> %197, ptr %20, align 8, !tbaa !9
  %198 = call <2 x float> @cladiv_(ptr noundef nonnull %20, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %bc463 = bitcast <2 x float> %198 to <2 x i32>
  %199 = extractelement <2 x i32> %bc463, i64 0
  %200 = bitcast i32 %199 to float
  store i32 %199, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %201 = extractelement <2 x float> %198, i64 1
  store float %201, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  %202 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %203 = fcmp une float %202, 1.000000e+00
  br i1 %203, label %204, label %215

204:                                              ; preds = %186
  %205 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %205, ptr %17, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %.not353411 = icmp slt i32 %205, 1
  br i1 %.not353411, label %._crit_edge415, label %.lr.ph414

.lr.ph414:                                        ; preds = %204, %.lr.ph414
  %storemerge352412 = phi i32 [ %210, %.lr.ph414 ], [ 1, %204 ]
  %206 = mul nsw i32 %storemerge352412, %29
  %207 = sext i32 %206 to i64
  %gep410 = getelementptr %struct.complex, ptr %invariant.gep409, i64 %207
  %208 = call i32 @csscal_(ptr noundef nonnull %3, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %gep410, ptr noundef nonnull @c__1) #4
  %209 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %211 = load i32, ptr %17, align 4, !tbaa !5
  %.not353.not = icmp slt i32 %209, %211
  br i1 %.not353.not, label %.lr.ph414, label %._crit_edge415.loopexit, !llvm.loop !14

._crit_edge415.loopexit:                          ; preds = %.lr.ph414
  %.pre437 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %._crit_edge415

._crit_edge415:                                   ; preds = %._crit_edge415.loopexit, %204
  %212 = phi float [ %.pre437, %._crit_edge415.loopexit ], [ %202, %204 ]
  %213 = load float, ptr %11, align 4, !tbaa !9
  %214 = fmul float %212, %213
  store float %214, ptr %11, align 4, !tbaa !9
  %.pre438 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %.pre439 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  br label %215

215:                                              ; preds = %._crit_edge415, %186
  %216 = phi float [ %.pre439, %._crit_edge415 ], [ %201, %186 ]
  %217 = phi float [ %.pre438, %._crit_edge415 ], [ %200, %186 ]
  %218 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %219 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %220 = mul nsw i32 %219, %29
  %221 = add nsw i32 %220, %218
  store i32 %221, ptr %17, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds %struct.complex, ptr %31, i64 %222
  store float %217, ptr %223, align 4, !tbaa !11
  %224 = getelementptr inbounds %struct.complex, ptr %31, i64 %222, i32 1
  store float %216, ptr %224, align 4, !tbaa !13
  %225 = add nsw i32 %218, -1
  store i32 %225, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %226 = icmp sgt i32 %218, 1
  br i1 %226, label %.lr.ph420, label %._crit_edge421.loopexit, !llvm.loop !16

._crit_edge421.loopexit:                          ; preds = %215
  %.pre440 = load i32, ptr %16, align 4, !tbaa !5
  br label %._crit_edge421

._crit_edge421:                                   ; preds = %._crit_edge421.loopexit, %98
  %227 = phi i32 [ %.pre440, %._crit_edge421.loopexit ], [ %99, %98 ]
  %228 = phi i32 [ %219, %._crit_edge421.loopexit ], [ %100, %98 ]
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %.not348.not = icmp slt i32 %228, %227
  br i1 %.not348.not, label %98, label %.loopexit, !llvm.loop !17

230:                                              ; preds = %65
  %231 = icmp eq i32 %90, 0
  %or.cond5 = select i1 %231, i1 %93, i1 false
  br i1 %or.cond5, label %232, label %365

232:                                              ; preds = %230
  %233 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %233, ptr %16, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %.not342406 = icmp slt i32 %233, 1
  br i1 %.not342406, label %.loopexit, label %.lr.ph408

.lr.ph408:                                        ; preds = %232
  %invariant.gep395 = getelementptr i8, ptr %25, i64 8
  %invariant.gep397 = getelementptr i8, ptr %31, i64 8
  %invariant.gep399 = getelementptr i8, ptr %28, i64 8
  %234 = add i32 %23, 1
  %235 = add i32 %26, 1
  br label %236

236:                                              ; preds = %.lr.ph408, %._crit_edge405
  %237 = phi i32 [ %233, %.lr.ph408 ], [ %362, %._crit_edge405 ]
  %238 = phi i32 [ 1, %.lr.ph408 ], [ %364, %._crit_edge405 ]
  %239 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %239, ptr %17, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %.not344401 = icmp slt i32 %239, 1
  br i1 %.not344401, label %._crit_edge405, label %.lr.ph404

.lr.ph404:                                        ; preds = %236, %350
  %240 = phi i32 [ %354, %350 ], [ %238, %236 ]
  %storemerge343402 = phi i32 [ %360, %350 ], [ 1, %236 ]
  %241 = add nsw i32 %storemerge343402, -1
  store i32 %241, ptr %18, align 4, !tbaa !5
  %242 = mul nsw i32 %storemerge343402, %23
  %243 = sext i32 %242 to i64
  %gep396 = getelementptr %struct.complex, ptr %invariant.gep395, i64 %243
  %244 = mul nsw i32 %240, %29
  %245 = sext i32 %244 to i64
  %gep398 = getelementptr %struct.complex, ptr %invariant.gep397, i64 %245
  %246 = call <2 x float> @cdotc_(ptr noundef nonnull %18, ptr noundef %gep396, ptr noundef nonnull @c__1, ptr noundef %gep398, ptr noundef nonnull @c__1) #4
  %bc453 = bitcast <2 x float> %246 to <2 x i32>
  %247 = extractelement <2 x i32> %bc453, i64 0
  store i32 %247, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !11
  %248 = extractelement <2 x float> %246, i64 1
  store float %248, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.suml, i64 4), align 4, !tbaa !13
  %249 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %250 = add nsw i32 %249, -1
  store i32 %250, ptr %18, align 4, !tbaa !5
  %251 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %252 = add nsw i32 %251, %29
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds %struct.complex, ptr %31, i64 %253
  %255 = mul nsw i32 %249, %26
  %256 = sext i32 %255 to i64
  %gep400 = getelementptr %struct.complex, ptr %invariant.gep399, i64 %256
  %257 = call <2 x float> @cdotu_(ptr noundef nonnull %18, ptr noundef %254, ptr noundef nonnull %10, ptr noundef %gep400, ptr noundef nonnull @c__1) #4
  %bc455 = bitcast <2 x float> %257 to <2 x i32>
  %258 = extractelement <2 x i32> %bc455, i64 0
  %259 = bitcast i32 %258 to float
  store i32 %258, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !11
  %260 = extractelement <2 x float> %257, i64 1
  store float %260, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.sumr, i64 4), align 4, !tbaa !13
  %261 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %262 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %263 = mul nsw i32 %262, %29
  %264 = add nsw i32 %263, %261
  store i32 %264, ptr %18, align 4, !tbaa !5
  %265 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %266 = insertelement <2 x float> poison, float %265, i64 0
  %267 = shufflevector <2 x float> %266, <2 x float> poison, <2 x i32> zeroinitializer
  %268 = insertelement <2 x float> %257, float %259, i64 0
  %269 = fmul <2 x float> %267, %268
  %270 = load <2 x float>, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !9
  %271 = fadd <2 x float> %269, %270
  store <2 x float> %271, ptr %20, align 8, !tbaa !9
  %272 = sext i32 %264 to i64
  %273 = getelementptr inbounds %struct.complex, ptr %31, i64 %272
  %274 = load <2 x float>, ptr %273, align 4, !tbaa !9
  %275 = fsub <2 x float> %274, %271
  store <2 x float> %275, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !9
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %276 = mul i32 %261, %234
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds %struct.complex, ptr %25, i64 %277
  call void @r_cnjg(ptr noundef nonnull %20, ptr noundef %278) #4
  %279 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %280 = mul i32 %279, %235
  store i32 %280, ptr %18, align 4, !tbaa !5
  %281 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %282 = sext i32 %280 to i64
  %283 = getelementptr inbounds %struct.complex, ptr %28, i64 %282
  %284 = load <2 x float>, ptr %283, align 4, !tbaa !9
  %285 = insertelement <2 x float> poison, float %281, i64 0
  %286 = shufflevector <2 x float> %285, <2 x float> poison, <2 x i32> zeroinitializer
  %287 = fmul <2 x float> %286, %284
  %288 = load <2 x float>, ptr %20, align 8, !tbaa !9
  %289 = fadd <2 x float> %287, %288
  store <2 x float> %289, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !9
  %290 = extractelement <2 x float> %289, i64 0
  %291 = fcmp oge float %290, 0.000000e+00
  %292 = fneg float %290
  %293 = select i1 %291, float %290, float %292
  %294 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %295 = fcmp oge float %294, 0.000000e+00
  %296 = fneg float %294
  %297 = select i1 %295, float %294, float %296
  %298 = fadd float %293, %297
  store float %298, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %299 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !9
  %300 = fcmp ugt float %298, %299
  br i1 %300, label %302, label %301

301:                                              ; preds = %.lr.ph404
  store float %299, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !11
  store float 0.000000e+00, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.a11, i64 4), align 4, !tbaa !13
  store float %299, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %302

302:                                              ; preds = %301, %.lr.ph404
  %303 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %304 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.vec) #4
  %305 = insertelement <2 x float> poison, float %303, i64 0
  %306 = insertelement <2 x float> %305, float %304, i64 1
  %307 = fcmp oge <2 x float> %306, zeroinitializer
  %308 = fneg <2 x float> %306
  %309 = select <2 x i1> %307, <2 x float> %306, <2 x float> %308
  %shift478 = shufflevector <2 x float> %309, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %310 = fadd <2 x float> %309, %shift478
  %311 = extractelement <2 x float> %310, i64 0
  store float %311, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !9
  %312 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %313 = fcmp olt float %312, 1.000000e+00
  %314 = fcmp ogt float %311, 1.000000e+00
  %or.cond7 = select i1 %313, i1 %314, i1 false
  br i1 %or.cond7, label %315, label %321

315:                                              ; preds = %302
  %316 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !9
  %317 = fmul float %312, %316
  %318 = fcmp ogt float %311, %317
  br i1 %318, label %319, label %321

319:                                              ; preds = %315
  %320 = fdiv float 1.000000e+00, %311
  store float %320, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %321

321:                                              ; preds = %315, %319, %302
  %322 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %323 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %324 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.vec, i64 4), align 4, !tbaa !13
  %325 = insertelement <2 x float> poison, float %324, i64 0
  %326 = shufflevector <2 x float> %325, <2 x float> poison, <2 x i32> zeroinitializer
  %327 = insertelement <2 x float> <float -0.000000e+00, float poison>, float %322, i64 1
  %328 = fmul <2 x float> %326, %327
  %329 = insertelement <2 x float> poison, float %323, i64 0
  %330 = shufflevector <2 x float> %329, <2 x float> poison, <2 x i32> zeroinitializer
  %331 = insertelement <2 x float> <float poison, float 0.000000e+00>, float %322, i64 0
  %332 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %330, <2 x float> %331, <2 x float> %328)
  store <2 x float> %332, ptr %20, align 8, !tbaa !9
  %333 = call <2 x float> @cladiv_(ptr noundef nonnull %20, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %bc457 = bitcast <2 x float> %333 to <2 x i32>
  %334 = extractelement <2 x i32> %bc457, i64 0
  %335 = bitcast i32 %334 to float
  store i32 %334, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %336 = extractelement <2 x float> %333, i64 1
  store float %336, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  %337 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %338 = fcmp une float %337, 1.000000e+00
  br i1 %338, label %339, label %350

339:                                              ; preds = %321
  %340 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %340, ptr %18, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %.not346390 = icmp slt i32 %340, 1
  br i1 %.not346390, label %._crit_edge394, label %.lr.ph393

.lr.ph393:                                        ; preds = %339, %.lr.ph393
  %storemerge345391 = phi i32 [ %345, %.lr.ph393 ], [ 1, %339 ]
  %341 = mul nsw i32 %storemerge345391, %29
  %342 = sext i32 %341 to i64
  %gep389 = getelementptr %struct.complex, ptr %invariant.gep397, i64 %342
  %343 = call i32 @csscal_(ptr noundef nonnull %3, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %gep389, ptr noundef nonnull @c__1) #4
  %344 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %345 = add nsw i32 %344, 1
  store i32 %345, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %346 = load i32, ptr %18, align 4, !tbaa !5
  %.not346.not = icmp slt i32 %344, %346
  br i1 %.not346.not, label %.lr.ph393, label %._crit_edge394.loopexit, !llvm.loop !18

._crit_edge394.loopexit:                          ; preds = %.lr.ph393
  %.pre433 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %._crit_edge394

._crit_edge394:                                   ; preds = %._crit_edge394.loopexit, %339
  %347 = phi float [ %.pre433, %._crit_edge394.loopexit ], [ %337, %339 ]
  %348 = load float, ptr %11, align 4, !tbaa !9
  %349 = fmul float %347, %348
  store float %349, ptr %11, align 4, !tbaa !9
  %.pre434 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %.pre435 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  br label %350

350:                                              ; preds = %._crit_edge394, %321
  %351 = phi float [ %.pre435, %._crit_edge394 ], [ %336, %321 ]
  %352 = phi float [ %.pre434, %._crit_edge394 ], [ %335, %321 ]
  %353 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %354 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %355 = mul nsw i32 %354, %29
  %356 = add nsw i32 %355, %353
  store i32 %356, ptr %18, align 4, !tbaa !5
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds %struct.complex, ptr %31, i64 %357
  store float %352, ptr %358, align 4, !tbaa !11
  %359 = getelementptr inbounds %struct.complex, ptr %31, i64 %357, i32 1
  store float %351, ptr %359, align 4, !tbaa !13
  %360 = add nsw i32 %353, 1
  store i32 %360, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %361 = load i32, ptr %17, align 4, !tbaa !5
  %.not344.not = icmp slt i32 %353, %361
  br i1 %.not344.not, label %.lr.ph404, label %._crit_edge405.loopexit, !llvm.loop !19

._crit_edge405.loopexit:                          ; preds = %350
  %.pre436 = load i32, ptr %16, align 4, !tbaa !5
  br label %._crit_edge405

._crit_edge405:                                   ; preds = %._crit_edge405.loopexit, %236
  %362 = phi i32 [ %.pre436, %._crit_edge405.loopexit ], [ %237, %236 ]
  %363 = phi i32 [ %354, %._crit_edge405.loopexit ], [ %238, %236 ]
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %.not342.not = icmp slt i32 %363, %362
  br i1 %.not342.not, label %236, label %.loopexit, !llvm.loop !20

365:                                              ; preds = %230
  %or.cond9 = select i1 %91, i1 true, i1 %93
  br i1 %or.cond9, label %503, label %366

366:                                              ; preds = %365
  %367 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %367, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %368 = icmp sgt i32 %367, 0
  br i1 %368, label %.lr.ph374, label %.loopexit

.lr.ph374:                                        ; preds = %366
  %invariant.gep364 = getelementptr i8, ptr %25, i64 8
  %invariant.gep366 = getelementptr i8, ptr %31, i64 8
  %369 = add i32 %23, 1
  %370 = add i32 %26, 1
  br label %371

371:                                              ; preds = %.lr.ph374, %._crit_edge372
  %372 = phi i32 [ %367, %.lr.ph374 ], [ %501, %._crit_edge372 ]
  %373 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %373, ptr %16, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %.not328368 = icmp slt i32 %373, 1
  br i1 %.not328368, label %._crit_edge372, label %.lr.ph371

.lr.ph371:                                        ; preds = %371, %488
  %374 = phi i32 [ %492, %488 ], [ %372, %371 ]
  %storemerge327369 = phi i32 [ %498, %488 ], [ 1, %371 ]
  %375 = add nsw i32 %storemerge327369, -1
  store i32 %375, ptr %17, align 4, !tbaa !5
  %376 = mul nsw i32 %storemerge327369, %23
  %377 = sext i32 %376 to i64
  %gep365 = getelementptr %struct.complex, ptr %invariant.gep364, i64 %377
  %378 = mul nsw i32 %374, %29
  %379 = sext i32 %378 to i64
  %gep367 = getelementptr %struct.complex, ptr %invariant.gep366, i64 %379
  %380 = call <2 x float> @cdotc_(ptr noundef nonnull %17, ptr noundef %gep365, ptr noundef nonnull @c__1, ptr noundef %gep367, ptr noundef nonnull @c__1) #4
  store <2 x float> %380, ptr %19, align 8
  %bc441 = bitcast <2 x float> %380 to <2 x i32>
  %381 = extractelement <2 x i32> %bc441, i64 0
  store i32 %381, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !11
  %382 = extractelement <2 x float> %380, i64 1
  store float %382, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.suml, i64 4), align 4, !tbaa !13
  %383 = load i32, ptr %4, align 4, !tbaa !5
  %384 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %385 = sub nsw i32 %383, %384
  store i32 %385, ptr %17, align 4, !tbaa !5
  %386 = add nsw i32 %384, 1
  %387 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %.not329.not = icmp slt i32 %384, %383
  %.356 = select i1 %.not329.not, i32 %386, i32 %383
  %388 = mul nsw i32 %.356, %29
  %389 = add nsw i32 %387, %388
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds %struct.complex, ptr %31, i64 %390
  %392 = mul nsw i32 %.356, %26
  %393 = add nsw i32 %392, %384
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds %struct.complex, ptr %28, i64 %394
  %396 = call <2 x float> @cdotc_(ptr noundef nonnull %17, ptr noundef %391, ptr noundef nonnull %10, ptr noundef %395, ptr noundef nonnull %8) #4
  store <2 x float> %396, ptr %19, align 8
  %bc443 = bitcast <2 x float> %396 to <2 x i32>
  %397 = extractelement <2 x i32> %bc443, i64 0
  store i32 %397, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !11
  %398 = extractelement <2 x float> %396, i64 1
  store float %398, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.sumr, i64 4), align 4, !tbaa !13
  %399 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %400 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %401 = mul nsw i32 %400, %29
  %402 = add nsw i32 %401, %399
  store i32 %402, ptr %17, align 4, !tbaa !5
  call void @r_cnjg(ptr noundef nonnull %22, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.sumr) #4
  %403 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %404 = load i32, ptr %17, align 4, !tbaa !5
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds %struct.complex, ptr %31, i64 %405
  %407 = load <2 x float>, ptr %22, align 8, !tbaa !9
  %408 = insertelement <2 x float> poison, float %403, i64 0
  %409 = shufflevector <2 x float> %408, <2 x float> poison, <2 x i32> zeroinitializer
  %410 = fmul <2 x float> %409, %407
  %411 = load <2 x float>, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !9
  %412 = fadd <2 x float> %410, %411
  %413 = load <2 x float>, ptr %406, align 4, !tbaa !9
  %414 = fsub <2 x float> %413, %412
  store <2 x float> %414, ptr %19, align 8, !tbaa !9
  store <2 x float> %414, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !9
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %415 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %416 = mul i32 %415, %369
  store i32 %416, ptr %17, align 4, !tbaa !5
  %417 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %418 = mul i32 %417, %370
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds %struct.complex, ptr %28, i64 %419
  %421 = sext i32 %416 to i64
  %422 = getelementptr inbounds %struct.complex, ptr %25, i64 %421
  %423 = load <2 x float>, ptr %420, align 4, !tbaa !9
  %424 = fmul <2 x float> %409, %423
  %425 = load <2 x float>, ptr %422, align 4, !tbaa !9
  %426 = fadd <2 x float> %424, %425
  store <2 x float> %426, ptr %20, align 8, !tbaa !9
  call void @r_cnjg(ptr noundef nonnull %19, ptr noundef nonnull %20) #4
  %427 = load <2 x float>, ptr %19, align 8, !tbaa !9
  store <2 x float> %427, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !9
  %428 = extractelement <2 x float> %427, i64 0
  %429 = fcmp oge float %428, 0.000000e+00
  %430 = fneg float %428
  %431 = select i1 %429, float %428, float %430
  %432 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %433 = fcmp oge float %432, 0.000000e+00
  %434 = fneg float %432
  %435 = select i1 %433, float %432, float %434
  %436 = fadd float %431, %435
  store float %436, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %437 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !9
  %438 = fcmp ugt float %436, %437
  br i1 %438, label %440, label %439

439:                                              ; preds = %.lr.ph371
  store float %437, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !11
  store float 0.000000e+00, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.a11, i64 4), align 4, !tbaa !13
  store float %437, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %440

440:                                              ; preds = %439, %.lr.ph371
  %441 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %442 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.vec) #4
  %443 = insertelement <2 x float> poison, float %441, i64 0
  %444 = insertelement <2 x float> %443, float %442, i64 1
  %445 = fcmp oge <2 x float> %444, zeroinitializer
  %446 = fneg <2 x float> %444
  %447 = select <2 x i1> %445, <2 x float> %444, <2 x float> %446
  %shift479 = shufflevector <2 x float> %447, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %448 = fadd <2 x float> %447, %shift479
  %449 = extractelement <2 x float> %448, i64 0
  store float %449, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !9
  %450 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %451 = fcmp olt float %450, 1.000000e+00
  %452 = fcmp ogt float %449, 1.000000e+00
  %or.cond11 = select i1 %451, i1 %452, i1 false
  br i1 %or.cond11, label %453, label %459

453:                                              ; preds = %440
  %454 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !9
  %455 = fmul float %450, %454
  %456 = fcmp ogt float %449, %455
  br i1 %456, label %457, label %459

457:                                              ; preds = %453
  %458 = fdiv float 1.000000e+00, %449
  store float %458, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %459

459:                                              ; preds = %453, %457, %440
  %460 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %461 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %462 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.vec, i64 4), align 4, !tbaa !13
  %463 = insertelement <2 x float> poison, float %462, i64 0
  %464 = shufflevector <2 x float> %463, <2 x float> poison, <2 x i32> zeroinitializer
  %465 = insertelement <2 x float> <float -0.000000e+00, float poison>, float %460, i64 1
  %466 = fmul <2 x float> %464, %465
  %467 = insertelement <2 x float> poison, float %461, i64 0
  %468 = shufflevector <2 x float> %467, <2 x float> poison, <2 x i32> zeroinitializer
  %469 = insertelement <2 x float> <float poison, float 0.000000e+00>, float %460, i64 0
  %470 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %468, <2 x float> %469, <2 x float> %466)
  store <2 x float> %470, ptr %20, align 8, !tbaa !9
  %471 = call <2 x float> @cladiv_(ptr noundef nonnull %20, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  store <2 x float> %471, ptr %19, align 8
  %bc445 = bitcast <2 x float> %471 to <2 x i32>
  %472 = extractelement <2 x i32> %bc445, i64 0
  %473 = bitcast i32 %472 to float
  store i32 %472, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %474 = extractelement <2 x float> %471, i64 1
  store float %474, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  %475 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %476 = fcmp une float %475, 1.000000e+00
  br i1 %476, label %477, label %488

477:                                              ; preds = %459
  %478 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %478, ptr %17, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %.not332362 = icmp slt i32 %478, 1
  br i1 %.not332362, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %477, %.lr.ph
  %storemerge331363 = phi i32 [ %483, %.lr.ph ], [ 1, %477 ]
  %479 = mul nsw i32 %storemerge331363, %29
  %480 = sext i32 %479 to i64
  %gep = getelementptr %struct.complex, ptr %invariant.gep366, i64 %480
  %481 = call i32 @csscal_(ptr noundef nonnull %3, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %gep, ptr noundef nonnull @c__1) #4
  %482 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %483 = add nsw i32 %482, 1
  store i32 %483, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %484 = load i32, ptr %17, align 4, !tbaa !5
  %.not332.not = icmp slt i32 %482, %484
  br i1 %.not332.not, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !21

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %477
  %485 = phi float [ %.pre, %._crit_edge.loopexit ], [ %475, %477 ]
  %486 = load float, ptr %11, align 4, !tbaa !9
  %487 = fmul float %485, %486
  store float %487, ptr %11, align 4, !tbaa !9
  %.pre428 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %.pre429 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  br label %488

488:                                              ; preds = %._crit_edge, %459
  %489 = phi float [ %.pre429, %._crit_edge ], [ %474, %459 ]
  %490 = phi float [ %.pre428, %._crit_edge ], [ %473, %459 ]
  %491 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %492 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %493 = mul nsw i32 %492, %29
  %494 = add nsw i32 %493, %491
  store i32 %494, ptr %17, align 4, !tbaa !5
  %495 = sext i32 %494 to i64
  %496 = getelementptr inbounds %struct.complex, ptr %31, i64 %495
  store float %490, ptr %496, align 4, !tbaa !11
  %497 = getelementptr inbounds %struct.complex, ptr %31, i64 %495, i32 1
  store float %489, ptr %497, align 4, !tbaa !13
  %498 = add nsw i32 %491, 1
  store i32 %498, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %499 = load i32, ptr %16, align 4, !tbaa !5
  %.not328.not = icmp slt i32 %491, %499
  br i1 %.not328.not, label %.lr.ph371, label %._crit_edge372, !llvm.loop !22

._crit_edge372:                                   ; preds = %488, %371
  %500 = phi i32 [ %372, %371 ], [ %492, %488 ]
  %501 = add nsw i32 %500, -1
  store i32 %501, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %502 = icmp sgt i32 %500, 1
  br i1 %502, label %371, label %.loopexit, !llvm.loop !23

503:                                              ; preds = %365
  %or.cond13 = select i1 %231, i1 true, i1 %93
  br i1 %or.cond13, label %.loopexit, label %504

504:                                              ; preds = %503
  %505 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %505, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %506 = icmp sgt i32 %505, 0
  br i1 %506, label %.lr.ph387, label %.loopexit

.lr.ph387:                                        ; preds = %504
  %507 = getelementptr inbounds i8, ptr %21, i64 4
  %508 = add i32 %23, 1
  %509 = add i32 %26, 1
  %invariant.gep375 = getelementptr i8, ptr %31, i64 8
  br label %510

510:                                              ; preds = %.lr.ph387, %._crit_edge385
  %511 = phi i32 [ %505, %.lr.ph387 ], [ %653, %._crit_edge385 ]
  %512 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %512, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %513 = icmp sgt i32 %512, 0
  br i1 %513, label %.lr.ph384, label %._crit_edge385

.lr.ph384:                                        ; preds = %510, %640
  %514 = phi i32 [ %644, %640 ], [ %511, %510 ]
  %storemerge334382 = phi i32 [ %650, %640 ], [ %512, %510 ]
  %515 = load i32, ptr %3, align 4, !tbaa !5
  %516 = sub nsw i32 %515, %storemerge334382
  store i32 %516, ptr %16, align 4, !tbaa !5
  %517 = add nuw nsw i32 %storemerge334382, 1
  store i32 %517, ptr %17, align 4, !tbaa !5
  %.not335.not = icmp slt i32 %storemerge334382, %515
  %.357 = select i1 %.not335.not, i32 %517, i32 %515
  %518 = mul nsw i32 %.357, %23
  %519 = add nsw i32 %518, %storemerge334382
  %520 = sext i32 %519 to i64
  %521 = getelementptr inbounds %struct.complex, ptr %25, i64 %520
  %522 = call i32 @llvm.smin.i32(i32 %517, i32 %515)
  %523 = mul nsw i32 %514, %29
  %524 = add nsw i32 %523, %522
  %525 = sext i32 %524 to i64
  %526 = getelementptr inbounds %struct.complex, ptr %31, i64 %525
  %527 = call <2 x float> @cdotu_(ptr noundef nonnull %16, ptr noundef %521, ptr noundef nonnull %6, ptr noundef %526, ptr noundef nonnull @c__1) #4
  %bc447 = bitcast <2 x float> %527 to <2 x i32>
  %528 = extractelement <2 x i32> %bc447, i64 0
  store i32 %528, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !11
  %529 = extractelement <2 x float> %527, i64 1
  store float %529, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.suml, i64 4), align 4, !tbaa !13
  %530 = load i32, ptr %4, align 4, !tbaa !5
  %531 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %532 = sub nsw i32 %530, %531
  store i32 %532, ptr %16, align 4, !tbaa !5
  %533 = add nsw i32 %531, 1
  store i32 %533, ptr %17, align 4, !tbaa !5
  %534 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %.not337.not = icmp slt i32 %531, %530
  %535 = select i1 %.not337.not, i32 %533, i32 %530
  %536 = mul nsw i32 %535, %29
  %537 = add nsw i32 %534, %536
  %538 = sext i32 %537 to i64
  %539 = getelementptr inbounds %struct.complex, ptr %31, i64 %538
  %540 = call i32 @llvm.smin.i32(i32 %533, i32 %530)
  %541 = mul nsw i32 %540, %26
  %542 = add nsw i32 %541, %531
  %543 = sext i32 %542 to i64
  %544 = getelementptr inbounds %struct.complex, ptr %28, i64 %543
  %545 = call <2 x float> @cdotc_(ptr noundef nonnull %16, ptr noundef %539, ptr noundef nonnull %10, ptr noundef %544, ptr noundef nonnull %8) #4
  %bc449 = bitcast <2 x float> %545 to <2 x i32>
  %546 = extractelement <2 x i32> %bc449, i64 0
  store i32 %546, ptr @RELAPACK_ctrsyl_rec2.sumr, align 4, !tbaa !11
  %547 = extractelement <2 x float> %545, i64 1
  store float %547, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.sumr, i64 4), align 4, !tbaa !13
  %548 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %549 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %550 = mul nsw i32 %549, %29
  %551 = add nsw i32 %550, %548
  store i32 %551, ptr %16, align 4, !tbaa !5
  call void @r_cnjg(ptr noundef nonnull %22, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.sumr) #4
  %552 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %553 = load <2 x float>, ptr %22, align 8, !tbaa !9
  %554 = insertelement <2 x float> poison, float %552, i64 0
  %555 = shufflevector <2 x float> %554, <2 x float> poison, <2 x i32> zeroinitializer
  %556 = fmul <2 x float> %555, %553
  store <2 x float> %556, ptr %21, align 8, !tbaa !9
  %557 = load <2 x float>, ptr @RELAPACK_ctrsyl_rec2.suml, align 4, !tbaa !9
  %558 = fadd <2 x float> %556, %557
  store <2 x float> %558, ptr %20, align 8, !tbaa !9
  %559 = load i32, ptr %16, align 4, !tbaa !5
  %560 = sext i32 %559 to i64
  %561 = getelementptr inbounds %struct.complex, ptr %31, i64 %560
  %562 = load <2 x float>, ptr %561, align 4, !tbaa !9
  %563 = fsub <2 x float> %562, %558
  store <2 x float> %563, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !9
  store float 1.000000e+00, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %564 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %565 = mul i32 %564, %508
  store i32 %565, ptr %16, align 4, !tbaa !5
  %566 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %567 = mul i32 %566, %509
  %568 = sext i32 %567 to i64
  %569 = getelementptr inbounds %struct.complex, ptr %28, i64 %568
  call void @r_cnjg(ptr noundef nonnull %21, ptr noundef %569) #4
  %570 = load float, ptr @RELAPACK_ctrsyl_rec2.sgn, align 4, !tbaa !9
  %571 = load <2 x float>, ptr %21, align 8, !tbaa !9
  %572 = insertelement <2 x float> poison, float %570, i64 0
  %573 = shufflevector <2 x float> %572, <2 x float> poison, <2 x i32> zeroinitializer
  %574 = fmul <2 x float> %573, %571
  store <2 x float> %574, ptr %20, align 8, !tbaa !9
  %575 = load i32, ptr %16, align 4, !tbaa !5
  %576 = sext i32 %575 to i64
  %577 = getelementptr inbounds %struct.complex, ptr %25, i64 %576
  %578 = load <2 x float>, ptr %577, align 4, !tbaa !9
  %579 = fadd <2 x float> %574, %578
  store <2 x float> %579, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !9
  %580 = extractelement <2 x float> %579, i64 0
  %581 = fcmp oge float %580, 0.000000e+00
  %582 = fneg float %580
  %583 = select i1 %581, float %580, float %582
  %584 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %585 = fcmp oge float %584, 0.000000e+00
  %586 = fneg float %584
  %587 = select i1 %585, float %584, float %586
  %588 = fadd float %583, %587
  store float %588, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %589 = load float, ptr @RELAPACK_ctrsyl_rec2.smin, align 4, !tbaa !9
  %590 = fcmp ugt float %588, %589
  br i1 %590, label %592, label %591

591:                                              ; preds = %.lr.ph384
  store float %589, ptr @RELAPACK_ctrsyl_rec2.a11, align 4, !tbaa !11
  store float 0.000000e+00, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.a11, i64 4), align 4, !tbaa !13
  store float %589, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %592

592:                                              ; preds = %591, %.lr.ph384
  %593 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %594 = call float @r_imag(ptr noundef nonnull @RELAPACK_ctrsyl_rec2.vec) #4
  %595 = insertelement <2 x float> poison, float %593, i64 0
  %596 = insertelement <2 x float> %595, float %594, i64 1
  %597 = fcmp oge <2 x float> %596, zeroinitializer
  %598 = fneg <2 x float> %596
  %599 = select <2 x i1> %597, <2 x float> %596, <2 x float> %598
  %shift480 = shufflevector <2 x float> %599, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %600 = fadd <2 x float> %599, %shift480
  %601 = extractelement <2 x float> %600, i64 0
  store float %601, ptr @RELAPACK_ctrsyl_rec2.db, align 4, !tbaa !9
  %602 = load float, ptr @RELAPACK_ctrsyl_rec2.da11, align 4, !tbaa !9
  %603 = fcmp olt float %602, 1.000000e+00
  %604 = fcmp ogt float %601, 1.000000e+00
  %or.cond15 = select i1 %603, i1 %604, i1 false
  br i1 %or.cond15, label %605, label %611

605:                                              ; preds = %592
  %606 = load float, ptr @RELAPACK_ctrsyl_rec2.bignum, align 4, !tbaa !9
  %607 = fmul float %602, %606
  %608 = fcmp ogt float %601, %607
  br i1 %608, label %609, label %611

609:                                              ; preds = %605
  %610 = fdiv float 1.000000e+00, %601
  store float %610, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %611

611:                                              ; preds = %605, %609, %592
  %612 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  store float %612, ptr %21, align 8, !tbaa !11
  store float 0.000000e+00, ptr %507, align 4, !tbaa !13
  %613 = load float, ptr @RELAPACK_ctrsyl_rec2.vec, align 4, !tbaa !11
  %614 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.vec, i64 4), align 4, !tbaa !13
  %615 = insertelement <2 x float> poison, float %614, i64 0
  %616 = shufflevector <2 x float> %615, <2 x float> poison, <2 x i32> zeroinitializer
  %617 = insertelement <2 x float> <float -0.000000e+00, float poison>, float %612, i64 1
  %618 = fmul <2 x float> %616, %617
  %619 = insertelement <2 x float> poison, float %613, i64 0
  %620 = shufflevector <2 x float> %619, <2 x float> poison, <2 x i32> zeroinitializer
  %621 = insertelement <2 x float> <float poison, float 0.000000e+00>, float %612, i64 0
  %622 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %620, <2 x float> %621, <2 x float> %618)
  store <2 x float> %622, ptr %20, align 8, !tbaa !9
  %623 = call <2 x float> @cladiv_(ptr noundef nonnull %20, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.a11) #4
  %bc451 = bitcast <2 x float> %623 to <2 x i32>
  %624 = extractelement <2 x i32> %bc451, i64 0
  %625 = bitcast i32 %624 to float
  store i32 %624, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %626 = extractelement <2 x float> %623, i64 1
  store float %626, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  %627 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  %628 = fcmp une float %627, 1.000000e+00
  br i1 %628, label %629, label %640

629:                                              ; preds = %611
  %630 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %630, ptr %16, align 4, !tbaa !5
  store i32 1, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %.not340377 = icmp slt i32 %630, 1
  br i1 %.not340377, label %._crit_edge381, label %.lr.ph380

.lr.ph380:                                        ; preds = %629, %.lr.ph380
  %storemerge339378 = phi i32 [ %635, %.lr.ph380 ], [ 1, %629 ]
  %631 = mul nsw i32 %storemerge339378, %29
  %632 = sext i32 %631 to i64
  %gep376 = getelementptr %struct.complex, ptr %invariant.gep375, i64 %632
  %633 = call i32 @csscal_(ptr noundef nonnull %3, ptr noundef nonnull @RELAPACK_ctrsyl_rec2.scaloc, ptr noundef %gep376, ptr noundef nonnull @c__1) #4
  %634 = load i32, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %635 = add nsw i32 %634, 1
  store i32 %635, ptr @RELAPACK_ctrsyl_rec2.j, align 4, !tbaa !5
  %636 = load i32, ptr %16, align 4, !tbaa !5
  %.not340.not = icmp slt i32 %634, %636
  br i1 %.not340.not, label %.lr.ph380, label %._crit_edge381.loopexit, !llvm.loop !24

._crit_edge381.loopexit:                          ; preds = %.lr.ph380
  %.pre430 = load float, ptr @RELAPACK_ctrsyl_rec2.scaloc, align 4, !tbaa !9
  br label %._crit_edge381

._crit_edge381:                                   ; preds = %._crit_edge381.loopexit, %629
  %637 = phi float [ %.pre430, %._crit_edge381.loopexit ], [ %627, %629 ]
  %638 = load float, ptr %11, align 4, !tbaa !9
  %639 = fmul float %637, %638
  store float %639, ptr %11, align 4, !tbaa !9
  %.pre431 = load float, ptr @RELAPACK_ctrsyl_rec2.x11, align 4, !tbaa !11
  %.pre432 = load float, ptr getelementptr inbounds (i8, ptr @RELAPACK_ctrsyl_rec2.x11, i64 4), align 4, !tbaa !13
  br label %640

640:                                              ; preds = %._crit_edge381, %611
  %641 = phi float [ %.pre432, %._crit_edge381 ], [ %626, %611 ]
  %642 = phi float [ %.pre431, %._crit_edge381 ], [ %625, %611 ]
  %643 = load i32, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %644 = load i32, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %645 = mul nsw i32 %644, %29
  %646 = add nsw i32 %645, %643
  store i32 %646, ptr %16, align 4, !tbaa !5
  %647 = sext i32 %646 to i64
  %648 = getelementptr inbounds %struct.complex, ptr %31, i64 %647
  store float %642, ptr %648, align 4, !tbaa !11
  %649 = getelementptr inbounds %struct.complex, ptr %31, i64 %647, i32 1
  store float %641, ptr %649, align 4, !tbaa !13
  %650 = add nsw i32 %643, -1
  store i32 %650, ptr @RELAPACK_ctrsyl_rec2.k, align 4, !tbaa !5
  %651 = icmp sgt i32 %643, 1
  br i1 %651, label %.lr.ph384, label %._crit_edge385, !llvm.loop !25

._crit_edge385:                                   ; preds = %640, %510
  %652 = phi i32 [ %511, %510 ], [ %644, %640 ]
  %653 = add nsw i32 %652, -1
  store i32 %653, ptr @RELAPACK_ctrsyl_rec2.l, align 4, !tbaa !5
  %654 = icmp sgt i32 %652, 1
  br i1 %654, label %510, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %._crit_edge372, %._crit_edge385, %._crit_edge405, %._crit_edge421, %366, %504, %232, %94, %503, %62, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  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 @lsame_(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

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

declare float @slamch_(ptr noundef, i64 noundef) local_unnamed_addr #2

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

declare float @clange_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare <2 x float> @cdotu_(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

declare float @r_imag(ptr noundef) local_unnamed_addr #2

declare <2 x float> @cladiv_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare <2 x float> @cdotc_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}


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