; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/BLAS/TESTING (zblat1)

; 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.anon = type { i64, i64, i64, i64, i64, i64 }
%struct.doublecomplex = type { double, double }
%struct.cilist = type { i64, i64, i64, ptr, i64 }

@combla_ = external dso_local global %struct.anon, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@c__1 = external hidden global i64, align 8
@check1_.strue2 = external hidden global [5 x double], align 16
@check1_.strue4 = external hidden global [5 x double], align 16
@check1_.ctrue5 = external hidden global [80 x %struct.doublecomplex], align 16
@check1_.ctrue6 = external hidden global [80 x %struct.doublecomplex], align 16
@check1_.itrue3 = external hidden global [5 x i64], align 16
@check1_.sa = external hidden global double, align 8
@check1_.ca = external hidden global %struct.doublecomplex, align 8
@check1_.cv = external hidden global [80 x %struct.doublecomplex], align 16
@check1_.io___19 = external hidden global %struct.cilist, align 8
@c__9 = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@c__5 = external hidden global i64, align 8

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

; Function Attrs: nounwind uwtable
define dso_local i32 @check1_(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca double, align 8
  %7 = alloca %struct.doublecomplex, align 8
  %8 = alloca i64, align 8
  %9 = alloca [8 x %struct.doublecomplex], align 16
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca [5 x %struct.doublecomplex], align 16
  %13 = alloca [5 x %struct.doublecomplex], align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 128, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 80, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 80, ptr %13) #3
  store i64 1, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  br label %14

14:                                               ; preds = %163, %1
  %15 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %16 = icmp sle i64 %15, 2
  br i1 %16, label %17, label %166

17:                                               ; preds = %14
  store i64 1, ptr %10, align 8, !tbaa !12
  br label %18

18:                                               ; preds = %159, %17
  %19 = load i64, ptr %10, align 8, !tbaa !12
  %20 = icmp sle i64 %19, 5
  br i1 %20, label %21, label %162

21:                                               ; preds = %18
  %22 = load i64, ptr %10, align 8, !tbaa !12
  %23 = sub nsw i64 %22, 1
  store i64 %23, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), align 8, !tbaa !13
  %24 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), align 8, !tbaa !13
  %25 = icmp sge i64 %24, 1
  br i1 %25, label %26, label %28

26:                                               ; preds = %21
  %27 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), align 8, !tbaa !13
  br label %29

28:                                               ; preds = %21
  br label %29

29:                                               ; preds = %28, %26
  %30 = phi i64 [ %27, %26 ], [ 1, %28 ]
  %31 = shl i64 %30, 1
  store i64 %31, ptr %11, align 8, !tbaa !12
  %32 = load i64, ptr %11, align 8, !tbaa !12
  store i64 %32, ptr %3, align 8, !tbaa !12
  store i64 1, ptr %8, align 8, !tbaa !12
  br label %33

33:                                               ; preds = %62, %29
  %34 = load i64, ptr %8, align 8, !tbaa !12
  %35 = load i64, ptr %3, align 8, !tbaa !12
  %36 = icmp sle i64 %34, %35
  br i1 %36, label %37, label %65

37:                                               ; preds = %33
  %38 = load i64, ptr %8, align 8, !tbaa !12
  %39 = sub nsw i64 %38, 1
  store i64 %39, ptr %4, align 8, !tbaa !12
  %40 = load i64, ptr %8, align 8, !tbaa !12
  %41 = load i64, ptr %10, align 8, !tbaa !12
  %42 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %43 = mul nsw i64 %42, 5
  %44 = add nsw i64 %41, %43
  %45 = shl i64 %44, 3
  %46 = add nsw i64 %40, %45
  %47 = sub nsw i64 %46, 49
  store i64 %47, ptr %5, align 8, !tbaa !12
  %48 = load i64, ptr %5, align 8, !tbaa !12
  %49 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.cv, i64 0, i64 %48
  %50 = getelementptr inbounds %struct.doublecomplex, ptr %49, i32 0, i32 0
  %51 = load double, ptr %50, align 16, !tbaa !14
  %52 = load i64, ptr %4, align 8, !tbaa !12
  %53 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %52
  %54 = getelementptr inbounds %struct.doublecomplex, ptr %53, i32 0, i32 0
  store double %51, ptr %54, align 16, !tbaa !14
  %55 = load i64, ptr %5, align 8, !tbaa !12
  %56 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.cv, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.doublecomplex, ptr %56, i32 0, i32 1
  %58 = load double, ptr %57, align 8, !tbaa !17
  %59 = load i64, ptr %4, align 8, !tbaa !12
  %60 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %59
  %61 = getelementptr inbounds %struct.doublecomplex, ptr %60, i32 0, i32 1
  store double %58, ptr %61, align 8, !tbaa !17
  br label %62

62:                                               ; preds = %37
  %63 = load i64, ptr %8, align 8, !tbaa !12
  %64 = add nsw i64 %63, 1
  store i64 %64, ptr %8, align 8, !tbaa !12
  br label %33, !llvm.loop !18

65:                                               ; preds = %33
  %66 = load i64, ptr @combla_, align 8, !tbaa !20
  %67 = icmp eq i64 %66, 6
  br i1 %67, label %68, label %79

68:                                               ; preds = %65
  %69 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %70 = call double @f2c_dznrm2(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %69, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  store double %70, ptr %6, align 8, !tbaa !21
  %71 = load i64, ptr %10, align 8, !tbaa !12
  %72 = sub nsw i64 %71, 1
  %73 = getelementptr inbounds [5 x double], ptr @check1_.strue2, i64 0, i64 %72
  %74 = load i64, ptr %10, align 8, !tbaa !12
  %75 = sub nsw i64 %74, 1
  %76 = getelementptr inbounds [5 x double], ptr @check1_.strue2, i64 0, i64 %75
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = call i32 @stest1_(ptr noundef %6, ptr noundef %73, ptr noundef %76, ptr noundef %77)
  br label %158

79:                                               ; preds = %65
  %80 = load i64, ptr @combla_, align 8, !tbaa !20
  %81 = icmp eq i64 %80, 7
  br i1 %81, label %82, label %93

82:                                               ; preds = %79
  %83 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %84 = call double @f2c_dzasum(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %83, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  store double %84, ptr %6, align 8, !tbaa !21
  %85 = load i64, ptr %10, align 8, !tbaa !12
  %86 = sub nsw i64 %85, 1
  %87 = getelementptr inbounds [5 x double], ptr @check1_.strue4, i64 0, i64 %86
  %88 = load i64, ptr %10, align 8, !tbaa !12
  %89 = sub nsw i64 %88, 1
  %90 = getelementptr inbounds [5 x double], ptr @check1_.strue4, i64 0, i64 %89
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = call i32 @stest1_(ptr noundef %6, ptr noundef %87, ptr noundef %90, ptr noundef %91)
  br label %157

93:                                               ; preds = %79
  %94 = load i64, ptr @combla_, align 8, !tbaa !20
  %95 = icmp eq i64 %94, 8
  br i1 %95, label %96, label %116

96:                                               ; preds = %93
  %97 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %98 = call i32 @f2c_zscal(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef @check1_.ca, ptr noundef %97, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %99 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %100 = load i64, ptr %10, align 8, !tbaa !12
  %101 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %102 = mul nsw i64 %101, 5
  %103 = add nsw i64 %100, %102
  %104 = shl i64 %103, 3
  %105 = sub nsw i64 %104, 48
  %106 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.ctrue5, i64 0, i64 %105
  %107 = load i64, ptr %10, align 8, !tbaa !12
  %108 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %109 = mul nsw i64 %108, 5
  %110 = add nsw i64 %107, %109
  %111 = shl i64 %110, 3
  %112 = sub nsw i64 %111, 48
  %113 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.ctrue5, i64 0, i64 %112
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = call i32 @ctest_(ptr noundef %11, ptr noundef %99, ptr noundef %106, ptr noundef %113, ptr noundef %114)
  br label %156

116:                                              ; preds = %93
  %117 = load i64, ptr @combla_, align 8, !tbaa !20
  %118 = icmp eq i64 %117, 9
  br i1 %118, label %119, label %139

119:                                              ; preds = %116
  %120 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %121 = call i32 @f2c_zdscal(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef @check1_.sa, ptr noundef %120, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %122 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %123 = load i64, ptr %10, align 8, !tbaa !12
  %124 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %125 = mul nsw i64 %124, 5
  %126 = add nsw i64 %123, %125
  %127 = shl i64 %126, 3
  %128 = sub nsw i64 %127, 48
  %129 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.ctrue6, i64 0, i64 %128
  %130 = load i64, ptr %10, align 8, !tbaa !12
  %131 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %132 = mul nsw i64 %131, 5
  %133 = add nsw i64 %130, %132
  %134 = shl i64 %133, 3
  %135 = sub nsw i64 %134, 48
  %136 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.ctrue6, i64 0, i64 %135
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = call i32 @ctest_(ptr noundef %11, ptr noundef %122, ptr noundef %129, ptr noundef %136, ptr noundef %137)
  br label %155

139:                                              ; preds = %116
  %140 = load i64, ptr @combla_, align 8, !tbaa !20
  %141 = icmp eq i64 %140, 10
  br i1 %141, label %142, label %149

142:                                              ; preds = %139
  %143 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %144 = call i64 @f2c_izamax(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %143, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  store i64 %144, ptr %3, align 8, !tbaa !12
  %145 = load i64, ptr %10, align 8, !tbaa !12
  %146 = sub nsw i64 %145, 1
  %147 = getelementptr inbounds [5 x i64], ptr @check1_.itrue3, i64 0, i64 %146
  %148 = call i32 @itest1_(ptr noundef %3, ptr noundef %147)
  br label %154

149:                                              ; preds = %139
  %150 = call i64 @s_wsle(ptr noundef @check1_.io___19)
  %151 = call i64 @do_lio(ptr noundef @c__9, ptr noundef @c__1, ptr noundef @.str.1, i64 noundef 28)
  %152 = call i64 @e_wsle()
  %153 = call i32 @s_stop(ptr noundef @.str, i64 noundef 0)
  br label %154

154:                                              ; preds = %149, %142
  br label %155

155:                                              ; preds = %154, %119
  br label %156

156:                                              ; preds = %155, %96
  br label %157

157:                                              ; preds = %156, %82
  br label %158

158:                                              ; preds = %157, %68
  br label %159

159:                                              ; preds = %158
  %160 = load i64, ptr %10, align 8, !tbaa !12
  %161 = add nsw i64 %160, 1
  store i64 %161, ptr %10, align 8, !tbaa !12
  br label %18, !llvm.loop !22

162:                                              ; preds = %18
  br label %163

163:                                              ; preds = %162
  %164 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  br label %14, !llvm.loop !23

166:                                              ; preds = %14
  store i64 1, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %167 = load i64, ptr @combla_, align 8, !tbaa !20
  %168 = icmp eq i64 %167, 8
  br i1 %168, label %169, label %201

169:                                              ; preds = %166
  store double 0.000000e+00, ptr @check1_.ca, align 8, !tbaa !14
  store double 0.000000e+00, ptr getelementptr inbounds (%struct.doublecomplex, ptr @check1_.ca, i32 0, i32 1), align 8, !tbaa !17
  store i64 1, ptr %8, align 8, !tbaa !12
  br label %170

170:                                              ; preds = %190, %169
  %171 = load i64, ptr %8, align 8, !tbaa !12
  %172 = icmp sle i64 %171, 5
  br i1 %172, label %173, label %193

173:                                              ; preds = %170
  %174 = load i64, ptr %8, align 8, !tbaa !12
  %175 = sub nsw i64 %174, 1
  store i64 %175, ptr %3, align 8, !tbaa !12
  %176 = load i64, ptr %3, align 8, !tbaa !12
  %177 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %176
  %178 = getelementptr inbounds %struct.doublecomplex, ptr %177, i32 0, i32 0
  store double 0.000000e+00, ptr %178, align 16, !tbaa !14
  %179 = load i64, ptr %3, align 8, !tbaa !12
  %180 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %179
  %181 = getelementptr inbounds %struct.doublecomplex, ptr %180, i32 0, i32 1
  store double 0.000000e+00, ptr %181, align 8, !tbaa !17
  %182 = load i64, ptr %8, align 8, !tbaa !12
  %183 = sub nsw i64 %182, 1
  store i64 %183, ptr %3, align 8, !tbaa !12
  %184 = load i64, ptr %3, align 8, !tbaa !12
  %185 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %184
  %186 = getelementptr inbounds %struct.doublecomplex, ptr %185, i32 0, i32 0
  store double 1.000000e+00, ptr %186, align 16, !tbaa !14
  %187 = load i64, ptr %3, align 8, !tbaa !12
  %188 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %187
  %189 = getelementptr inbounds %struct.doublecomplex, ptr %188, i32 0, i32 1
  store double 1.000000e+00, ptr %189, align 8, !tbaa !17
  br label %190

190:                                              ; preds = %173
  %191 = load i64, ptr %8, align 8, !tbaa !12
  %192 = add nsw i64 %191, 1
  store i64 %192, ptr %8, align 8, !tbaa !12
  br label %170, !llvm.loop !24

193:                                              ; preds = %170
  %194 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %195 = call i32 @f2c_zscal(ptr noundef @c__5, ptr noundef @check1_.ca, ptr noundef %194, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %196 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %197 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 0
  %198 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 0
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = call i32 @ctest_(ptr noundef @c__5, ptr noundef %196, ptr noundef %197, ptr noundef %198, ptr noundef %199)
  br label %355

201:                                              ; preds = %166
  %202 = load i64, ptr @combla_, align 8, !tbaa !20
  %203 = icmp eq i64 %202, 9
  br i1 %203, label %204, label %354

204:                                              ; preds = %201
  store double 0.000000e+00, ptr @check1_.sa, align 8, !tbaa !21
  store i64 1, ptr %8, align 8, !tbaa !12
  br label %205

205:                                              ; preds = %225, %204
  %206 = load i64, ptr %8, align 8, !tbaa !12
  %207 = icmp sle i64 %206, 5
  br i1 %207, label %208, label %228

208:                                              ; preds = %205
  %209 = load i64, ptr %8, align 8, !tbaa !12
  %210 = sub nsw i64 %209, 1
  store i64 %210, ptr %3, align 8, !tbaa !12
  %211 = load i64, ptr %3, align 8, !tbaa !12
  %212 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %211
  %213 = getelementptr inbounds %struct.doublecomplex, ptr %212, i32 0, i32 0
  store double 0.000000e+00, ptr %213, align 16, !tbaa !14
  %214 = load i64, ptr %3, align 8, !tbaa !12
  %215 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %214
  %216 = getelementptr inbounds %struct.doublecomplex, ptr %215, i32 0, i32 1
  store double 0.000000e+00, ptr %216, align 8, !tbaa !17
  %217 = load i64, ptr %8, align 8, !tbaa !12
  %218 = sub nsw i64 %217, 1
  store i64 %218, ptr %3, align 8, !tbaa !12
  %219 = load i64, ptr %3, align 8, !tbaa !12
  %220 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %219
  %221 = getelementptr inbounds %struct.doublecomplex, ptr %220, i32 0, i32 0
  store double 1.000000e+00, ptr %221, align 16, !tbaa !14
  %222 = load i64, ptr %3, align 8, !tbaa !12
  %223 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %222
  %224 = getelementptr inbounds %struct.doublecomplex, ptr %223, i32 0, i32 1
  store double 1.000000e+00, ptr %224, align 8, !tbaa !17
  br label %225

225:                                              ; preds = %208
  %226 = load i64, ptr %8, align 8, !tbaa !12
  %227 = add nsw i64 %226, 1
  store i64 %227, ptr %8, align 8, !tbaa !12
  br label %205, !llvm.loop !25

228:                                              ; preds = %205
  %229 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %230 = call i32 @f2c_zdscal(ptr noundef @c__5, ptr noundef @check1_.sa, ptr noundef %229, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %231 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %232 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 0
  %233 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 0
  %234 = load ptr, ptr %2, align 8, !tbaa !5
  %235 = call i32 @ctest_(ptr noundef @c__5, ptr noundef %231, ptr noundef %232, ptr noundef %233, ptr noundef %234)
  store double 1.000000e+00, ptr @check1_.sa, align 8, !tbaa !21
  store i64 1, ptr %8, align 8, !tbaa !12
  br label %236

236:                                              ; preds = %276, %228
  %237 = load i64, ptr %8, align 8, !tbaa !12
  %238 = icmp sle i64 %237, 5
  br i1 %238, label %239, label %279

239:                                              ; preds = %236
  %240 = load i64, ptr %8, align 8, !tbaa !12
  %241 = sub nsw i64 %240, 1
  store i64 %241, ptr %3, align 8, !tbaa !12
  %242 = load i64, ptr %8, align 8, !tbaa !12
  %243 = sub nsw i64 %242, 1
  store i64 %243, ptr %4, align 8, !tbaa !12
  %244 = load i64, ptr %4, align 8, !tbaa !12
  %245 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %244
  %246 = getelementptr inbounds %struct.doublecomplex, ptr %245, i32 0, i32 0
  %247 = load double, ptr %246, align 16, !tbaa !14
  %248 = load i64, ptr %3, align 8, !tbaa !12
  %249 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %248
  %250 = getelementptr inbounds %struct.doublecomplex, ptr %249, i32 0, i32 0
  store double %247, ptr %250, align 16, !tbaa !14
  %251 = load i64, ptr %4, align 8, !tbaa !12
  %252 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %251
  %253 = getelementptr inbounds %struct.doublecomplex, ptr %252, i32 0, i32 1
  %254 = load double, ptr %253, align 8, !tbaa !17
  %255 = load i64, ptr %3, align 8, !tbaa !12
  %256 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %255
  %257 = getelementptr inbounds %struct.doublecomplex, ptr %256, i32 0, i32 1
  store double %254, ptr %257, align 8, !tbaa !17
  %258 = load i64, ptr %8, align 8, !tbaa !12
  %259 = sub nsw i64 %258, 1
  store i64 %259, ptr %3, align 8, !tbaa !12
  %260 = load i64, ptr %8, align 8, !tbaa !12
  %261 = sub nsw i64 %260, 1
  store i64 %261, ptr %4, align 8, !tbaa !12
  %262 = load i64, ptr %4, align 8, !tbaa !12
  %263 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %262
  %264 = getelementptr inbounds %struct.doublecomplex, ptr %263, i32 0, i32 0
  %265 = load double, ptr %264, align 16, !tbaa !14
  %266 = load i64, ptr %3, align 8, !tbaa !12
  %267 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %266
  %268 = getelementptr inbounds %struct.doublecomplex, ptr %267, i32 0, i32 0
  store double %265, ptr %268, align 16, !tbaa !14
  %269 = load i64, ptr %4, align 8, !tbaa !12
  %270 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %269
  %271 = getelementptr inbounds %struct.doublecomplex, ptr %270, i32 0, i32 1
  %272 = load double, ptr %271, align 8, !tbaa !17
  %273 = load i64, ptr %3, align 8, !tbaa !12
  %274 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %273
  %275 = getelementptr inbounds %struct.doublecomplex, ptr %274, i32 0, i32 1
  store double %272, ptr %275, align 8, !tbaa !17
  br label %276

276:                                              ; preds = %239
  %277 = load i64, ptr %8, align 8, !tbaa !12
  %278 = add nsw i64 %277, 1
  store i64 %278, ptr %8, align 8, !tbaa !12
  br label %236, !llvm.loop !26

279:                                              ; preds = %236
  %280 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %281 = call i32 @f2c_zdscal(ptr noundef @c__5, ptr noundef @check1_.sa, ptr noundef %280, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %282 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %283 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 0
  %284 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 0
  %285 = load ptr, ptr %2, align 8, !tbaa !5
  %286 = call i32 @ctest_(ptr noundef @c__5, ptr noundef %282, ptr noundef %283, ptr noundef %284, ptr noundef %285)
  store double -1.000000e+00, ptr @check1_.sa, align 8, !tbaa !21
  store i64 1, ptr %8, align 8, !tbaa !12
  br label %287

287:                                              ; preds = %343, %279
  %288 = load i64, ptr %8, align 8, !tbaa !12
  %289 = icmp sle i64 %288, 5
  br i1 %289, label %290, label %346

290:                                              ; preds = %287
  %291 = load i64, ptr %8, align 8, !tbaa !12
  %292 = sub nsw i64 %291, 1
  store i64 %292, ptr %3, align 8, !tbaa !12
  %293 = load i64, ptr %8, align 8, !tbaa !12
  %294 = sub nsw i64 %293, 1
  store i64 %294, ptr %4, align 8, !tbaa !12
  %295 = load i64, ptr %4, align 8, !tbaa !12
  %296 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %295
  %297 = getelementptr inbounds %struct.doublecomplex, ptr %296, i32 0, i32 0
  %298 = load double, ptr %297, align 16, !tbaa !14
  %299 = fneg double %298
  %300 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 0
  store double %299, ptr %300, align 8, !tbaa !14
  %301 = load i64, ptr %4, align 8, !tbaa !12
  %302 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %301
  %303 = getelementptr inbounds %struct.doublecomplex, ptr %302, i32 0, i32 1
  %304 = load double, ptr %303, align 8, !tbaa !17
  %305 = fneg double %304
  %306 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 1
  store double %305, ptr %306, align 8, !tbaa !17
  %307 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 0
  %308 = load double, ptr %307, align 8, !tbaa !14
  %309 = load i64, ptr %3, align 8, !tbaa !12
  %310 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %309
  %311 = getelementptr inbounds %struct.doublecomplex, ptr %310, i32 0, i32 0
  store double %308, ptr %311, align 16, !tbaa !14
  %312 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 1
  %313 = load double, ptr %312, align 8, !tbaa !17
  %314 = load i64, ptr %3, align 8, !tbaa !12
  %315 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 %314
  %316 = getelementptr inbounds %struct.doublecomplex, ptr %315, i32 0, i32 1
  store double %313, ptr %316, align 8, !tbaa !17
  %317 = load i64, ptr %8, align 8, !tbaa !12
  %318 = sub nsw i64 %317, 1
  store i64 %318, ptr %3, align 8, !tbaa !12
  %319 = load i64, ptr %8, align 8, !tbaa !12
  %320 = sub nsw i64 %319, 1
  store i64 %320, ptr %4, align 8, !tbaa !12
  %321 = load i64, ptr %4, align 8, !tbaa !12
  %322 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %321
  %323 = getelementptr inbounds %struct.doublecomplex, ptr %322, i32 0, i32 0
  %324 = load double, ptr %323, align 16, !tbaa !14
  %325 = fneg double %324
  %326 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 0
  store double %325, ptr %326, align 8, !tbaa !14
  %327 = load i64, ptr %4, align 8, !tbaa !12
  %328 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 %327
  %329 = getelementptr inbounds %struct.doublecomplex, ptr %328, i32 0, i32 1
  %330 = load double, ptr %329, align 8, !tbaa !17
  %331 = fneg double %330
  %332 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 1
  store double %331, ptr %332, align 8, !tbaa !17
  %333 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 0
  %334 = load double, ptr %333, align 8, !tbaa !14
  %335 = load i64, ptr %3, align 8, !tbaa !12
  %336 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %335
  %337 = getelementptr inbounds %struct.doublecomplex, ptr %336, i32 0, i32 0
  store double %334, ptr %337, align 16, !tbaa !14
  %338 = getelementptr inbounds %struct.doublecomplex, ptr %7, i32 0, i32 1
  %339 = load double, ptr %338, align 8, !tbaa !17
  %340 = load i64, ptr %3, align 8, !tbaa !12
  %341 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 %340
  %342 = getelementptr inbounds %struct.doublecomplex, ptr %341, i32 0, i32 1
  store double %339, ptr %342, align 8, !tbaa !17
  br label %343

343:                                              ; preds = %290
  %344 = load i64, ptr %8, align 8, !tbaa !12
  %345 = add nsw i64 %344, 1
  store i64 %345, ptr %8, align 8, !tbaa !12
  br label %287, !llvm.loop !27

346:                                              ; preds = %287
  %347 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %348 = call i32 @f2c_zdscal(ptr noundef @c__5, ptr noundef @check1_.sa, ptr noundef %347, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %349 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %9, i64 0, i64 0
  %350 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %13, i64 0, i64 0
  %351 = getelementptr inbounds [5 x %struct.doublecomplex], ptr %12, i64 0, i64 0
  %352 = load ptr, ptr %2, align 8, !tbaa !5
  %353 = call i32 @ctest_(ptr noundef @c__5, ptr noundef %349, ptr noundef %350, ptr noundef %351, ptr noundef %352)
  br label %354

354:                                              ; preds = %346, %201
  br label %355

355:                                              ; preds = %354, %193
  call void @llvm.lifetime.end.p0(i64 80, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 128, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret i32 0
}

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stest1_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @ctest_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @itest1_(ptr noundef, ptr noundef) #1

declare i64 @s_wsle(ptr noundef) #2

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

declare i64 @e_wsle() #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

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


; 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.anon = type { i64, i64, i64, i64, i64, i64 }
%struct.doublecomplex = type { double, double }
%struct.cilist = type { i64, i64, i64, ptr, i64 }

@combla_ = external dso_local global %struct.anon, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@c__1 = external hidden global i64, align 8
@check1_.strue2 = external hidden global [5 x double], align 16
@check1_.strue4 = external hidden global [5 x double], align 16
@check1_.ctrue5 = external hidden global [80 x %struct.doublecomplex], align 16
@check1_.ctrue6 = external hidden global [80 x %struct.doublecomplex], align 16
@check1_.itrue3 = external hidden global [5 x i64], align 16
@check1_.sa = external hidden global double, align 8
@check1_.ca = external hidden global %struct.doublecomplex, align 8
@check1_.cv = external hidden local_unnamed_addr global [80 x %struct.doublecomplex], align 16
@check1_.io___19 = external hidden global %struct.cilist, align 8
@c__9 = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@c__5 = external hidden global i64, align 8

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @check1_(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca i64, align 8
  %3 = alloca double, align 8
  %4 = alloca [8 x %struct.doublecomplex], align 16
  %5 = alloca i64, align 8
  %6 = alloca [5 x %struct.doublecomplex], align 16
  %7 = alloca [5 x %struct.doublecomplex], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #4
  store i64 1, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.backedge, %1
  %.063 = phi i64 [ 1, %1 ], [ %.063.be, %.preheader.backedge ]
  %8 = add nsw i64 %.063, -1
  store i64 %8, ptr getelementptr inbounds (i8, ptr @combla_, i64 8), align 8, !tbaa !10
  %9 = shl nuw nsw i64 %8, 1
  %.inv = icmp ult i64 %.063, 2
  %10 = select i1 %.inv, i64 2, i64 %9
  store i64 %10, ptr %5, align 8, !tbaa !11
  store i64 %10, ptr %2, align 8, !tbaa !11
  %.not61 = icmp eq i64 %10, 0
  br i1 %.not61, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %11 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %12 = mul nsw i64 %11, 5
  %13 = add nsw i64 %12, %.063
  %14 = shl i64 %13, 3
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %.lr.ph
  %index = phi i64 [ 0, %.lr.ph ], [ %index.next, %vector.body ]
  %15 = add nsw i64 %index, -48
  %16 = add i64 %15, %14
  %17 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.cv, i64 0, i64 %16
  %wide.vec = load <4 x double>, ptr %17, align 16, !tbaa !12
  %18 = getelementptr inbounds [8 x %struct.doublecomplex], ptr %4, i64 0, i64 %index
  store <4 x double> %wide.vec, ptr %18, align 16, !tbaa !12
  %index.next = add nuw i64 %index, 2
  %19 = icmp eq i64 %index.next, %10
  br i1 %19, label %._crit_edge, label %vector.body, !llvm.loop !14

._crit_edge:                                      ; preds = %vector.body, %.preheader
  %20 = load i64, ptr @combla_, align 8, !tbaa !18
  switch i64 %20, label %51 [
    i64 6, label %21
    i64 7, label %25
    i64 8, label %29
    i64 9, label %38
    i64 10, label %47
  ]

21:                                               ; preds = %._crit_edge
  %22 = call double @f2c_dznrm2(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  store double %22, ptr %3, align 8, !tbaa !12
  %23 = getelementptr inbounds [5 x double], ptr @check1_.strue2, i64 0, i64 %8
  %24 = call i32 @stest1_(ptr noundef nonnull %3, ptr noundef nonnull %23, ptr noundef nonnull %23, ptr noundef %0)
  br label %56

25:                                               ; preds = %._crit_edge
  %26 = call double @f2c_dzasum(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  store double %26, ptr %3, align 8, !tbaa !12
  %27 = getelementptr inbounds [5 x double], ptr @check1_.strue4, i64 0, i64 %8
  %28 = call i32 @stest1_(ptr noundef nonnull %3, ptr noundef nonnull %27, ptr noundef nonnull %27, ptr noundef %0)
  br label %56

29:                                               ; preds = %._crit_edge
  %30 = call i32 @f2c_zscal(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull @check1_.ca, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %31 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %32 = mul nsw i64 %31, 5
  %33 = add nsw i64 %32, %.063
  %34 = shl i64 %33, 3
  %35 = add nsw i64 %34, -48
  %36 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.ctrue5, i64 0, i64 %35
  %37 = call i32 @ctest_(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %36, ptr noundef nonnull %36, ptr noundef %0)
  br label %56

38:                                               ; preds = %._crit_edge
  %39 = call i32 @f2c_zdscal(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull @check1_.sa, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %40 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %41 = mul nsw i64 %40, 5
  %42 = add nsw i64 %41, %.063
  %43 = shl i64 %42, 3
  %44 = add nsw i64 %43, -48
  %45 = getelementptr inbounds [80 x %struct.doublecomplex], ptr @check1_.ctrue6, i64 0, i64 %44
  %46 = call i32 @ctest_(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %45, ptr noundef nonnull %45, ptr noundef %0)
  br label %56

47:                                               ; preds = %._crit_edge
  %48 = call i64 @f2c_izamax(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  store i64 %48, ptr %2, align 8, !tbaa !11
  %49 = getelementptr inbounds [5 x i64], ptr @check1_.itrue3, i64 0, i64 %8
  %50 = call i32 @itest1_(ptr noundef nonnull %2, ptr noundef nonnull %49)
  br label %56

51:                                               ; preds = %._crit_edge
  %52 = call i64 @s_wsle(ptr noundef nonnull @check1_.io___19) #4
  %53 = call i64 @do_lio(ptr noundef nonnull @c__9, ptr noundef nonnull @c__1, ptr noundef nonnull @.str.1, i64 noundef 28) #4
  %54 = call i64 @e_wsle() #4
  %55 = call i32 @s_stop(ptr noundef nonnull @.str, i64 noundef 0) #4
  br label %56

56:                                               ; preds = %21, %29, %47, %51, %38, %25
  %57 = add nuw nsw i64 %.063, 1
  %exitcond74.not = icmp eq i64 %57, 6
  br i1 %exitcond74.not, label %58, label %.preheader.backedge

.preheader.backedge:                              ; preds = %56, %58
  %.063.be = phi i64 [ %57, %56 ], [ 1, %58 ]
  br label %.preheader, !llvm.loop !19

58:                                               ; preds = %56
  %59 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %60 = add nsw i64 %59, 1
  store i64 %60, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %61 = icmp slt i64 %59, 2
  br i1 %61, label %.preheader.backedge, label %62

62:                                               ; preds = %58
  store i64 1, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %63 = load i64, ptr @combla_, align 8, !tbaa !18
  switch i64 %63, label %104 [
    i64 8, label %64
    i64 9, label %70
  ]

64:                                               ; preds = %62
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) @check1_.ca, i8 0, i64 16, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %7, i8 0, i64 80, i1 false), !tbaa !12
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %6, align 16, !tbaa !12
  %65 = getelementptr inbounds i8, ptr %6, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %65, align 16, !tbaa !12
  %66 = getelementptr inbounds i8, ptr %6, i64 32
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %66, align 16, !tbaa !12
  %67 = getelementptr inbounds i8, ptr %6, i64 48
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %67, align 16, !tbaa !12
  %68 = getelementptr inbounds i8, ptr %6, i64 64
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %68, align 16, !tbaa !12
  store i64 4, ptr %2, align 8, !tbaa !11
  %69 = call i32 @f2c_zscal(ptr noundef nonnull @c__5, ptr noundef nonnull @check1_.ca, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  br label %.sink.split

70:                                               ; preds = %62
  store double 0.000000e+00, ptr @check1_.sa, align 8, !tbaa !12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %7, i8 0, i64 80, i1 false), !tbaa !12
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %6, align 16, !tbaa !12
  %71 = getelementptr inbounds i8, ptr %6, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %71, align 16, !tbaa !12
  %72 = getelementptr inbounds i8, ptr %6, i64 32
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %72, align 16, !tbaa !12
  %73 = getelementptr inbounds i8, ptr %6, i64 48
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %73, align 16, !tbaa !12
  %74 = getelementptr inbounds i8, ptr %6, i64 64
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %74, align 16, !tbaa !12
  store i64 4, ptr %2, align 8, !tbaa !11
  %75 = call i32 @f2c_zdscal(ptr noundef nonnull @c__5, ptr noundef nonnull @check1_.sa, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %76 = call i32 @ctest_(ptr noundef nonnull @c__5, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef %0)
  store double 1.000000e+00, ptr @check1_.sa, align 8, !tbaa !12
  %77 = load <2 x double>, ptr %4, align 16, !tbaa !12
  store <2 x double> %77, ptr %7, align 16, !tbaa !12
  store <2 x double> %77, ptr %6, align 16, !tbaa !12
  %78 = getelementptr inbounds i8, ptr %4, i64 16
  %79 = getelementptr inbounds i8, ptr %7, i64 16
  %80 = load <2 x double>, ptr %78, align 16, !tbaa !12
  store <2 x double> %80, ptr %79, align 16, !tbaa !12
  store <2 x double> %80, ptr %71, align 16, !tbaa !12
  %81 = getelementptr inbounds i8, ptr %4, i64 32
  %82 = getelementptr inbounds i8, ptr %7, i64 32
  %83 = load <2 x double>, ptr %81, align 16, !tbaa !12
  store <2 x double> %83, ptr %82, align 16, !tbaa !12
  store <2 x double> %83, ptr %72, align 16, !tbaa !12
  %84 = getelementptr inbounds i8, ptr %4, i64 48
  %85 = getelementptr inbounds i8, ptr %7, i64 48
  %86 = load <2 x double>, ptr %84, align 16, !tbaa !12
  store <2 x double> %86, ptr %85, align 16, !tbaa !12
  store <2 x double> %86, ptr %73, align 16, !tbaa !12
  %87 = getelementptr inbounds i8, ptr %4, i64 64
  %88 = getelementptr inbounds i8, ptr %7, i64 64
  %89 = load <2 x double>, ptr %87, align 16, !tbaa !12
  store <2 x double> %89, ptr %88, align 16, !tbaa !12
  store <2 x double> %89, ptr %74, align 16, !tbaa !12
  store i64 4, ptr %2, align 8, !tbaa !11
  %90 = call i32 @f2c_zdscal(ptr noundef nonnull @c__5, ptr noundef nonnull @check1_.sa, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %91 = call i32 @ctest_(ptr noundef nonnull @c__5, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef %0)
  store double -1.000000e+00, ptr @check1_.sa, align 8, !tbaa !12
  %92 = load <2 x double>, ptr %4, align 16, !tbaa !12
  %93 = fneg <2 x double> %92
  store <2 x double> %93, ptr %7, align 16, !tbaa !12
  store <2 x double> %93, ptr %6, align 16, !tbaa !12
  %94 = load <2 x double>, ptr %78, align 16, !tbaa !12
  %95 = fneg <2 x double> %94
  store <2 x double> %95, ptr %79, align 16, !tbaa !12
  store <2 x double> %95, ptr %71, align 16, !tbaa !12
  %96 = load <2 x double>, ptr %81, align 16, !tbaa !12
  %97 = fneg <2 x double> %96
  store <2 x double> %97, ptr %82, align 16, !tbaa !12
  store <2 x double> %97, ptr %72, align 16, !tbaa !12
  %98 = load <2 x double>, ptr %84, align 16, !tbaa !12
  %99 = fneg <2 x double> %98
  store <2 x double> %99, ptr %85, align 16, !tbaa !12
  store <2 x double> %99, ptr %73, align 16, !tbaa !12
  %100 = load <2 x double>, ptr %87, align 16, !tbaa !12
  %101 = fneg <2 x double> %100
  store <2 x double> %101, ptr %88, align 16, !tbaa !12
  store <2 x double> %101, ptr %74, align 16, !tbaa !12
  store i64 4, ptr %2, align 8, !tbaa !11
  %102 = call i32 @f2c_zdscal(ptr noundef nonnull @c__5, ptr noundef nonnull @check1_.sa, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  br label %.sink.split

.sink.split:                                      ; preds = %64, %70
  %103 = call i32 @ctest_(ptr noundef nonnull @c__5, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef %0)
  br label %104

104:                                              ; preds = %.sink.split, %62
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  ret i32 0
}

declare i32 @s_stop(ptr noundef, i64 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) #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stest1_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @ctest_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @itest1_(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @s_wsle(ptr noundef) local_unnamed_addr #2

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

declare i64 @e_wsle() local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = !{!6, !7, i64 0}
!19 = distinct !{!19, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass