; LLVM IR from eyangch/competitive-programming :: Codeforces/1405 (e)

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

%struct.BIT = type { [600050 x i64], i64 }
%"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" }
%class.anon = type { i8 }

@N = external dso_local global i64, align 8
@Q = external dso_local global i64, align 8
@A = external dso_local global [300000 x i64], align 16
@D = external dso_local global [300000 x i64], align 16
@B = external dso_local global [300000 x i64], align 16
@P = external dso_local global [300000 x i64], align 16
@Qi = external dso_local global [300000 x i64], align 16
@X = external dso_local global [300000 x i64], align 16
@Y = external dso_local global [300000 x i64], align 16
@ans = external dso_local global [300000 x i64], align 16
@pf = external dso_local global %struct.BIT, align 8
@q = external dso_local global %struct.BIT, align 8
@_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 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 i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %class.anon, align 1
  %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
  store i32 0, ptr %1, align 4
  %21 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %22 = getelementptr i8, ptr %21, i64 -24
  %23 = load i64, ptr %22, align 8
  %24 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %23
  %25 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %24, ptr noundef null)
  %26 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %27 = 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)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(8) @Q)
  %29 = load i64, ptr @N, align 8, !tbaa !8
  %30 = mul nsw i64 2, %29
  %31 = add nsw i64 %30, 20
  call void @_ZN3BIT4initEx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %31)
  %32 = load i64, ptr @N, align 8, !tbaa !8
  %33 = getelementptr inbounds i64, ptr @B, i64 %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 -1, ptr %2, align 4, !tbaa !11
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef @B, ptr noundef %33, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %34 = load i64, ptr @N, align 8, !tbaa !8
  %35 = getelementptr inbounds i64, ptr @P, i64 %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 -1, ptr %3, align 4, !tbaa !11
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef @P, ptr noundef %35, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store i64 0, ptr %4, align 8, !tbaa !8
  br label %36

36:                                               ; preds = %56, %0
  %37 = load i64, ptr %4, align 8, !tbaa !8
  %38 = load i64, ptr @N, align 8, !tbaa !8
  %39 = icmp slt i64 %37, %38
  br i1 %39, label %41, label %40

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

41:                                               ; preds = %36
  %42 = load i64, ptr %4, align 8, !tbaa !8
  %43 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %42
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %43)
  %45 = load i64, ptr %4, align 8, !tbaa !8
  %46 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %45
  %47 = load i64, ptr %46, align 8, !tbaa !8
  %48 = add nsw i64 %47, -1
  store i64 %48, ptr %46, align 8, !tbaa !8
  %49 = load i64, ptr %4, align 8, !tbaa !8
  %50 = load i64, ptr %4, align 8, !tbaa !8
  %51 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %50
  %52 = load i64, ptr %51, align 8, !tbaa !8
  %53 = sub nsw i64 %49, %52
  %54 = load i64, ptr %4, align 8, !tbaa !8
  %55 = getelementptr inbounds [300000 x i64], ptr @D, i64 0, i64 %54
  store i64 %53, ptr %55, align 8, !tbaa !8
  br label %56

56:                                               ; preds = %41
  %57 = load i64, ptr %4, align 8, !tbaa !8
  %58 = add nsw i64 %57, 1
  store i64 %58, ptr %4, align 8, !tbaa !8
  br label %36, !llvm.loop !13

59:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 0, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !8
  br label %60

60:                                               ; preds = %120, %59
  %61 = load i64, ptr %7, align 8, !tbaa !8
  %62 = load i64, ptr @N, align 8, !tbaa !8
  %63 = icmp slt i64 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %123

65:                                               ; preds = %60
  %66 = load i64, ptr %7, align 8, !tbaa !8
  %67 = getelementptr inbounds [300000 x i64], ptr @D, i64 0, i64 %66
  %68 = load i64, ptr %67, align 8, !tbaa !8
  %69 = icmp slt i64 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  br label %120

71:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %72 = load i64, ptr %7, align 8, !tbaa !8
  store i64 %72, ptr %9, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 -1, ptr %11, align 8, !tbaa !8
  br label %73

73:                                               ; preds = %106, %71
  %74 = load i64, ptr %8, align 8, !tbaa !8
  %75 = load i64, ptr %9, align 8, !tbaa !8
  %76 = icmp sle i64 %74, %75
  br i1 %76, label %77, label %107

77:                                               ; preds = %73
  %78 = load i64, ptr %8, align 8, !tbaa !8
  %79 = load i64, ptr %9, align 8, !tbaa !8
  %80 = add nsw i64 %78, %79
  %81 = sdiv i64 %80, 2
  store i64 %81, ptr %10, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %82 = load i64, ptr %7, align 8, !tbaa !8
  %83 = sub nsw i64 %82, 1
  %84 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %83)
  store i64 %84, ptr %12, align 8, !tbaa !8
  %85 = load i64, ptr %10, align 8, !tbaa !8
  %86 = icmp sgt i64 %85, 0
  br i1 %86, label %87, label %93

87:                                               ; preds = %77
  %88 = load i64, ptr %10, align 8, !tbaa !8
  %89 = sub nsw i64 %88, 1
  %90 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %89)
  %91 = load i64, ptr %12, align 8, !tbaa !8
  %92 = sub nsw i64 %91, %90
  store i64 %92, ptr %12, align 8, !tbaa !8
  br label %93

93:                                               ; preds = %87, %77
  %94 = load i64, ptr %7, align 8, !tbaa !8
  %95 = getelementptr inbounds [300000 x i64], ptr @D, i64 0, i64 %94
  %96 = load i64, ptr %95, align 8, !tbaa !8
  %97 = load i64, ptr %12, align 8, !tbaa !8
  %98 = icmp sle i64 %96, %97
  br i1 %98, label %99, label %103

99:                                               ; preds = %93
  %100 = load i64, ptr %10, align 8, !tbaa !8
  store i64 %100, ptr %11, align 8, !tbaa !8
  %101 = load i64, ptr %10, align 8, !tbaa !8
  %102 = add nsw i64 %101, 1
  store i64 %102, ptr %8, align 8, !tbaa !8
  br label %106

103:                                              ; preds = %93
  %104 = load i64, ptr %10, align 8, !tbaa !8
  %105 = sub nsw i64 %104, 1
  store i64 %105, ptr %9, align 8, !tbaa !8
  br label %106

106:                                              ; preds = %103, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %73, !llvm.loop !15

107:                                              ; preds = %73
  %108 = load i64, ptr %11, align 8, !tbaa !8
  %109 = load i64, ptr %7, align 8, !tbaa !8
  %110 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %109
  store i64 %108, ptr %110, align 8, !tbaa !8
  %111 = load i64, ptr %7, align 8, !tbaa !8
  %112 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %111
  %113 = load i64, ptr %112, align 8, !tbaa !8
  %114 = icmp sge i64 %113, 0
  br i1 %114, label %115, label %119

115:                                              ; preds = %107
  %116 = load i64, ptr %7, align 8, !tbaa !8
  %117 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %116
  %118 = load i64, ptr %117, align 8, !tbaa !8
  call void @_ZN3BIT3updExx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %118, i64 noundef 1)
  br label %119

119:                                              ; preds = %115, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %120

120:                                              ; preds = %119, %70
  %121 = load i64, ptr %7, align 8, !tbaa !8
  %122 = add nsw i64 %121, 1
  store i64 %122, ptr %7, align 8, !tbaa !8
  br label %60, !llvm.loop !16

123:                                              ; preds = %64
  %124 = load i64, ptr @N, align 8, !tbaa !8
  call void @_ZN3BIT4initEx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %124)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !8
  br label %125

125:                                              ; preds = %137, %123
  %126 = load i64, ptr %13, align 8, !tbaa !8
  %127 = load i64, ptr @Q, align 8, !tbaa !8
  %128 = icmp slt i64 %126, %127
  br i1 %128, label %130, label %129

129:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %140

130:                                              ; preds = %125
  %131 = load i64, ptr %13, align 8, !tbaa !8
  %132 = getelementptr inbounds [300000 x i64], ptr @X, i64 0, i64 %131
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %132)
  %134 = load i64, ptr %13, align 8, !tbaa !8
  %135 = getelementptr inbounds [300000 x i64], ptr @Y, i64 0, i64 %134
  %136 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef nonnull align 8 dereferenceable(8) %135)
  br label %137

137:                                              ; preds = %130
  %138 = load i64, ptr %13, align 8, !tbaa !8
  %139 = add nsw i64 %138, 1
  store i64 %139, ptr %13, align 8, !tbaa !8
  br label %125, !llvm.loop !17

