; LLVM IR from Tunghohin/Competitive_Coding :: Daimayuan (201)

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

@a = external dso_local global [510 x i32], align 16
@s = external dso_local global [510 x i32], align 16
@dp = external dso_local global [510 x [510 x i64]], 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 i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %15 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %16 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %18
  %20 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %19, ptr noundef null)
  %21 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %22 = getelementptr i8, ptr %21, i64 -24
  %23 = load i64, ptr %22, align 8
  %24 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %23
  %25 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %24, ptr noundef null)
  call void @llvm.memset.p0.i64(ptr align 16 @dp, i8 63, i64 2080800, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  %26 = 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.start.p0(i64 4, ptr %3) #8
  store i32 1, ptr %3, align 4, !tbaa !8
  br label %27

27:                                               ; preds = %37, %0
  %28 = load i32, ptr %3, align 4, !tbaa !8
  %29 = load i32, ptr %2, align 4, !tbaa !8
  %30 = icmp sle i32 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %40

32:                                               ; preds = %27
  %33 = load i32, ptr %3, align 4, !tbaa !8
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %34
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %35)
  br label %37

37:                                               ; preds = %32
  %38 = load i32, ptr %3, align 4, !tbaa !8
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %3, align 4, !tbaa !8
  br label %27, !llvm.loop !11

40:                                               ; preds = %31
  %41 = load i32, ptr %2, align 4, !tbaa !8
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !8
  store i32 %44, ptr @a, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 1, ptr %4, align 4, !tbaa !8
  br label %45

45:                                               ; preds = %67, %40
  %46 = load i32, ptr %4, align 4, !tbaa !8
  %47 = load i32, ptr %2, align 4, !tbaa !8
  %48 = mul nsw i32 2, %47
  %49 = icmp sle i32 %46, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %70

51:                                               ; preds = %45
  %52 = load i32, ptr %4, align 4, !tbaa !8
  %53 = sub nsw i32 %52, 1
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !8
  %57 = load i32, ptr %4, align 4, !tbaa !8
  %58 = load i32, ptr %2, align 4, !tbaa !8
  %59 = srem i32 %57, %58
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !8
  %63 = add nsw i32 %56, %62
  %64 = load i32, ptr %4, align 4, !tbaa !8
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %65
  store i32 %63, ptr %66, align 4, !tbaa !8
  br label %67

67:                                               ; preds = %51
  %68 = load i32, ptr %4, align 4, !tbaa !8
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %4, align 4, !tbaa !8
  br label %45, !llvm.loop !13

70:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 1, ptr %5, align 4, !tbaa !8
  br label %71

71:                                               ; preds = %84, %70
  %72 = load i32, ptr %5, align 4, !tbaa !8
  %73 = load i32, ptr %2, align 4, !tbaa !8
  %74 = mul nsw i32 2, %73
  %75 = icmp sle i32 %72, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %87

77:                                               ; preds = %71
  %78 = load i32, ptr %5, align 4, !tbaa !8
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %79
  %81 = load i32, ptr %5, align 4, !tbaa !8
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [510 x i64], ptr %80, i64 0, i64 %82
  store i64 0, ptr %83, align 8, !tbaa !14
  br label %84

84:                                               ; preds = %77
  %85 = load i32, ptr %5, align 4, !tbaa !8
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %5, align 4, !tbaa !8
  br label %71, !llvm.loop !16

87:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 1, ptr %6, align 4, !tbaa !8
  br label %88

88:                                               ; preds = %172, %87
  %89 = load i32, ptr %6, align 4, !tbaa !8
  %90 = load i32, ptr %2, align 4, !tbaa !8
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %175

93:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 1, ptr %8, align 4, !tbaa !8
  br label %94

94:                                               ; preds = %168, %93
  %95 = load i32, ptr %8, align 4, !tbaa !8
  %96 = load i32, ptr %2, align 4, !tbaa !8
  %97 = mul nsw i32 2, %96
  %98 = icmp sle i32 %95, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %94
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %171

100:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %101 = load i32, ptr %8, align 4, !tbaa !8
  store i32 %101, ptr %9, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %102 = load i32, ptr %8, align 4, !tbaa !8
  %103 = load i32, ptr %6, align 4, !tbaa !8
  %104 = add nsw i32 %102, %103
  store i32 %104, ptr %10, align 4, !tbaa !8
  %105 = load i32, ptr %10, align 4, !tbaa !8
  %106 = load i32, ptr %2, align 4, !tbaa !8
  %107 = mul nsw i32 2, %106
  %108 = icmp sgt i32 %105, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %100
  store i32 16, ptr %7, align 4
  br label %165

110:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %111 = load i32, ptr %9, align 4, !tbaa !8
  store i32 %111, ptr %11, align 4, !tbaa !8
  br label %112

112:                                              ; preds = %161, %110
  %113 = load i32, ptr %11, align 4, !tbaa !8
  %114 = load i32, ptr %10, align 4, !tbaa !8
  %115 = icmp slt i32 %113, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %112
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %164

117:                                              ; preds = %112
  %118 = load i32, ptr %9, align 4, !tbaa !8
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %119
  %121 = load i32, ptr %10, align 4, !tbaa !8
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [510 x i64], ptr %120, i64 0, i64 %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %124 = load i32, ptr %9, align 4, !tbaa !8
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %125
  %127 = load i32, ptr %11, align 4, !tbaa !8
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [510 x i64], ptr %126, i64 0, i64 %128
  %130 = load i64, ptr %129, align 8, !tbaa !14
  %131 = load i32, ptr %11, align 4, !tbaa !8
  %132 = add nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %133
  %135 = load i32, ptr %10, align 4, !tbaa !8
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [510 x i64], ptr %134, i64 0, i64 %136
  %138 = load i64, ptr %137, align 8, !tbaa !14
  %139 = add nsw i64 %130, %138
  %140 = load i32, ptr %10, align 4, !tbaa !8
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !8
  %144 = sext i32 %143 to i64
  %145 = add nsw i64 %139, %144
  %146 = load i32, ptr %9, align 4, !tbaa !8
  %147 = sub nsw i32 %146, 1
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %148
  %150 = load i32, ptr %149, align 4, !tbaa !8
  %151 = sext i32 %150 to i64
  %152 = sub nsw i64 %145, %151
  store i64 %152, ptr %12, align 8, !tbaa !14
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %154 = load i64, ptr %153, align 8, !tbaa !14
  %155 = load i32, ptr %9, align 4, !tbaa !8
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %156
  %158 = load i32, ptr %10, align 4, !tbaa !8
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [510 x i64], ptr %157, i64 0, i64 %159
  store i64 %154, ptr %160, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %161

161:                                              ; preds = %117
  %162 = load i32, ptr %11, align 4, !tbaa !8
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %11, align 4, !tbaa !8
  br label %112, !llvm.loop !17

164:                                              ; preds = %116
  store i32 0, ptr %7, align 4
  br label %165

165:                                              ; preds = %164, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  %166 = load i32, ptr %7, align 4
  switch i32 %166, label %201 [
    i32 0, label %167
    i32 16, label %168
  ]

167:                                              ; preds = %165
  br label %168

168:                                              ; preds = %167, %165
  %169 = load i32, ptr %8, align 4, !tbaa !8
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %8, align 4, !tbaa !8
  br label %94, !llvm.loop !18

171:                                              ; preds = %99
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr %6, align 4, !tbaa !8
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %6, align 4, !tbaa !8
  br label %88, !llvm.loop !19

175:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 4557430888798830399, ptr %13, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 1, ptr %14, align 4, !tbaa !8
  br label %176

176:                                              ; preds = %193, %175
  %177 = load i32, ptr %14, align 4, !tbaa !8
  %178 = load i32, ptr %2, align 4, !tbaa !8
  %179 = icmp sle i32 %177, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %176
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %196

