; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/DP Level 3/Help Bob (bob2)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@d = external dso_local global [16 x [16 x double]], align 16
@p = external dso_local global [16 x double], align 16
@a = external dso_local global [16 x double], align 16
@dp = external dso_local global [65536 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %21

21:                                               ; preds = %223, %0
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %228

24:                                               ; preds = %21
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  br label %228

28:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %51, %28
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  store i32 4, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %54

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %47, %34
  %36 = load i32, ptr %5, align 4, !tbaa !5
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %50

40:                                               ; preds = %35
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %42
  %44 = load i32, ptr %5, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [16 x double], ptr %43, i64 0, i64 %45
  store double 1.000000e+00, ptr %46, align 8, !tbaa !9
  br label %47

47:                                               ; preds = %40
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %5, align 4, !tbaa !5
  br label %35, !llvm.loop !11

50:                                               ; preds = %39
  br label %51

51:                                               ; preds = %50
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %3, align 4, !tbaa !5
  br label %29, !llvm.loop !13

54:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %96, %54
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 10, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %99

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [16 x double], ptr @p, i64 0, i64 %62
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %63)
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [16 x double], ptr @a, i64 0, i64 %66
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 8 dereferenceable(8) %67)
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %92, %60
  %71 = load i32, ptr %8, align 4, !tbaa !5
  %72 = load i32, ptr %7, align 4, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 13, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %95

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %78 = load i32, ptr %9, align 4, !tbaa !5
  %79 = add nsw i32 %78, -1
  store i32 %79, ptr %9, align 4, !tbaa !5
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = sub nsw i32 100, %80
  %82 = sitofp i32 %81 to double
  %83 = fmul double %82, 1.000000e-02
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %85
  %87 = load i32, ptr %9, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [16 x double], ptr %86, i64 0, i64 %88
  %90 = load double, ptr %89, align 8, !tbaa !9
  %91 = fmul double %90, %83
  store double %91, ptr %89, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %92

92:                                               ; preds = %75
  %93 = load i32, ptr %8, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %8, align 4, !tbaa !5
  br label %70, !llvm.loop !14

95:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %6, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %6, align 4, !tbaa !5
  br label %55, !llvm.loop !15

99:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store double 1.000000e+20, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %100 = load i32, ptr %2, align 4, !tbaa !5
  %101 = shl i32 1, %100
  store i32 %101, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %112, %99
  %103 = load i32, ptr %13, align 4, !tbaa !5
  %104 = load i32, ptr %12, align 4, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  store i32 16, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %115

107:                                              ; preds = %102
  %108 = load double, ptr %11, align 8, !tbaa !9
  %109 = load i32, ptr %13, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %110
  store double %108, ptr %111, align 8, !tbaa !9
  br label %112

112:                                              ; preds = %107
  %113 = load i32, ptr %13, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %13, align 4, !tbaa !5
  br label %102, !llvm.loop !16

115:                                              ; preds = %106
  store double 0.000000e+00, ptr @dp, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %220, %115
  %117 = load i32, ptr %14, align 4, !tbaa !5
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  store i32 19, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %223

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %200, %121
  %123 = load i32, ptr %16, align 4, !tbaa !5
  %124 = load i32, ptr %2, align 4, !tbaa !5
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 22, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %203

127:                                              ; preds = %122
  %128 = load i32, ptr %14, align 4, !tbaa !5
  %129 = load i32, ptr %16, align 4, !tbaa !5
  %130 = shl i32 1, %129
  %131 = and i32 %128, %130
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %140

133:                                              ; preds = %127
  %134 = load i32, ptr %16, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [16 x double], ptr @a, i64 0, i64 %135
  %137 = load double, ptr %136, align 8, !tbaa !9
  %138 = load double, ptr %15, align 8, !tbaa !9
  %139 = fadd double %138, %137
  store double %139, ptr %15, align 8, !tbaa !9
  br label %199

140:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %141 = load i32, ptr %16, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [16 x double], ptr @p, i64 0, i64 %142
  %144 = load double, ptr %143, align 8, !tbaa !9
  store double %144, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %167, %140
  %146 = load i32, ptr %18, align 4, !tbaa !5
  %147 = load i32, ptr %2, align 4, !tbaa !5
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %145
  store i32 25, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %170

150:                                              ; preds = %145
  %151 = load i32, ptr %14, align 4, !tbaa !5
  %152 = load i32, ptr %18, align 4, !tbaa !5
  %153 = shl i32 1, %152
  %154 = and i32 %151, %153
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %166

156:                                              ; preds = %150
  %157 = load i32, ptr %18, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %158
  %160 = load i32, ptr %16, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [16 x double], ptr %159, i64 0, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !9
  %164 = load double, ptr %17, align 8, !tbaa !9
  %165 = fmul double %164, %163
  store double %165, ptr %17, align 8, !tbaa !9
  br label %166

166:                                              ; preds = %156, %150
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %18, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %18, align 4, !tbaa !5
  br label %145, !llvm.loop !17

170:                                              ; preds = %149
  %171 = load i32, ptr %14, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %172
  %174 = load double, ptr %173, align 8, !tbaa !9
  %175 = load double, ptr %17, align 8, !tbaa !9
  %176 = fadd double %174, %175
  %177 = load i32, ptr %14, align 4, !tbaa !5
  %178 = load i32, ptr %16, align 4, !tbaa !5
  %179 = shl i32 1, %178
  %180 = or i32 %177, %179
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !9
  %184 = fcmp olt double %176, %183
  br i1 %184, label %185, label %198

185:                                              ; preds = %170
  %186 = load i32, ptr %14, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %187
  %189 = load double, ptr %188, align 8, !tbaa !9
  %190 = load double, ptr %17, align 8, !tbaa !9
  %191 = fadd double %189, %190
  %192 = load i32, ptr %14, align 4, !tbaa !5
  %193 = load i32, ptr %16, align 4, !tbaa !5
  %194 = shl i32 1, %193
  %195 = or i32 %192, %194
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %196
  store double %191, ptr %197, align 8, !tbaa !9
  br label %198

198:                                              ; preds = %185, %170
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %199

199:                                              ; preds = %198, %133
  br label %200

200:                                              ; preds = %199
  %201 = load i32, ptr %16, align 4, !tbaa !5
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %16, align 4, !tbaa !5
  br label %122, !llvm.loop !18

203:                                              ; preds = %126
  %204 = load i32, ptr %14, align 4, !tbaa !5
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %219

206:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %207 = load i32, ptr %14, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %208
  %210 = load double, ptr %209, align 8, !tbaa !9
  %211 = load double, ptr %15, align 8, !tbaa !9
  %212 = fdiv double %210, %211
  store double %212, ptr %19, align 8, !tbaa !9
  %213 = load double, ptr %19, align 8, !tbaa !9
  %214 = load double, ptr %11, align 8, !tbaa !9
  %215 = fcmp olt double %213, %214
  br i1 %215, label %216, label %218

216:                                              ; preds = %206
  %217 = load double, ptr %19, align 8, !tbaa !9
  store double %217, ptr %11, align 8, !tbaa !9
  br label %218

218:                                              ; preds = %216, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %219

219:                                              ; preds = %218, %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %14, align 4, !tbaa !5
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %14, align 4, !tbaa !5
  br label %116, !llvm.loop !19

223:                                              ; preds = %120
  %224 = load double, ptr %11, align 8, !tbaa !9
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %224)
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %227 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %21, !llvm.loop !20

228:                                              ; preds = %27, %21
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %229 = load i32, ptr %1, align 4
  ret i32 %229
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@d = external dso_local local_unnamed_addr global [16 x [16 x double]], align 16
@p = external dso_local global [16 x double], align 16
@a = external dso_local global [16 x double], align 16
@dp = external dso_local local_unnamed_addr global [65536 x double], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %6 = load i32, ptr %1, align 4
  %7 = icmp eq i32 %6, 0
  br i1 %7, label %._crit_edge97, label %.preheader71

.preheader71:                                     ; preds = %0, %._crit_edge95
  %8 = phi i32 [ %93, %._crit_edge95 ], [ %6, %0 ]
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.preheader69.us.preheader, label %.lr.ph80.preheader

.preheader69.us.preheader:                        ; preds = %.preheader71
  %wide.trip.count105 = zext nneg i32 %8 to i64
  %min.iters.check141 = icmp ult i32 %8, 4
  %n.vec144 = and i64 %wide.trip.count105, 2147483644
  %cmp.n149 = icmp eq i64 %n.vec144, %wide.trip.count105
  br label %.preheader69.us

.preheader69.us:                                  ; preds = %.preheader69.us.preheader, %._crit_edge.us
  %indvars.iv102 = phi i64 [ 0, %.preheader69.us.preheader ], [ %indvars.iv.next103, %._crit_edge.us ]
  br i1 %min.iters.check141, label %scalar.ph140.preheader, label %vector.body146

vector.body146:                                   ; preds = %.preheader69.us, %vector.body146
  %index147 = phi i64 [ %index.next148, %vector.body146 ], [ 0, %.preheader69.us ]
  %10 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %indvars.iv102, i64 %index147
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %10, align 16, !tbaa !5
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %11, align 16, !tbaa !5
  %index.next148 = add nuw i64 %index147, 4
  %12 = icmp eq i64 %index.next148, %n.vec144
  br i1 %12, label %middle.block139, label %vector.body146, !llvm.loop !9

middle.block139:                                  ; preds = %vector.body146
  br i1 %cmp.n149, label %._crit_edge.us, label %scalar.ph140.preheader

scalar.ph140.preheader:                           ; preds = %middle.block139, %.preheader69.us
  %indvars.iv.ph = phi i64 [ 0, %.preheader69.us ], [ %n.vec144, %middle.block139 ]
  br label %scalar.ph140

scalar.ph140:                                     ; preds = %scalar.ph140.preheader, %scalar.ph140
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph140 ], [ %indvars.iv.ph, %scalar.ph140.preheader ]
  %13 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %indvars.iv102, i64 %indvars.iv
  store double 1.000000e+00, ptr %13, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count105
  br i1 %exitcond.not, label %._crit_edge.us, label %scalar.ph140, !llvm.loop !13

._crit_edge.us:                                   ; preds = %scalar.ph140, %middle.block139
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %exitcond106.not = icmp eq i64 %indvars.iv.next103, %wide.trip.count105
  br i1 %exitcond106.not, label %.preheader70, label %.preheader69.us, !llvm.loop !14

.preheader70:                                     ; preds = %._crit_edge.us
  br i1 %9, label %.lr.ph76, label %.lr.ph80.preheader

._crit_edge77:                                    ; preds = %._crit_edge
  %.not98 = icmp eq i32 %25, 31
  br i1 %.not98, label %._crit_edge81.thread, label %.lr.ph80.preheader

._crit_edge81.thread:                             ; preds = %._crit_edge77
  store double 0.000000e+00, ptr @dp, align 16, !tbaa !5
  br label %._crit_edge95

.lr.ph80.preheader:                               ; preds = %.preheader71, %.preheader70, %._crit_edge77
  %.lcssa133 = phi i32 [ %25, %._crit_edge77 ], [ %8, %.preheader70 ], [ %8, %.preheader71 ]
  %14 = shl nuw nsw i32 1, %.lcssa133
  %wide.trip.count113 = zext nneg i32 %14 to i64
  %min.iters.check = icmp ult i32 %.lcssa133, 2
  br i1 %min.iters.check, label %.lr.ph80, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph80.preheader
  %n.vec = and i64 %wide.trip.count113, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %15 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %index
  %16 = getelementptr inbounds i8, ptr %15, i64 16
  store <2 x double> <double 1.000000e+20, double 1.000000e+20>, ptr %15, align 16, !tbaa !5
  store <2 x double> <double 1.000000e+20, double 1.000000e+20>, ptr %16, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %17 = icmp eq i64 %index.next, %n.vec
  br i1 %17, label %._crit_edge81, label %vector.body, !llvm.loop !15

.lr.ph76:                                         ; preds = %.preheader70, %._crit_edge
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %._crit_edge ], [ 0, %.preheader70 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %18 = getelementptr inbounds [16 x double], ptr @p, i64 0, i64 %indvars.iv107
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %20 = getelementptr inbounds [16 x double], ptr @a, i64 0, i64 %indvars.iv107
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %23 = load i32, ptr %2, align 4, !tbaa !16
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph76
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %25 = load i32, ptr %1, align 4, !tbaa !16
  %26 = sext i32 %25 to i64
  %27 = icmp slt i64 %indvars.iv.next108, %26
  br i1 %27, label %.lr.ph76, label %._crit_edge77, !llvm.loop !18

.lr.ph:                                           ; preds = %.lr.ph76, %.lr.ph
  %.06074 = phi i32 [ %40, %.lr.ph ], [ 0, %.lr.ph76 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %30 = load i32, ptr %3, align 4, !tbaa !16
  %31 = add nsw i32 %30, -1
  %32 = load i32, ptr %4, align 4, !tbaa !16
  %33 = sub nsw i32 100, %32
  %34 = sitofp i32 %33 to double
  %35 = fmul double %34, 1.000000e-02
  %36 = sext i32 %31 to i64
  %37 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %indvars.iv107, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !5
  %39 = fmul double %38, %35
  store double %39, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  %40 = add nuw nsw i32 %.06074, 1
  %41 = load i32, ptr %2, align 4, !tbaa !16
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %.lr.ph, label %._crit_edge, !llvm.loop !19

._crit_edge81:                                    ; preds = %vector.body, %.lr.ph80
  store double 0.000000e+00, ptr @dp, align 16, !tbaa !5
  %43 = icmp sgt i32 %.lcssa133, 0
  %wide.trip.count129 = zext nneg i32 %14 to i64
  %wide.trip.count123 = zext i32 %.lcssa133 to i64
  %xtraiter = and i64 %wide.trip.count123, 1
  %44 = icmp eq i32 %.lcssa133, 1
  %unroll_iter = and i64 %wide.trip.count123, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader

.lr.ph80:                                         ; preds = %.lr.ph80.preheader, %.lr.ph80
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %.lr.ph80 ], [ 0, %.lr.ph80.preheader ]
  %45 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %indvars.iv110
  store double 1.000000e+20, ptr %45, align 8, !tbaa !5
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %exitcond114.not = icmp eq i64 %indvars.iv.next111, %wide.trip.count113
  br i1 %exitcond114.not, label %._crit_edge81, label %.lr.ph80, !llvm.loop !20

.preheader:                                       ; preds = %._crit_edge81, %100
  %indvars.iv125 = phi i64 [ 0, %._crit_edge81 ], [ %indvars.iv.next126, %100 ]
  %.05893 = phi double [ 1.000000e+20, %._crit_edge81 ], [ %.2, %100 ]
  br i1 %43, label %.lr.ph90, label %._crit_edge91.split.us

.lr.ph90:                                         ; preds = %.preheader
  %46 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %indvars.iv125
  %47 = trunc nuw nsw i64 %indvars.iv125 to i32
  br label %48

48:                                               ; preds = %59, %.lr.ph90
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %59 ], [ 0, %.lr.ph90 ]
  %.05388.us = phi double [ %.154.us, %59 ], [ 0.000000e+00, %.lr.ph90 ]
  %49 = trunc nuw nsw i64 %indvars.iv120 to i32
  %50 = shl nuw i32 1, %49
  %51 = and i32 %50, %47
  %.not67.us = icmp eq i32 %51, 0
  br i1 %.not67.us, label %.lr.ph85.us, label %52

52:                                               ; preds = %48
  %53 = getelementptr inbounds [16 x double], ptr @a, i64 0, i64 %indvars.iv120
  %54 = load double, ptr %53, align 8, !tbaa !5
  %55 = fadd double %.05388.us, %54
  br label %59

.lr.ph85.us:                                      ; preds = %48
  %56 = getelementptr inbounds [16 x double], ptr @p, i64 0, i64 %indvars.iv120
  %57 = load double, ptr %56, align 8, !tbaa !5
  br i1 %44, label %._crit_edge86.us.unr-lcssa, label %.lr.ph85.us.new

58:                                               ; preds = %._crit_edge86.us
  store double %84, ptr %87, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %58, %._crit_edge86.us, %52
  %.154.us = phi double [ %55, %52 ], [ %.05388.us, %58 ], [ %.05388.us, %._crit_edge86.us ]
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %exitcond124.not = icmp eq i64 %indvars.iv.next121, %wide.trip.count123
  br i1 %exitcond124.not, label %._crit_edge91.split.us, label %48, !llvm.loop !21

.lr.ph85.us.new:                                  ; preds = %.lr.ph85.us, %75
  %indvars.iv115 = phi i64 [ %indvars.iv.next116.1, %75 ], [ 0, %.lr.ph85.us ]
  %.05182.us = phi double [ %.1.us.1, %75 ], [ %57, %.lr.ph85.us ]
  %niter = phi i64 [ %niter.next.1, %75 ], [ 0, %.lr.ph85.us ]
  %60 = trunc nuw nsw i64 %indvars.iv115 to i32
  %61 = shl nuw i32 1, %60
  %62 = and i32 %61, %47
  %.not68.us = icmp eq i32 %62, 0
  br i1 %.not68.us, label %67, label %63

63:                                               ; preds = %.lr.ph85.us.new
  %64 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %indvars.iv115, i64 %indvars.iv120
  %65 = load double, ptr %64, align 8, !tbaa !5
  %66 = fmul double %.05182.us, %65
  br label %67

67:                                               ; preds = %63, %.lr.ph85.us.new
  %.1.us = phi double [ %66, %63 ], [ %.05182.us, %.lr.ph85.us.new ]
  %indvars.iv.next116 = or disjoint i64 %indvars.iv115, 1
  %68 = trunc nuw nsw i64 %indvars.iv.next116 to i32
  %69 = shl nuw i32 1, %68
  %70 = and i32 %69, %47
  %.not68.us.1 = icmp eq i32 %70, 0
  br i1 %.not68.us.1, label %75, label %71

71:                                               ; preds = %67
  %72 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %indvars.iv.next116, i64 %indvars.iv120
  %73 = load double, ptr %72, align 8, !tbaa !5
  %74 = fmul double %.1.us, %73
  br label %75

75:                                               ; preds = %71, %67
  %.1.us.1 = phi double [ %74, %71 ], [ %.1.us, %67 ]
  %indvars.iv.next116.1 = add nuw nsw i64 %indvars.iv115, 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 %._crit_edge86.us.unr-lcssa, label %.lr.ph85.us.new, !llvm.loop !22

._crit_edge86.us.unr-lcssa:                       ; preds = %75, %.lr.ph85.us
  %.1.us.lcssa.ph = phi double [ poison, %.lr.ph85.us ], [ %.1.us.1, %75 ]
  %indvars.iv115.unr = phi i64 [ 0, %.lr.ph85.us ], [ %indvars.iv.next116.1, %75 ]
  %.05182.us.unr = phi double [ %57, %.lr.ph85.us ], [ %.1.us.1, %75 ]
  br i1 %lcmp.mod.not, label %._crit_edge86.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge86.us.unr-lcssa
  %76 = trunc nuw nsw i64 %indvars.iv115.unr to i32
  %77 = shl nuw i32 1, %76
  %78 = and i32 %77, %47
  %.not68.us.epil = icmp eq i32 %78, 0
  br i1 %.not68.us.epil, label %._crit_edge86.us, label %79

79:                                               ; preds = %.epil.preheader
  %80 = getelementptr inbounds [16 x [16 x double]], ptr @d, i64 0, i64 %indvars.iv115.unr, i64 %indvars.iv120
  %81 = load double, ptr %80, align 8, !tbaa !5
  %82 = fmul double %.05182.us.unr, %81
  br label %._crit_edge86.us

._crit_edge86.us:                                 ; preds = %.epil.preheader, %79, %._crit_edge86.us.unr-lcssa
  %.1.us.lcssa = phi double [ %.1.us.lcssa.ph, %._crit_edge86.us.unr-lcssa ], [ %82, %79 ], [ %.05182.us.unr, %.epil.preheader ]
  %83 = load double, ptr %46, align 8, !tbaa !5
  %84 = fadd double %.1.us.lcssa, %83
  %85 = or i32 %50, %47
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !5
  %89 = fcmp olt double %84, %88
  br i1 %89, label %58, label %59

._crit_edge95:                                    ; preds = %100, %._crit_edge81.thread
  %.058.lcssa = phi double [ 1.000000e+20, %._crit_edge81.thread ], [ %.2, %100 ]
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.058.lcssa)
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %93 = load i32, ptr %1, align 4
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %._crit_edge97, label %.preheader71, !llvm.loop !23

._crit_edge91.split.us:                           ; preds = %59, %.preheader
  %.053.lcssa = phi double [ 0.000000e+00, %.preheader ], [ %.154.us, %59 ]
  %.not = icmp eq i64 %indvars.iv125, 0
  br i1 %.not, label %100, label %95

95:                                               ; preds = %._crit_edge91.split.us
  %96 = getelementptr inbounds [65536 x double], ptr @dp, i64 0, i64 %indvars.iv125
  %97 = load double, ptr %96, align 8, !tbaa !5
  %98 = fdiv double %97, %.053.lcssa
  %99 = fcmp olt double %98, %.05893
  %.159 = select i1 %99, double %98, double %.05893
  br label %100

100:                                              ; preds = %95, %._crit_edge91.split.us
  %.2 = phi double [ %.159, %95 ], [ %.05893, %._crit_edge91.split.us ]
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %exitcond130.not = icmp eq i64 %indvars.iv.next126, %wide.trip.count129
  br i1 %exitcond130.not, label %._crit_edge95, label %.preheader, !llvm.loop !24

._crit_edge97:                                    ; preds = %._crit_edge95, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 0
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) 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: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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


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