140:                                              ; preds = %129
  %141 = load i64, ptr @Q, align 8, !tbaa !8
  %142 = getelementptr inbounds i64, ptr @Qi, i64 %141
  call void @_ZSt4iotaIPxiEvT_S1_T0_(ptr noundef @Qi, ptr noundef %142, i32 noundef 0)
  %143 = load i64, ptr @Q, align 8, !tbaa !8
  %144 = getelementptr inbounds i64, ptr @Qi, i64 %143
  call void @"_ZSt4sortIPxZ4mainE3$_0EvT_S2_T0_"(ptr noundef @Qi, ptr noundef %144)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store i64 0, ptr %16, align 8, !tbaa !8
  br label %145

145:                                              ; preds = %197, %140
  %146 = load i64, ptr %16, align 8, !tbaa !8
  %147 = load i64, ptr @Q, align 8, !tbaa !8
  %148 = icmp slt i64 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %200

150:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %151 = load i64, ptr %16, align 8, !tbaa !8
  %152 = getelementptr inbounds [300000 x i64], ptr @Qi, i64 0, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !8
  store i64 %153, ptr %17, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %154 = load i64, ptr %17, align 8, !tbaa !8
  %155 = getelementptr inbounds [300000 x i64], ptr @X, i64 0, i64 %154
  %156 = load i64, ptr %155, align 8, !tbaa !8
  store i64 %156, ptr %18, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %157 = load i64, ptr @N, align 8, !tbaa !8
  %158 = load i64, ptr %17, align 8, !tbaa !8
  %159 = getelementptr inbounds [300000 x i64], ptr @Y, i64 0, i64 %158
  %160 = load i64, ptr %159, align 8, !tbaa !8
  %161 = sub nsw i64 %157, %160
  %162 = sub nsw i64 %161, 1
  store i64 %162, ptr %19, align 8, !tbaa !8
  br label %163

163:                                              ; preds = %178, %150
  %164 = load i64, ptr %15, align 8, !tbaa !8
  %165 = load i64, ptr %19, align 8, !tbaa !8
  %166 = icmp sle i64 %164, %165
  br i1 %166, label %167, label %181

167:                                              ; preds = %163
  %168 = load i64, ptr %15, align 8, !tbaa !8
  %169 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %168
  %170 = load i64, ptr %169, align 8, !tbaa !8
  %171 = xor i64 %170, -1
  %172 = icmp ne i64 %171, 0
  br i1 %172, label %174, label %173

173:                                              ; preds = %167
  br label %178

174:                                              ; preds = %167
  %175 = load i64, ptr %15, align 8, !tbaa !8
  %176 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %175
  %177 = load i64, ptr %176, align 8, !tbaa !8
  call void @_ZN3BIT3updExx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %177, i64 noundef 1)
  br label %178

178:                                              ; preds = %174, %173
  %179 = load i64, ptr %15, align 8, !tbaa !8
  %180 = add nsw i64 %179, 1
  store i64 %180, ptr %15, align 8, !tbaa !8
  br label %163, !llvm.loop !18

181:                                              ; preds = %163
  %182 = load i64, ptr %19, align 8, !tbaa !8
  %183 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %182)
  %184 = load i64, ptr %17, align 8, !tbaa !8
  %185 = getelementptr inbounds [300000 x i64], ptr @ans, i64 0, i64 %184
  store i64 %183, ptr %185, align 8, !tbaa !8
  %186 = load i64, ptr %18, align 8, !tbaa !8
  %187 = icmp sgt i64 %186, 0
  br i1 %187, label %188, label %196

188:                                              ; preds = %181
  %189 = load i64, ptr %18, align 8, !tbaa !8
  %190 = sub nsw i64 %189, 1
  %191 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %190)
  %192 = load i64, ptr %17, align 8, !tbaa !8
  %193 = getelementptr inbounds [300000 x i64], ptr @ans, i64 0, i64 %192
  %194 = load i64, ptr %193, align 8, !tbaa !8
  %195 = sub nsw i64 %194, %191
  store i64 %195, ptr %193, align 8, !tbaa !8
  br label %196

196:                                              ; preds = %188, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %197

197:                                              ; preds = %196
  %198 = load i64, ptr %16, align 8, !tbaa !8
  %199 = add nsw i64 %198, 1
  store i64 %199, ptr %16, align 8, !tbaa !8
  br label %145, !llvm.loop !19

200:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !8
  br label %201

201:                                              ; preds = %212, %200
  %202 = load i64, ptr %20, align 8, !tbaa !8
  %203 = load i64, ptr @Q, align 8, !tbaa !8
  %204 = icmp slt i64 %202, %203
  br i1 %204, label %206, label %205

205:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %215

206:                                              ; preds = %201
  %207 = load i64, ptr %20, align 8, !tbaa !8
  %208 = getelementptr inbounds [300000 x i64], ptr @ans, i64 0, i64 %207
  %209 = load i64, ptr %208, align 8, !tbaa !8
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %209)
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %210, i8 noundef signext 10)
  br label %212

212:                                              ; preds = %206
  %213 = load i64, ptr %20, align 8, !tbaa !8
  %214 = add nsw i64 %213, 1
  store i64 %214, ptr %20, align 8, !tbaa !8
  br label %201, !llvm.loop !20

215:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %216 = load i32, ptr %1, align 4
  ret i32 %216
}

; 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: mustprogress uwtable
declare dso_local void @_ZN3BIT4initEx(ptr noundef nonnull align 8 dereferenceable(4800408), i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxiEvT_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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3BIT3updExx(ptr noundef nonnull align 8 dereferenceable(4800408), i64 noundef, i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt4iotaIPxiEvT_S1_T0_(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIPxZ4mainE3$_0EvT_S2_T0_"(ptr noundef, ptr noundef) #4

; 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 = { 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 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !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"

%struct.BIT = type { [600050 x i64], i64 }
%"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" }

@N = external dso_local global i64, align 8
@Q = external dso_local global i64, align 8
@A = external dso_local global [300000 x i64], align 16
@D = external dso_local local_unnamed_addr global [300000 x i64], align 16
@B = external dso_local global [300000 x i64], align 16
@P = external dso_local global [300000 x i64], align 16
@Qi = external dso_local global [300000 x i64], align 16
@X = external dso_local global [300000 x i64], align 16
@Y = external dso_local global [300000 x i64], align 16
@ans = external dso_local local_unnamed_addr global [300000 x i64], align 16
@pf = external dso_local global %struct.BIT, align 8
@q = external dso_local global %struct.BIT, align 8
@_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 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %4 = getelementptr i8, ptr %3, i64 -24
  %5 = load i64, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %5
  %7 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %9 = 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) @N)
  %10 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) @Q)
  %11 = load i64, ptr @N, align 8, !tbaa !8
  %12 = shl nsw i64 %11, 1
  %13 = add nsw i64 %12, 20
  tail call void @_ZN3BIT4initEx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %13)
  %14 = load i64, ptr @N, align 8, !tbaa !8
  %15 = getelementptr inbounds i64, ptr @B, i64 %14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  store i32 -1, ptr %1, align 4, !tbaa !11
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull @B, ptr noundef nonnull %15, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  %16 = load i64, ptr @N, align 8, !tbaa !8
  %17 = getelementptr inbounds i64, ptr @P, i64 %16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 -1, ptr %2, align 4, !tbaa !11
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull @P, ptr noundef nonnull %17, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  %18 = load i64, ptr @N, align 8, !tbaa !8
  %19 = icmp sgt i64 %18, 0
  br i1 %19, label %.lr.ph, label %._crit_edge

.preheader72:                                     ; preds = %.lr.ph
  %20 = icmp sgt i64 %28, 0
  br i1 %20, label %.lr.ph79, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.05174 = phi i64 [ %27, %.lr.ph ], [ 0, %0 ]
  %21 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %.05174
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %23 = load i64, ptr %21, align 8, !tbaa !8
  %24 = add nsw i64 %23, -1
  store i64 %24, ptr %21, align 8, !tbaa !8
  %25 = sub nsw i64 %.05174, %24
  %26 = getelementptr inbounds [300000 x i64], ptr @D, i64 0, i64 %.05174
  store i64 %25, ptr %26, align 8, !tbaa !8
  %27 = add nuw nsw i64 %.05174, 1
  %28 = load i64, ptr @N, align 8, !tbaa !8
  %29 = icmp slt i64 %27, %28
  br i1 %29, label %.lr.ph, label %.preheader72, !llvm.loop !13

._crit_edge:                                      ; preds = %51, %0, %.preheader72
  %.lcssa73 = phi i64 [ %28, %.preheader72 ], [ %18, %0 ], [ %53, %51 ]
  call void @_ZN3BIT4initEx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %.lcssa73)
  %30 = load i64, ptr @Q, align 8, !tbaa !8
  %31 = icmp sgt i64 %30, 0
  br i1 %31, label %.lr.ph82, label %._crit_edge83

.lr.ph79:                                         ; preds = %.preheader72, %51
  %.05278 = phi i64 [ %52, %51 ], [ 0, %.preheader72 ]
  %32 = getelementptr inbounds [300000 x i64], ptr @D, i64 0, i64 %.05278
  %33 = load i64, ptr %32, align 8, !tbaa !8
  %34 = icmp slt i64 %33, 0
  br i1 %34, label %51, label %.preheader71

.preheader71:                                     ; preds = %.lr.ph79
  %35 = add nsw i64 %.05278, -1
  br label %36

36:                                               ; preds = %.preheader71, %._crit_edge101
  %.05377 = phi i64 [ 0, %.preheader71 ], [ %.1, %._crit_edge101 ]
  %.05976 = phi i64 [ -1, %.preheader71 ], [ %.160, %._crit_edge101 ]
  %.06175 = phi i64 [ %.05278, %.preheader71 ], [ %.162, %._crit_edge101 ]
  %37 = add nsw i64 %.05377, %.06175
  %38 = sdiv i64 %37, 2
  %39 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %35)
  %40 = icmp sgt i64 %37, 1
  %41 = add nsw i64 %38, -1
  br i1 %40, label %42, label %._crit_edge101

42:                                               ; preds = %36
  %43 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %41)
  %44 = sub nsw i64 %39, %43
  br label %._crit_edge101

._crit_edge101:                                   ; preds = %36, %42
  %.058 = phi i64 [ %44, %42 ], [ %39, %36 ]
  %45 = load i64, ptr %32, align 8, !tbaa !8
  %.not70 = icmp sgt i64 %45, %.058
  %46 = add nsw i64 %38, 1
  %.162 = select i1 %.not70, i64 %41, i64 %.06175
  %.160 = select i1 %.not70, i64 %.05976, i64 %38
  %.1 = select i1 %.not70, i64 %.05377, i64 %46
  %.not69 = icmp sgt i64 %.1, %.162
  br i1 %.not69, label %47, label %36, !llvm.loop !15

47:                                               ; preds = %._crit_edge101
  %48 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %.05278
  store i64 %.160, ptr %48, align 8, !tbaa !8
  %49 = icmp sgt i64 %.160, -1
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  call void @_ZN3BIT3updExx(ptr noundef nonnull align 8 dereferenceable(4800408) @pf, i64 noundef %.160, i64 noundef 1)
  br label %51

51:                                               ; preds = %47, %50, %.lr.ph79
  %52 = add nuw nsw i64 %.05278, 1
  %53 = load i64, ptr @N, align 8, !tbaa !8
  %54 = icmp slt i64 %52, %53
  br i1 %54, label %.lr.ph79, label %._crit_edge, !llvm.loop !16

._crit_edge83:                                    ; preds = %.lr.ph82, %._crit_edge
  %.lcssa = phi i64 [ %30, %._crit_edge ], [ %65, %.lr.ph82 ]
  %55 = getelementptr inbounds i64, ptr @Qi, i64 %.lcssa
  call void @_ZSt4iotaIPxiEvT_S1_T0_(ptr noundef nonnull @Qi, ptr noundef nonnull %55, i32 noundef 0)
  %56 = load i64, ptr @Q, align 8, !tbaa !8
  %57 = getelementptr inbounds i64, ptr @Qi, i64 %56
  call void @"_ZSt4sortIPxZ4mainE3$_0EvT_S2_T0_"(ptr noundef nonnull @Qi, ptr noundef nonnull %57)
  %58 = load i64, ptr @Q, align 8, !tbaa !8
  %59 = icmp sgt i64 %58, 0
  br i1 %59, label %.lr.ph94, label %._crit_edge97

.lr.ph82:                                         ; preds = %._crit_edge, %.lr.ph82
  %.05780 = phi i64 [ %64, %.lr.ph82 ], [ 0, %._crit_edge ]
  %60 = getelementptr inbounds [300000 x i64], ptr @X, i64 0, i64 %.05780
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = getelementptr inbounds [300000 x i64], ptr @Y, i64 0, i64 %.05780
  %63 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(8) %62)
  %64 = add nuw nsw i64 %.05780, 1
  %65 = load i64, ptr @Q, align 8, !tbaa !8
  %66 = icmp slt i64 %64, %65
  br i1 %66, label %.lr.ph82, label %._crit_edge83, !llvm.loop !17

.preheader:                                       ; preds = %90
  %67 = icmp sgt i64 %92, 0
  br i1 %67, label %.lr.ph96, label %._crit_edge97

.lr.ph94:                                         ; preds = %._crit_edge83, %90
  %.05492 = phi i64 [ %91, %90 ], [ 0, %._crit_edge83 ]
  %.05591 = phi i64 [ %.156.lcssa, %90 ], [ 0, %._crit_edge83 ]
  %68 = getelementptr inbounds [300000 x i64], ptr @Qi, i64 0, i64 %.05492
  %69 = load i64, ptr %68, align 8, !tbaa !8
  %70 = getelementptr inbounds [300000 x i64], ptr @X, i64 0, i64 %69
  %71 = load i64, ptr %70, align 8, !tbaa !8
  %72 = load i64, ptr @N, align 8, !tbaa !8
  %73 = getelementptr inbounds [300000 x i64], ptr @Y, i64 0, i64 %69
  %74 = load i64, ptr %73, align 8, !tbaa !8
  %75 = xor i64 %74, -1
  %76 = add i64 %72, %75
  %.not85 = icmp sgt i64 %.05591, %76
  br i1 %.not85, label %._crit_edge89, label %.lr.ph88

.lr.ph88:                                         ; preds = %.lr.ph94, %80
  %.15686 = phi i64 [ %81, %80 ], [ %.05591, %.lr.ph94 ]
  %77 = getelementptr inbounds [300000 x i64], ptr @P, i64 0, i64 %.15686
  %78 = load i64, ptr %77, align 8, !tbaa !8
  %.not68 = icmp eq i64 %78, -1
  br i1 %.not68, label %80, label %79

79:                                               ; preds = %.lr.ph88
  call void @_ZN3BIT3updExx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %78, i64 noundef 1)
  br label %80

80:                                               ; preds = %.lr.ph88, %79
  %81 = add nsw i64 %.15686, 1
  %.not.not = icmp slt i64 %.15686, %76
  br i1 %.not.not, label %.lr.ph88, label %._crit_edge89, !llvm.loop !18

._crit_edge89:                                    ; preds = %80, %.lr.ph94
  %.156.lcssa = phi i64 [ %.05591, %.lr.ph94 ], [ %81, %80 ]
  %82 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %76)
  %83 = getelementptr inbounds [300000 x i64], ptr @ans, i64 0, i64 %69
  store i64 %82, ptr %83, align 8, !tbaa !8
  %84 = icmp sgt i64 %71, 0
  br i1 %84, label %85, label %90

85:                                               ; preds = %._crit_edge89
  %86 = add nsw i64 %71, -1
  %87 = call noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408) @q, i64 noundef %86)
  %88 = load i64, ptr %83, align 8, !tbaa !8
  %89 = sub nsw i64 %88, %87
  store i64 %89, ptr %83, align 8, !tbaa !8
  br label %90

90:                                               ; preds = %85, %._crit_edge89
  %91 = add nuw nsw i64 %.05492, 1
  %92 = load i64, ptr @Q, align 8, !tbaa !8
  %93 = icmp slt i64 %91, %92
  br i1 %93, label %.lr.ph94, label %.preheader, !llvm.loop !19

._crit_edge97:                                    ; preds = %.lr.ph96, %._crit_edge83, %.preheader
  ret i32 0

.lr.ph96:                                         ; preds = %.preheader, %.lr.ph96
  %.095 = phi i64 [ %98, %.lr.ph96 ], [ 0, %.preheader ]
  %94 = getelementptr inbounds [300000 x i64], ptr @ans, i64 0, i64 %.095
  %95 = load i64, ptr %94, align 8, !tbaa !8
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %95)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %96, i8 noundef signext 10)
  %98 = add nuw nsw i64 %.095, 1
  %99 = load i64, ptr @Q, align 8, !tbaa !8
  %100 = icmp slt i64 %98, %99
  br i1 %100, label %.lr.ph96, label %._crit_edge97, !llvm.loop !20
}

; 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: mustprogress uwtable
declare dso_local void @_ZN3BIT4initEx(ptr noundef nonnull align 8 dereferenceable(4800408), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxiEvT_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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN3BIT3qryEx(ptr noundef nonnull align 8 dereferenceable(4800408), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3BIT3updExx(ptr noundef nonnull align 8 dereferenceable(4800408), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt4iotaIPxiEvT_S1_T0_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIPxZ4mainE3$_0EvT_S2_T0_"(ptr noundef, ptr noundef) local_unnamed_addr #4

; 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

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 = { 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 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


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