; LLVM IR from eyangch/competitive-programming :: Codeforces/1744 (f)

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

@T = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@P = external dso_local global [200000 x i64], align 16
@R = external dso_local global [200000 x i64], align 16
@V = external dso_local global [200000 x i8], 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 i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %26 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %27 = getelementptr i8, ptr %26, i64 -24
  %28 = load i64, ptr %27, align 8
  %29 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %28
  %30 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %29, ptr noundef null)
  %31 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @T)
  br label %33

33:                                               ; preds = %223, %0
  %34 = load i64, ptr @T, align 8, !tbaa !8
  %35 = add nsw i64 %34, -1
  store i64 %35, ptr @T, align 8, !tbaa !8
  %36 = icmp ne i64 %34, 0
  br i1 %36, label %37, label %227

37:                                               ; preds = %33
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %39 = load i64, ptr @N, align 8, !tbaa !8
  %40 = getelementptr inbounds i8, ptr @V, i64 %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 0, ptr %2, align 4, !tbaa !11
  call void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef @V, ptr noundef %40, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store i64 0, ptr %4, align 8, !tbaa !8
  br label %41

41:                                               ; preds = %62, %37
  %42 = load i64, ptr %4, align 8, !tbaa !8
  %43 = load i64, ptr @N, align 8, !tbaa !8
  %44 = icmp slt i64 %42, %43
  br i1 %44, label %46, label %45

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

46:                                               ; preds = %41
  %47 = load i64, ptr %4, align 8, !tbaa !8
  %48 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %47
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %48)
  %50 = load i64, ptr %4, align 8, !tbaa !8
  %51 = load i64, ptr %4, align 8, !tbaa !8
  %52 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !8
  %54 = getelementptr inbounds [200000 x i64], ptr @R, i64 0, i64 %53
  store i64 %50, ptr %54, align 8, !tbaa !8
  %55 = load i64, ptr %4, align 8, !tbaa !8
  %56 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %55
  %57 = load i64, ptr %56, align 8, !tbaa !8
  %58 = icmp eq i64 %57, 0
  br i1 %58, label %59, label %61

59:                                               ; preds = %46
  %60 = load i64, ptr %4, align 8, !tbaa !8
  store i64 %60, ptr %3, align 8, !tbaa !8
  br label %61

61:                                               ; preds = %59, %46
  br label %62

62:                                               ; preds = %61
  %63 = load i64, ptr %4, align 8, !tbaa !8
  %64 = add nsw i64 %63, 1
  store i64 %64, ptr %4, align 8, !tbaa !8
  br label %41, !llvm.loop !13

65:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %66 = load i64, ptr %3, align 8, !tbaa !8
  store i64 %66, ptr %5, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %67 = load i64, ptr %3, align 8, !tbaa !8
  store i64 %67, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store i64 0, ptr %7, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store i64 0, ptr %8, align 8, !tbaa !8
  br label %68

68:                                               ; preds = %222, %65
  br label %69

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %70 = load i64, ptr %8, align 8, !tbaa !8
  %71 = add nsw i64 %70, 1
  store i64 %71, ptr %9, align 8, !tbaa !8
  br label %72

72:                                               ; preds = %86, %69
  %73 = load i64, ptr %9, align 8, !tbaa !8
  %74 = load i64, ptr @N, align 8, !tbaa !8
  %75 = icmp slt i64 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 9, ptr %10, align 4
  br label %89

77:                                               ; preds = %72
  %78 = load i64, ptr %9, align 8, !tbaa !8
  %79 = getelementptr inbounds [200000 x i8], ptr @V, i64 0, i64 %78
  %80 = load i8, ptr %79, align 1, !tbaa !15, !range !17, !noundef !18
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %84

82:                                               ; preds = %77
  %83 = load i64, ptr %9, align 8, !tbaa !8
  store i64 %83, ptr %8, align 8, !tbaa !8
  br label %85

84:                                               ; preds = %77
  store i32 9, ptr %10, align 4
  br label %89

85:                                               ; preds = %82
  br label %86

86:                                               ; preds = %85
  %87 = load i64, ptr %9, align 8, !tbaa !8
  %88 = add nsw i64 %87, 1
  store i64 %88, ptr %9, align 8, !tbaa !8
  br label %72, !llvm.loop !19

89:                                               ; preds = %84, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %90

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %91 = load i64, ptr %8, align 8, !tbaa !8
  %92 = add nsw i64 %91, 1
  %93 = mul nsw i64 %92, 2
  store i64 %93, ptr %11, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 -1, ptr %13, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %94 = load i64, ptr %6, align 8, !tbaa !8
  %95 = load i64, ptr %11, align 8, !tbaa !8
  %96 = sub nsw i64 %94, %95
  store i64 %96, ptr %14, align 8, !tbaa !8
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %98 = load i64, ptr %97, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  store i64 %98, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %99 = load i64, ptr %5, align 8, !tbaa !8
  %100 = load i64, ptr %11, align 8, !tbaa !8
  %101 = add nsw i64 %99, %100
  store i64 %101, ptr %16, align 8, !tbaa !8
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @N, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %103 = load i64, ptr %102, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  store i64 %103, ptr %15, align 8, !tbaa !8
  %104 = load i64, ptr %8, align 8, !tbaa !8
  %105 = load i64, ptr @N, align 8, !tbaa !8
  %106 = sub nsw i64 %105, 1
  %107 = icmp slt i64 %104, %106
  br i1 %107, label %108, label %127

108:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %109 = load i64, ptr %8, align 8, !tbaa !8
  %110 = add nsw i64 %109, 1
  %111 = getelementptr inbounds [200000 x i64], ptr @R, i64 0, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !8
  store i64 %112, ptr %17, align 8, !tbaa !8
  %113 = load i64, ptr %17, align 8, !tbaa !8
  %114 = load i64, ptr %5, align 8, !tbaa !8
  %115 = icmp slt i64 %113, %114
  br i1 %115, label %116, label %119

116:                                              ; preds = %108
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %118 = load i64, ptr %117, align 8, !tbaa !8
  store i64 %118, ptr %12, align 8, !tbaa !8
  br label %119

119:                                              ; preds = %116, %108
  %120 = load i64, ptr %17, align 8, !tbaa !8
  %121 = load i64, ptr %6, align 8, !tbaa !8
  %122 = icmp sgt i64 %120, %121
  br i1 %122, label %123, label %126

123:                                              ; preds = %119
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %125 = load i64, ptr %124, align 8, !tbaa !8
  store i64 %125, ptr %15, align 8, !tbaa !8
  br label %126

126:                                              ; preds = %123, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %127

127:                                              ; preds = %126, %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %128 = load i64, ptr %11, align 8, !tbaa !8
  %129 = load i64, ptr %6, align 8, !tbaa !8
  %130 = load i64, ptr %5, align 8, !tbaa !8
  %131 = sub nsw i64 %129, %130
  %132 = sub nsw i64 %128, %131
  store i64 %132, ptr %18, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %133 = load i64, ptr %5, align 8, !tbaa !8
  %134 = load i64, ptr %12, align 8, !tbaa !8
  %135 = sub nsw i64 %133, %134
  store i64 %135, ptr %19, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %136 = load i64, ptr %15, align 8, !tbaa !8
  %137 = load i64, ptr %6, align 8, !tbaa !8
  %138 = sub nsw i64 %136, %137
  store i64 %138, ptr %20, align 8, !tbaa !8
  %139 = load i64, ptr %19, align 8, !tbaa !8
  %140 = icmp sgt i64 %139, 0
  br i1 %140, label %141, label %169

141:                                              ; preds = %127
  %142 = load i64, ptr %20, align 8, !tbaa !8
  %143 = icmp sgt i64 %142, 0
  br i1 %143, label %144, label %169

144:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %145 = load i64, ptr %19, align 8, !tbaa !8
  %146 = load i64, ptr %20, align 8, !tbaa !8
  %147 = mul nsw i64 %145, %146
  store i64 %147, ptr %21, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store i64 0, ptr %22, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %148 = load i64, ptr %19, align 8, !tbaa !8
  %149 = load i64, ptr %20, align 8, !tbaa !8
  %150 = add nsw i64 %148, %149
  %151 = sub nsw i64 %150, 1
  store i64 %151, ptr %23, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %152 = load i64, ptr %23, align 8, !tbaa !8
  %153 = load i64, ptr %18, align 8, !tbaa !8
  %154 = sub nsw i64 %152, %153
  store i64 %154, ptr %24, align 8, !tbaa !8
  %155 = load i64, ptr %24, align 8, !tbaa !8
  %156 = icmp sgt i64 %155, 0
  br i1 %156, label %157, label %163

157:                                              ; preds = %144
  %158 = load i64, ptr %24, align 8, !tbaa !8
  %159 = add nsw i64 %158, 1
  %160 = load i64, ptr %24, align 8, !tbaa !8
  %161 = mul nsw i64 %159, %160
  %162 = sdiv i64 %161, 2
  store i64 %162, ptr %22, align 8, !tbaa !8
  br label %163

163:                                              ; preds = %157, %144
  %164 = load i64, ptr %21, align 8, !tbaa !8
  %165 = load i64, ptr %22, align 8, !tbaa !8
  %166 = sub nsw i64 %164, %165
  %167 = load i64, ptr %7, align 8, !tbaa !8
  %168 = add nsw i64 %167, %166
  store i64 %168, ptr %7, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %169

169:                                              ; preds = %163, %141, %127
  %170 = load i64, ptr %8, align 8, !tbaa !8
  %171 = load i64, ptr @N, align 8, !tbaa !8
  %172 = sub nsw i64 %171, 1
  %173 = icmp eq i64 %170, %172
  br i1 %173, label %174, label %175

174:                                              ; preds = %169
  store i32 8, ptr %10, align 4
  br label %220

175:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %176 = load i64, ptr %8, align 8, !tbaa !8
  %177 = add nsw i64 %176, 1
  %178 = getelementptr inbounds [200000 x i64], ptr @R, i64 0, i64 %177
  %179 = load i64, ptr %178, align 8, !tbaa !8
  store i64 %179, ptr %25, align 8, !tbaa !8
  %180 = load i64, ptr %25, align 8, !tbaa !8
  %181 = load i64, ptr %5, align 8, !tbaa !8
  %182 = icmp slt i64 %180, %181
  br i1 %182, label %183, label %199

183:                                              ; preds = %175
  br label %184

184:                                              ; preds = %193, %183
  %185 = load i64, ptr %5, align 8, !tbaa !8
  %186 = load i64, ptr %25, align 8, !tbaa !8
  %187 = icmp sge i64 %185, %186
  br i1 %187, label %188, label %196

188:                                              ; preds = %184
  %189 = load i64, ptr %5, align 8, !tbaa !8
  %190 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %189
  %191 = load i64, ptr %190, align 8, !tbaa !8
  %192 = getelementptr inbounds [200000 x i8], ptr @V, i64 0, i64 %191
  store i8 1, ptr %192, align 1, !tbaa !15
  br label %193

193:                                              ; preds = %188
  %194 = load i64, ptr %5, align 8, !tbaa !8
  %195 = add nsw i64 %194, -1
  store i64 %195, ptr %5, align 8, !tbaa !8
  br label %184, !llvm.loop !20

196:                                              ; preds = %184
  %197 = load i64, ptr %5, align 8, !tbaa !8
  %198 = add nsw i64 %197, 1
  store i64 %198, ptr %5, align 8, !tbaa !8
  br label %199

199:                                              ; preds = %196, %175
  %200 = load i64, ptr %25, align 8, !tbaa !8
  %201 = load i64, ptr %6, align 8, !tbaa !8
  %202 = icmp sgt i64 %200, %201
  br i1 %202, label %203, label %219

203:                                              ; preds = %199
  br label %204

204:                                              ; preds = %213, %203
  %205 = load i64, ptr %6, align 8, !tbaa !8
  %206 = load i64, ptr %25, align 8, !tbaa !8
  %207 = icmp sle i64 %205, %206
  br i1 %207, label %208, label %216

208:                                              ; preds = %204
  %209 = load i64, ptr %6, align 8, !tbaa !8
  %210 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %209
  %211 = load i64, ptr %210, align 8, !tbaa !8
  %212 = getelementptr inbounds [200000 x i8], ptr @V, i64 0, i64 %211
  store i8 1, ptr %212, align 1, !tbaa !15
  br label %213

213:                                              ; preds = %208
  %214 = load i64, ptr %6, align 8, !tbaa !8
  %215 = add nsw i64 %214, 1
  store i64 %215, ptr %6, align 8, !tbaa !8
  br label %204, !llvm.loop !21

216:                                              ; preds = %204
  %217 = load i64, ptr %6, align 8, !tbaa !8
  %218 = add nsw i64 %217, -1
  store i64 %218, ptr %6, align 8, !tbaa !8
  br label %219

219:                                              ; preds = %216, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  store i32 0, ptr %10, align 4
  br label %220

220:                                              ; preds = %219, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  %221 = load i32, ptr %10, align 4
  switch i32 %221, label %229 [
    i32 0, label %222
    i32 8, label %223
  ]

222:                                              ; preds = %220
  br label %68, !llvm.loop !22

223:                                              ; preds = %220
  %224 = load i64, ptr %7, align 8, !tbaa !8
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %224)
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %225, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %33, !llvm.loop !23

227:                                              ; preds = %33
  %228 = load i32, ptr %1, align 4
  ret i32 %228

229:                                              ; preds = %220
  unreachable
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

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

; 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)) #6

; 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) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 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 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { 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 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !10, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}


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

@T = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@P = external dso_local global [200000 x i64], align 16
@R = external dso_local local_unnamed_addr global [200000 x i64], align 16
@V = external dso_local global [200000 x i8], 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 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %10
  %12 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  %13 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @T)
  %15 = load i64, ptr @T, align 8, !tbaa !8
  %16 = add nsw i64 %15, -1
  store i64 %16, ptr @T, align 8, !tbaa !8
  %.not91 = icmp eq i64 %15, 0
  br i1 %.not91, label %._crit_edge, label %.lr.ph92

.lr.ph92:                                         ; preds = %0, %97
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %18 = load i64, ptr @N, align 8, !tbaa !8
  %19 = getelementptr inbounds i8, ptr @V, i64 %18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  store i32 0, ptr %1, align 4, !tbaa !11
  call void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef nonnull @V, ptr noundef nonnull %19, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  %20 = load i64, ptr @N, align 8, !tbaa !8
  %21 = icmp sgt i64 %20, 0
  br i1 %21, label %.lr.ph, label %.preheader86.preheader

.lr.ph:                                           ; preds = %.lr.ph92, %.lr.ph
  %.088 = phi i64 [ %spec.select, %.lr.ph ], [ 0, %.lr.ph92 ]
  %.06287 = phi i64 [ %27, %.lr.ph ], [ 0, %.lr.ph92 ]
  %22 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %.06287
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %24 = load i64, ptr %22, align 8, !tbaa !8
  %25 = getelementptr inbounds [200000 x i64], ptr @R, i64 0, i64 %24
  store i64 %.06287, ptr %25, align 8, !tbaa !8
  %26 = icmp eq i64 %24, 0
  %spec.select = select i1 %26, i64 %.06287, i64 %.088
  %27 = add nuw nsw i64 %.06287, 1
  %28 = load i64, ptr @N, align 8, !tbaa !8
  %29 = icmp slt i64 %27, %28
  br i1 %29, label %.lr.ph, label %.preheader86.preheader, !llvm.loop !13

.preheader86.preheader:                           ; preds = %.lr.ph, %.lr.ph92
  %.ph = phi i64 [ %20, %.lr.ph92 ], [ %28, %.lr.ph ]
  %.063.ph = phi i64 [ 0, %.lr.ph92 ], [ %spec.select, %.lr.ph ]
  br label %.preheader86

.preheader86:                                     ; preds = %.preheader86.preheader, %.loopexit
  %30 = phi i64 [ %81, %.loopexit ], [ %.ph, %.preheader86.preheader ]
  %.072 = phi i64 [ %.173.lcssa, %.loopexit ], [ 0, %.preheader86.preheader ]
  %.070 = phi i64 [ %.171, %.loopexit ], [ 0, %.preheader86.preheader ]
  %.066 = phi i64 [ %.369, %.loopexit ], [ %.063.ph, %.preheader86.preheader ]
  %.063 = phi i64 [ %.2, %.loopexit ], [ %.063.ph, %.preheader86.preheader ]
  %31 = add nuw nsw i64 %.072, 1
  %smax = call i64 @llvm.smax.i64(i64 %30, i64 %31)
  %32 = add nsw i64 %smax, -1
  br label %33

33:                                               ; preds = %34, %.preheader86
  %.173 = phi i64 [ %.072, %.preheader86 ], [ %.074, %34 ]
  %exitcond.not = icmp eq i64 %.173, %32
  br i1 %exitcond.not, label %38, label %34

34:                                               ; preds = %33
  %.074 = add nuw nsw i64 %.173, 1
  %35 = getelementptr inbounds [200000 x i8], ptr @V, i64 0, i64 %.074
  %36 = load i8, ptr %35, align 1, !tbaa !15, !range !17, !noundef !18
  %37 = trunc nuw i8 %36 to i1
  br i1 %37, label %33, label %38, !llvm.loop !19

38:                                               ; preds = %34, %33
  %.173.lcssa = phi i64 [ %.173, %34 ], [ %32, %33 ]
  %.074.lcssa = phi i64 [ %.074, %34 ], [ %smax, %33 ]
  %39 = shl nuw nsw i64 %.074.lcssa, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store i64 -1, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %40 = sub nsw i64 %.066, %39
  store i64 %40, ptr %4, align 8, !tbaa !8
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %42 = load i64, ptr %41, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  store i64 %42, ptr %2, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %43 = add nsw i64 %39, %.063
  store i64 %43, ptr %6, align 8, !tbaa !8
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) @N, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %45 = load i64, ptr %44, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  store i64 %45, ptr %5, align 8, !tbaa !8
  %46 = load i64, ptr @N, align 8, !tbaa !8
  %47 = add nsw i64 %46, -1
  %48 = icmp slt i64 %.173.lcssa, %47
  br i1 %48, label %49, label %61

49:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %50 = getelementptr inbounds [200000 x i64], ptr @R, i64 0, i64 %.074.lcssa
  %51 = load i64, ptr %50, align 8, !tbaa !8
  store i64 %51, ptr %7, align 8, !tbaa !8
  %52 = icmp slt i64 %51, %.063
  br i1 %52, label %53, label %56

53:                                               ; preds = %49
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %55 = load i64, ptr %54, align 8, !tbaa !8
  store i64 %55, ptr %2, align 8, !tbaa !8
  %.pre = load i64, ptr %7, align 8, !tbaa !8
  br label %56

56:                                               ; preds = %53, %49
  %57 = phi i64 [ %.pre, %53 ], [ %51, %49 ]
  %58 = icmp sgt i64 %57, %.066
  br i1 %58, label %59, label %._crit_edge94

59:                                               ; preds = %56
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7)
  br label %._crit_edge94

._crit_edge94:                                    ; preds = %56, %59
  %.pre93.in = phi ptr [ %60, %59 ], [ %5, %56 ]
  %.pre93 = load i64, ptr %.pre93.in, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %61

61:                                               ; preds = %._crit_edge94, %38
  %62 = phi i64 [ %.pre93, %._crit_edge94 ], [ %45, %38 ]
  %63 = load i64, ptr %2, align 8, !tbaa !8
  %64 = sub nsw i64 %.063, %63
  %65 = sub nsw i64 %62, %.066
  %66 = icmp sgt i64 %64, 0
  %67 = icmp sgt i64 %65, 0
  %or.cond = select i1 %66, i1 %67, i1 false
  br i1 %or.cond, label %68, label %80

68:                                               ; preds = %61
  %.neg = sub i64 %.063, %.066
  %69 = add i64 %39, %.neg
  %70 = mul nuw nsw i64 %65, %64
  %71 = add nuw nsw i64 %65, %64
  %72 = xor i64 %69, -1
  %73 = add i64 %71, %72
  %74 = icmp sgt i64 %73, 0
  %75 = sub i64 %71, %69
  %76 = mul nsw i64 %75, %73
  %77 = lshr i64 %76, 1
  %.065 = select i1 %74, i64 %77, i64 0
  %78 = add i64 %70, %.070
  %79 = sub i64 %78, %.065
  br label %80

80:                                               ; preds = %68, %61
  %.171 = phi i64 [ %79, %68 ], [ %.070, %61 ]
  %81 = load i64, ptr @N, align 8, !tbaa !8
  %82 = add nsw i64 %81, -1
  %83 = icmp eq i64 %.173.lcssa, %82
  br i1 %83, label %97, label %84

84:                                               ; preds = %80
  %85 = getelementptr inbounds [200000 x i64], ptr @R, i64 0, i64 %.074.lcssa
  %86 = load i64, ptr %85, align 8, !tbaa !8
  %87 = icmp slt i64 %86, %.063
  br i1 %87, label %.preheader85, label %.loopexit96

.preheader85:                                     ; preds = %84, %.preheader85
  %.16489 = phi i64 [ %91, %.preheader85 ], [ %.063, %84 ]
  %88 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %.16489
  %89 = load i64, ptr %88, align 8, !tbaa !8
  %90 = getelementptr inbounds [200000 x i8], ptr @V, i64 0, i64 %89
  store i8 1, ptr %90, align 1, !tbaa !15
  %91 = add nsw i64 %.16489, -1
  %.not79.not = icmp sgt i64 %.16489, %86
  br i1 %.not79.not, label %.preheader85, label %.loopexit96, !llvm.loop !20

.loopexit96:                                      ; preds = %.preheader85, %84
  %.2 = phi i64 [ %.063, %84 ], [ %.16489, %.preheader85 ]
  %92 = icmp sgt i64 %86, %.066
  br i1 %92, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %.loopexit96, %.preheader
  %.16790 = phi i64 [ %96, %.preheader ], [ %.066, %.loopexit96 ]
  %93 = getelementptr inbounds [200000 x i64], ptr @P, i64 0, i64 %.16790
  %94 = load i64, ptr %93, align 8, !tbaa !8
  %95 = getelementptr inbounds [200000 x i8], ptr @V, i64 0, i64 %94
  store i8 1, ptr %95, align 1, !tbaa !15
  %96 = add nsw i64 %.16790, 1
  %.not80.not = icmp slt i64 %.16790, %86
  br i1 %.not80.not, label %.preheader, label %.loopexit, !llvm.loop !21

.loopexit:                                        ; preds = %.preheader, %.loopexit96
  %.369 = phi i64 [ %.066, %.loopexit96 ], [ %.16790, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  br label %.preheader86

97:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.171)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %98, i8 noundef signext 10)
  %100 = load i64, ptr @T, align 8, !tbaa !8
  %101 = add nsw i64 %100, -1
  store i64 %101, ptr @T, align 8, !tbaa !8
  %.not = icmp eq i64 %100, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph92, !llvm.loop !22

._crit_edge:                                      ; preds = %97, %0
  ret i32 0
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

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

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

; 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 #6

; 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 #4

; 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 #3 align 2

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

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 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !10, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}


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