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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.doublecomplex = type { double, double }

@.str = external hidden unnamed_addr constant [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

; Function Attrs: nounwind uwtable
define dso_local void @zlartg_(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 double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca %struct.doublecomplex, align 8
  %23 = alloca %struct.doublecomplex, align 8
  %24 = alloca %struct.doublecomplex, align 8
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca %struct.doublecomplex, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca %struct.doublecomplex, align 8
  %37 = alloca %struct.doublecomplex, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca { double, double }, align 8
  %43 = alloca i32, 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) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %44 = call double @dlamch_(ptr noundef @.str)
  store double %44, ptr %38, align 8, !tbaa !9
  %45 = call double @dlamch_(ptr noundef @.str.1)
  store double %45, ptr %41, align 8, !tbaa !9
  %46 = call double @dlamch_(ptr noundef @.str.2)
  store double %46, ptr %12, align 8, !tbaa !9
  %47 = load double, ptr %38, align 8, !tbaa !9
  %48 = load double, ptr %41, align 8, !tbaa !9
  %49 = fdiv double %47, %48
  %50 = call double @log(double noundef %49) #6
  %51 = call double @dlamch_(ptr noundef @.str.2)
  %52 = call double @log(double noundef %51) #6
  %53 = fdiv double %50, %52
  %54 = fdiv double %53, 2.000000e+00
  %55 = fptosi double %54 to i32
  store i32 %55, ptr %11, align 4, !tbaa !11
  %56 = load double, ptr %12, align 8, !tbaa !9
  %57 = load i32, ptr %11, align 4, !tbaa !11
  %58 = call double @dpow_ui(double noundef %56, i32 noundef %57)
  store double %58, ptr %31, align 8, !tbaa !9
  %59 = load double, ptr %31, align 8, !tbaa !9
  %60 = fdiv double 1.000000e+00, %59
  store double %60, ptr %32, align 8, !tbaa !9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.doublecomplex, ptr %61, i32 0, i32 0
  %63 = load double, ptr %62, align 8, !tbaa !13
  store double %63, ptr %12, align 8, !tbaa !9
  %64 = load double, ptr %12, align 8, !tbaa !9
  %65 = fcmp oge double %64, 0.000000e+00
  br i1 %65, label %66, label %68

66:                                               ; preds = %5
  %67 = load double, ptr %12, align 8, !tbaa !9
  br label %71

68:                                               ; preds = %5
  %69 = load double, ptr %12, align 8, !tbaa !9
  %70 = fneg double %69
  br label %71

71:                                               ; preds = %68, %66
  %72 = phi double [ %67, %66 ], [ %70, %68 ]
  store double %72, ptr %18, align 8, !tbaa !9
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call { double, double } @Cd(ptr noundef %73)
  %75 = extractvalue { double, double } %74, 0
  %76 = extractvalue { double, double } %74, 1
  store double %76, ptr %13, align 8, !tbaa !9
  %77 = load double, ptr %13, align 8, !tbaa !9
  %78 = fcmp oge double %77, 0.000000e+00
  br i1 %78, label %79, label %81

79:                                               ; preds = %71
  %80 = load double, ptr %13, align 8, !tbaa !9
  br label %84

81:                                               ; preds = %71
  %82 = load double, ptr %13, align 8, !tbaa !9
  %83 = fneg double %82
  br label %84

84:                                               ; preds = %81, %79
  %85 = phi double [ %80, %79 ], [ %83, %81 ]
  store double %85, ptr %19, align 8, !tbaa !9
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.doublecomplex, ptr %86, i32 0, i32 0
  %88 = load double, ptr %87, align 8, !tbaa !13
  store double %88, ptr %14, align 8, !tbaa !9
  %89 = load double, ptr %14, align 8, !tbaa !9
  %90 = fcmp oge double %89, 0.000000e+00
  br i1 %90, label %91, label %93

91:                                               ; preds = %84
  %92 = load double, ptr %14, align 8, !tbaa !9
  br label %96

93:                                               ; preds = %84
  %94 = load double, ptr %14, align 8, !tbaa !9
  %95 = fneg double %94
  br label %96

96:                                               ; preds = %93, %91
  %97 = phi double [ %92, %91 ], [ %95, %93 ]
  store double %97, ptr %20, align 8, !tbaa !9
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = call { double, double } @Cd(ptr noundef %98)
  %100 = extractvalue { double, double } %99, 0
  %101 = extractvalue { double, double } %99, 1
  store double %101, ptr %15, align 8, !tbaa !9
  %102 = load double, ptr %15, align 8, !tbaa !9
  %103 = fcmp oge double %102, 0.000000e+00
  br i1 %103, label %104, label %106

104:                                              ; preds = %96
  %105 = load double, ptr %15, align 8, !tbaa !9
  br label %109

106:                                              ; preds = %96
  %107 = load double, ptr %15, align 8, !tbaa !9
  %108 = fneg double %107
  br label %109

109:                                              ; preds = %106, %104
  %110 = phi double [ %105, %104 ], [ %108, %106 ]
  store double %110, ptr %21, align 8, !tbaa !9
  %111 = load double, ptr %18, align 8, !tbaa !9
  %112 = load double, ptr %19, align 8, !tbaa !9
  %113 = fcmp oge double %111, %112
  br i1 %113, label %114, label %116

114:                                              ; preds = %109
  %115 = load double, ptr %18, align 8, !tbaa !9
  br label %118

116:                                              ; preds = %109
  %117 = load double, ptr %19, align 8, !tbaa !9
  br label %118

118:                                              ; preds = %116, %114
  %119 = phi double [ %115, %114 ], [ %117, %116 ]
  store double %119, ptr %16, align 8, !tbaa !9
  %120 = load double, ptr %20, align 8, !tbaa !9
  %121 = load double, ptr %21, align 8, !tbaa !9
  %122 = fcmp oge double %120, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %118
  %124 = load double, ptr %20, align 8, !tbaa !9
  br label %127

125:                                              ; preds = %118
  %126 = load double, ptr %21, align 8, !tbaa !9
  br label %127

127:                                              ; preds = %125, %123
  %128 = phi double [ %124, %123 ], [ %126, %125 ]
  store double %128, ptr %17, align 8, !tbaa !9
  %129 = load double, ptr %16, align 8, !tbaa !9
  %130 = load double, ptr %17, align 8, !tbaa !9
  %131 = fcmp oge double %129, %130
  br i1 %131, label %132, label %134

132:                                              ; preds = %127
  %133 = load double, ptr %16, align 8, !tbaa !9
  br label %136

134:                                              ; preds = %127
  %135 = load double, ptr %17, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %134, %132
  %137 = phi double [ %133, %132 ], [ %135, %134 ]
  store double %137, ptr %27, align 8, !tbaa !9
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.doublecomplex, ptr %138, i32 0, i32 0
  %140 = load double, ptr %139, align 8, !tbaa !13
  %141 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  store double %140, ptr %141, align 8, !tbaa !13
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.doublecomplex, ptr %142, i32 0, i32 1
  %144 = load double, ptr %143, align 8, !tbaa !15
  %145 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  store double %144, ptr %145, align 8, !tbaa !15
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.doublecomplex, ptr %146, i32 0, i32 0
  %148 = load double, ptr %147, align 8, !tbaa !13
  %149 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  store double %148, ptr %149, align 8, !tbaa !13
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.doublecomplex, ptr %150, i32 0, i32 1
  %152 = load double, ptr %151, align 8, !tbaa !15
  %153 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  store double %152, ptr %153, align 8, !tbaa !15
  store i32 0, ptr %28, align 4, !tbaa !11
  %154 = load double, ptr %27, align 8, !tbaa !9
  %155 = load double, ptr %32, align 8, !tbaa !9
  %156 = fcmp oge double %154, %155
  br i1 %156, label %157, label %204

157:                                              ; preds = %136
  br label %158

158:                                              ; preds = %202, %157
  %159 = load i32, ptr %28, align 4, !tbaa !11
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %28, align 4, !tbaa !11
  %161 = load double, ptr %31, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  %163 = load double, ptr %162, align 8, !tbaa !13
  %164 = fmul double %161, %163
  %165 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %164, ptr %165, align 8, !tbaa !13
  %166 = load double, ptr %31, align 8, !tbaa !9
  %167 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  %168 = load double, ptr %167, align 8, !tbaa !15
  %169 = fmul double %166, %168
  %170 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %169, ptr %170, align 8, !tbaa !15
  %171 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %172 = load double, ptr %171, align 8, !tbaa !13
  %173 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  store double %172, ptr %173, align 8, !tbaa !13
  %174 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %175 = load double, ptr %174, align 8, !tbaa !15
  %176 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  store double %175, ptr %176, align 8, !tbaa !15
  %177 = load double, ptr %31, align 8, !tbaa !9
  %178 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %179 = load double, ptr %178, align 8, !tbaa !13
  %180 = fmul double %177, %179
  %181 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %180, ptr %181, align 8, !tbaa !13
  %182 = load double, ptr %31, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  %184 = load double, ptr %183, align 8, !tbaa !15
  %185 = fmul double %182, %184
  %186 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %185, ptr %186, align 8, !tbaa !15
  %187 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %188 = load double, ptr %187, align 8, !tbaa !13
  %189 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  store double %188, ptr %189, align 8, !tbaa !13
  %190 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %191 = load double, ptr %190, align 8, !tbaa !15
  %192 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  store double %191, ptr %192, align 8, !tbaa !15
  %193 = load double, ptr %31, align 8, !tbaa !9
  %194 = load double, ptr %27, align 8, !tbaa !9
  %195 = fmul double %194, %193
  store double %195, ptr %27, align 8, !tbaa !9
  %196 = load double, ptr %27, align 8, !tbaa !9
  %197 = load double, ptr %32, align 8, !tbaa !9
  %198 = fcmp oge double %196, %197
  br i1 %198, label %199, label %203

199:                                              ; preds = %158
  %200 = load i32, ptr %28, align 4, !tbaa !11
  %201 = icmp slt i32 %200, 20
  br i1 %201, label %202, label %203

202:                                              ; preds = %199
  br label %158

203:                                              ; preds = %199, %158
  br label %293

204:                                              ; preds = %136
  %205 = load double, ptr %27, align 8, !tbaa !9
  %206 = load double, ptr %31, align 8, !tbaa !9
  %207 = fcmp ole double %205, %206
  br i1 %207, label %208, label %292

208:                                              ; preds = %204
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = call { double, double } @Cd(ptr noundef %209)
  %211 = extractvalue { double, double } %210, 0
  %212 = extractvalue { double, double } %210, 1
  %213 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %214 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  store double %211, ptr %213, align 8
  store double %212, ptr %214, align 8
  %215 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %216 = load double, ptr %215, align 8
  %217 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %218 = load double, ptr %217, align 8
  %219 = call double @cabs(double noundef %216, double noundef %218) #6
  store double %219, ptr %12, align 8, !tbaa !9
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.doublecomplex, ptr %220, i32 0, i32 0
  %222 = load double, ptr %221, align 8, !tbaa !13
  %223 = fcmp oeq double %222, 0.000000e+00
  br i1 %223, label %224, label %229

224:                                              ; preds = %208
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.doublecomplex, ptr %225, i32 0, i32 1
  %227 = load double, ptr %226, align 8, !tbaa !15
  %228 = fcmp oeq double %227, 0.000000e+00
  br i1 %228, label %232, label %229

229:                                              ; preds = %224, %208
  %230 = call i32 @disnan_(ptr noundef %12)
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %248

232:                                              ; preds = %229, %224
  %233 = load ptr, ptr %8, align 8, !tbaa !5
  store double 1.000000e+00, ptr %233, align 8, !tbaa !9
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.doublecomplex, ptr %234, i32 0, i32 0
  store double 0.000000e+00, ptr %235, align 8, !tbaa !13
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.doublecomplex, ptr %236, i32 0, i32 1
  store double 0.000000e+00, ptr %237, align 8, !tbaa !15
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.doublecomplex, ptr %238, i32 0, i32 0
  %240 = load double, ptr %239, align 8, !tbaa !13
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.doublecomplex, ptr %241, i32 0, i32 0
  store double %240, ptr %242, align 8, !tbaa !13
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.doublecomplex, ptr %243, i32 0, i32 1
  %245 = load double, ptr %244, align 8, !tbaa !15
  %246 = load ptr, ptr %10, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.doublecomplex, ptr %246, i32 0, i32 1
  store double %245, ptr %247, align 8, !tbaa !15
  store i32 1, ptr %43, align 4
  br label %767

248:                                              ; preds = %229
  br label %249

249:                                              ; preds = %290, %248
  %250 = load i32, ptr %28, align 4, !tbaa !11
  %251 = add nsw i32 %250, -1
  store i32 %251, ptr %28, align 4, !tbaa !11
  %252 = load double, ptr %32, align 8, !tbaa !9
  %253 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  %254 = load double, ptr %253, align 8, !tbaa !13
  %255 = fmul double %252, %254
  %256 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %255, ptr %256, align 8, !tbaa !13
  %257 = load double, ptr %32, align 8, !tbaa !9
  %258 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  %259 = load double, ptr %258, align 8, !tbaa !15
  %260 = fmul double %257, %259
  %261 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %260, ptr %261, align 8, !tbaa !15
  %262 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %263 = load double, ptr %262, align 8, !tbaa !13
  %264 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  store double %263, ptr %264, align 8, !tbaa !13
  %265 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %266 = load double, ptr %265, align 8, !tbaa !15
  %267 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 1
  store double %266, ptr %267, align 8, !tbaa !15
  %268 = load double, ptr %32, align 8, !tbaa !9
  %269 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %270 = load double, ptr %269, align 8, !tbaa !13
  %271 = fmul double %268, %270
  %272 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %271, ptr %272, align 8, !tbaa !13
  %273 = load double, ptr %32, align 8, !tbaa !9
  %274 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  %275 = load double, ptr %274, align 8, !tbaa !15
  %276 = fmul double %273, %275
  %277 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %276, ptr %277, align 8, !tbaa !15
  %278 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %279 = load double, ptr %278, align 8, !tbaa !13
  %280 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  store double %279, ptr %280, align 8, !tbaa !13
  %281 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %282 = load double, ptr %281, align 8, !tbaa !15
  %283 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 1
  store double %282, ptr %283, align 8, !tbaa !15
  %284 = load double, ptr %32, align 8, !tbaa !9
  %285 = load double, ptr %27, align 8, !tbaa !9
  %286 = fmul double %285, %284
  store double %286, ptr %27, align 8, !tbaa !9
  %287 = load double, ptr %27, align 8, !tbaa !9
  %288 = load double, ptr %31, align 8, !tbaa !9
  %289 = fcmp ole double %287, %288
  br i1 %289, label %290, label %291

290:                                              ; preds = %249
  br label %249

291:                                              ; preds = %249
  br label %292

292:                                              ; preds = %291, %204
  br label %293

293:                                              ; preds = %292, %203
  %294 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  %295 = load double, ptr %294, align 8, !tbaa !13
  store double %295, ptr %12, align 8, !tbaa !9
  %296 = call { double, double } @Cd(ptr noundef %36)
  %297 = extractvalue { double, double } %296, 0
  %298 = extractvalue { double, double } %296, 1
  store double %298, ptr %13, align 8, !tbaa !9
  %299 = load double, ptr %12, align 8, !tbaa !9
  %300 = load double, ptr %12, align 8, !tbaa !9
  %301 = load double, ptr %13, align 8, !tbaa !9
  %302 = load double, ptr %13, align 8, !tbaa !9
  %303 = fmul double %301, %302
  %304 = call double @llvm.fmuladd.f64(double %299, double %300, double %303)
  store double %304, ptr %29, align 8, !tbaa !9
  %305 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %306 = load double, ptr %305, align 8, !tbaa !13
  store double %306, ptr %12, align 8, !tbaa !9
  %307 = call { double, double } @Cd(ptr noundef %37)
  %308 = extractvalue { double, double } %307, 0
  %309 = extractvalue { double, double } %307, 1
  store double %309, ptr %13, align 8, !tbaa !9
  %310 = load double, ptr %12, align 8, !tbaa !9
  %311 = load double, ptr %12, align 8, !tbaa !9
  %312 = load double, ptr %13, align 8, !tbaa !9
  %313 = load double, ptr %13, align 8, !tbaa !9
  %314 = fmul double %312, %313
  %315 = call double @llvm.fmuladd.f64(double %310, double %311, double %314)
  store double %315, ptr %30, align 8, !tbaa !9
  %316 = load double, ptr %29, align 8, !tbaa !9
  %317 = load double, ptr %30, align 8, !tbaa !9
  %318 = fcmp oge double %317, 1.000000e+00
  br i1 %318, label %319, label %321

319:                                              ; preds = %293
  %320 = load double, ptr %30, align 8, !tbaa !9
  br label %322

321:                                              ; preds = %293
  br label %322

322:                                              ; preds = %321, %319
  %323 = phi double [ %320, %319 ], [ 1.000000e+00, %321 ]
  %324 = load double, ptr %38, align 8, !tbaa !9
  %325 = fmul double %323, %324
  %326 = fcmp ole double %316, %325
  br i1 %326, label %327, label %598

327:                                              ; preds = %322
  %328 = load ptr, ptr %6, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.doublecomplex, ptr %328, i32 0, i32 0
  %330 = load double, ptr %329, align 8, !tbaa !13
  %331 = fcmp oeq double %330, 0.000000e+00
  br i1 %331, label %332, label %380

332:                                              ; preds = %327
  %333 = load ptr, ptr %6, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.doublecomplex, ptr %333, i32 0, i32 1
  %335 = load double, ptr %334, align 8, !tbaa !15
  %336 = fcmp oeq double %335, 0.000000e+00
  br i1 %336, label %337, label %380

337:                                              ; preds = %332
  %338 = load ptr, ptr %8, align 8, !tbaa !5
  store double 0.000000e+00, ptr %338, align 8, !tbaa !9
  %339 = load ptr, ptr %7, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.doublecomplex, ptr %339, i32 0, i32 0
  %341 = load double, ptr %340, align 8, !tbaa !13
  store double %341, ptr %13, align 8, !tbaa !9
  %342 = load ptr, ptr %7, align 8, !tbaa !5
  %343 = call { double, double } @Cd(ptr noundef %342)
  %344 = extractvalue { double, double } %343, 0
  %345 = extractvalue { double, double } %343, 1
  store double %345, ptr %14, align 8, !tbaa !9
  %346 = call double @dlapy2_(ptr noundef %13, ptr noundef %14)
  store double %346, ptr %12, align 8, !tbaa !9
  %347 = load double, ptr %12, align 8, !tbaa !9
  %348 = load ptr, ptr %10, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.doublecomplex, ptr %348, i32 0, i32 0
  store double %347, ptr %349, align 8, !tbaa !13
  %350 = load ptr, ptr %10, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.doublecomplex, ptr %350, i32 0, i32 1
  store double 0.000000e+00, ptr %351, align 8, !tbaa !15
  %352 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %353 = load double, ptr %352, align 8, !tbaa !13
  store double %353, ptr %12, align 8, !tbaa !9
  %354 = call { double, double } @Cd(ptr noundef %37)
  %355 = extractvalue { double, double } %354, 0
  %356 = extractvalue { double, double } %354, 1
  store double %356, ptr %13, align 8, !tbaa !9
  %357 = call double @dlapy2_(ptr noundef %12, ptr noundef %13)
  store double %357, ptr %25, align 8, !tbaa !9
  %358 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %359 = load double, ptr %358, align 8, !tbaa !13
  %360 = load double, ptr %25, align 8, !tbaa !9
  %361 = fdiv double %359, %360
  store double %361, ptr %12, align 8, !tbaa !9
  %362 = call { double, double } @Cd(ptr noundef %37)
  %363 = extractvalue { double, double } %362, 0
  %364 = extractvalue { double, double } %362, 1
  %365 = fneg double %364
  %366 = load double, ptr %25, align 8, !tbaa !9
  %367 = fdiv double %365, %366
  store double %367, ptr %13, align 8, !tbaa !9
  %368 = load double, ptr %12, align 8, !tbaa !9
  %369 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %368, ptr %369, align 8, !tbaa !13
  %370 = load double, ptr %13, align 8, !tbaa !9
  %371 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %370, ptr %371, align 8, !tbaa !15
  %372 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %373 = load double, ptr %372, align 8, !tbaa !13
  %374 = load ptr, ptr %9, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.doublecomplex, ptr %374, i32 0, i32 0
  store double %373, ptr %375, align 8, !tbaa !13
  %376 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %377 = load double, ptr %376, align 8, !tbaa !15
  %378 = load ptr, ptr %9, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.doublecomplex, ptr %378, i32 0, i32 1
  store double %377, ptr %379, align 8, !tbaa !15
  store i32 1, ptr %43, align 4
  br label %767

380:                                              ; preds = %332, %327
  %381 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  %382 = load double, ptr %381, align 8, !tbaa !13
  store double %382, ptr %12, align 8, !tbaa !9
  %383 = call { double, double } @Cd(ptr noundef %36)
  %384 = extractvalue { double, double } %383, 0
  %385 = extractvalue { double, double } %383, 1
  store double %385, ptr %13, align 8, !tbaa !9
  %386 = call double @dlapy2_(ptr noundef %12, ptr noundef %13)
  store double %386, ptr %39, align 8, !tbaa !9
  %387 = load double, ptr %30, align 8, !tbaa !9
  %388 = call double @sqrt(double noundef %387) #6
  store double %388, ptr %40, align 8, !tbaa !9
  %389 = load double, ptr %39, align 8, !tbaa !9
  %390 = load double, ptr %40, align 8, !tbaa !9
  %391 = fdiv double %389, %390
  %392 = load ptr, ptr %8, align 8, !tbaa !5
  store double %391, ptr %392, align 8, !tbaa !9
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.doublecomplex, ptr %393, i32 0, i32 0
  %395 = load double, ptr %394, align 8, !tbaa !13
  store double %395, ptr %12, align 8, !tbaa !9
  %396 = load double, ptr %12, align 8, !tbaa !9
  %397 = fcmp oge double %396, 0.000000e+00
  br i1 %397, label %398, label %400

398:                                              ; preds = %380
  %399 = load double, ptr %12, align 8, !tbaa !9
  br label %403

400:                                              ; preds = %380
  %401 = load double, ptr %12, align 8, !tbaa !9
  %402 = fneg double %401
  br label %403

403:                                              ; preds = %400, %398
  %404 = phi double [ %399, %398 ], [ %402, %400 ]
  store double %404, ptr %14, align 8, !tbaa !9
  %405 = load ptr, ptr %6, align 8, !tbaa !5
  %406 = call { double, double } @Cd(ptr noundef %405)
  %407 = extractvalue { double, double } %406, 0
  %408 = extractvalue { double, double } %406, 1
  store double %408, ptr %13, align 8, !tbaa !9
  %409 = load double, ptr %13, align 8, !tbaa !9
  %410 = fcmp oge double %409, 0.000000e+00
  br i1 %410, label %411, label %413

411:                                              ; preds = %403
  %412 = load double, ptr %13, align 8, !tbaa !9
  br label %416

413:                                              ; preds = %403
  %414 = load double, ptr %13, align 8, !tbaa !9
  %415 = fneg double %414
  br label %416

416:                                              ; preds = %413, %411
  %417 = phi double [ %412, %411 ], [ %415, %413 ]
  store double %417, ptr %15, align 8, !tbaa !9
  %418 = load double, ptr %14, align 8, !tbaa !9
  %419 = load double, ptr %15, align 8, !tbaa !9
  %420 = fcmp oge double %418, %419
  br i1 %420, label %421, label %423

421:                                              ; preds = %416
  %422 = load double, ptr %14, align 8, !tbaa !9
  br label %425

423:                                              ; preds = %416
  %424 = load double, ptr %15, align 8, !tbaa !9
  br label %425

425:                                              ; preds = %423, %421
  %426 = phi double [ %422, %421 ], [ %424, %423 ]
  %427 = fcmp ogt double %426, 1.000000e+00
  br i1 %427, label %428, label %458

428:                                              ; preds = %425
  %429 = load ptr, ptr %6, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.doublecomplex, ptr %429, i32 0, i32 0
  %431 = load double, ptr %430, align 8, !tbaa !13
  store double %431, ptr %12, align 8, !tbaa !9
  %432 = load ptr, ptr %6, align 8, !tbaa !5
  %433 = call { double, double } @Cd(ptr noundef %432)
  %434 = extractvalue { double, double } %433, 0
  %435 = extractvalue { double, double } %433, 1
  store double %435, ptr %13, align 8, !tbaa !9
  %436 = call double @dlapy2_(ptr noundef %12, ptr noundef %13)
  store double %436, ptr %25, align 8, !tbaa !9
  %437 = load ptr, ptr %6, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.doublecomplex, ptr %437, i32 0, i32 0
  %439 = load double, ptr %438, align 8, !tbaa !13
  %440 = load double, ptr %25, align 8, !tbaa !9
  %441 = fdiv double %439, %440
  store double %441, ptr %12, align 8, !tbaa !9
  %442 = load ptr, ptr %6, align 8, !tbaa !5
  %443 = call { double, double } @Cd(ptr noundef %442)
  %444 = extractvalue { double, double } %443, 0
  %445 = extractvalue { double, double } %443, 1
  %446 = load double, ptr %25, align 8, !tbaa !9
  %447 = fdiv double %445, %446
  store double %447, ptr %13, align 8, !tbaa !9
  %448 = load double, ptr %12, align 8, !tbaa !9
  %449 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %448, ptr %449, align 8, !tbaa !13
  %450 = load double, ptr %13, align 8, !tbaa !9
  %451 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %450, ptr %451, align 8, !tbaa !15
  %452 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %453 = load double, ptr %452, align 8, !tbaa !13
  %454 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  store double %453, ptr %454, align 8, !tbaa !13
  %455 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %456 = load double, ptr %455, align 8, !tbaa !15
  %457 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  store double %456, ptr %457, align 8, !tbaa !15
  br label %487

458:                                              ; preds = %425
  %459 = load double, ptr %32, align 8, !tbaa !9
  %460 = load ptr, ptr %6, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.doublecomplex, ptr %460, i32 0, i32 0
  %462 = load double, ptr %461, align 8, !tbaa !13
  %463 = fmul double %459, %462
  store double %463, ptr %35, align 8, !tbaa !9
  %464 = load double, ptr %32, align 8, !tbaa !9
  %465 = load ptr, ptr %6, align 8, !tbaa !5
  %466 = call { double, double } @Cd(ptr noundef %465)
  %467 = extractvalue { double, double } %466, 0
  %468 = extractvalue { double, double } %466, 1
  %469 = fmul double %464, %468
  store double %469, ptr %34, align 8, !tbaa !9
  %470 = call double @dlapy2_(ptr noundef %35, ptr noundef %34)
  store double %470, ptr %25, align 8, !tbaa !9
  %471 = load double, ptr %35, align 8, !tbaa !9
  %472 = load double, ptr %25, align 8, !tbaa !9
  %473 = fdiv double %471, %472
  store double %473, ptr %12, align 8, !tbaa !9
  %474 = load double, ptr %34, align 8, !tbaa !9
  %475 = load double, ptr %25, align 8, !tbaa !9
  %476 = fdiv double %474, %475
  store double %476, ptr %13, align 8, !tbaa !9
  %477 = load double, ptr %12, align 8, !tbaa !9
  %478 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %477, ptr %478, align 8, !tbaa !13
  %479 = load double, ptr %13, align 8, !tbaa !9
  %480 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %479, ptr %480, align 8, !tbaa !15
  %481 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %482 = load double, ptr %481, align 8, !tbaa !13
  %483 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  store double %482, ptr %483, align 8, !tbaa !13
  %484 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %485 = load double, ptr %484, align 8, !tbaa !15
  %486 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  store double %485, ptr %486, align 8, !tbaa !15
  br label %487

487:                                              ; preds = %458, %428
  %488 = getelementptr inbounds %struct.doublecomplex, ptr %37, i32 0, i32 0
  %489 = load double, ptr %488, align 8, !tbaa !13
  %490 = load double, ptr %40, align 8, !tbaa !9
  %491 = fdiv double %489, %490
  store double %491, ptr %12, align 8, !tbaa !9
  %492 = call { double, double } @Cd(ptr noundef %37)
  %493 = extractvalue { double, double } %492, 0
  %494 = extractvalue { double, double } %492, 1
  %495 = fneg double %494
  %496 = load double, ptr %40, align 8, !tbaa !9
  %497 = fdiv double %495, %496
  store double %497, ptr %13, align 8, !tbaa !9
  %498 = load double, ptr %12, align 8, !tbaa !9
  %499 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  store double %498, ptr %499, align 8, !tbaa !13
  %500 = load double, ptr %13, align 8, !tbaa !9
  %501 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  store double %500, ptr %501, align 8, !tbaa !15
  %502 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  %503 = load double, ptr %502, align 8, !tbaa !13
  %504 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %505 = load double, ptr %504, align 8, !tbaa !13
  %506 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  %507 = load double, ptr %506, align 8, !tbaa !15
  %508 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %509 = load double, ptr %508, align 8, !tbaa !15
  %510 = fmul double %507, %509
  %511 = fneg double %510
  %512 = call double @llvm.fmuladd.f64(double %503, double %505, double %511)
  %513 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %512, ptr %513, align 8, !tbaa !13
  %514 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 0
  %515 = load double, ptr %514, align 8, !tbaa !13
  %516 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %517 = load double, ptr %516, align 8, !tbaa !15
  %518 = getelementptr inbounds %struct.doublecomplex, ptr %33, i32 0, i32 1
  %519 = load double, ptr %518, align 8, !tbaa !15
  %520 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %521 = load double, ptr %520, align 8, !tbaa !13
  %522 = fmul double %519, %521
  %523 = call double @llvm.fmuladd.f64(double %515, double %517, double %522)
  %524 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %523, ptr %524, align 8, !tbaa !15
  %525 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %526 = load double, ptr %525, align 8, !tbaa !13
  %527 = load ptr, ptr %9, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.doublecomplex, ptr %527, i32 0, i32 0
  store double %526, ptr %528, align 8, !tbaa !13
  %529 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %530 = load double, ptr %529, align 8, !tbaa !15
  %531 = load ptr, ptr %9, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.doublecomplex, ptr %531, i32 0, i32 1
  store double %530, ptr %532, align 8, !tbaa !15
  %533 = load ptr, ptr %8, align 8, !tbaa !5
  %534 = load double, ptr %533, align 8, !tbaa !9
  %535 = load ptr, ptr %6, align 8, !tbaa !5
  %536 = getelementptr inbounds %struct.doublecomplex, ptr %535, i32 0, i32 0
  %537 = load double, ptr %536, align 8, !tbaa !13
  %538 = fmul double %534, %537
  %539 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  store double %538, ptr %539, align 8, !tbaa !13
  %540 = load ptr, ptr %8, align 8, !tbaa !5
  %541 = load double, ptr %540, align 8, !tbaa !9
  %542 = load ptr, ptr %6, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.doublecomplex, ptr %542, i32 0, i32 1
  %544 = load double, ptr %543, align 8, !tbaa !15
  %545 = fmul double %541, %544
  %546 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  store double %545, ptr %546, align 8, !tbaa !15
  %547 = load ptr, ptr %9, align 8, !tbaa !5
  %548 = getelementptr inbounds %struct.doublecomplex, ptr %547, i32 0, i32 0
  %549 = load double, ptr %548, align 8, !tbaa !13
  %550 = load ptr, ptr %7, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.doublecomplex, ptr %550, i32 0, i32 0
  %552 = load double, ptr %551, align 8, !tbaa !13
  %553 = load ptr, ptr %9, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.doublecomplex, ptr %553, i32 0, i32 1
  %555 = load double, ptr %554, align 8, !tbaa !15
  %556 = load ptr, ptr %7, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.doublecomplex, ptr %556, i32 0, i32 1
  %558 = load double, ptr %557, align 8, !tbaa !15
  %559 = fmul double %555, %558
  %560 = fneg double %559
  %561 = call double @llvm.fmuladd.f64(double %549, double %552, double %560)
  %562 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  store double %561, ptr %562, align 8, !tbaa !13
  %563 = load ptr, ptr %9, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.doublecomplex, ptr %563, i32 0, i32 0
  %565 = load double, ptr %564, align 8, !tbaa !13
  %566 = load ptr, ptr %7, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.doublecomplex, ptr %566, i32 0, i32 1
  %568 = load double, ptr %567, align 8, !tbaa !15
  %569 = load ptr, ptr %9, align 8, !tbaa !5
  %570 = getelementptr inbounds %struct.doublecomplex, ptr %569, i32 0, i32 1
  %571 = load double, ptr %570, align 8, !tbaa !15
  %572 = load ptr, ptr %7, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.doublecomplex, ptr %572, i32 0, i32 0
  %574 = load double, ptr %573, align 8, !tbaa !13
  %575 = fmul double %571, %574
  %576 = call double @llvm.fmuladd.f64(double %565, double %568, double %575)
  %577 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  store double %576, ptr %577, align 8, !tbaa !15
  %578 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %579 = load double, ptr %578, align 8, !tbaa !13
  %580 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 0
  %581 = load double, ptr %580, align 8, !tbaa !13
  %582 = fadd double %579, %581
  %583 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %582, ptr %583, align 8, !tbaa !13
  %584 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %585 = load double, ptr %584, align 8, !tbaa !15
  %586 = getelementptr inbounds %struct.doublecomplex, ptr %24, i32 0, i32 1
  %587 = load double, ptr %586, align 8, !tbaa !15
  %588 = fadd double %585, %587
  %589 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %588, ptr %589, align 8, !tbaa !15
  %590 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %591 = load double, ptr %590, align 8, !tbaa !13
  %592 = load ptr, ptr %10, align 8, !tbaa !5
  %593 = getelementptr inbounds %struct.doublecomplex, ptr %592, i32 0, i32 0
  store double %591, ptr %593, align 8, !tbaa !13
  %594 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %595 = load double, ptr %594, align 8, !tbaa !15
  %596 = load ptr, ptr %10, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.doublecomplex, ptr %596, i32 0, i32 1
  store double %595, ptr %597, align 8, !tbaa !15
  br label %766

598:                                              ; preds = %322
  %599 = load double, ptr %30, align 8, !tbaa !9
  %600 = load double, ptr %29, align 8, !tbaa !9
  %601 = fdiv double %599, %600
  %602 = fadd double %601, 1.000000e+00
  %603 = call double @sqrt(double noundef %602) #6
  store double %603, ptr %39, align 8, !tbaa !9
  %604 = load double, ptr %39, align 8, !tbaa !9
  %605 = getelementptr inbounds %struct.doublecomplex, ptr %36, i32 0, i32 0
  %606 = load double, ptr %605, align 8, !tbaa !13
  %607 = fmul double %604, %606
  store double %607, ptr %12, align 8, !tbaa !9
  %608 = load double, ptr %39, align 8, !tbaa !9
  %609 = call { double, double } @Cd(ptr noundef %36)
  %610 = extractvalue { double, double } %609, 0
  %611 = extractvalue { double, double } %609, 1
  %612 = fmul double %608, %611
  store double %612, ptr %13, align 8, !tbaa !9
  %613 = load double, ptr %12, align 8, !tbaa !9
  %614 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %613, ptr %614, align 8, !tbaa !13
  %615 = load double, ptr %13, align 8, !tbaa !9
  %616 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %615, ptr %616, align 8, !tbaa !15
  %617 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %618 = load double, ptr %617, align 8, !tbaa !13
  %619 = load ptr, ptr %10, align 8, !tbaa !5
  %620 = getelementptr inbounds %struct.doublecomplex, ptr %619, i32 0, i32 0
  store double %618, ptr %620, align 8, !tbaa !13
  %621 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %622 = load double, ptr %621, align 8, !tbaa !15
  %623 = load ptr, ptr %10, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.doublecomplex, ptr %623, i32 0, i32 1
  store double %622, ptr %624, align 8, !tbaa !15
  %625 = load double, ptr %39, align 8, !tbaa !9
  %626 = fdiv double 1.000000e+00, %625
  %627 = load ptr, ptr %8, align 8, !tbaa !5
  store double %626, ptr %627, align 8, !tbaa !9
  %628 = load double, ptr %29, align 8, !tbaa !9
  %629 = load double, ptr %30, align 8, !tbaa !9
  %630 = fadd double %628, %629
  store double %630, ptr %25, align 8, !tbaa !9
  %631 = load ptr, ptr %10, align 8, !tbaa !5
  %632 = getelementptr inbounds %struct.doublecomplex, ptr %631, i32 0, i32 0
  %633 = load double, ptr %632, align 8, !tbaa !13
  %634 = load double, ptr %25, align 8, !tbaa !9
  %635 = fdiv double %633, %634
  store double %635, ptr %12, align 8, !tbaa !9
  %636 = load ptr, ptr %10, align 8, !tbaa !5
  %637 = call { double, double } @Cd(ptr noundef %636)
  %638 = extractvalue { double, double } %637, 0
  %639 = extractvalue { double, double } %637, 1
  %640 = load double, ptr %25, align 8, !tbaa !9
  %641 = fdiv double %639, %640
  store double %641, ptr %13, align 8, !tbaa !9
  %642 = load double, ptr %12, align 8, !tbaa !9
  %643 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %642, ptr %643, align 8, !tbaa !13
  %644 = load double, ptr %13, align 8, !tbaa !9
  %645 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %644, ptr %645, align 8, !tbaa !15
  %646 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %647 = load double, ptr %646, align 8, !tbaa !13
  %648 = load ptr, ptr %9, align 8, !tbaa !5
  %649 = getelementptr inbounds %struct.doublecomplex, ptr %648, i32 0, i32 0
  store double %647, ptr %649, align 8, !tbaa !13
  %650 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %651 = load double, ptr %650, align 8, !tbaa !15
  %652 = load ptr, ptr %9, align 8, !tbaa !5
  %653 = getelementptr inbounds %struct.doublecomplex, ptr %652, i32 0, i32 1
  store double %651, ptr %653, align 8, !tbaa !15
  %654 = call { double, double } @Cd(ptr noundef %37)
  %655 = extractvalue { double, double } %654, 0
  %656 = extractvalue { double, double } %654, 1
  %657 = fneg double %656
  %658 = call ptr @_pCd(ptr noundef %23)
  %659 = getelementptr inbounds { double, double }, ptr %658, i32 0, i32 0
  %660 = getelementptr inbounds { double, double }, ptr %658, i32 0, i32 1
  store double %655, ptr %659, align 8
  store double %657, ptr %660, align 8
  %661 = load ptr, ptr %9, align 8, !tbaa !5
  %662 = getelementptr inbounds %struct.doublecomplex, ptr %661, i32 0, i32 0
  %663 = load double, ptr %662, align 8, !tbaa !13
  %664 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %665 = load double, ptr %664, align 8, !tbaa !13
  %666 = load ptr, ptr %9, align 8, !tbaa !5
  %667 = getelementptr inbounds %struct.doublecomplex, ptr %666, i32 0, i32 1
  %668 = load double, ptr %667, align 8, !tbaa !15
  %669 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %670 = load double, ptr %669, align 8, !tbaa !15
  %671 = fmul double %668, %670
  %672 = fneg double %671
  %673 = call double @llvm.fmuladd.f64(double %663, double %665, double %672)
  %674 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %673, ptr %674, align 8, !tbaa !13
  %675 = load ptr, ptr %9, align 8, !tbaa !5
  %676 = getelementptr inbounds %struct.doublecomplex, ptr %675, i32 0, i32 0
  %677 = load double, ptr %676, align 8, !tbaa !13
  %678 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 1
  %679 = load double, ptr %678, align 8, !tbaa !15
  %680 = load ptr, ptr %9, align 8, !tbaa !5
  %681 = getelementptr inbounds %struct.doublecomplex, ptr %680, i32 0, i32 1
  %682 = load double, ptr %681, align 8, !tbaa !15
  %683 = getelementptr inbounds %struct.doublecomplex, ptr %23, i32 0, i32 0
  %684 = load double, ptr %683, align 8, !tbaa !13
  %685 = fmul double %682, %684
  %686 = call double @llvm.fmuladd.f64(double %677, double %679, double %685)
  %687 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %686, ptr %687, align 8, !tbaa !15
  %688 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %689 = load double, ptr %688, align 8, !tbaa !13
  %690 = load ptr, ptr %9, align 8, !tbaa !5
  %691 = getelementptr inbounds %struct.doublecomplex, ptr %690, i32 0, i32 0
  store double %689, ptr %691, align 8, !tbaa !13
  %692 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %693 = load double, ptr %692, align 8, !tbaa !15
  %694 = load ptr, ptr %9, align 8, !tbaa !5
  %695 = getelementptr inbounds %struct.doublecomplex, ptr %694, i32 0, i32 1
  store double %693, ptr %695, align 8, !tbaa !15
  %696 = load i32, ptr %28, align 4, !tbaa !11
  %697 = icmp ne i32 %696, 0
  br i1 %697, label %698, label %765

698:                                              ; preds = %598
  %699 = load i32, ptr %28, align 4, !tbaa !11
  %700 = icmp sgt i32 %699, 0
  br i1 %700, label %701, label %732

701:                                              ; preds = %698
  %702 = load i32, ptr %28, align 4, !tbaa !11
  store i32 %702, ptr %11, align 4, !tbaa !11
  store i32 1, ptr %26, align 4, !tbaa !11
  br label %703

703:                                              ; preds = %728, %701
  %704 = load i32, ptr %26, align 4, !tbaa !11
  %705 = load i32, ptr %11, align 4, !tbaa !11
  %706 = icmp sle i32 %704, %705
  br i1 %706, label %707, label %731

707:                                              ; preds = %703
  %708 = load double, ptr %32, align 8, !tbaa !9
  %709 = load ptr, ptr %10, align 8, !tbaa !5
  %710 = getelementptr inbounds %struct.doublecomplex, ptr %709, i32 0, i32 0
  %711 = load double, ptr %710, align 8, !tbaa !13
  %712 = fmul double %708, %711
  %713 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %712, ptr %713, align 8, !tbaa !13
  %714 = load double, ptr %32, align 8, !tbaa !9
  %715 = load ptr, ptr %10, align 8, !tbaa !5
  %716 = getelementptr inbounds %struct.doublecomplex, ptr %715, i32 0, i32 1
  %717 = load double, ptr %716, align 8, !tbaa !15
  %718 = fmul double %714, %717
  %719 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %718, ptr %719, align 8, !tbaa !15
  %720 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %721 = load double, ptr %720, align 8, !tbaa !13
  %722 = load ptr, ptr %10, align 8, !tbaa !5
  %723 = getelementptr inbounds %struct.doublecomplex, ptr %722, i32 0, i32 0
  store double %721, ptr %723, align 8, !tbaa !13
  %724 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %725 = load double, ptr %724, align 8, !tbaa !15
  %726 = load ptr, ptr %10, align 8, !tbaa !5
  %727 = getelementptr inbounds %struct.doublecomplex, ptr %726, i32 0, i32 1
  store double %725, ptr %727, align 8, !tbaa !15
  br label %728

728:                                              ; preds = %707
  %729 = load i32, ptr %26, align 4, !tbaa !11
  %730 = add nsw i32 %729, 1
  store i32 %730, ptr %26, align 4, !tbaa !11
  br label %703, !llvm.loop !16

731:                                              ; preds = %703
  br label %764

732:                                              ; preds = %698
  %733 = load i32, ptr %28, align 4, !tbaa !11
  %734 = sub nsw i32 0, %733
  store i32 %734, ptr %11, align 4, !tbaa !11
  store i32 1, ptr %26, align 4, !tbaa !11
  br label %735

735:                                              ; preds = %760, %732
  %736 = load i32, ptr %26, align 4, !tbaa !11
  %737 = load i32, ptr %11, align 4, !tbaa !11
  %738 = icmp sle i32 %736, %737
  br i1 %738, label %739, label %763

739:                                              ; preds = %735
  %740 = load double, ptr %31, align 8, !tbaa !9
  %741 = load ptr, ptr %10, align 8, !tbaa !5
  %742 = getelementptr inbounds %struct.doublecomplex, ptr %741, i32 0, i32 0
  %743 = load double, ptr %742, align 8, !tbaa !13
  %744 = fmul double %740, %743
  %745 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  store double %744, ptr %745, align 8, !tbaa !13
  %746 = load double, ptr %31, align 8, !tbaa !9
  %747 = load ptr, ptr %10, align 8, !tbaa !5
  %748 = getelementptr inbounds %struct.doublecomplex, ptr %747, i32 0, i32 1
  %749 = load double, ptr %748, align 8, !tbaa !15
  %750 = fmul double %746, %749
  %751 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  store double %750, ptr %751, align 8, !tbaa !15
  %752 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 0
  %753 = load double, ptr %752, align 8, !tbaa !13
  %754 = load ptr, ptr %10, align 8, !tbaa !5
  %755 = getelementptr inbounds %struct.doublecomplex, ptr %754, i32 0, i32 0
  store double %753, ptr %755, align 8, !tbaa !13
  %756 = getelementptr inbounds %struct.doublecomplex, ptr %22, i32 0, i32 1
  %757 = load double, ptr %756, align 8, !tbaa !15
  %758 = load ptr, ptr %10, align 8, !tbaa !5
  %759 = getelementptr inbounds %struct.doublecomplex, ptr %758, i32 0, i32 1
  store double %757, ptr %759, align 8, !tbaa !15
  br label %760

760:                                              ; preds = %739
  %761 = load i32, ptr %26, align 4, !tbaa !11
  %762 = add nsw i32 %761, 1
  store i32 %762, ptr %26, align 4, !tbaa !11
  br label %735, !llvm.loop !18

763:                                              ; preds = %735
  br label %764

764:                                              ; preds = %763, %731
  br label %765

765:                                              ; preds = %764, %598
  br label %766

766:                                              ; preds = %765, %487
  store i32 1, ptr %43, align 4
  br label %767

767:                                              ; preds = %766, %337, %232
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret void
}

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

declare double @dlamch_(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden double @dpow_ui(double noundef, i32 noundef) #0

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

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

declare i32 @disnan_(ptr noundef) #2

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

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

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

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

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

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

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

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

@.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

; Function Attrs: nounwind uwtable
define dso_local void @zlartg_(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %struct.doublecomplex, align 16
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca %struct.doublecomplex, align 16
  %13 = alloca %struct.doublecomplex, align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %14 = tail call double @dlamch_(ptr noundef nonnull @.str) #9
  %15 = tail call double @dlamch_(ptr noundef nonnull @.str.1) #9
  %16 = tail call double @dlamch_(ptr noundef nonnull @.str.2) #9
  %17 = fdiv double %14, %15
  %18 = tail call double @log(double noundef %17) #9
  %19 = tail call double @dlamch_(ptr noundef nonnull @.str.2) #9
  %20 = tail call double @log(double noundef %19) #9
  %21 = fdiv double %18, %20
  %22 = fmul double %21, 5.000000e-01
  %23 = fptosi double %22 to i32
  %24 = tail call double @dpow_ui(double noundef %16, i32 noundef %23)
  %25 = fdiv double 1.000000e+00, %24
  %26 = load double, ptr %0, align 8, !tbaa !5
  %27 = tail call { double, double } @Cd(ptr noundef nonnull %0)
  %28 = extractvalue { double, double } %27, 1
  %29 = load double, ptr %1, align 8, !tbaa !5
  %30 = tail call { double, double } @Cd(ptr noundef nonnull %1)
  %31 = extractvalue { double, double } %30, 1
  %32 = insertelement <2 x double> poison, double %26, i64 0
  %33 = insertelement <2 x double> %32, double %29, i64 1
  %34 = fcmp oge <2 x double> %33, zeroinitializer
  %35 = fneg <2 x double> %33
  %36 = select <2 x i1> %34, <2 x double> %33, <2 x double> %35
  %37 = insertelement <2 x double> poison, double %28, i64 0
  %38 = insertelement <2 x double> %37, double %31, i64 1
  %39 = fcmp oge <2 x double> %38, zeroinitializer
  %40 = fneg <2 x double> %38
  %41 = select <2 x i1> %39, <2 x double> %38, <2 x double> %40
  %42 = fcmp oge <2 x double> %36, %41
  %43 = select <2 x i1> %42, <2 x double> %36, <2 x double> %41
  %44 = extractelement <2 x double> %43, i64 0
  %45 = extractelement <2 x double> %43, i64 1
  %46 = fcmp oge double %44, %45
  %47 = select i1 %46, double %44, double %45
  %48 = getelementptr inbounds i8, ptr %0, i64 8
  %49 = load <2 x double>, ptr %0, align 8, !tbaa !10
  store <2 x double> %49, ptr %12, align 16, !tbaa !10
  %50 = getelementptr inbounds i8, ptr %1, i64 8
  %51 = load <2 x double>, ptr %1, align 8, !tbaa !10
  store <2 x double> %51, ptr %13, align 16, !tbaa !10
  %52 = fcmp ult double %47, %25
  br i1 %52, label %63, label %.preheader204.preheader

.preheader204.preheader:                          ; preds = %5
  %53 = insertelement <2 x double> poison, double %24, i64 0
  %54 = shufflevector <2 x double> %53, <2 x double> poison, <2 x i32> zeroinitializer
  br label %.preheader204

.preheader204:                                    ; preds = %.preheader204.preheader, %.preheader204
  %.0190 = phi i32 [ %57, %.preheader204 ], [ 0, %.preheader204.preheader ]
  %.0188 = phi double [ %60, %.preheader204 ], [ %47, %.preheader204.preheader ]
  %55 = phi <2 x double> [ %58, %.preheader204 ], [ %49, %.preheader204.preheader ]
  %56 = phi <2 x double> [ %59, %.preheader204 ], [ %51, %.preheader204.preheader ]
  %57 = add nuw nsw i32 %.0190, 1
  %58 = fmul <2 x double> %54, %55
  %59 = fmul <2 x double> %54, %56
  %60 = fmul double %24, %.0188
  %61 = fcmp oge double %60, %25
  %62 = icmp ult i32 %.0190, 19
  %or.cond = select i1 %61, i1 %62, i1 false
  br i1 %or.cond, label %.preheader204, label %.sink.split

63:                                               ; preds = %5
  %64 = fcmp ugt double %47, %24
  %65 = extractelement <2 x double> %49, i64 0
  %66 = extractelement <2 x double> %51, i64 0
  br i1 %64, label %94, label %67

67:                                               ; preds = %63
  %68 = tail call { double, double } @Cd(ptr noundef nonnull %1)
  %69 = extractvalue { double, double } %68, 0
  %70 = extractvalue { double, double } %68, 1
  %71 = tail call double @cabs(double noundef %69, double noundef %70) #9
  store double %71, ptr %6, align 8, !tbaa !10
  %72 = load double, ptr %1, align 8, !tbaa !5
  %73 = fcmp oeq double %72, 0.000000e+00
  br i1 %73, label %74, label %77

74:                                               ; preds = %67
  %75 = load double, ptr %50, align 8, !tbaa !11
  %76 = fcmp oeq double %75, 0.000000e+00
  br i1 %76, label %81, label %77

77:                                               ; preds = %74, %67
  %78 = call i32 @disnan_(ptr noundef nonnull %6) #9
  %.not = icmp eq i32 %78, 0
  br i1 %.not, label %.preheader202.preheader, label %81

.preheader202.preheader:                          ; preds = %77
  %79 = insertelement <2 x double> poison, double %25, i64 0
  %80 = shufflevector <2 x double> %79, <2 x double> poison, <2 x i32> zeroinitializer
  br label %.preheader202

81:                                               ; preds = %77, %74
  store double 1.000000e+00, ptr %2, align 8, !tbaa !10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
  %82 = load <2 x double>, ptr %0, align 8, !tbaa !10
  store <2 x double> %82, ptr %4, align 8, !tbaa !10
  br label %.loopexit201

.preheader202:                                    ; preds = %.preheader202.preheader, %.preheader202
  %.1191 = phi i32 [ %85, %.preheader202 ], [ 0, %.preheader202.preheader ]
  %.1189 = phi double [ %88, %.preheader202 ], [ %47, %.preheader202.preheader ]
  %83 = phi <2 x double> [ %86, %.preheader202 ], [ %49, %.preheader202.preheader ]
  %84 = phi <2 x double> [ %87, %.preheader202 ], [ %51, %.preheader202.preheader ]
  %85 = add nsw i32 %.1191, -1
  %86 = fmul <2 x double> %80, %83
  %87 = fmul <2 x double> %80, %84
  %88 = fmul double %25, %.1189
  %89 = fcmp ugt double %88, %24
  br i1 %89, label %.sink.split, label %.preheader202

.sink.split:                                      ; preds = %.preheader204, %.preheader202
  %.2.ph = phi i32 [ %85, %.preheader202 ], [ %57, %.preheader204 ]
  %90 = phi <2 x double> [ %86, %.preheader202 ], [ %58, %.preheader204 ]
  %91 = phi <2 x double> [ %87, %.preheader202 ], [ %59, %.preheader204 ]
  store <2 x double> %90, ptr %12, align 16, !tbaa !10
  store <2 x double> %91, ptr %13, align 16, !tbaa !10
  %92 = extractelement <2 x double> %90, i64 0
  %93 = extractelement <2 x double> %91, i64 0
  br label %94

94:                                               ; preds = %.sink.split, %63
  %95 = phi double [ %66, %63 ], [ %93, %.sink.split ]
  %96 = phi double [ %65, %63 ], [ %92, %.sink.split ]
  %.2 = phi i32 [ 0, %63 ], [ %.2.ph, %.sink.split ]
  store double %96, ptr %6, align 8, !tbaa !10
  %97 = call { double, double } @Cd(ptr noundef nonnull %12)
  %98 = extractvalue { double, double } %97, 1
  %99 = load double, ptr %6, align 8, !tbaa !10
  %100 = fmul double %98, %98
  %101 = call double @llvm.fmuladd.f64(double %99, double %99, double %100)
  store double %95, ptr %6, align 8, !tbaa !10
  %102 = call { double, double } @Cd(ptr noundef nonnull %13)
  %103 = extractvalue { double, double } %102, 1
  store double %103, ptr %7, align 8, !tbaa !10
  %104 = load double, ptr %6, align 8, !tbaa !10
  %105 = fmul double %103, %103
  %106 = call double @llvm.fmuladd.f64(double %104, double %104, double %105)
  %107 = fcmp oge double %106, 1.000000e+00
  %108 = select i1 %107, double %106, double 1.000000e+00
  %109 = fmul double %14, %108
  %110 = fcmp ugt double %101, %109
  br i1 %110, label %212, label %111

111:                                              ; preds = %94
  %112 = load double, ptr %0, align 8, !tbaa !5
  %113 = fcmp oeq double %112, 0.000000e+00
  br i1 %113, label %114, label %135

114:                                              ; preds = %111
  %115 = load double, ptr %48, align 8, !tbaa !11
  %116 = fcmp oeq double %115, 0.000000e+00
  br i1 %116, label %117, label %135

117:                                              ; preds = %114
  store double 0.000000e+00, ptr %2, align 8, !tbaa !10
  %118 = load double, ptr %1, align 8, !tbaa !5
  store double %118, ptr %7, align 8, !tbaa !10
  %119 = call { double, double } @Cd(ptr noundef nonnull %1)
  %120 = extractvalue { double, double } %119, 1
  store double %120, ptr %8, align 8, !tbaa !10
  %121 = call double @dlapy2_(ptr noundef nonnull %7, ptr noundef nonnull %8) #9
  store double %121, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %4, i64 8
  store double 0.000000e+00, ptr %122, align 8, !tbaa !11
  %123 = load double, ptr %13, align 16, !tbaa !5
  store double %123, ptr %6, align 8, !tbaa !10
  %124 = call { double, double } @Cd(ptr noundef nonnull %13)
  %125 = extractvalue { double, double } %124, 1
  store double %125, ptr %7, align 8, !tbaa !10
  %126 = call double @dlapy2_(ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  %127 = load double, ptr %13, align 16, !tbaa !5
  %128 = fdiv double %127, %126
  store double %128, ptr %6, align 8, !tbaa !10
  %129 = call { double, double } @Cd(ptr noundef nonnull %13)
  %130 = extractvalue { double, double } %129, 1
  %131 = fneg double %130
  %132 = fdiv double %131, %126
  %133 = load double, ptr %6, align 8, !tbaa !10
  store double %133, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %3, i64 8
  store double %132, ptr %134, align 8, !tbaa !11
  br label %.loopexit201

135:                                              ; preds = %114, %111
  %136 = load double, ptr %12, align 16, !tbaa !5
  store double %136, ptr %6, align 8, !tbaa !10
  %137 = call { double, double } @Cd(ptr noundef nonnull %12)
  %138 = extractvalue { double, double } %137, 1
  store double %138, ptr %7, align 8, !tbaa !10
  %139 = call double @dlapy2_(ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  %sqrt = call double @llvm.sqrt.f64(double %106)
  %140 = fdiv double %139, %sqrt
  store double %140, ptr %2, align 8, !tbaa !10
  %141 = load double, ptr %0, align 8, !tbaa !5
  store double %141, ptr %6, align 8, !tbaa !10
  %142 = call { double, double } @Cd(ptr noundef nonnull %0)
  %143 = extractvalue { double, double } %142, 1
  store double %143, ptr %7, align 8, !tbaa !10
  %144 = insertelement <2 x double> poison, double %141, i64 0
  %145 = insertelement <2 x double> %144, double %143, i64 1
  %146 = fcmp oge <2 x double> %145, zeroinitializer
  %147 = fneg <2 x double> %145
  %148 = select <2 x i1> %146, <2 x double> %145, <2 x double> %147
  %149 = extractelement <2 x double> %148, i64 0
  %150 = extractelement <2 x double> %148, i64 1
  %151 = fcmp oge double %149, %150
  %152 = select i1 %151, double %149, double %150
  %153 = fcmp ogt double %152, 1.000000e+00
  %154 = load double, ptr %0, align 8, !tbaa !5
  br i1 %153, label %155, label %167

155:                                              ; preds = %135
  store double %154, ptr %6, align 8, !tbaa !10
  %156 = call { double, double } @Cd(ptr noundef nonnull %0)
  %157 = extractvalue { double, double } %156, 1
  store double %157, ptr %7, align 8, !tbaa !10
  %158 = call double @dlapy2_(ptr noundef nonnull %6, ptr noundef nonnull %7) #9
  %159 = load double, ptr %0, align 8, !tbaa !5
  %160 = fdiv double %159, %158
  store double %160, ptr %6, align 8, !tbaa !10
  %161 = call { double, double } @Cd(ptr noundef nonnull %0)
  %162 = extractvalue { double, double } %161, 1
  %163 = fdiv double %162, %158
  %164 = load double, ptr %6, align 8, !tbaa !10
  %165 = insertelement <2 x double> poison, double %164, i64 0
  %166 = insertelement <2 x double> %165, double %163, i64 1
  br label %180

167:                                              ; preds = %135
  %168 = fmul double %25, %154
  store double %168, ptr %11, align 8, !tbaa !10
  %169 = call { double, double } @Cd(ptr noundef nonnull %0)
  %170 = extractvalue { double, double } %169, 1
  %171 = fmul double %25, %170
  store double %171, ptr %10, align 8, !tbaa !10
  %172 = call double @dlapy2_(ptr noundef nonnull %11, ptr noundef nonnull %10) #9
  %173 = load double, ptr %11, align 8, !tbaa !10
  %174 = load double, ptr %10, align 8, !tbaa !10
  %175 = insertelement <2 x double> poison, double %173, i64 0
  %176 = insertelement <2 x double> %175, double %174, i64 1
  %177 = insertelement <2 x double> poison, double %172, i64 0
  %178 = shufflevector <2 x double> %177, <2 x double> poison, <2 x i32> zeroinitializer
  %179 = fdiv <2 x double> %176, %178
  br label %180

180:                                              ; preds = %167, %155
  %181 = phi <2 x double> [ %166, %155 ], [ %179, %167 ]
  %182 = extractelement <2 x double> %181, i64 1
  store double %182, ptr %7, align 8
  %183 = load double, ptr %13, align 16, !tbaa !5
  %184 = fdiv double %183, %sqrt
  store double %184, ptr %6, align 8, !tbaa !10
  %185 = call { double, double } @Cd(ptr noundef nonnull %13)
  %186 = extractvalue { double, double } %185, 1
  %187 = fneg double %186
  %188 = fdiv double %187, %sqrt
  %189 = load double, ptr %6, align 8, !tbaa !10
  %190 = fneg double %182
  %191 = insertelement <2 x double> %181, double %188, i64 0
  %192 = insertelement <2 x double> poison, double %190, i64 0
  %193 = insertelement <2 x double> %192, double %189, i64 1
  %194 = fmul <2 x double> %191, %193
  %195 = shufflevector <2 x double> %181, <2 x double> poison, <2 x i32> zeroinitializer
  %196 = shufflevector <2 x double> %193, <2 x double> %191, <2 x i32> <i32 1, i32 2>
  %197 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %195, <2 x double> %196, <2 x double> %194)
  store <2 x double> %197, ptr %3, align 8, !tbaa !10
  %198 = load double, ptr %2, align 8, !tbaa !10
  %199 = load <2 x double>, ptr %0, align 8, !tbaa !10
  %200 = insertelement <2 x double> poison, double %198, i64 0
  %201 = shufflevector <2 x double> %200, <2 x double> poison, <2 x i32> zeroinitializer
  %202 = fmul <2 x double> %201, %199
  %203 = load <2 x double>, ptr %1, align 8, !tbaa !10
  %204 = shufflevector <2 x double> %197, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %205 = fneg <2 x double> %197
  %206 = shufflevector <2 x double> %204, <2 x double> %205, <2 x i32> <i32 0, i32 3>
  %207 = fmul <2 x double> %203, %206
  %208 = shufflevector <2 x double> %207, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %209 = shufflevector <2 x double> %197, <2 x double> poison, <2 x i32> zeroinitializer
  %210 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %209, <2 x double> %203, <2 x double> %208)
  %211 = fadd <2 x double> %202, %210
  store <2 x double> %211, ptr %4, align 8, !tbaa !10
  br label %.loopexit201

212:                                              ; preds = %94
  %213 = fdiv double %106, %101
  %214 = fadd double %213, 1.000000e+00
  %sqrt200 = call double @llvm.sqrt.f64(double %214)
  %215 = load double, ptr %12, align 16, !tbaa !5
  %216 = fmul double %sqrt200, %215
  store double %216, ptr %6, align 8, !tbaa !10
  %217 = call { double, double } @Cd(ptr noundef nonnull %12)
  %218 = extractvalue { double, double } %217, 1
  %219 = fmul double %sqrt200, %218
  %220 = load double, ptr %6, align 8, !tbaa !10
  store double %220, ptr %4, align 8, !tbaa !5
  %221 = getelementptr inbounds i8, ptr %4, i64 8
  store double %219, ptr %221, align 8, !tbaa !11
  %222 = fdiv double 1.000000e+00, %sqrt200
  store double %222, ptr %2, align 8, !tbaa !10
  %223 = fadd double %101, %106
  %224 = load double, ptr %4, align 8, !tbaa !5
  %225 = fdiv double %224, %223
  store double %225, ptr %6, align 8, !tbaa !10
  %226 = call { double, double } @Cd(ptr noundef nonnull %4)
  %227 = extractvalue { double, double } %226, 1
  %228 = fdiv double %227, %223
  %229 = load double, ptr %6, align 8, !tbaa !10
  store double %229, ptr %3, align 8, !tbaa !5
  %230 = getelementptr inbounds i8, ptr %3, i64 8
  store double %228, ptr %230, align 8, !tbaa !11
  %231 = call { double, double } @Cd(ptr noundef nonnull %13)
  %232 = extractvalue { double, double } %231, 0
  %233 = extractvalue { double, double } %231, 1
  %234 = fneg double %233
  %235 = call ptr @_pCd(ptr noundef nonnull %9)
  %236 = getelementptr inbounds i8, ptr %235, i64 8
  store double %232, ptr %235, align 8
  store double %234, ptr %236, align 8
  %237 = load double, ptr %3, align 8, !tbaa !5
  %238 = load double, ptr %230, align 8, !tbaa !11
  %239 = fneg double %238
  %240 = load <2 x double>, ptr %9, align 16, !tbaa !10
  %241 = insertelement <2 x double> poison, double %238, i64 0
  %242 = insertelement <2 x double> %241, double %239, i64 1
  %243 = fmul <2 x double> %240, %242
  %244 = shufflevector <2 x double> %243, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %245 = insertelement <2 x double> poison, double %237, i64 0
  %246 = shufflevector <2 x double> %245, <2 x double> poison, <2 x i32> zeroinitializer
  %247 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %246, <2 x double> %240, <2 x double> %244)
  store <2 x double> %247, ptr %3, align 8, !tbaa !10
  %.not197 = icmp eq i32 %.2, 0
  br i1 %.not197, label %.loopexit201, label %248

248:                                              ; preds = %212
  %249 = icmp sgt i32 %.2, 0
  br i1 %249, label %.preheader, label %264

.preheader:                                       ; preds = %248
  %250 = load <2 x double>, ptr %4, align 8, !tbaa !10
  %251 = insertelement <2 x double> poison, double %25, i64 0
  %252 = shufflevector <2 x double> %251, <2 x double> poison, <2 x i32> zeroinitializer
  %xtraiter285 = and i32 %.2, 7
  %253 = icmp ult i32 %.2, 8
  br i1 %253, label %.loopexit.unr-lcssa, label %.preheader.new

.preheader.new:                                   ; preds = %.preheader
  %unroll_iter290 = and i32 %.2, 2147483640
  br label %254

254:                                              ; preds = %254, %.preheader.new
  %255 = phi <2 x double> [ %250, %.preheader.new ], [ %263, %254 ]
  %niter291 = phi i32 [ 0, %.preheader.new ], [ %niter291.next.7, %254 ]
  %256 = fmul <2 x double> %252, %255
  %257 = fmul <2 x double> %252, %256
  %258 = fmul <2 x double> %252, %257
  %259 = fmul <2 x double> %252, %258
  %260 = fmul <2 x double> %252, %259
  %261 = fmul <2 x double> %252, %260
  %262 = fmul <2 x double> %252, %261
  %263 = fmul <2 x double> %252, %262
  %niter291.next.7 = add i32 %niter291, 8
  %niter291.ncmp.7 = icmp eq i32 %niter291.next.7, %unroll_iter290
  br i1 %niter291.ncmp.7, label %.loopexit.unr-lcssa, label %254, !llvm.loop !12

264:                                              ; preds = %248
  %.not198222 = icmp sgt i32 %.2, -1
  br i1 %.not198222, label %.loopexit201, label %.lr.ph

.lr.ph:                                           ; preds = %264
  %265 = sub i32 0, %.2
  %266 = load <2 x double>, ptr %4, align 8, !tbaa !10
  %smax = call i32 @llvm.smax.i32(i32 %265, i32 1)
  %267 = insertelement <2 x double> poison, double %24, i64 0
  %268 = shufflevector <2 x double> %267, <2 x double> poison, <2 x i32> zeroinitializer
  %xtraiter = and i32 %smax, 7
  %269 = icmp slt i32 %265, 8
  br i1 %269, label %..loopexit201_crit_edge.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i32 %smax, 2147483640
  br label %270

270:                                              ; preds = %270, %.lr.ph.new
  %271 = phi <2 x double> [ %266, %.lr.ph.new ], [ %279, %270 ]
  %niter = phi i32 [ 0, %.lr.ph.new ], [ %niter.next.7, %270 ]
  %272 = fmul <2 x double> %268, %271
  %273 = fmul <2 x double> %268, %272
  %274 = fmul <2 x double> %268, %273
  %275 = fmul <2 x double> %268, %274
  %276 = fmul <2 x double> %268, %275
  %277 = fmul <2 x double> %268, %276
  %278 = fmul <2 x double> %268, %277
  %279 = fmul <2 x double> %268, %278
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %..loopexit201_crit_edge.unr-lcssa, label %270, !llvm.loop !14

.loopexit.unr-lcssa:                              ; preds = %254, %.preheader
  %.lcssa.ph = phi <2 x double> [ poison, %.preheader ], [ %263, %254 ]
  %.unr287 = phi <2 x double> [ %250, %.preheader ], [ %263, %254 ]
  %lcmp.mod288.not = icmp eq i32 %xtraiter285, 0
  br i1 %lcmp.mod288.not, label %.loopexit, label %.epil.preheader284

.epil.preheader284:                               ; preds = %.loopexit.unr-lcssa, %.epil.preheader284
  %280 = phi <2 x double> [ %281, %.epil.preheader284 ], [ %.unr287, %.loopexit.unr-lcssa ]
  %epil.iter286 = phi i32 [ %epil.iter286.next, %.epil.preheader284 ], [ 0, %.loopexit.unr-lcssa ]
  %281 = fmul <2 x double> %252, %280
  %epil.iter286.next = add i32 %epil.iter286, 1
  %epil.iter286.cmp.not = icmp eq i32 %epil.iter286.next, %xtraiter285
  br i1 %epil.iter286.cmp.not, label %.loopexit, label %.epil.preheader284, !llvm.loop !15

.loopexit:                                        ; preds = %.epil.preheader284, %.loopexit.unr-lcssa
  %.lcssa = phi <2 x double> [ %.lcssa.ph, %.loopexit.unr-lcssa ], [ %281, %.epil.preheader284 ]
  store <2 x double> %.lcssa, ptr %4, align 8, !tbaa !10
  br label %.loopexit201

..loopexit201_crit_edge.unr-lcssa:                ; preds = %270, %.lr.ph
  %.lcssa275.ph = phi <2 x double> [ poison, %.lr.ph ], [ %279, %270 ]
  %.unr = phi <2 x double> [ %266, %.lr.ph ], [ %279, %270 ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %..loopexit201_crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %..loopexit201_crit_edge.unr-lcssa, %.epil.preheader
  %282 = phi <2 x double> [ %283, %.epil.preheader ], [ %.unr, %..loopexit201_crit_edge.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.epil.preheader ], [ 0, %..loopexit201_crit_edge.unr-lcssa ]
  %283 = fmul <2 x double> %268, %282
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %..loopexit201_crit_edge, label %.epil.preheader, !llvm.loop !17

..loopexit201_crit_edge:                          ; preds = %.epil.preheader, %..loopexit201_crit_edge.unr-lcssa
  %.lcssa275 = phi <2 x double> [ %.lcssa275.ph, %..loopexit201_crit_edge.unr-lcssa ], [ %283, %.epil.preheader ]
  store <2 x double> %.lcssa275, ptr %4, align 8, !tbaa !10
  br label %.loopexit201

.loopexit201:                                     ; preds = %264, %..loopexit201_crit_edge, %.loopexit, %180, %212, %117, %81
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #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 double @dlamch_(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden double @dpow_ui(double noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nofree nounwind
declare double @cabs(double noundef, double noundef) local_unnamed_addr #5

declare i32 @disnan_(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #7

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { nofree 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !7, i64 0}
!6 = !{!"", !7, i64 0, !7, i64 8}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
!17 = distinct !{!17, !16}


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