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

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

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@c__1 = external hidden global i32, align 4
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @ctptri_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.complex, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %struct.complex, align 4
  %21 = alloca i32, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca { float, float }, align 4
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.complex, ptr %28, i32 -1
  store ptr %29, ptr %9, align 8, !tbaa !5
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %30, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call i32 @lsame_(ptr noundef %31, ptr noundef @.str)
  store i32 %32, ptr %15, align 4, !tbaa !9
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = call i32 @lsame_(ptr noundef %33, ptr noundef @.str.1)
  store i32 %34, ptr %19, align 4, !tbaa !9
  %35 = load i32, ptr %15, align 4, !tbaa !9
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %43, label %37

37:                                               ; preds = %5
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call i32 @lsame_(ptr noundef %38, ptr noundef @.str.2)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %43, label %41

41:                                               ; preds = %37
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 -1, ptr %42, align 4, !tbaa !9
  br label %60

43:                                               ; preds = %37, %5
  %44 = load i32, ptr %19, align 4, !tbaa !9
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %52, label %46

46:                                               ; preds = %43
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = call i32 @lsame_(ptr noundef %47, ptr noundef @.str)
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %52, label %50

50:                                               ; preds = %46
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 -2, ptr %51, align 4, !tbaa !9
  br label %59

52:                                               ; preds = %46, %43
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = icmp slt i32 %54, 0
  br i1 %55, label %56, label %58

56:                                               ; preds = %52
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 -3, ptr %57, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %56, %52
  br label %59

59:                                               ; preds = %58, %50
  br label %60

60:                                               ; preds = %59, %41
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %69

64:                                               ; preds = %60
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = sub nsw i32 0, %66
  store i32 %67, ptr %11, align 4, !tbaa !9
  %68 = call i32 @xerbla_(ptr noundef @.str.3, ptr noundef %11, i32 noundef 6)
  store i32 1, ptr %21, align 4
  br label %399

69:                                               ; preds = %60
  %70 = load i32, ptr %19, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %155

72:                                               ; preds = %69
  %73 = load i32, ptr %15, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %112

75:                                               ; preds = %72
  store i32 0, ptr %17, align 4, !tbaa !9
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = load i32, ptr %76, align 4, !tbaa !9
  store i32 %77, ptr %11, align 4, !tbaa !9
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %78, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %107, %75
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = icmp sle i32 %81, %82
  br i1 %83, label %84, label %111

84:                                               ; preds = %79
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = add nsw i32 %87, %86
  store i32 %88, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %89, ptr %12, align 4, !tbaa !9
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds %struct.complex, ptr %90, i64 %92
  %94 = getelementptr inbounds %struct.complex, ptr %93, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !11
  %96 = fcmp oeq float %95, 0.000000e+00
  br i1 %96, label %97, label %106

97:                                               ; preds = %84
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = load i32, ptr %12, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds %struct.complex, ptr %98, i64 %100
  %102 = getelementptr inbounds %struct.complex, ptr %101, i32 0, i32 1
  %103 = load float, ptr %102, align 4, !tbaa !14
  %104 = fcmp oeq float %103, 0.000000e+00
  br i1 %104, label %105, label %106

105:                                              ; preds = %97
  store i32 1, ptr %21, align 4
  br label %399

106:                                              ; preds = %97, %84
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %108, align 4, !tbaa !9
  br label %79, !llvm.loop !15

111:                                              ; preds = %79
  br label %153

112:                                              ; preds = %72
  store i32 1, ptr %17, align 4, !tbaa !9
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = load i32, ptr %113, align 4, !tbaa !9
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %115, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %148, %112
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = load i32, ptr %117, align 4, !tbaa !9
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = icmp sle i32 %118, %119
  br i1 %120, label %121, label %152

121:                                              ; preds = %116
  %122 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %122, ptr %12, align 4, !tbaa !9
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = load i32, ptr %12, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %struct.complex, ptr %123, i64 %125
  %127 = getelementptr inbounds %struct.complex, ptr %126, i32 0, i32 0
  %128 = load float, ptr %127, align 4, !tbaa !11
  %129 = fcmp oeq float %128, 0.000000e+00
  br i1 %129, label %130, label %139

130:                                              ; preds = %121
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = load i32, ptr %12, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %struct.complex, ptr %131, i64 %133
  %135 = getelementptr inbounds %struct.complex, ptr %134, i32 0, i32 1
  %136 = load float, ptr %135, align 4, !tbaa !14
  %137 = fcmp oeq float %136, 0.000000e+00
  br i1 %137, label %138, label %139

138:                                              ; preds = %130
  store i32 1, ptr %21, align 4
  br label %399

139:                                              ; preds = %130, %121
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = add nsw i32 %140, %142
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = sub nsw i32 %143, %145
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %17, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %139
  %149 = load ptr, ptr %10, align 8, !tbaa !5
  %150 = load i32, ptr %149, align 4, !tbaa !9
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %149, align 4, !tbaa !9
  br label %116, !llvm.loop !17

152:                                              ; preds = %116
  br label %153

153:                                              ; preds = %152, %111
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %154, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %153, %69
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %270

158:                                              ; preds = %155
  store i32 1, ptr %16, align 4, !tbaa !9
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load i32, ptr %159, align 4, !tbaa !9
  store i32 %160, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %266, %158
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = icmp sle i32 %162, %163
  br i1 %164, label %165, label %269

165:                                              ; preds = %161
  %166 = load i32, ptr %19, align 4, !tbaa !9
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %238

168:                                              ; preds = %165
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = add nsw i32 %169, %170
  %172 = sub nsw i32 %171, 1
  store i32 %172, ptr %12, align 4, !tbaa !9
  %173 = call <2 x float> @Cf(ptr noundef @c_b1)
  store <2 x float> %173, ptr %22, align 4
  %174 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %175 = load float, ptr %174, align 4
  %176 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %177 = load float, ptr %176, align 4
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %14, align 4, !tbaa !9
  %181 = add nsw i32 %179, %180
  %182 = sub nsw i32 %181, 1
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds %struct.complex, ptr %178, i64 %183
  %185 = call <2 x float> @Cf(ptr noundef %184)
  store <2 x float> %185, ptr %23, align 4
  %186 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %187 = load float, ptr %186, align 4
  %188 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %189 = load float, ptr %188, align 4
  %190 = call <2 x float> @__divsc3(float noundef %175, float noundef %177, float noundef %187, float noundef %189) #5
  store <2 x float> %190, ptr %24, align 4
  %191 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %192 = load float, ptr %191, align 4
  %193 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  %194 = load float, ptr %193, align 4
  %195 = call ptr @_pCf(ptr noundef %13)
  %196 = getelementptr inbounds { float, float }, ptr %195, i32 0, i32 0
  %197 = getelementptr inbounds { float, float }, ptr %195, i32 0, i32 1
  store float %192, ptr %196, align 4
  store float %194, ptr %197, align 4
  %198 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  %199 = load float, ptr %198, align 4, !tbaa !11
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = load i32, ptr %12, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds %struct.complex, ptr %200, i64 %202
  %204 = getelementptr inbounds %struct.complex, ptr %203, i32 0, i32 0
  store float %199, ptr %204, align 4, !tbaa !11
  %205 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  %206 = load float, ptr %205, align 4, !tbaa !14
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = load i32, ptr %12, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds %struct.complex, ptr %207, i64 %209
  %211 = getelementptr inbounds %struct.complex, ptr %210, i32 0, i32 1
  store float %206, ptr %211, align 4, !tbaa !14
  %212 = load i32, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = add nsw i32 %212, %213
  %215 = sub nsw i32 %214, 1
  store i32 %215, ptr %12, align 4, !tbaa !9
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = load i32, ptr %12, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds %struct.complex, ptr %216, i64 %218
  %220 = getelementptr inbounds %struct.complex, ptr %219, i32 0, i32 0
  %221 = load float, ptr %220, align 4, !tbaa !11
  %222 = fneg float %221
  %223 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  store float %222, ptr %223, align 4, !tbaa !11
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = load i32, ptr %12, align 4, !tbaa !9
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds %struct.complex, ptr %224, i64 %226
  %228 = getelementptr inbounds %struct.complex, ptr %227, i32 0, i32 1
  %229 = load float, ptr %228, align 4, !tbaa !14
  %230 = fneg float %229
  %231 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  store float %230, ptr %231, align 4, !tbaa !14
  %232 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  %233 = load float, ptr %232, align 4, !tbaa !11
  %234 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  store float %233, ptr %234, align 4, !tbaa !11
  %235 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  %236 = load float, ptr %235, align 4, !tbaa !14
  %237 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  store float %236, ptr %237, align 4, !tbaa !14
  br label %247

238:                                              ; preds = %165
  %239 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  store float -1.000000e+00, ptr %239, align 4, !tbaa !11
  %240 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  store float 0.000000e+00, ptr %240, align 4, !tbaa !14
  %241 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  %242 = load float, ptr %241, align 4, !tbaa !11
  %243 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  store float %242, ptr %243, align 4, !tbaa !11
  %244 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  %245 = load float, ptr %244, align 4, !tbaa !14
  %246 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  store float %245, ptr %246, align 4, !tbaa !14
  br label %247

247:                                              ; preds = %238, %168
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = sub nsw i32 %248, 1
  store i32 %249, ptr %12, align 4, !tbaa !9
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.complex, ptr %251, i64 1
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = load i32, ptr %16, align 4, !tbaa !9
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds %struct.complex, ptr %253, i64 %255
  call void @ctpmv_(ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %250, ptr noundef %12, ptr noundef %252, ptr noundef %256, ptr noundef @c__1)
  %257 = load i32, ptr %14, align 4, !tbaa !9
  %258 = sub nsw i32 %257, 1
  store i32 %258, ptr %12, align 4, !tbaa !9
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds %struct.complex, ptr %259, i64 %261
  call void @cscal_(ptr noundef %12, ptr noundef %20, ptr noundef %262, ptr noundef @c__1)
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = load i32, ptr %16, align 4, !tbaa !9
  %265 = add nsw i32 %264, %263
  store i32 %265, ptr %16, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %247
  %267 = load i32, ptr %14, align 4, !tbaa !9
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %14, align 4, !tbaa !9
  br label %161, !llvm.loop !18

269:                                              ; preds = %161
  br label %398

270:                                              ; preds = %155
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = load i32, ptr %271, align 4, !tbaa !9
  %273 = load ptr, ptr %8, align 8, !tbaa !5
  %274 = load i32, ptr %273, align 4, !tbaa !9
  %275 = add nsw i32 %274, 1
  %276 = mul nsw i32 %272, %275
  %277 = sdiv i32 %276, 2
  store i32 %277, ptr %16, align 4, !tbaa !9
  %278 = load ptr, ptr %8, align 8, !tbaa !5
  %279 = load i32, ptr %278, align 4, !tbaa !9
  store i32 %279, ptr %14, align 4, !tbaa !9
  br label %280

280:                                              ; preds = %394, %270
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = icmp sge i32 %281, 1
  br i1 %282, label %283, label %397

283:                                              ; preds = %280
  %284 = load i32, ptr %19, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %347

286:                                              ; preds = %283
  %287 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %287, ptr %11, align 4, !tbaa !9
  %288 = call <2 x float> @Cf(ptr noundef @c_b1)
  store <2 x float> %288, ptr %25, align 4
  %289 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %290 = load float, ptr %289, align 4
  %291 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  %292 = load float, ptr %291, align 4
  %293 = load ptr, ptr %9, align 8, !tbaa !5
  %294 = load i32, ptr %16, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds %struct.complex, ptr %293, i64 %295
  %297 = call <2 x float> @Cf(ptr noundef %296)
  store <2 x float> %297, ptr %26, align 4
  %298 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %299 = load float, ptr %298, align 4
  %300 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %301 = load float, ptr %300, align 4
  %302 = call <2 x float> @__divsc3(float noundef %290, float noundef %292, float noundef %299, float noundef %301) #5
  store <2 x float> %302, ptr %27, align 4
  %303 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %304 = load float, ptr %303, align 4
  %305 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  %306 = load float, ptr %305, align 4
  %307 = call ptr @_pCf(ptr noundef %13)
  %308 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 0
  %309 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 1
  store float %304, ptr %308, align 4
  store float %306, ptr %309, align 4
  %310 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  %311 = load float, ptr %310, align 4, !tbaa !11
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = load i32, ptr %11, align 4, !tbaa !9
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds %struct.complex, ptr %312, i64 %314
  %316 = getelementptr inbounds %struct.complex, ptr %315, i32 0, i32 0
  store float %311, ptr %316, align 4, !tbaa !11
  %317 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  %318 = load float, ptr %317, align 4, !tbaa !14
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = load i32, ptr %11, align 4, !tbaa !9
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds %struct.complex, ptr %319, i64 %321
  %323 = getelementptr inbounds %struct.complex, ptr %322, i32 0, i32 1
  store float %318, ptr %323, align 4, !tbaa !14
  %324 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %324, ptr %11, align 4, !tbaa !9
  %325 = load ptr, ptr %9, align 8, !tbaa !5
  %326 = load i32, ptr %11, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds %struct.complex, ptr %325, i64 %327
  %329 = getelementptr inbounds %struct.complex, ptr %328, i32 0, i32 0
  %330 = load float, ptr %329, align 4, !tbaa !11
  %331 = fneg float %330
  %332 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  store float %331, ptr %332, align 4, !tbaa !11
  %333 = load ptr, ptr %9, align 8, !tbaa !5
  %334 = load i32, ptr %11, align 4, !tbaa !9
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds %struct.complex, ptr %333, i64 %335
  %337 = getelementptr inbounds %struct.complex, ptr %336, i32 0, i32 1
  %338 = load float, ptr %337, align 4, !tbaa !14
  %339 = fneg float %338
  %340 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  store float %339, ptr %340, align 4, !tbaa !14
  %341 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  %342 = load float, ptr %341, align 4, !tbaa !11
  %343 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  store float %342, ptr %343, align 4, !tbaa !11
  %344 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  %345 = load float, ptr %344, align 4, !tbaa !14
  %346 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  store float %345, ptr %346, align 4, !tbaa !14
  br label %356

347:                                              ; preds = %283
  %348 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  store float -1.000000e+00, ptr %348, align 4, !tbaa !11
  %349 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  store float 0.000000e+00, ptr %349, align 4, !tbaa !14
  %350 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 0
  %351 = load float, ptr %350, align 4, !tbaa !11
  %352 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 0
  store float %351, ptr %352, align 4, !tbaa !11
  %353 = getelementptr inbounds %struct.complex, ptr %13, i32 0, i32 1
  %354 = load float, ptr %353, align 4, !tbaa !14
  %355 = getelementptr inbounds %struct.complex, ptr %20, i32 0, i32 1
  store float %354, ptr %355, align 4, !tbaa !14
  br label %356

356:                                              ; preds = %347, %286
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = load ptr, ptr %8, align 8, !tbaa !5
  %359 = load i32, ptr %358, align 4, !tbaa !9
  %360 = icmp slt i32 %357, %359
  br i1 %360, label %361, label %385

361:                                              ; preds = %356
  %362 = load ptr, ptr %8, align 8, !tbaa !5
  %363 = load i32, ptr %362, align 4, !tbaa !9
  %364 = load i32, ptr %14, align 4, !tbaa !9
  %365 = sub nsw i32 %363, %364
  store i32 %365, ptr %11, align 4, !tbaa !9
  %366 = load ptr, ptr %7, align 8, !tbaa !5
  %367 = load ptr, ptr %9, align 8, !tbaa !5
  %368 = load i32, ptr %18, align 4, !tbaa !9
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds %struct.complex, ptr %367, i64 %369
  %371 = load ptr, ptr %9, align 8, !tbaa !5
  %372 = load i32, ptr %16, align 4, !tbaa !9
  %373 = add nsw i32 %372, 1
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds %struct.complex, ptr %371, i64 %374
  call void @ctpmv_(ptr noundef @.str.6, ptr noundef @.str.5, ptr noundef %366, ptr noundef %11, ptr noundef %370, ptr noundef %375, ptr noundef @c__1)
  %376 = load ptr, ptr %8, align 8, !tbaa !5
  %377 = load i32, ptr %376, align 4, !tbaa !9
  %378 = load i32, ptr %14, align 4, !tbaa !9
  %379 = sub nsw i32 %377, %378
  store i32 %379, ptr %11, align 4, !tbaa !9
  %380 = load ptr, ptr %9, align 8, !tbaa !5
  %381 = load i32, ptr %16, align 4, !tbaa !9
  %382 = add nsw i32 %381, 1
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds %struct.complex, ptr %380, i64 %383
  call void @cscal_(ptr noundef %11, ptr noundef %20, ptr noundef %384, ptr noundef @c__1)
  br label %385

385:                                              ; preds = %361, %356
  %386 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %386, ptr %18, align 4, !tbaa !9
  %387 = load i32, ptr %16, align 4, !tbaa !9
  %388 = load ptr, ptr %8, align 8, !tbaa !5
  %389 = load i32, ptr %388, align 4, !tbaa !9
  %390 = sub nsw i32 %387, %389
  %391 = load i32, ptr %14, align 4, !tbaa !9
  %392 = add nsw i32 %390, %391
  %393 = sub nsw i32 %392, 2
  store i32 %393, ptr %16, align 4, !tbaa !9
  br label %394

394:                                              ; preds = %385
  %395 = load i32, ptr %14, align 4, !tbaa !9
  %396 = add nsw i32 %395, -1
  store i32 %396, ptr %14, align 4, !tbaa !9
  br label %280, !llvm.loop !19

397:                                              ; preds = %280
  br label %398

398:                                              ; preds = %397, %269
  store i32 1, ptr %21, align 4
  br label %399

399:                                              ; preds = %398, %138, %105, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #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) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @Cf(ptr noundef) #3

declare <2 x float> @__divsc3(float, float, float, float)

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @_pCf(ptr noundef) #4

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="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 = { inlinehint 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 #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.complex = type { float, float }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@c_b1 = external hidden global %struct.complex, align 4
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@c__1 = external hidden global i32, align 4
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @ctptri_(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr nocapture noundef %4) local_unnamed_addr #0 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.complex, align 8
  %9 = alloca %struct.complex, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %10 = getelementptr inbounds i8, ptr %3, i64 -8
  store i32 0, ptr %4, align 4, !tbaa !5
  %11 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #5
  %12 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1) #5
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %13, label %15

13:                                               ; preds = %5
  %14 = tail call i32 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.2) #5
  %.not105 = icmp eq i32 %14, 0
  br i1 %.not105, label %.thread.sink.split, label %15

15:                                               ; preds = %13, %5
  %.not106 = icmp eq i32 %12, 0
  br i1 %.not106, label %16, label %18

16:                                               ; preds = %15
  %17 = tail call i32 @lsame_(ptr noundef %1, ptr noundef nonnull @.str) #5
  %.not107 = icmp eq i32 %17, 0
  br i1 %.not107, label %.thread.sink.split, label %18

18:                                               ; preds = %16, %15
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = icmp slt i32 %19, 0
  br i1 %20, label %.thread.sink.split, label %21

21:                                               ; preds = %18
  %.pr = load i32, ptr %4, align 4, !tbaa !5
  %.not108 = icmp eq i32 %.pr, 0
  br i1 %.not108, label %25, label %.thread

.thread.sink.split:                               ; preds = %18, %16, %13
  %.sink = phi i32 [ -1, %13 ], [ -2, %16 ], [ -3, %18 ]
  store i32 %.sink, ptr %4, align 4, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %.thread.sink.split, %21
  %22 = phi i32 [ %.pr, %21 ], [ %.sink, %.thread.sink.split ]
  %23 = sub nsw i32 0, %22
  store i32 %23, ptr %6, align 4, !tbaa !5
  %24 = call i32 @xerbla_(ptr noundef nonnull @.str.3, ptr noundef nonnull %6, i32 noundef 6) #5
  br label %.loopexit

25:                                               ; preds = %21
  br i1 %.not106, label %54, label %26

26:                                               ; preds = %25
  br i1 %.not, label %40, label %27

27:                                               ; preds = %26
  %.not112122 = icmp eq i32 %19, 0
  br i1 %.not112122, label %.loopexit116, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %27
  %28 = add nuw i32 %19, 1
  %wide.trip.count = zext i32 %28 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %39
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %39 ]
  %.099124 = phi i32 [ 0, %.lr.ph.preheader ], [ %30, %39 ]
  %29 = trunc nuw nsw i64 %indvars.iv to i32
  %30 = add nuw nsw i32 %.099124, %29
  %31 = zext nneg i32 %30 to i64
  %32 = getelementptr inbounds %struct.complex, ptr %10, i64 %31
  %33 = load float, ptr %32, align 4, !tbaa !9
  %34 = fcmp oeq float %33, 0.000000e+00
  br i1 %34, label %35, label %39

35:                                               ; preds = %.lr.ph
  %36 = getelementptr inbounds i8, ptr %32, i64 4
  %37 = load float, ptr %36, align 4, !tbaa !12
  %38 = fcmp oeq float %37, 0.000000e+00
  br i1 %38, label %.loopexit119, label %39

39:                                               ; preds = %.lr.ph, %35
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit116, label %.lr.ph, !llvm.loop !13

40:                                               ; preds = %26
  store i32 1, ptr %4, align 4, !tbaa !5
  %.not110128 = icmp eq i32 %19, 0
  br i1 %.not110128, label %.loopexit116, label %.lr.ph131

.lr.ph131:                                        ; preds = %40, %49
  %.1100130 = phi i32 [ %52, %49 ], [ 1, %40 ]
  %storemerge129 = phi i32 [ %53, %49 ], [ 1, %40 ]
  %41 = sext i32 %.1100130 to i64
  %42 = getelementptr inbounds %struct.complex, ptr %10, i64 %41
  %43 = load float, ptr %42, align 4, !tbaa !9
  %44 = fcmp oeq float %43, 0.000000e+00
  br i1 %44, label %45, label %49

45:                                               ; preds = %.lr.ph131
  %46 = getelementptr inbounds i8, ptr %42, i64 4
  %47 = load float, ptr %46, align 4, !tbaa !12
  %48 = fcmp oeq float %47, 0.000000e+00
  br i1 %48, label %.loopexit, label %49

49:                                               ; preds = %45, %.lr.ph131
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %reass.sub = sub i32 %.1100130, %storemerge129
  %51 = add i32 %reass.sub, 1
  %52 = add i32 %51, %50
  %53 = add nuw i32 %storemerge129, 1
  store i32 %53, ptr %4, align 4, !tbaa !5
  %exitcond149.not = icmp eq i32 %storemerge129, %19
  br i1 %exitcond149.not, label %.loopexit116, label %.lr.ph131, !llvm.loop !15

.loopexit116:                                     ; preds = %39, %49, %27, %40
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %.loopexit116, %25
  %55 = load i32, ptr %2, align 4, !tbaa !5
  br i1 %.not, label %86, label %56

56:                                               ; preds = %54
  store i32 %55, ptr %6, align 4, !tbaa !5
  %.not113133 = icmp slt i32 %55, 1
  br i1 %.not113133, label %.loopexit, label %.lr.ph136

.lr.ph136:                                        ; preds = %56
  br i1 %.not106, label %.lr.ph136.split.us, label %.lr.ph136.split

.lr.ph136.split.us:                               ; preds = %.lr.ph136, %.lr.ph136.split.us
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %.lr.ph136.split.us ], [ 1, %.lr.ph136 ]
  %.097134.us = phi i32 [ %62, %.lr.ph136.split.us ], [ 1, %.lr.ph136 ]
  store <2 x float> <float -1.000000e+00, float 0.000000e+00>, ptr %8, align 8, !tbaa !16
  store <2 x float> <float -1.000000e+00, float 0.000000e+00>, ptr %9, align 8, !tbaa !16
  %57 = trunc i64 %indvars.iv153 to i32
  %58 = add i32 %57, -1
  store i32 %58, ptr %7, align 4, !tbaa !5
  %59 = zext nneg i32 %.097134.us to i64
  %60 = getelementptr inbounds %struct.complex, ptr %10, i64 %59
  call void @ctpmv_(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef %1, ptr noundef nonnull %7, ptr noundef %3, ptr noundef nonnull %60, ptr noundef nonnull @c__1) #5
  store i32 %58, ptr %7, align 4, !tbaa !5
  call void @cscal_(ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %60, ptr noundef nonnull @c__1) #5
  %61 = trunc nuw nsw i64 %indvars.iv153 to i32
  %62 = add nuw nsw i32 %.097134.us, %61
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %.not113.us.not = icmp slt i64 %indvars.iv153, %64
  br i1 %.not113.us.not, label %.lr.ph136.split.us, label %.loopexit, !llvm.loop !17

.lr.ph136.split:                                  ; preds = %.lr.ph136, %.lr.ph136.split
  %indvars.iv150 = phi i64 [ %indvars.iv.next151, %.lr.ph136.split ], [ 1, %.lr.ph136 ]
  %.097134 = phi i32 [ %83, %.lr.ph136.split ], [ 1, %.lr.ph136 ]
  %65 = trunc i64 %indvars.iv150 to i32
  %66 = add i32 %65, -1
  %67 = add i32 %66, %.097134
  store i32 %67, ptr %7, align 4, !tbaa !5
  %68 = call <2 x float> @Cf(ptr noundef nonnull @c_b1)
  %.sroa.05.0.vec.extract = extractelement <2 x float> %68, i64 0
  %.sroa.05.4.vec.extract = extractelement <2 x float> %68, i64 1
  %69 = sext i32 %67 to i64
  %70 = getelementptr inbounds %struct.complex, ptr %10, i64 %69
  %71 = call <2 x float> @Cf(ptr noundef nonnull %70)
  %.sroa.04.0.vec.extract = extractelement <2 x float> %71, i64 0
  %.sroa.04.4.vec.extract = extractelement <2 x float> %71, i64 1
  %72 = call <2 x float> @__divsc3(float noundef %.sroa.05.0.vec.extract, float noundef %.sroa.05.4.vec.extract, float noundef %.sroa.04.0.vec.extract, float noundef %.sroa.04.4.vec.extract) #5
  %73 = call ptr @_pCf(ptr noundef nonnull %8)
  store <2 x float> %72, ptr %73, align 4
  %74 = load i32, ptr %7, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %struct.complex, ptr %10, i64 %75
  %77 = load <2 x float>, ptr %8, align 8, !tbaa !16
  store <2 x float> %77, ptr %76, align 4, !tbaa !16
  %78 = load <2 x float>, ptr %70, align 4, !tbaa !16
  %79 = fneg <2 x float> %78
  store <2 x float> %79, ptr %8, align 8, !tbaa !16
  store <2 x float> %79, ptr %9, align 8, !tbaa !16
  store i32 %66, ptr %7, align 4, !tbaa !5
  %80 = zext nneg i32 %.097134 to i64
  %81 = getelementptr inbounds %struct.complex, ptr %10, i64 %80
  call void @ctpmv_(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef %1, ptr noundef nonnull %7, ptr noundef %3, ptr noundef nonnull %81, ptr noundef nonnull @c__1) #5
  store i32 %66, ptr %7, align 4, !tbaa !5
  call void @cscal_(ptr noundef nonnull %7, ptr noundef nonnull %9, ptr noundef nonnull %81, ptr noundef nonnull @c__1) #5
  %82 = trunc nuw nsw i64 %indvars.iv150 to i32
  %83 = add nuw nsw i32 %.097134, %82
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %.not113.not = icmp slt i64 %indvars.iv150, %85
  br i1 %.not113.not, label %.lr.ph136.split, label %.loopexit, !llvm.loop !17

86:                                               ; preds = %54
  %87 = icmp sgt i32 %55, 0
  br i1 %87, label %.lr.ph140, label %.loopexit

.lr.ph140:                                        ; preds = %86
  %88 = add nuw nsw i32 %55, 1
  %89 = mul nuw nsw i32 %88, %55
  %90 = lshr i32 %89, 1
  br label %91

91:                                               ; preds = %.lr.ph140, %117
  %92 = phi i32 [ %55, %.lr.ph140 ], [ %118, %117 ]
  %.1139 = phi i32 [ %55, %.lr.ph140 ], [ %122, %117 ]
  %.198138 = phi i32 [ %90, %.lr.ph140 ], [ %121, %117 ]
  %.0101137 = phi i32 [ undef, %.lr.ph140 ], [ %.198138, %117 ]
  br i1 %.not106, label %106, label %93

93:                                               ; preds = %91
  store i32 %.198138, ptr %6, align 4, !tbaa !5
  %94 = call <2 x float> @Cf(ptr noundef nonnull @c_b1)
  %.sroa.02.0.vec.extract = extractelement <2 x float> %94, i64 0
  %.sroa.02.4.vec.extract = extractelement <2 x float> %94, i64 1
  %95 = sext i32 %.198138 to i64
  %96 = getelementptr inbounds %struct.complex, ptr %10, i64 %95
  %97 = call <2 x float> @Cf(ptr noundef nonnull %96)
  %.sroa.01.0.vec.extract = extractelement <2 x float> %97, i64 0
  %.sroa.01.4.vec.extract = extractelement <2 x float> %97, i64 1
  %98 = call <2 x float> @__divsc3(float noundef %.sroa.02.0.vec.extract, float noundef %.sroa.02.4.vec.extract, float noundef %.sroa.01.0.vec.extract, float noundef %.sroa.01.4.vec.extract) #5
  %99 = call ptr @_pCf(ptr noundef nonnull %8)
  store <2 x float> %98, ptr %99, align 4
  %100 = load i32, ptr %6, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds %struct.complex, ptr %10, i64 %101
  %103 = load <2 x float>, ptr %8, align 8, !tbaa !16
  store <2 x float> %103, ptr %102, align 4, !tbaa !16
  store i32 %.198138, ptr %6, align 4, !tbaa !5
  %104 = load <2 x float>, ptr %96, align 4, !tbaa !16
  %105 = fneg <2 x float> %104
  store <2 x float> %105, ptr %8, align 8, !tbaa !16
  store <2 x float> %105, ptr %9, align 8, !tbaa !16
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  br label %107

106:                                              ; preds = %91
  store <2 x float> <float -1.000000e+00, float 0.000000e+00>, ptr %8, align 8, !tbaa !16
  store <2 x float> <float -1.000000e+00, float 0.000000e+00>, ptr %9, align 8, !tbaa !16
  br label %107

107:                                              ; preds = %106, %93
  %108 = phi i32 [ %92, %106 ], [ %.pre, %93 ]
  %109 = icmp slt i32 %.1139, %108
  br i1 %109, label %110, label %117

110:                                              ; preds = %107
  %111 = sub nsw i32 %108, %.1139
  store i32 %111, ptr %6, align 4, !tbaa !5
  %112 = sext i32 %.0101137 to i64
  %113 = getelementptr inbounds %struct.complex, ptr %10, i64 %112
  %114 = sext i32 %.198138 to i64
  %gep = getelementptr %struct.complex, ptr %3, i64 %114
  call void @ctpmv_(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.5, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %113, ptr noundef %gep, ptr noundef nonnull @c__1) #5
  %115 = load i32, ptr %2, align 4, !tbaa !5
  %116 = sub nsw i32 %115, %.1139
  store i32 %116, ptr %6, align 4, !tbaa !5
  call void @cscal_(ptr noundef nonnull %6, ptr noundef nonnull %9, ptr noundef %gep, ptr noundef nonnull @c__1) #5
  %.pre156 = load i32, ptr %2, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %110, %107
  %118 = phi i32 [ %.pre156, %110 ], [ %108, %107 ]
  %119 = add i32 %.198138, -2
  %120 = add i32 %119, %.1139
  %121 = sub i32 %120, %118
  %122 = add nsw i32 %.1139, -1
  %123 = icmp sgt i32 %.1139, 1
  br i1 %123, label %91, label %.loopexit, !llvm.loop !18

.loopexit119:                                     ; preds = %35
  store i32 %29, ptr %4, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %45, %.lr.ph136.split, %.lr.ph136.split.us, %117, %56, %86, %.loopexit119, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  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) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @Cf(ptr noundef) local_unnamed_addr #3

declare <2 x float> @__divsc3(float, float, float, float) local_unnamed_addr

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

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

declare void @cscal_(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

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 = { inlinehint 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 #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass