; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/TESTING/MATGEN (clatm1)

; 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 [7 x i8], align 1
@c__3 = external hidden global i32, align 4

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

41:                                               ; preds = %8
  store i32 1, ptr %29, align 4
  br label %568

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

46:                                               ; preds = %42
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = icmp sgt i32 %48, 6
  br i1 %49, label %50, label %52

50:                                               ; preds = %46, %42
  %51 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -1, ptr %51, align 4, !tbaa !9
  br label %120

52:                                               ; preds = %46
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = icmp ne i32 %54, -6
  br i1 %55, label %56, label %74

56:                                               ; preds = %52
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %74

60:                                               ; preds = %56
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = icmp ne i32 %62, 6
  br i1 %63, label %64, label %74

64:                                               ; preds = %60
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %74

68:                                               ; preds = %64
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 1
  br i1 %71, label %72, label %74

72:                                               ; preds = %68
  %73 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -2, ptr %73, align 4, !tbaa !9
  br label %119

74:                                               ; preds = %68, %64, %60, %56, %52
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = icmp ne i32 %76, -6
  br i1 %77, label %78, label %92

78:                                               ; preds = %74
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = load i32, ptr %79, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %92

82:                                               ; preds = %78
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 6
  br i1 %85, label %86, label %92

86:                                               ; preds = %82
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = load float, ptr %87, align 4, !tbaa !11
  %89 = fcmp olt float %88, 1.000000e+00
  br i1 %89, label %90, label %92

90:                                               ; preds = %86
  %91 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -3, ptr %91, align 4, !tbaa !9
  br label %118

92:                                               ; preds = %86, %82, %78, %74
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = icmp eq i32 %94, 6
  br i1 %95, label %100, label %96

96:                                               ; preds = %92
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = icmp eq i32 %98, -6
  br i1 %99, label %100, label %110

100:                                              ; preds = %96, %92
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = icmp slt i32 %102, 1
  br i1 %103, label %108, label %104

104:                                              ; preds = %100
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = icmp sgt i32 %106, 4
  br i1 %107, label %108, label %110

108:                                              ; preds = %104, %100
  %109 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -4, ptr %109, align 4, !tbaa !9
  br label %117

110:                                              ; preds = %104, %96
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = icmp slt i32 %112, 0
  br i1 %113, label %114, label %116

114:                                              ; preds = %110
  %115 = load ptr, ptr %16, align 8, !tbaa !5
  store i32 -7, ptr %115, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %114, %110
  br label %117

117:                                              ; preds = %116, %108
  br label %118

118:                                              ; preds = %117, %90
  br label %119

119:                                              ; preds = %118, %72
  br label %120

120:                                              ; preds = %119, %50
  %121 = load ptr, ptr %16, align 8, !tbaa !5
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %129

124:                                              ; preds = %120
  %125 = load ptr, ptr %16, align 8, !tbaa !5
  %126 = load i32, ptr %125, align 4, !tbaa !9
  %127 = sub nsw i32 0, %126
  store i32 %127, ptr %17, align 4, !tbaa !9
  %128 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %17, i32 noundef 6)
  store i32 1, ptr %29, align 4
  br label %568

129:                                              ; preds = %120
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = load i32, ptr %130, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %567

133:                                              ; preds = %129
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = load i32, ptr %134, align 4, !tbaa !9
  %136 = icmp sge i32 %135, 0
  br i1 %136, label %137, label %140

137:                                              ; preds = %133
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = load i32, ptr %138, align 4, !tbaa !9
  br label %144

140:                                              ; preds = %133
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = sub nsw i32 0, %142
  br label %144

144:                                              ; preds = %140, %137
  %145 = phi i32 [ %139, %137 ], [ %143, %140 ]
  switch i32 %145, label %152 [
    i32 1, label %146
    i32 2, label %147
    i32 3, label %148
    i32 4, label %149
    i32 5, label %150
    i32 6, label %151
  ]

146:                                              ; preds = %144
  br label %153

147:                                              ; preds = %144
  br label %186

148:                                              ; preds = %144
  br label %225

149:                                              ; preds = %144
  br label %278

150:                                              ; preds = %144
  br label %331

151:                                              ; preds = %144
  br label %369

152:                                              ; preds = %144
  br label %153

153:                                              ; preds = %152, %146
  %154 = load ptr, ptr %15, align 8, !tbaa !5
  %155 = load i32, ptr %154, align 4, !tbaa !9
  store i32 %155, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %156

156:                                              ; preds = %176, %153
  %157 = load i32, ptr %26, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = icmp sle i32 %157, %158
  br i1 %159, label %160, label %179

160:                                              ; preds = %156
  %161 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %161, ptr %18, align 4, !tbaa !9
  %162 = load ptr, ptr %10, align 8, !tbaa !5
  %163 = load float, ptr %162, align 4, !tbaa !11
  %164 = fdiv float 1.000000e+00, %163
  store float %164, ptr %20, align 4, !tbaa !11
  %165 = load float, ptr %20, align 4, !tbaa !11
  %166 = load ptr, ptr %14, align 8, !tbaa !5
  %167 = load i32, ptr %18, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds %struct.complex, ptr %166, i64 %168
  %170 = getelementptr inbounds %struct.complex, ptr %169, i32 0, i32 0
  store float %165, ptr %170, align 4, !tbaa !13
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = load i32, ptr %18, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds %struct.complex, ptr %171, i64 %173
  %175 = getelementptr inbounds %struct.complex, ptr %174, i32 0, i32 1
  store float 0.000000e+00, ptr %175, align 4, !tbaa !15
  br label %176

176:                                              ; preds = %160
  %177 = load i32, ptr %26, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %26, align 4, !tbaa !9
  br label %156, !llvm.loop !16

179:                                              ; preds = %156
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.complex, ptr %180, i64 1
  %182 = getelementptr inbounds %struct.complex, ptr %181, i32 0, i32 0
  store float 1.000000e+00, ptr %182, align 4, !tbaa !13
  %183 = load ptr, ptr %14, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.complex, ptr %183, i64 1
  %185 = getelementptr inbounds %struct.complex, ptr %184, i32 0, i32 1
  store float 0.000000e+00, ptr %185, align 4, !tbaa !15
  br label %376

186:                                              ; preds = %147
  %187 = load ptr, ptr %15, align 8, !tbaa !5
  %188 = load i32, ptr %187, align 4, !tbaa !9
  store i32 %188, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %205, %186
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = icmp sle i32 %190, %191
  br i1 %192, label %193, label %208

193:                                              ; preds = %189
  %194 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %194, ptr %18, align 4, !tbaa !9
  %195 = load ptr, ptr %14, align 8, !tbaa !5
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %struct.complex, ptr %195, i64 %197
  %199 = getelementptr inbounds %struct.complex, ptr %198, i32 0, i32 0
  store float 1.000000e+00, ptr %199, align 4, !tbaa !13
  %200 = load ptr, ptr %14, align 8, !tbaa !5
  %201 = load i32, ptr %18, 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 1
  store float 0.000000e+00, ptr %204, align 4, !tbaa !15
  br label %205

205:                                              ; preds = %193
  %206 = load i32, ptr %26, align 4, !tbaa !9
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %26, align 4, !tbaa !9
  br label %189, !llvm.loop !18

208:                                              ; preds = %189
  %209 = load ptr, ptr %15, align 8, !tbaa !5
  %210 = load i32, ptr %209, align 4, !tbaa !9
  store i32 %210, ptr %17, align 4, !tbaa !9
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = load float, ptr %211, align 4, !tbaa !11
  %213 = fdiv float 1.000000e+00, %212
  store float %213, ptr %20, align 4, !tbaa !11
  %214 = load float, ptr %20, align 4, !tbaa !11
  %215 = load ptr, ptr %14, align 8, !tbaa !5
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds %struct.complex, ptr %215, i64 %217
  %219 = getelementptr inbounds %struct.complex, ptr %218, i32 0, i32 0
  store float %214, ptr %219, align 4, !tbaa !13
  %220 = load ptr, ptr %14, align 8, !tbaa !5
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds %struct.complex, ptr %220, i64 %222
  %224 = getelementptr inbounds %struct.complex, ptr %223, i32 0, i32 1
  store float 0.000000e+00, ptr %224, align 4, !tbaa !15
  br label %376

225:                                              ; preds = %148
  %226 = load ptr, ptr %14, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.complex, ptr %226, i64 1
  %228 = getelementptr inbounds %struct.complex, ptr %227, i32 0, i32 0
  store float 1.000000e+00, ptr %228, align 4, !tbaa !13
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.complex, ptr %229, i64 1
  %231 = getelementptr inbounds %struct.complex, ptr %230, i32 0, i32 1
  store float 0.000000e+00, ptr %231, align 4, !tbaa !15
  %232 = load ptr, ptr %15, align 8, !tbaa !5
  %233 = load i32, ptr %232, align 4, !tbaa !9
  %234 = icmp sgt i32 %233, 1
  br i1 %234, label %235, label %277

235:                                              ; preds = %225
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = load float, ptr %236, align 4, !tbaa !11
  %238 = fpext float %237 to double
  store double %238, ptr %21, align 8, !tbaa !19
  %239 = load ptr, ptr %15, align 8, !tbaa !5
  %240 = load i32, ptr %239, align 4, !tbaa !9
  %241 = sub nsw i32 %240, 1
  %242 = sitofp i32 %241 to float
  %243 = fdiv float -1.000000e+00, %242
  %244 = fpext float %243 to double
  store double %244, ptr %22, align 8, !tbaa !19
  %245 = load double, ptr %21, align 8, !tbaa !19
  %246 = load double, ptr %22, align 8, !tbaa !19
  %247 = call double @pow(double noundef %245, double noundef %246) #8
  %248 = fptrunc double %247 to float
  store float %248, ptr %27, align 4, !tbaa !11
  %249 = load ptr, ptr %15, align 8, !tbaa !5
  %250 = load i32, ptr %249, align 4, !tbaa !9
  store i32 %250, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %26, align 4, !tbaa !9
  br label %251

251:                                              ; preds = %273, %235
  %252 = load i32, ptr %26, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = icmp sle i32 %252, %253
  br i1 %254, label %255, label %276

255:                                              ; preds = %251
  %256 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %256, ptr %18, align 4, !tbaa !9
  %257 = load i32, ptr %26, align 4, !tbaa !9
  %258 = sub nsw i32 %257, 1
  store i32 %258, ptr %19, align 4, !tbaa !9
  %259 = load float, ptr %27, align 4, !tbaa !11
  %260 = load i32, ptr %19, align 4, !tbaa !9
  %261 = call float @spow_ui(float noundef %259, i32 noundef %260)
  store float %261, ptr %20, align 4, !tbaa !11
  %262 = load float, ptr %20, align 4, !tbaa !11
  %263 = load ptr, ptr %14, align 8, !tbaa !5
  %264 = load i32, ptr %18, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds %struct.complex, ptr %263, i64 %265
  %267 = getelementptr inbounds %struct.complex, ptr %266, i32 0, i32 0
  store float %262, ptr %267, align 4, !tbaa !13
  %268 = load ptr, ptr %14, align 8, !tbaa !5
  %269 = load i32, ptr %18, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds %struct.complex, ptr %268, i64 %270
  %272 = getelementptr inbounds %struct.complex, ptr %271, i32 0, i32 1
  store float 0.000000e+00, ptr %272, align 4, !tbaa !15
  br label %273

273:                                              ; preds = %255
  %274 = load i32, ptr %26, align 4, !tbaa !9
  %275 = add nsw i32 %274, 1
  store i32 %275, ptr %26, align 4, !tbaa !9
  br label %251, !llvm.loop !21

276:                                              ; preds = %251
  br label %277

277:                                              ; preds = %276, %225
  br label %376

278:                                              ; preds = %149
  %279 = load ptr, ptr %14, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.complex, ptr %279, i64 1
  %281 = getelementptr inbounds %struct.complex, ptr %280, i32 0, i32 0
  store float 1.000000e+00, ptr %281, align 4, !tbaa !13
  %282 = load ptr, ptr %14, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.complex, ptr %282, i64 1
  %284 = getelementptr inbounds %struct.complex, ptr %283, i32 0, i32 1
  store float 0.000000e+00, ptr %284, align 4, !tbaa !15
  %285 = load ptr, ptr %15, align 8, !tbaa !5
  %286 = load i32, ptr %285, align 4, !tbaa !9
  %287 = icmp sgt i32 %286, 1
  br i1 %287, label %288, label %330

288:                                              ; preds = %278
  %289 = load ptr, ptr %10, align 8, !tbaa !5
  %290 = load float, ptr %289, align 4, !tbaa !11
  %291 = fdiv float 1.000000e+00, %290
  store float %291, ptr %25, align 4, !tbaa !11
  %292 = load float, ptr %25, align 4, !tbaa !11
  %293 = fsub float 1.000000e+00, %292
  %294 = load ptr, ptr %15, align 8, !tbaa !5
  %295 = load i32, ptr %294, align 4, !tbaa !9
  %296 = sub nsw i32 %295, 1
  %297 = sitofp i32 %296 to float
  %298 = fdiv float %293, %297
  store float %298, ptr %27, align 4, !tbaa !11
  %299 = load ptr, ptr %15, align 8, !tbaa !5
  %300 = load i32, ptr %299, align 4, !tbaa !9
  store i32 %300, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %26, align 4, !tbaa !9
  br label %301

301:                                              ; preds = %326, %288
  %302 = load i32, ptr %26, align 4, !tbaa !9
  %303 = load i32, ptr %17, align 4, !tbaa !9
  %304 = icmp sle i32 %302, %303
  br i1 %304, label %305, label %329

305:                                              ; preds = %301
  %306 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %306, ptr %18, align 4, !tbaa !9
  %307 = load ptr, ptr %15, align 8, !tbaa !5
  %308 = load i32, ptr %307, align 4, !tbaa !9
  %309 = load i32, ptr %26, align 4, !tbaa !9
  %310 = sub nsw i32 %308, %309
  %311 = sitofp i32 %310 to float
  %312 = load float, ptr %27, align 4, !tbaa !11
  %313 = load float, ptr %25, align 4, !tbaa !11
  %314 = call float @llvm.fmuladd.f32(float %311, float %312, float %313)
  store float %314, ptr %20, align 4, !tbaa !11
  %315 = load float, ptr %20, align 4, !tbaa !11
  %316 = load ptr, ptr %14, align 8, !tbaa !5
  %317 = load i32, ptr %18, align 4, !tbaa !9
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds %struct.complex, ptr %316, i64 %318
  %320 = getelementptr inbounds %struct.complex, ptr %319, i32 0, i32 0
  store float %315, ptr %320, align 4, !tbaa !13
  %321 = load ptr, ptr %14, align 8, !tbaa !5
  %322 = load i32, ptr %18, align 4, !tbaa !9
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds %struct.complex, ptr %321, i64 %323
  %325 = getelementptr inbounds %struct.complex, ptr %324, i32 0, i32 1
  store float 0.000000e+00, ptr %325, align 4, !tbaa !15
  br label %326

326:                                              ; preds = %305
  %327 = load i32, ptr %26, align 4, !tbaa !9
  %328 = add nsw i32 %327, 1
  store i32 %328, ptr %26, align 4, !tbaa !9
  br label %301, !llvm.loop !22

329:                                              ; preds = %301
  br label %330

330:                                              ; preds = %329, %278
  br label %376

331:                                              ; preds = %150
  %332 = load ptr, ptr %10, align 8, !tbaa !5
  %333 = load float, ptr %332, align 4, !tbaa !11
  %334 = fdiv float 1.000000e+00, %333
  %335 = fpext float %334 to double
  %336 = call double @log(double noundef %335) #8
  %337 = fptrunc double %336 to float
  store float %337, ptr %27, align 4, !tbaa !11
  %338 = load ptr, ptr %15, align 8, !tbaa !5
  %339 = load i32, ptr %338, align 4, !tbaa !9
  store i32 %339, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %340

340:                                              ; preds = %365, %331
  %341 = load i32, ptr %26, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = icmp sle i32 %341, %342
  br i1 %343, label %344, label %368

344:                                              ; preds = %340
  %345 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %345, ptr %18, align 4, !tbaa !9
  %346 = load float, ptr %27, align 4, !tbaa !11
  %347 = load ptr, ptr %13, align 8, !tbaa !5
  %348 = getelementptr inbounds i32, ptr %347, i64 1
  %349 = call float @slaran_(ptr noundef %348)
  %350 = fmul float %346, %349
  %351 = fpext float %350 to double
  %352 = call double @exp(double noundef %351) #8
  %353 = fptrunc double %352 to float
  store float %353, ptr %20, align 4, !tbaa !11
  %354 = load float, ptr %20, align 4, !tbaa !11
  %355 = load ptr, ptr %14, align 8, !tbaa !5
  %356 = load i32, ptr %18, align 4, !tbaa !9
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds %struct.complex, ptr %355, i64 %357
  %359 = getelementptr inbounds %struct.complex, ptr %358, i32 0, i32 0
  store float %354, ptr %359, align 4, !tbaa !13
  %360 = load ptr, ptr %14, align 8, !tbaa !5
  %361 = load i32, ptr %18, align 4, !tbaa !9
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds %struct.complex, ptr %360, i64 %362
  %364 = getelementptr inbounds %struct.complex, ptr %363, i32 0, i32 1
  store float 0.000000e+00, ptr %364, align 4, !tbaa !15
  br label %365

365:                                              ; preds = %344
  %366 = load i32, ptr %26, align 4, !tbaa !9
  %367 = add nsw i32 %366, 1
  store i32 %367, ptr %26, align 4, !tbaa !9
  br label %340, !llvm.loop !23

368:                                              ; preds = %340
  br label %376

369:                                              ; preds = %151
  %370 = load ptr, ptr %12, align 8, !tbaa !5
  %371 = load ptr, ptr %13, align 8, !tbaa !5
  %372 = getelementptr inbounds i32, ptr %371, i64 1
  %373 = load ptr, ptr %15, align 8, !tbaa !5
  %374 = load ptr, ptr %14, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.complex, ptr %374, i64 1
  call void @clarnv_(ptr noundef %370, ptr noundef %372, ptr noundef %373, ptr noundef %375)
  br label %376

376:                                              ; preds = %369, %368, %330, %277, %208, %179
  %377 = load ptr, ptr %9, align 8, !tbaa !5
  %378 = load i32, ptr %377, align 4, !tbaa !9
  %379 = icmp ne i32 %378, -6
  br i1 %379, label %380, label %487

380:                                              ; preds = %376
  %381 = load ptr, ptr %9, align 8, !tbaa !5
  %382 = load i32, ptr %381, align 4, !tbaa !9
  %383 = icmp ne i32 %382, 0
  br i1 %383, label %384, label %487

384:                                              ; preds = %380
  %385 = load ptr, ptr %9, align 8, !tbaa !5
  %386 = load i32, ptr %385, align 4, !tbaa !9
  %387 = icmp ne i32 %386, 6
  br i1 %387, label %388, label %487

388:                                              ; preds = %384
  %389 = load ptr, ptr %11, align 8, !tbaa !5
  %390 = load i32, ptr %389, align 4, !tbaa !9
  %391 = icmp eq i32 %390, 1
  br i1 %391, label %392, label %487

392:                                              ; preds = %388
  %393 = load ptr, ptr %15, align 8, !tbaa !5
  %394 = load i32, ptr %393, align 4, !tbaa !9
  store i32 %394, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %395

395:                                              ; preds = %483, %392
  %396 = load i32, ptr %26, align 4, !tbaa !9
  %397 = load i32, ptr %17, align 4, !tbaa !9
  %398 = icmp sle i32 %396, %397
  br i1 %398, label %399, label %486

399:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %400 = load ptr, ptr %13, align 8, !tbaa !5
  %401 = getelementptr inbounds i32, ptr %400, i64 1
  %402 = call <2 x float> @clarnd_(ptr noundef @c__3, ptr noundef %401)
  store <2 x float> %402, ptr %30, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  %403 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  %404 = load float, ptr %403, align 4, !tbaa !13
  %405 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 0
  store float %404, ptr %405, align 4, !tbaa !13
  %406 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  %407 = load float, ptr %406, align 4, !tbaa !15
  %408 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 1
  store float %407, ptr %408, align 4, !tbaa !15
  %409 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %409, ptr %18, align 4, !tbaa !9
  %410 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %410, ptr %19, align 4, !tbaa !9
  %411 = call <2 x float> @Cf(ptr noundef %28)
  store <2 x float> %411, ptr %31, align 4
  %412 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 0
  %413 = load float, ptr %412, align 4
  %414 = getelementptr inbounds { float, float }, ptr %31, i32 0, i32 1
  %415 = load float, ptr %414, align 4
  %416 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 0
  %417 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 1
  store float %413, ptr %416, align 4
  store float %415, ptr %417, align 4
  %418 = load <2 x float>, ptr %32, align 4
  %419 = call float @cabsf(<2 x float> noundef %418) #8
  store float %419, ptr %20, align 4, !tbaa !11
  %420 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 0
  %421 = load float, ptr %420, align 4, !tbaa !13
  %422 = load float, ptr %20, align 4, !tbaa !11
  %423 = fdiv float %421, %422
  %424 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  store float %423, ptr %424, align 4, !tbaa !13
  %425 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 1
  %426 = load float, ptr %425, align 4, !tbaa !15
  %427 = load float, ptr %20, align 4, !tbaa !11
  %428 = fdiv float %426, %427
  %429 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  store float %428, ptr %429, align 4, !tbaa !15
  %430 = load ptr, ptr %14, align 8, !tbaa !5
  %431 = load i32, ptr %19, align 4, !tbaa !9
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds %struct.complex, ptr %430, i64 %432
  %434 = getelementptr inbounds %struct.complex, ptr %433, i32 0, i32 0
  %435 = load float, ptr %434, align 4, !tbaa !13
  %436 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %437 = load float, ptr %436, align 4, !tbaa !13
  %438 = load ptr, ptr %14, align 8, !tbaa !5
  %439 = load i32, ptr %19, align 4, !tbaa !9
  %440 = sext i32 %439 to i64
  %441 = getelementptr inbounds %struct.complex, ptr %438, i64 %440
  %442 = getelementptr inbounds %struct.complex, ptr %441, i32 0, i32 1
  %443 = load float, ptr %442, align 4, !tbaa !15
  %444 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %445 = load float, ptr %444, align 4, !tbaa !15
  %446 = fmul float %443, %445
  %447 = fneg float %446
  %448 = call float @llvm.fmuladd.f32(float %435, float %437, float %447)
  %449 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  store float %448, ptr %449, align 4, !tbaa !13
  %450 = load ptr, ptr %14, align 8, !tbaa !5
  %451 = load i32, ptr %19, align 4, !tbaa !9
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds %struct.complex, ptr %450, i64 %452
  %454 = getelementptr inbounds %struct.complex, ptr %453, i32 0, i32 0
  %455 = load float, ptr %454, align 4, !tbaa !13
  %456 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 1
  %457 = load float, ptr %456, align 4, !tbaa !15
  %458 = load ptr, ptr %14, align 8, !tbaa !5
  %459 = load i32, ptr %19, align 4, !tbaa !9
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds %struct.complex, ptr %458, i64 %460
  %462 = getelementptr inbounds %struct.complex, ptr %461, i32 0, i32 1
  %463 = load float, ptr %462, align 4, !tbaa !15
  %464 = getelementptr inbounds %struct.complex, ptr %24, i32 0, i32 0
  %465 = load float, ptr %464, align 4, !tbaa !13
  %466 = fmul float %463, %465
  %467 = call float @llvm.fmuladd.f32(float %455, float %457, float %466)
  %468 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  store float %467, ptr %468, align 4, !tbaa !15
  %469 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 0
  %470 = load float, ptr %469, align 4, !tbaa !13
  %471 = load ptr, ptr %14, align 8, !tbaa !5
  %472 = load i32, ptr %18, align 4, !tbaa !9
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds %struct.complex, ptr %471, i64 %473
  %475 = getelementptr inbounds %struct.complex, ptr %474, i32 0, i32 0
  store float %470, ptr %475, align 4, !tbaa !13
  %476 = getelementptr inbounds %struct.complex, ptr %23, i32 0, i32 1
  %477 = load float, ptr %476, align 4, !tbaa !15
  %478 = load ptr, ptr %14, align 8, !tbaa !5
  %479 = load i32, ptr %18, align 4, !tbaa !9
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds %struct.complex, ptr %478, i64 %480
  %482 = getelementptr inbounds %struct.complex, ptr %481, i32 0, i32 1
  store float %477, ptr %482, align 4, !tbaa !15
  br label %483

483:                                              ; preds = %399
  %484 = load i32, ptr %26, align 4, !tbaa !9
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr %26, align 4, !tbaa !9
  br label %395, !llvm.loop !25

486:                                              ; preds = %395
  br label %487

487:                                              ; preds = %486, %388, %384, %380, %376
  %488 = load ptr, ptr %9, align 8, !tbaa !5
  %489 = load i32, ptr %488, align 4, !tbaa !9
  %490 = icmp slt i32 %489, 0
  br i1 %490, label %491, label %566

491:                                              ; preds = %487
  %492 = load ptr, ptr %15, align 8, !tbaa !5
  %493 = load i32, ptr %492, align 4, !tbaa !9
  %494 = sdiv i32 %493, 2
  store i32 %494, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %495

495:                                              ; preds = %562, %491
  %496 = load i32, ptr %26, align 4, !tbaa !9
  %497 = load i32, ptr %17, align 4, !tbaa !9
  %498 = icmp sle i32 %496, %497
  br i1 %498, label %499, label %565

499:                                              ; preds = %495
  %500 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %500, ptr %18, align 4, !tbaa !9
  %501 = load ptr, ptr %14, align 8, !tbaa !5
  %502 = load i32, ptr %18, align 4, !tbaa !9
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds %struct.complex, ptr %501, i64 %503
  %505 = getelementptr inbounds %struct.complex, ptr %504, i32 0, i32 0
  %506 = load float, ptr %505, align 4, !tbaa !13
  %507 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 0
  store float %506, ptr %507, align 4, !tbaa !13
  %508 = load ptr, ptr %14, align 8, !tbaa !5
  %509 = load i32, ptr %18, align 4, !tbaa !9
  %510 = sext i32 %509 to i64
  %511 = getelementptr inbounds %struct.complex, ptr %508, i64 %510
  %512 = getelementptr inbounds %struct.complex, ptr %511, i32 0, i32 1
  %513 = load float, ptr %512, align 4, !tbaa !15
  %514 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 1
  store float %513, ptr %514, align 4, !tbaa !15
  %515 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %515, ptr %18, align 4, !tbaa !9
  %516 = load ptr, ptr %15, align 8, !tbaa !5
  %517 = load i32, ptr %516, align 4, !tbaa !9
  %518 = add nsw i32 %517, 1
  %519 = load i32, ptr %26, align 4, !tbaa !9
  %520 = sub nsw i32 %518, %519
  store i32 %520, ptr %19, align 4, !tbaa !9
  %521 = load ptr, ptr %14, align 8, !tbaa !5
  %522 = load i32, ptr %19, align 4, !tbaa !9
  %523 = sext i32 %522 to i64
  %524 = getelementptr inbounds %struct.complex, ptr %521, i64 %523
  %525 = getelementptr inbounds %struct.complex, ptr %524, i32 0, i32 0
  %526 = load float, ptr %525, align 4, !tbaa !13
  %527 = load ptr, ptr %14, align 8, !tbaa !5
  %528 = load i32, ptr %18, align 4, !tbaa !9
  %529 = sext i32 %528 to i64
  %530 = getelementptr inbounds %struct.complex, ptr %527, i64 %529
  %531 = getelementptr inbounds %struct.complex, ptr %530, i32 0, i32 0
  store float %526, ptr %531, align 4, !tbaa !13
  %532 = load ptr, ptr %14, align 8, !tbaa !5
  %533 = load i32, ptr %19, align 4, !tbaa !9
  %534 = sext i32 %533 to i64
  %535 = getelementptr inbounds %struct.complex, ptr %532, i64 %534
  %536 = getelementptr inbounds %struct.complex, ptr %535, i32 0, i32 1
  %537 = load float, ptr %536, align 4, !tbaa !15
  %538 = load ptr, ptr %14, align 8, !tbaa !5
  %539 = load i32, ptr %18, align 4, !tbaa !9
  %540 = sext i32 %539 to i64
  %541 = getelementptr inbounds %struct.complex, ptr %538, i64 %540
  %542 = getelementptr inbounds %struct.complex, ptr %541, i32 0, i32 1
  store float %537, ptr %542, align 4, !tbaa !15
  %543 = load ptr, ptr %15, align 8, !tbaa !5
  %544 = load i32, ptr %543, align 4, !tbaa !9
  %545 = add nsw i32 %544, 1
  %546 = load i32, ptr %26, align 4, !tbaa !9
  %547 = sub nsw i32 %545, %546
  store i32 %547, ptr %18, align 4, !tbaa !9
  %548 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 0
  %549 = load float, ptr %548, align 4, !tbaa !13
  %550 = load ptr, ptr %14, align 8, !tbaa !5
  %551 = load i32, ptr %18, align 4, !tbaa !9
  %552 = sext i32 %551 to i64
  %553 = getelementptr inbounds %struct.complex, ptr %550, i64 %552
  %554 = getelementptr inbounds %struct.complex, ptr %553, i32 0, i32 0
  store float %549, ptr %554, align 4, !tbaa !13
  %555 = getelementptr inbounds %struct.complex, ptr %28, i32 0, i32 1
  %556 = load float, ptr %555, align 4, !tbaa !15
  %557 = load ptr, ptr %14, align 8, !tbaa !5
  %558 = load i32, ptr %18, align 4, !tbaa !9
  %559 = sext i32 %558 to i64
  %560 = getelementptr inbounds %struct.complex, ptr %557, i64 %559
  %561 = getelementptr inbounds %struct.complex, ptr %560, i32 0, i32 1
  store float %556, ptr %561, align 4, !tbaa !15
  br label %562

562:                                              ; preds = %499
  %563 = load i32, ptr %26, align 4, !tbaa !9
  %564 = add nsw i32 %563, 1
  store i32 %564, ptr %26, align 4, !tbaa !9
  br label %495, !llvm.loop !26

565:                                              ; preds = %495
  br label %566

566:                                              ; preds = %565, %487
  br label %567

567:                                              ; preds = %566, %129
  store i32 1, ptr %29, align 4
  br label %568

568:                                              ; preds = %567, %124, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  ret void
}

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

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

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

; Function Attrs: nounwind uwtable
declare hidden float @spow_ui(float noundef, i32 noundef) #4

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

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

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

declare float @slaran_(ptr noundef) #2

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

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

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

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

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) #3

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

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { nounwind }

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

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


; 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 [7 x i8], align 1
@c__3 = external hidden global i32, align 4

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

14:                                               ; preds = %8
  %15 = load i32, ptr %0, align 4, !tbaa !5
  %16 = add i32 %15, -7
  %or.cond = icmp ult i32 %16, -13
  br i1 %or.cond, label %.thread, label %17

17:                                               ; preds = %14
  switch i32 %15, label %18 [
    i32 6, label %25
    i32 -6, label %25
    i32 0, label %28
  ]

18:                                               ; preds = %17
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %switch = icmp ult i32 %19, 2
  br i1 %switch, label %20, label %.thread

20:                                               ; preds = %18
  switch i32 %15, label %21 [
    i32 6, label %25
    i32 -6, label %25
    i32 0, label %28
  ]

21:                                               ; preds = %20
  %22 = load float, ptr %1, align 4, !tbaa !9
  %23 = fcmp olt float %22, 1.000000e+00
  br i1 %23, label %.thread, label %24

24:                                               ; preds = %21
  switch i32 %15, label %28 [
    i32 6, label %25
    i32 -6, label %25
  ]

25:                                               ; preds = %17, %17, %20, %20, %24, %24
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = add i32 %26, -5
  %or.cond201 = icmp ult i32 %27, -4
  br i1 %or.cond201, label %.thread, label %28

28:                                               ; preds = %17, %20, %25, %24
  %29 = icmp slt i32 %12, 0
  br i1 %29, label %.thread, label %31

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

31:                                               ; preds = %28
  %.not190 = icmp eq i32 %15, 0
  br i1 %.not190, label %.loopexit, label %32

32:                                               ; preds = %31
  %33 = tail call i32 @llvm.abs.i32(i32 %15, i1 true)
  switch i32 %33, label %.lr.ph220.preheader [
    i32 6, label %137
    i32 2, label %.lr.ph216.preheader
    i32 3, label %81
    i32 4, label %98
    i32 5, label %122
  ]

.lr.ph220.preheader:                              ; preds = %32
  %34 = add nuw i32 %12, 1
  %wide.trip.count253 = zext i32 %34 to i64
  %35 = zext nneg i32 %12 to i64
  %min.iters.check291 = icmp ult i32 %12, 4
  br i1 %min.iters.check291, label %.lr.ph220.preheader305, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph220.preheader
  %36 = shl nuw nsw i64 %wide.trip.count253, 3
  %37 = getelementptr i8, ptr %5, i64 %36
  %scevgep = getelementptr i8, ptr %37, i64 -8
  %scevgep288 = getelementptr i8, ptr %1, i64 4
  %bound0 = icmp ugt ptr %scevgep288, %5
  %bound1 = icmp ugt ptr %scevgep, %1
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph220.preheader305, label %vector.ph292

vector.ph292:                                     ; preds = %vector.memcheck
  %n.vec294 = and i64 %35, 2147483644
  %ind.end295 = or disjoint i64 %n.vec294, 1
  br label %vector.body297

vector.body297:                                   ; preds = %vector.body297, %vector.ph292
  %index298 = phi i64 [ 0, %vector.ph292 ], [ %index.next303, %vector.body297 ]
  %38 = load float, ptr %1, align 4, !tbaa !9, !alias.scope !11
  %broadcast.splatinsert300 = insertelement <4 x float> poison, float %38, i64 0
  %39 = fdiv <4 x float> <float 1.000000e+00, float poison, float poison, float poison>, %broadcast.splatinsert300
  %40 = shufflevector <4 x float> %39, <4 x float> poison, <4 x i32> zeroinitializer
  %41 = getelementptr %struct.complex, ptr %5, i64 %index298
  %interleaved.vec302 = shufflevector <4 x float> %40, <4 x float> zeroinitializer, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  store <8 x float> %interleaved.vec302, ptr %41, align 4, !tbaa !9
  %index.next303 = add nuw i64 %index298, 4
  %42 = icmp eq i64 %index.next303, %n.vec294
  br i1 %42, label %middle.block289, label %vector.body297, !llvm.loop !14

middle.block289:                                  ; preds = %vector.body297
  %cmp.n304 = icmp eq i64 %n.vec294, %35
  br i1 %cmp.n304, label %._crit_edge221, label %.lr.ph220.preheader305

.lr.ph220.preheader305:                           ; preds = %middle.block289, %vector.memcheck, %.lr.ph220.preheader
  %indvars.iv250.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph220.preheader ], [ %ind.end295, %middle.block289 ]
  %43 = sub nsw i64 %wide.trip.count253, %indvars.iv250.ph
  %44 = zext nneg i32 %12 to i64
  %45 = sub nsw i64 %44, %indvars.iv250.ph
  %xtraiter = and i64 %43, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph220.prol.loopexit, label %.lr.ph220.prol

.lr.ph220.prol:                                   ; preds = %.lr.ph220.preheader305, %.lr.ph220.prol
  %indvars.iv250.prol = phi i64 [ %indvars.iv.next251.prol, %.lr.ph220.prol ], [ %indvars.iv250.ph, %.lr.ph220.preheader305 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph220.prol ], [ 0, %.lr.ph220.preheader305 ]
  %46 = load float, ptr %1, align 4, !tbaa !9
  %47 = fdiv float 1.000000e+00, %46
  %48 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv250.prol
  store float %47, ptr %48, align 4, !tbaa !18
  %49 = getelementptr inbounds i8, ptr %48, i64 4
  store float 0.000000e+00, ptr %49, align 4, !tbaa !20
  %indvars.iv.next251.prol = add nuw nsw i64 %indvars.iv250.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph220.prol.loopexit, label %.lr.ph220.prol, !llvm.loop !21

.lr.ph220.prol.loopexit:                          ; preds = %.lr.ph220.prol, %.lr.ph220.preheader305
  %indvars.iv250.unr = phi i64 [ %indvars.iv250.ph, %.lr.ph220.preheader305 ], [ %indvars.iv.next251.prol, %.lr.ph220.prol ]
  %50 = icmp ult i64 %45, 3
  br i1 %50, label %._crit_edge221, label %.lr.ph220

.lr.ph220:                                        ; preds = %.lr.ph220.prol.loopexit, %.lr.ph220
  %indvars.iv250 = phi i64 [ %indvars.iv.next251.3, %.lr.ph220 ], [ %indvars.iv250.unr, %.lr.ph220.prol.loopexit ]
  %51 = load float, ptr %1, align 4, !tbaa !9
  %52 = fdiv float 1.000000e+00, %51
  %53 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv250
  store float %52, ptr %53, align 4, !tbaa !18
  %54 = getelementptr inbounds i8, ptr %53, i64 4
  store float 0.000000e+00, ptr %54, align 4, !tbaa !20
  %55 = load float, ptr %1, align 4, !tbaa !9
  %56 = fdiv float 1.000000e+00, %55
  %57 = getelementptr %struct.complex, ptr %5, i64 %indvars.iv250
  store float %56, ptr %57, align 4, !tbaa !18
  %58 = getelementptr inbounds i8, ptr %57, i64 4
  store float 0.000000e+00, ptr %58, align 4, !tbaa !20
  %59 = load float, ptr %1, align 4, !tbaa !9
  %60 = fdiv float 1.000000e+00, %59
  %61 = getelementptr %struct.complex, ptr %11, i64 %indvars.iv250
  %62 = getelementptr i8, ptr %61, i64 16
  store float %60, ptr %62, align 4, !tbaa !18
  %63 = getelementptr i8, ptr %61, i64 20
  store float 0.000000e+00, ptr %63, align 4, !tbaa !20
  %64 = load float, ptr %1, align 4, !tbaa !9
  %65 = fdiv float 1.000000e+00, %64
  %66 = getelementptr %struct.complex, ptr %11, i64 %indvars.iv250
  %67 = getelementptr i8, ptr %66, i64 24
  store float %65, ptr %67, align 4, !tbaa !18
  %68 = getelementptr i8, ptr %66, i64 28
  store float 0.000000e+00, ptr %68, align 4, !tbaa !20
  %indvars.iv.next251.3 = add nuw nsw i64 %indvars.iv250, 4
  %exitcond254.not.3 = icmp eq i64 %indvars.iv.next251.3, %wide.trip.count253
  br i1 %exitcond254.not.3, label %._crit_edge221, label %.lr.ph220, !llvm.loop !23

._crit_edge221:                                   ; preds = %.lr.ph220.prol.loopexit, %.lr.ph220, %middle.block289
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %5, align 4, !tbaa !9
  br label %.loopexit205

.lr.ph216.preheader:                              ; preds = %32
  %69 = add nuw i32 %12, 1
  %wide.trip.count248 = zext i32 %69 to i64
  %70 = zext nneg i32 %12 to i64
  %min.iters.check277 = icmp ult i32 %12, 4
  br i1 %min.iters.check277, label %.lr.ph216.preheader306, label %vector.ph278

vector.ph278:                                     ; preds = %.lr.ph216.preheader
  %n.vec280 = and i64 %70, 2147483644
  %ind.end281 = or disjoint i64 %n.vec280, 1
  br label %vector.body283

vector.body283:                                   ; preds = %vector.body283, %vector.ph278
  %index284 = phi i64 [ 0, %vector.ph278 ], [ %index.next286, %vector.body283 ]
  %71 = or disjoint i64 %index284, 3
  %72 = getelementptr %struct.complex, ptr %5, i64 %index284
  %73 = getelementptr inbounds %struct.complex, ptr %11, i64 %71
  store <4 x float> <float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 0.000000e+00>, ptr %72, align 4, !tbaa !9
  store <4 x float> <float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 0.000000e+00>, ptr %73, align 4, !tbaa !9
  %index.next286 = add nuw i64 %index284, 4
  %74 = icmp eq i64 %index.next286, %n.vec280
  br i1 %74, label %middle.block275, label %vector.body283, !llvm.loop !24

middle.block275:                                  ; preds = %vector.body283
  %cmp.n287 = icmp eq i64 %n.vec280, %70
  br i1 %cmp.n287, label %._crit_edge, label %.lr.ph216.preheader306

.lr.ph216.preheader306:                           ; preds = %middle.block275, %.lr.ph216.preheader
  %indvars.iv245.ph = phi i64 [ 1, %.lr.ph216.preheader ], [ %ind.end281, %middle.block275 ]
  br label %.lr.ph216

.lr.ph216:                                        ; preds = %.lr.ph216.preheader306, %.lr.ph216
  %indvars.iv245 = phi i64 [ %indvars.iv.next246, %.lr.ph216 ], [ %indvars.iv245.ph, %.lr.ph216.preheader306 ]
  %75 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv245
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %75, align 4, !tbaa !9
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %exitcond249.not = icmp eq i64 %indvars.iv.next246, %wide.trip.count248
  br i1 %exitcond249.not, label %._crit_edge, label %.lr.ph216, !llvm.loop !25

._crit_edge:                                      ; preds = %.lr.ph216, %middle.block275
  %76 = load float, ptr %1, align 4, !tbaa !9
  %77 = fdiv float 1.000000e+00, %76
  %78 = zext nneg i32 %12 to i64
  %79 = getelementptr inbounds %struct.complex, ptr %11, i64 %78
  store float %77, ptr %79, align 4, !tbaa !18
  %80 = getelementptr inbounds %struct.complex, ptr %11, i64 %78, i32 1
  store float 0.000000e+00, ptr %80, align 4, !tbaa !20
  br label %.loopexit205

81:                                               ; preds = %32
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %5, align 4, !tbaa !9
  %.not266 = icmp eq i32 %12, 1
  br i1 %.not266, label %.loopexit205, label %82

82:                                               ; preds = %81
  %83 = load float, ptr %1, align 4, !tbaa !9
  %84 = fpext float %83 to double
  %85 = add nsw i32 %12, -1
  %86 = uitofp nneg i32 %85 to float
  %87 = fdiv float -1.000000e+00, %86
  %88 = fpext float %87 to double
  %89 = tail call double @pow(double noundef %84, double noundef %88) #9
  %90 = fptrunc double %89 to float
  %91 = load i32, ptr %6, align 4, !tbaa !5
  %.not193211 = icmp slt i32 %91, 2
  br i1 %.not193211, label %.loopexit205, label %.lr.ph213.preheader

.lr.ph213.preheader:                              ; preds = %82
  %92 = add nuw i32 %91, 1
  %wide.trip.count243 = zext i32 %92 to i64
  br label %.lr.ph213

.lr.ph213:                                        ; preds = %.lr.ph213.preheader, %.lr.ph213
  %indvars.iv240 = phi i64 [ 2, %.lr.ph213.preheader ], [ %indvars.iv.next241, %.lr.ph213 ]
  %93 = trunc i64 %indvars.iv240 to i32
  %94 = add i32 %93, -1
  %95 = tail call float @spow_ui(float noundef %90, i32 noundef %94)
  %96 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv240
  store float %95, ptr %96, align 4, !tbaa !18
  %97 = getelementptr inbounds i8, ptr %96, i64 4
  store float 0.000000e+00, ptr %97, align 4, !tbaa !20
  %indvars.iv.next241 = add nuw nsw i64 %indvars.iv240, 1
  %exitcond244.not = icmp eq i64 %indvars.iv.next241, %wide.trip.count243
  br i1 %exitcond244.not, label %.loopexit205, label %.lr.ph213, !llvm.loop !26

98:                                               ; preds = %32
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %5, align 4, !tbaa !9
  %.not = icmp eq i32 %12, 1
  br i1 %.not, label %.loopexit205, label %99

99:                                               ; preds = %98
  %100 = load float, ptr %1, align 4, !tbaa !9
  %101 = fdiv float 1.000000e+00, %100
  %102 = fsub float 1.000000e+00, %101
  %103 = add nsw i32 %12, -1
  %104 = uitofp nneg i32 %103 to float
  %105 = fdiv float %102, %104
  %106 = add nuw i32 %12, 1
  %wide.trip.count238 = zext i32 %106 to i64
  %107 = add nsw i64 %wide.trip.count238, -2
  %min.iters.check = icmp ult i64 %107, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %99
  %n.vec = and i64 %107, -4
  %ind.end = or disjoint i64 %n.vec, 2
  %broadcast.splatinsert = insertelement <2 x i32> poison, i32 %12, i64 0
  %broadcast.splat = shufflevector <2 x i32> %broadcast.splatinsert, <2 x i32> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert270 = insertelement <2 x float> poison, float %105, i64 0
  %broadcast.splat271 = shufflevector <2 x float> %broadcast.splatinsert270, <2 x float> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert272 = insertelement <2 x float> poison, float %101, i64 0
  %broadcast.splat273 = shufflevector <2 x float> %broadcast.splatinsert272, <2 x float> poison, <2 x i32> zeroinitializer
  %invariant.gep = getelementptr i8, ptr %11, i64 32
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i32> [ <i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <2 x i32> %vec.ind, <i32 2, i32 2>
  %offset.idx = or disjoint i64 %index, 2
  %108 = sub <2 x i32> %broadcast.splat, %vec.ind
  %109 = sub <2 x i32> %broadcast.splat, %step.add
  %110 = sitofp <2 x i32> %108 to <2 x float>
  %111 = sitofp <2 x i32> %109 to <2 x float>
  %112 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %110, <2 x float> %broadcast.splat271, <2 x float> %broadcast.splat273)
  %113 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %111, <2 x float> %broadcast.splat271, <2 x float> %broadcast.splat273)
  %114 = getelementptr inbounds %struct.complex, ptr %11, i64 %offset.idx
  %gep = getelementptr %struct.complex, ptr %invariant.gep, i64 %index
  %interleaved.vec = shufflevector <2 x float> %112, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec, ptr %114, align 4, !tbaa !9
  %interleaved.vec274 = shufflevector <2 x float> %113, <2 x float> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec274, ptr %gep, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i32> %vec.ind, <i32 4, i32 4>
  %115 = icmp eq i64 %index.next, %n.vec
  br i1 %115, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %107, %n.vec
  br i1 %cmp.n, label %.loopexit205, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %99
  %indvars.iv235.ph = phi i64 [ 2, %99 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv235 = phi i64 [ %indvars.iv.next236, %scalar.ph ], [ %indvars.iv235.ph, %scalar.ph.preheader ]
  %116 = trunc i64 %indvars.iv235 to i32
  %117 = sub i32 %12, %116
  %118 = sitofp i32 %117 to float
  %119 = tail call float @llvm.fmuladd.f32(float %118, float %105, float %101)
  %120 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv235
  store float %119, ptr %120, align 4, !tbaa !18
  %121 = getelementptr inbounds i8, ptr %120, i64 4
  store float 0.000000e+00, ptr %121, align 4, !tbaa !20
  %indvars.iv.next236 = add nuw nsw i64 %indvars.iv235, 1
  %exitcond239.not = icmp eq i64 %indvars.iv.next236, %wide.trip.count238
  br i1 %exitcond239.not, label %.loopexit205, label %scalar.ph, !llvm.loop !28

122:                                              ; preds = %32
  %123 = load float, ptr %1, align 4, !tbaa !9
  %124 = fdiv float 1.000000e+00, %123
  %125 = fpext float %124 to double
  %126 = tail call double @log(double noundef %125) #9
  %127 = fptrunc double %126 to float
  %128 = load i32, ptr %6, align 4, !tbaa !5
  %.not191208 = icmp slt i32 %128, 1
  br i1 %.not191208, label %.loopexit205, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %122
  %129 = add nuw i32 %128, 1
  %wide.trip.count = zext i32 %129 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %130 = tail call float @slaran_(ptr noundef %4) #9
  %131 = fmul float %130, %127
  %132 = fpext float %131 to double
  %133 = tail call double @exp(double noundef %132) #9
  %134 = fptrunc double %133 to float
  %135 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv
  store float %134, ptr %135, align 4, !tbaa !18
  %136 = getelementptr inbounds i8, ptr %135, i64 4
  store float 0.000000e+00, ptr %136, align 4, !tbaa !20
  %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 %.loopexit205, label %.lr.ph, !llvm.loop !29

137:                                              ; preds = %32
  tail call void @clarnv_(ptr noundef %3, ptr noundef %4, ptr noundef nonnull %6, ptr noundef %5) #9
  br label %.loopexit205

.loopexit205:                                     ; preds = %.lr.ph, %scalar.ph, %.lr.ph213, %middle.block, %122, %82, %98, %81, %137, %._crit_edge, %._crit_edge221
  %138 = load i32, ptr %0, align 4, !tbaa !5
  switch i32 %138, label %139 [
    i32 -6, label %thread-pre-split203
    i32 0, label %thread-pre-split203
    i32 6, label %thread-pre-split203
  ]

139:                                              ; preds = %.loopexit205
  %140 = load i32, ptr %2, align 4, !tbaa !5
  %141 = icmp eq i32 %140, 1
  br i1 %141, label %142, label %thread-pre-split203

142:                                              ; preds = %139
  %143 = load i32, ptr %6, align 4, !tbaa !5
  %.not199222 = icmp slt i32 %143, 1
  br i1 %.not199222, label %thread-pre-split203, label %.lr.ph225

.lr.ph225:                                        ; preds = %142
  %144 = zext nneg i32 %143 to i64
  br label %145

145:                                              ; preds = %.lr.ph225, %145
  %indvars.iv255 = phi i64 [ 1, %.lr.ph225 ], [ %indvars.iv.next256, %145 ]
  %146 = call <2 x float> @clarnd_(ptr noundef nonnull @c__3, ptr noundef %4) #9
  store <2 x float> %146, ptr %10, align 8, !tbaa !9
  %147 = call <2 x float> @Cf(ptr noundef nonnull %10)
  %148 = call float @cabsf(<2 x float> noundef %147) #9
  %149 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv255
  %150 = load float, ptr %149, align 4, !tbaa !18
  %151 = getelementptr inbounds i8, ptr %149, i64 4
  %152 = load float, ptr %151, align 4, !tbaa !20
  %153 = fneg float %152
  %154 = load <2 x float>, ptr %10, align 8, !tbaa !9
  %155 = insertelement <2 x float> poison, float %148, i64 0
  %156 = shufflevector <2 x float> %155, <2 x float> poison, <2 x i32> zeroinitializer
  %157 = fdiv <2 x float> %154, %156
  %158 = insertelement <2 x float> poison, float %152, i64 0
  %159 = insertelement <2 x float> %158, float %153, i64 1
  %160 = fmul <2 x float> %157, %159
  %161 = shufflevector <2 x float> %160, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %162 = insertelement <2 x float> poison, float %150, i64 0
  %163 = shufflevector <2 x float> %162, <2 x float> poison, <2 x i32> zeroinitializer
  %164 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %163, <2 x float> %157, <2 x float> %161)
  store <2 x float> %164, ptr %149, align 4, !tbaa !9
  %indvars.iv.next256 = add nuw nsw i64 %indvars.iv255, 1
  %.not199.not = icmp ult i64 %indvars.iv255, %144
  br i1 %.not199.not, label %145, label %thread-pre-split203.loopexit, !llvm.loop !30

thread-pre-split203.loopexit:                     ; preds = %145
  %.pr204.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %thread-pre-split203

thread-pre-split203:                              ; preds = %142, %thread-pre-split203.loopexit, %.loopexit205, %.loopexit205, %.loopexit205, %139
  %165 = phi i32 [ %138, %.loopexit205 ], [ %138, %.loopexit205 ], [ %138, %.loopexit205 ], [ %138, %139 ], [ %.pr204.pre, %thread-pre-split203.loopexit ], [ %138, %142 ]
  %166 = icmp slt i32 %165, 0
  br i1 %166, label %167, label %.loopexit

167:                                              ; preds = %thread-pre-split203
  %168 = load i32, ptr %6, align 4, !tbaa !5
  %.not200226 = icmp slt i32 %168, 2
  br i1 %.not200226, label %.loopexit, label %.lr.ph229

.lr.ph229:                                        ; preds = %167
  %169 = add nuw nsw i32 %168, 1
  %170 = zext nneg i32 %169 to i64
  %171 = lshr i32 %168, 1
  %172 = zext nneg i32 %171 to i64
  %xtraiter309 = and i64 %172, 1
  %173 = icmp eq i32 %171, 1
  br i1 %173, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph229.new

.lr.ph229.new:                                    ; preds = %.lr.ph229
  %unroll_iter = and i64 %172, 1073741822
  %invariant.gep311 = getelementptr %struct.complex, ptr %11, i64 %170
  br label %174

174:                                              ; preds = %174, %.lr.ph229.new
  %indvars.iv258 = phi i64 [ 1, %.lr.ph229.new ], [ %indvars.iv.next259.1, %174 ]
  %niter = phi i64 [ 0, %.lr.ph229.new ], [ %niter.next.1, %174 ]
  %175 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv258
  %176 = sub nsw i64 %170, %indvars.iv258
  %177 = getelementptr inbounds %struct.complex, ptr %11, i64 %176
  %178 = load <2 x float>, ptr %175, align 4, !tbaa !9
  %179 = load <2 x float>, ptr %177, align 4, !tbaa !9
  store <2 x float> %179, ptr %175, align 4, !tbaa !9
  store <2 x float> %178, ptr %177, align 4, !tbaa !9
  %indvars.iv.next259.neg = xor i64 %indvars.iv258, -1
  %180 = getelementptr %struct.complex, ptr %5, i64 %indvars.iv258
  %gep312 = getelementptr %struct.complex, ptr %invariant.gep311, i64 %indvars.iv.next259.neg
  %181 = load <2 x float>, ptr %180, align 4, !tbaa !9
  %182 = load <2 x float>, ptr %gep312, align 4, !tbaa !9
  store <2 x float> %182, ptr %180, align 4, !tbaa !9
  store <2 x float> %181, ptr %gep312, align 4, !tbaa !9
  %indvars.iv.next259.1 = add nuw nsw i64 %indvars.iv258, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %174, !llvm.loop !31

.loopexit.loopexit.unr-lcssa:                     ; preds = %174, %.lr.ph229
  %indvars.iv258.unr = phi i64 [ 1, %.lr.ph229 ], [ %indvars.iv.next259.1, %174 ]
  %lcmp.mod310.not = icmp eq i64 %xtraiter309, 0
  br i1 %lcmp.mod310.not, label %.loopexit, label %.loopexit.loopexit.epilog-lcssa

.loopexit.loopexit.epilog-lcssa:                  ; preds = %.loopexit.loopexit.unr-lcssa
  %183 = getelementptr inbounds %struct.complex, ptr %11, i64 %indvars.iv258.unr
  %184 = sub nsw i64 %170, %indvars.iv258.unr
  %185 = getelementptr inbounds %struct.complex, ptr %11, i64 %184
  %186 = load <2 x float>, ptr %183, align 4, !tbaa !9
  %187 = load <2 x float>, ptr %185, align 4, !tbaa !9
  store <2 x float> %187, ptr %183, align 4, !tbaa !9
  store <2 x float> %186, ptr %185, align 4, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit.epilog-lcssa, %.loopexit.loopexit.unr-lcssa, %167, %31, %thread-pre-split203, %8, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #9
  ret void
}

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden float @spow_ui(float noundef, i32 noundef) local_unnamed_addr #4

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

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

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

declare float @slaran_(ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) local_unnamed_addr #6

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #8

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

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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }

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

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


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