181:                                              ; preds = %176
  %182 = load i32, ptr %14, align 4, !tbaa !8
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %183
  %185 = load i32, ptr %14, align 4, !tbaa !8
  %186 = load i32, ptr %2, align 4, !tbaa !8
  %187 = add nsw i32 %185, %186
  %188 = sub nsw i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [510 x i64], ptr %184, i64 0, i64 %189
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %192 = load i64, ptr %191, align 8, !tbaa !14
  store i64 %192, ptr %13, align 8, !tbaa !14
  br label %193

193:                                              ; preds = %181
  %194 = load i32, ptr %14, align 4, !tbaa !8
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %14, align 4, !tbaa !8
  br label %176, !llvm.loop !20

196:                                              ; preds = %180
  %197 = load i64, ptr %13, align 8, !tbaa !14
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %197)
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %198, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %200 = load i32, ptr %1, align 4
  ret i32 %200

201:                                              ; preds = %165
  unreachable
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #7 align 2

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

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

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

@a = external dso_local global [510 x i32], align 16
@s = external dso_local local_unnamed_addr global [510 x i32], align 16
@dp = external dso_local global [510 x [510 x i64]], 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 i64, align 8
  %3 = alloca i64, align 8
  %4 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %5 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %6 = getelementptr i8, ptr %5, i64 -24
  %7 = load i64, ptr %6, align 8
  %8 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %7
  %9 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %8, ptr noundef null)
  %10 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %11 = getelementptr i8, ptr %10, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %12
  %14 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef null)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(2080800) @dp, i8 63, i64 2080800, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  %15 = 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)
  %16 = load i32, ptr %1, align 4, !tbaa !8
  %.not57 = icmp slt i32 %16, 1
  br i1 %.not57, label %._crit_edge.thread, label %.lr.ph

._crit_edge.thread:                               ; preds = %0
  %.pre116 = sext i32 %16 to i64
  %17 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %.pre116
  %18 = load i32, ptr %17, align 4, !tbaa !8
  store i32 %18, ptr @a, align 16, !tbaa !8
  br label %._crit_edge73.thread

._crit_edge:                                      ; preds = %.lr.ph
  %19 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %27
  %20 = load i32, ptr %19, align 4, !tbaa !8
  store i32 %20, ptr @a, align 16, !tbaa !8
  %.not4959 = icmp slt i32 %26, 1
  br i1 %.not4959, label %._crit_edge73.thread, label %.lr.ph62.preheader

.lr.ph62.preheader:                               ; preds = %._crit_edge
  %21 = shl i32 %26, 1
  %smax = call i32 @llvm.smax.i32(i32 %21, i32 1)
  %.pre = load i32, ptr @s, align 16, !tbaa !8
  %22 = zext nneg i32 %smax to i64
  %xtraiter = and i64 %22, 1
  %23 = icmp eq i32 %smax, 1
  br i1 %23, label %.preheader55.unr-lcssa, label %.lr.ph62.preheader.new

.lr.ph62.preheader.new:                           ; preds = %.lr.ph62.preheader
  %unroll_iter = and i64 %22, 2147483646
  br label %.lr.ph62

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %24 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %indvars.iv
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %26 = load i32, ptr %1, align 4, !tbaa !8
  %27 = sext i32 %26 to i64
  %.not.not = icmp slt i64 %indvars.iv, %27
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !11

.preheader55.unr-lcssa:                           ; preds = %.lr.ph62, %.lr.ph62.preheader
  %.unr = phi i32 [ %.pre, %.lr.ph62.preheader ], [ %49, %.lr.ph62 ]
  %indvars.iv80.unr = phi i64 [ 1, %.lr.ph62.preheader ], [ %indvars.iv.next81.1, %.lr.ph62 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader55, label %.lr.ph62.epil

.lr.ph62.epil:                                    ; preds = %.preheader55.unr-lcssa
  %28 = trunc nuw nsw i64 %indvars.iv80.unr to i32
  %29 = urem i32 %28, %26
  %30 = zext nneg i32 %29 to i64
  %31 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !8
  %33 = add nsw i32 %32, %.unr
  %34 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %indvars.iv80.unr
  store i32 %33, ptr %34, align 4, !tbaa !8
  br label %.preheader55

.preheader55:                                     ; preds = %.preheader55.unr-lcssa, %.lr.ph62.epil
  br i1 %.not4959, label %.preheader54, label %.lr.ph66.preheader

.lr.ph66.preheader:                               ; preds = %.preheader55
  %xtraiter134 = and i64 %22, 3
  %35 = icmp slt i32 %21, 4
  br i1 %35, label %.preheader54.loopexit.unr-lcssa, label %.lr.ph66.preheader.new

.lr.ph66.preheader.new:                           ; preds = %.lr.ph66.preheader
  %unroll_iter136 = and i64 %22, 2147483644
  br label %.lr.ph66

.lr.ph62:                                         ; preds = %.lr.ph62, %.lr.ph62.preheader.new
  %36 = phi i32 [ %.pre, %.lr.ph62.preheader.new ], [ %49, %.lr.ph62 ]
  %indvars.iv80 = phi i64 [ 1, %.lr.ph62.preheader.new ], [ %indvars.iv.next81.1, %.lr.ph62 ]
  %niter = phi i64 [ 0, %.lr.ph62.preheader.new ], [ %niter.next.1, %.lr.ph62 ]
  %37 = trunc nuw nsw i64 %indvars.iv80 to i32
  %38 = urem i32 %37, %26
  %39 = zext nneg i32 %38 to i64
  %40 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !8
  %42 = add nsw i32 %41, %36
  %43 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %indvars.iv80
  store i32 %42, ptr %43, align 4, !tbaa !8
  %indvars.iv.next81 = add nuw nsw i64 %indvars.iv80, 1
  %44 = trunc nuw nsw i64 %indvars.iv.next81 to i32
  %45 = urem i32 %44, %26
  %46 = zext nneg i32 %45 to i64
  %47 = getelementptr inbounds [510 x i32], ptr @a, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !8
  %49 = add nsw i32 %48, %42
  %50 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %indvars.iv.next81
  store i32 %49, ptr %50, align 4, !tbaa !8
  %indvars.iv.next81.1 = add nuw nsw i64 %indvars.iv80, 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 %.preheader55.unr-lcssa, label %.lr.ph62, !llvm.loop !13

._crit_edge73.thread:                             ; preds = %._crit_edge, %._crit_edge.thread
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  store i64 4557430888798830399, ptr %3, align 8, !tbaa !14
  br label %._crit_edge78

.preheader54.loopexit.unr-lcssa:                  ; preds = %.lr.ph66, %.lr.ph66.preheader
  %indvars.iv83.unr = phi i64 [ 1, %.lr.ph66.preheader ], [ %indvars.iv.next84.3, %.lr.ph66 ]
  %lcmp.mod135.not = icmp eq i64 %xtraiter134, 0
  br i1 %lcmp.mod135.not, label %.preheader54, label %.lr.ph66.epil

.lr.ph66.epil:                                    ; preds = %.preheader54.loopexit.unr-lcssa, %.lr.ph66.epil
  %indvars.iv83.epil = phi i64 [ %indvars.iv.next84.epil, %.lr.ph66.epil ], [ %indvars.iv83.unr, %.preheader54.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph66.epil ], [ 0, %.preheader54.loopexit.unr-lcssa ]
  %51 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv83.epil, i64 %indvars.iv83.epil
  store i64 0, ptr %51, align 8, !tbaa !14
  %indvars.iv.next84.epil = add nuw nsw i64 %indvars.iv83.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter134
  br i1 %epil.iter.cmp.not, label %.preheader54, label %.lr.ph66.epil, !llvm.loop !16

.preheader54:                                     ; preds = %.preheader54.loopexit.unr-lcssa, %.lr.ph66.epil, %.preheader55
  %.not = icmp eq i32 %26, 1
  br i1 %.not, label %._crit_edge73, label %.preheader53

.lr.ph66:                                         ; preds = %.lr.ph66, %.lr.ph66.preheader.new
  %indvars.iv83 = phi i64 [ 1, %.lr.ph66.preheader.new ], [ %indvars.iv.next84.3, %.lr.ph66 ]
  %niter137 = phi i64 [ 0, %.lr.ph66.preheader.new ], [ %niter137.next.3, %.lr.ph66 ]
  %52 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv83, i64 %indvars.iv83
  store i64 0, ptr %52, align 8, !tbaa !14
  %indvars.iv.next84 = add nuw nsw i64 %indvars.iv83, 1
  %53 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv.next84, i64 %indvars.iv.next84
  store i64 0, ptr %53, align 8, !tbaa !14
  %indvars.iv.next84.1 = add nuw nsw i64 %indvars.iv83, 2
  %54 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv.next84.1, i64 %indvars.iv.next84.1
  store i64 0, ptr %54, align 8, !tbaa !14
  %indvars.iv.next84.2 = add nuw nsw i64 %indvars.iv83, 3
  %55 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv.next84.2, i64 %indvars.iv.next84.2
  store i64 0, ptr %55, align 8, !tbaa !14
  %indvars.iv.next84.3 = add nuw nsw i64 %indvars.iv83, 4
  %niter137.next.3 = add i64 %niter137, 4
  %niter137.ncmp.3 = icmp eq i64 %niter137.next.3, %unroll_iter136
  br i1 %niter137.ncmp.3, label %.preheader54.loopexit.unr-lcssa, label %.lr.ph66, !llvm.loop !18

.preheader53:                                     ; preds = %.preheader54, %._crit_edge71
  %56 = phi i32 [ %59, %._crit_edge71 ], [ %26, %.preheader54 ]
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %._crit_edge71 ], [ 1, %.preheader54 ]
  %indvars.iv100 = phi i64 [ %indvars.iv.next101, %._crit_edge71 ], [ 2, %.preheader54 ]
  %.not5268 = icmp slt i32 %56, 1
  br i1 %.not5268, label %._crit_edge71, label %.lr.ph70.preheader

.lr.ph70.preheader:                               ; preds = %.preheader53
  %57 = shl nuw nsw i32 %56, 1
  br label %.lr.ph70

._crit_edge73:                                    ; preds = %._crit_edge71, %.preheader54
  %58 = phi i32 [ %26, %.preheader54 ], [ %59, %._crit_edge71 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  store i64 4557430888798830399, ptr %3, align 8, !tbaa !14
  %.not5174 = icmp slt i32 %58, 1
  br i1 %.not5174, label %._crit_edge78, label %.lr.ph77

._crit_edge71:                                    ; preds = %.loopexit, %.preheader53
  %59 = phi i32 [ %56, %.preheader53 ], [ %86, %.loopexit ]
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %60 = sext i32 %59 to i64
  %61 = icmp slt i64 %indvars.iv.next108, %60
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  br i1 %61, label %.preheader53, label %._crit_edge73, !llvm.loop !19

.lr.ph70:                                         ; preds = %.lr.ph70.preheader, %.loopexit
  %62 = phi i32 [ %56, %.lr.ph70.preheader ], [ %86, %.loopexit ]
  %63 = phi i32 [ %56, %.lr.ph70.preheader ], [ %87, %.loopexit ]
  %indvars.iv102 = phi i64 [ %indvars.iv100, %.lr.ph70.preheader ], [ %indvars.iv.next103, %.loopexit ]
  %indvars.iv89 = phi i64 [ 1, %.lr.ph70.preheader ], [ %indvars.iv.next90, %.loopexit ]
  %64 = phi i32 [ %57, %.lr.ph70.preheader ], [ %88, %.loopexit ]
  %65 = add nuw nsw i64 %indvars.iv89, %indvars.iv107
  %66 = sext i32 %64 to i64
  %67 = icmp sgt i64 %65, %66
  br i1 %67, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.lr.ph70
  %68 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv89, i64 %65
  %69 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %65
  %70 = add nsw i64 %indvars.iv89, -1
  %71 = getelementptr inbounds [510 x i32], ptr @s, i64 0, i64 %70
  br label %72

72:                                               ; preds = %.preheader, %72
  %indvars.iv91 = phi i64 [ %indvars.iv89, %.preheader ], [ %indvars.iv.next92, %72 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %73 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv89, i64 %indvars.iv91
  %74 = load i64, ptr %73, align 8, !tbaa !14
  %indvars.iv.next92 = add nuw nsw i64 %indvars.iv91, 1
  %75 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv.next92, i64 %65
  %76 = load i64, ptr %75, align 8, !tbaa !14
  %77 = add nsw i64 %76, %74
  %78 = load i32, ptr %69, align 4, !tbaa !8
  %79 = sext i32 %78 to i64
  %80 = add nsw i64 %77, %79
  %81 = load i32, ptr %71, align 4, !tbaa !8
  %82 = sext i32 %81 to i64
  %83 = sub i64 %80, %82
  store i64 %83, ptr %2, align 8, !tbaa !14
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %85 = load i64, ptr %84, align 8, !tbaa !14
  store i64 %85, ptr %68, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  %exitcond99.not = icmp eq i64 %indvars.iv.next92, %indvars.iv102
  br i1 %exitcond99.not, label %.loopexit.loopexit, label %72, !llvm.loop !20

.loopexit.loopexit:                               ; preds = %72
  %.pre115 = load i32, ptr %1, align 4, !tbaa !8
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.lr.ph70
  %86 = phi i32 [ %.pre115, %.loopexit.loopexit ], [ %62, %.lr.ph70 ]
  %87 = phi i32 [ %.pre115, %.loopexit.loopexit ], [ %63, %.lr.ph70 ]
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  %88 = shl nsw i32 %87, 1
  %89 = sext i32 %88 to i64
  %.not52.not = icmp slt i64 %indvars.iv89, %89
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  br i1 %.not52.not, label %.lr.ph70, label %._crit_edge71, !llvm.loop !21

._crit_edge78:                                    ; preds = %.lr.ph77, %._crit_edge73.thread, %._crit_edge73
  %90 = phi i64 [ 4557430888798830399, %._crit_edge73 ], [ 4557430888798830399, %._crit_edge73.thread ], [ %100, %.lr.ph77 ]
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %90)
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %91, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  ret i32 0

.lr.ph77:                                         ; preds = %._crit_edge73, %.lr.ph77
  %indvars.iv112 = phi i64 [ %indvars.iv.next113, %.lr.ph77 ], [ 1, %._crit_edge73 ]
  %93 = phi i32 [ %101, %.lr.ph77 ], [ %58, %._crit_edge73 ]
  %94 = trunc i64 %indvars.iv112 to i32
  %95 = add i32 %94, -1
  %96 = add i32 %95, %93
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [510 x [510 x i64]], ptr @dp, i64 0, i64 %indvars.iv112, i64 %97
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %100 = load i64, ptr %99, align 8, !tbaa !14
  store i64 %100, ptr %3, align 8, !tbaa !14
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %101 = load i32, ptr %1, align 4, !tbaa !8
  %102 = sext i32 %101 to i64
  %.not51.not = icmp slt i64 %indvars.iv112, %102
  br i1 %.not51.not, label %.lr.ph77, label %._crit_edge78, !llvm.loop !22
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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

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

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 #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

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

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

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

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

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


; Effective O3 passes: ADCEPass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass