; LLVM IR from tangjz/acm-icpc :: codeforces/gym (101174K)

; 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.std::pair.0" = type { %"struct.std::pair", i32 }
%"struct.std::pair" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@n = external dso_local global i32, align 4
@tot = external dso_local global i32, align 4
@dsu = external dso_local global [100001 x i32], align 16
@a = external dso_local global [100001 x %"struct.std::pair.0"], align 16
@que = external dso_local global [100001 x %"struct.std::pair.0"], align 16
@multi = external dso_local global %"class.std::set", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9dsu_mergeii(i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i8, align 1
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %8

8:                                                ; preds = %73, %0
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = load i32, ptr @n, align 4, !tbaa !5
  %11 = icmp slt i32 %9, %10
  br i1 %11, label %13, label %12

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

13:                                               ; preds = %8
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = shl i32 %14, 1
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %16
  %18 = getelementptr inbounds %"struct.std::pair.0", ptr %17, i32 0, i32 0
  %19 = getelementptr inbounds %"struct.std::pair", ptr %18, i32 0, i32 0
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = shl i32 %20, 1
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %22
  %24 = getelementptr inbounds %"struct.std::pair.0", ptr %23, i32 0, i32 0
  %25 = getelementptr inbounds %"struct.std::pair", ptr %24, i32 0, i32 1
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = shl i32 %26, 1
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %28
  %30 = getelementptr inbounds %"struct.std::pair.0", ptr %29, i32 0, i32 1
  %31 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %25, ptr noundef %30)
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = shl i32 %32, 1
  %34 = or i32 %33, 1
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %35
  %37 = getelementptr inbounds %"struct.std::pair.0", ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %"struct.std::pair", ptr %37, i32 0, i32 0
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = shl i32 %39, 1
  %41 = or i32 %40, 1
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %42
  %44 = getelementptr inbounds %"struct.std::pair.0", ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 1
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = shl i32 %46, 1
  %48 = or i32 %47, 1
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %49
  %51 = getelementptr inbounds %"struct.std::pair.0", ptr %50, i32 0, i32 1
  %52 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %38, ptr noundef %45, ptr noundef %51)
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = shl i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %55
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = shl i32 %57, 1
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %59
  %61 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt4pairIS_IiiEiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %60, ptr noundef nonnull align 4 dereferenceable(12) %56)
  %62 = load i32, ptr %2, align 4, !tbaa !5
  %63 = shl i32 %62, 1
  %64 = or i32 %63, 1
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %65
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = shl i32 %67, 1
  %69 = or i32 %68, 1
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %70
  %72 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt4pairIS_IiiEiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %71, ptr noundef nonnull align 4 dereferenceable(12) %66)
  br label %73

73:                                               ; preds = %13
  %74 = load i32, ptr %2, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %2, align 4, !tbaa !5
  br label %8, !llvm.loop !9

76:                                               ; preds = %12
  %77 = load i32, ptr @n, align 4, !tbaa !5
  %78 = shl i32 %77, 1
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %79
  call void @_ZSt4sortIPSt4pairIS0_IiiEiEEvT_S4_(ptr noundef @que, ptr noundef %80)
  %81 = load i32, ptr @n, align 4, !tbaa !5
  %82 = shl i32 %81, 1
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %83
  %85 = call noundef ptr @_ZSt6uniqueIPSt4pairIS0_IiiEiEET_S4_S4_(ptr noundef @que, ptr noundef %84)
  %86 = ptrtoint ptr %85 to i64
  %87 = sub i64 %86, ptrtoint (ptr @que to i64)
  %88 = sdiv exact i64 %87, 12
  %89 = trunc i64 %88 to i32
  store i32 %89, ptr @tot, align 4, !tbaa !5
  %90 = load i32, ptr @tot, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = mul i64 %91, 4
  call void @llvm.memset.p0.i64(ptr align 16 @dsu, i8 -1, i64 %92, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #7
  store i8 1, ptr %3, align 1, !tbaa !11
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) @multi) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %137, %76
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = load i32, ptr @n, align 4, !tbaa !5
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %97, label %100

97:                                               ; preds = %93
  %98 = load i8, ptr %3, align 1, !tbaa !11, !range !13, !noundef !14
  %99 = trunc i8 %98 to i1
  br label %100

100:                                              ; preds = %97, %93
  %101 = phi i1 [ false, %93 ], [ %99, %97 ]
  br i1 %101, label %103, label %102

102:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %140

103:                                              ; preds = %100
  %104 = load i32, ptr @tot, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %105
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = shl i32 %107, 1
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %109
  %111 = call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef @que, ptr noundef %106, ptr noundef nonnull align 4 dereferenceable(12) %110)
  %112 = ptrtoint ptr %111 to i64
  %113 = sub i64 %112, ptrtoint (ptr @que to i64)
  %114 = sdiv exact i64 %113, 12
  %115 = trunc i64 %114 to i32
  %116 = load i32, ptr @tot, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %117
  %119 = load i32, ptr %4, align 4, !tbaa !5
  %120 = shl i32 %119, 1
  %121 = or i32 %120, 1
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %122
  %124 = call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef @que, ptr noundef %118, ptr noundef nonnull align 4 dereferenceable(12) %123)
  %125 = ptrtoint ptr %124 to i64
  %126 = sub i64 %125, ptrtoint (ptr @que to i64)
  %127 = sdiv exact i64 %126, 12
  %128 = trunc i64 %127 to i32
  %129 = call noundef zeroext i1 @_Z9dsu_mergeii(i32 noundef %115, i32 noundef %128)
  %130 = zext i1 %129 to i32
  %131 = load i8, ptr %3, align 1, !tbaa !11, !range !13, !noundef !14
  %132 = trunc i8 %131 to i1
  %133 = zext i1 %132 to i32
  %134 = and i32 %133, %130
  %135 = icmp ne i32 %134, 0
  %136 = zext i1 %135 to i8
  store i8 %136, ptr %3, align 1, !tbaa !11
  br label %137

137:                                              ; preds = %103
  %138 = load i32, ptr %4, align 4, !tbaa !5
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %4, align 4, !tbaa !5
  br label %93, !llvm.loop !15

140:                                              ; preds = %102
  %141 = load i8, ptr %3, align 1, !tbaa !11, !range !13, !noundef !14
  %142 = trunc i8 %141 to i1
  %143 = xor i1 %142, true
  %144 = zext i1 %143 to i64
  %145 = select i1 %143, ptr @.str.2, ptr @.str.3
  %146 = call i32 @puts(ptr noundef %145)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %147

147:                                              ; preds = %157, %140
  %148 = load i32, ptr %5, align 4, !tbaa !5
  %149 = load i32, ptr @tot, align 4, !tbaa !5
  %150 = icmp slt i32 %148, %149
  br i1 %150, label %152, label %151

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

152:                                              ; preds = %147
  %153 = load i32, ptr %5, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %154
  %156 = getelementptr inbounds %"struct.std::pair.0", ptr %155, i32 0, i32 1
  store i32 0, ptr %156, align 4, !tbaa !16
  br label %157

157:                                              ; preds = %152
  %158 = load i32, ptr %5, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %5, align 4, !tbaa !5
  br label %147, !llvm.loop !19

160:                                              ; preds = %151
  %161 = load i32, ptr @tot, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %162
  %164 = call noundef ptr @_ZSt6uniqueIPSt4pairIS0_IiiEiEET_S4_S4_(ptr noundef @que, ptr noundef %163)
  %165 = ptrtoint ptr %164 to i64
  %166 = sub i64 %165, ptrtoint (ptr @que to i64)
  %167 = sdiv exact i64 %166, 12
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr @tot, align 4, !tbaa !5
  %169 = load i32, ptr @tot, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = mul i64 %170, 4
  call void @llvm.memset.p0.i64(ptr align 16 @dsu, i8 -1, i64 %171, i1 false)
  store i8 1, ptr %3, align 1, !tbaa !11
  call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) @multi) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %227, %160
  %173 = load i32, ptr %6, align 4, !tbaa !5
  %174 = load i32, ptr @n, align 4, !tbaa !5
  %175 = icmp slt i32 %173, %174
  br i1 %175, label %176, label %179

176:                                              ; preds = %172
  %177 = load i8, ptr %3, align 1, !tbaa !11, !range !13, !noundef !14
  %178 = trunc i8 %177 to i1
  br label %179

179:                                              ; preds = %176, %172
  %180 = phi i1 [ false, %172 ], [ %178, %176 ]
  br i1 %180, label %182, label %181

181:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %230

182:                                              ; preds = %179
  %183 = load i32, ptr %6, align 4, !tbaa !5
  %184 = shl i32 %183, 1
  %185 = or i32 %184, 1
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %186
  %188 = getelementptr inbounds %"struct.std::pair.0", ptr %187, i32 0, i32 1
  store i32 0, ptr %188, align 4, !tbaa !16
  %189 = load i32, ptr %6, align 4, !tbaa !5
  %190 = shl i32 %189, 1
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %191
  %193 = getelementptr inbounds %"struct.std::pair.0", ptr %192, i32 0, i32 1
  store i32 0, ptr %193, align 4, !tbaa !16
  %194 = load i32, ptr @tot, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %195
  %197 = load i32, ptr %6, align 4, !tbaa !5
  %198 = shl i32 %197, 1
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %199
  %201 = call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef @que, ptr noundef %196, ptr noundef nonnull align 4 dereferenceable(12) %200)
  %202 = ptrtoint ptr %201 to i64
  %203 = sub i64 %202, ptrtoint (ptr @que to i64)
  %204 = sdiv exact i64 %203, 12
  %205 = trunc i64 %204 to i32
  %206 = load i32, ptr @tot, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %207
  %209 = load i32, ptr %6, align 4, !tbaa !5
  %210 = shl i32 %209, 1
  %211 = or i32 %210, 1
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %212
  %214 = call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef @que, ptr noundef %208, ptr noundef nonnull align 4 dereferenceable(12) %213)
  %215 = ptrtoint ptr %214 to i64
  %216 = sub i64 %215, ptrtoint (ptr @que to i64)
  %217 = sdiv exact i64 %216, 12
  %218 = trunc i64 %217 to i32
  %219 = call noundef zeroext i1 @_Z9dsu_mergeii(i32 noundef %205, i32 noundef %218)
  %220 = zext i1 %219 to i32
  %221 = load i8, ptr %3, align 1, !tbaa !11, !range !13, !noundef !14
  %222 = trunc i8 %221 to i1
  %223 = zext i1 %222 to i32
  %224 = and i32 %223, %220
  %225 = icmp ne i32 %224, 0
  %226 = zext i1 %225 to i8
  store i8 %226, ptr %3, align 1, !tbaa !11
  br label %227

227:                                              ; preds = %182
  %228 = load i32, ptr %6, align 4, !tbaa !5
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %6, align 4, !tbaa !5
  br label %172, !llvm.loop !20

230:                                              ; preds = %181
  %231 = load i8, ptr %3, align 1, !tbaa !11, !range !13, !noundef !14
  %232 = trunc i8 %231 to i1
  %233 = xor i1 %232, true
  %234 = zext i1 %233 to i64
  %235 = select i1 %233, ptr @.str.4, ptr @.str.5
  %236 = call i32 @puts(ptr noundef %235)
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt4pairIS_IiiEiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPSt4pairIS0_IiiEiEEvT_S4_(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6uniqueIPSt4pairIS0_IiiEiEET_S4_S4_(ptr noundef, ptr noundef) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) #6 align 2

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

declare i32 @puts(ptr noundef) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !10}
!16 = !{!17, !6, i64 8}
!17 = !{!"_ZTSSt4pairIS_IiiEiE", !18, i64 0, !6, i64 8}
!18 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


; 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.std::pair.0" = type { %"struct.std::pair", i32 }
%"struct.std::pair" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@n = external dso_local global i32, align 4
@tot = external dso_local local_unnamed_addr global i32, align 4
@dsu = external dso_local local_unnamed_addr global [100001 x i32], align 16
@a = external dso_local global [100001 x %"struct.std::pair.0"], align 16
@que = external dso_local global [100001 x %"struct.std::pair.0"], align 16
@multi = external dso_local global %"class.std::set", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9dsu_mergeii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %3 = icmp sgt i32 %2, 0
  br i1 %3, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.lcssa38 = phi i32 [ %2, %0 ], [ %35, %.lr.ph ]
  %4 = shl i32 %.lcssa38, 1
  %5 = sext i32 %4 to i64
  %6 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %5
  tail call void @_ZSt4sortIPSt4pairIS0_IiiEiEEvT_S4_(ptr noundef nonnull @que, ptr noundef nonnull %6)
  %7 = load i32, ptr @n, align 4, !tbaa !5
  %8 = shl i32 %7, 1
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %9
  %11 = tail call noundef ptr @_ZSt6uniqueIPSt4pairIS0_IiiEiEET_S4_S4_(ptr noundef nonnull @que, ptr noundef nonnull %10)
  %12 = ptrtoint ptr %11 to i64
  %13 = sub i64 %12, ptrtoint (ptr @que to i64)
  %14 = sdiv exact i64 %13, 12
  %15 = trunc i64 %14 to i32
  store i32 %15, ptr @tot, align 4, !tbaa !5
  %sext = shl i64 %14, 32
  %16 = ashr exact i64 %sext, 30
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 @dsu, i8 -1, i64 %16, i1 false)
  tail call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) @multi) #6
  %17 = load i32, ptr @n, align 4, !tbaa !5
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph42, label %._crit_edge43

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %sext67 = shl i64 %indvars.iv, 33
  %19 = ashr exact i64 %sext67, 32
  %20 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %19
  %21 = getelementptr inbounds i8, ptr %20, i64 4
  %22 = getelementptr inbounds i8, ptr %20, i64 8
  %23 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22)
  %indvars.iv.tr = trunc i64 %indvars.iv to i32
  %24 = shl i32 %indvars.iv.tr, 1
  %25 = or disjoint i32 %24, 1
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %26
  %28 = getelementptr inbounds i8, ptr %27, i64 4
  %29 = getelementptr inbounds i8, ptr %27, i64 8
  %30 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef nonnull %29)
  %31 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %19
  %32 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt4pairIS_IiiEiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) %20)
  %33 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %26
  %34 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt4pairIS_IiiEiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = icmp slt i64 %indvars.iv.next, %36
  br i1 %37, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge43.loopexit:                           ; preds = %.lr.ph42
  %38 = select i1 %65, ptr @.str.3, ptr @.str.2
  br label %._crit_edge43

._crit_edge43:                                    ; preds = %._crit_edge43.loopexit, %._crit_edge
  %.033.lcssa = phi ptr [ @.str.3, %._crit_edge ], [ %38, %._crit_edge43.loopexit ]
  %39 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) %.033.lcssa)
  %40 = load i32, ptr @tot, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %.lr.ph47.preheader, label %._crit_edge48

.lr.ph47.preheader:                               ; preds = %._crit_edge43
  %wide.trip.count = zext nneg i32 %40 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %42 = icmp ult i32 %40, 4
  br i1 %42, label %._crit_edge48.loopexit.unr-lcssa, label %.lr.ph47.preheader.new

.lr.ph47.preheader.new:                           ; preds = %.lr.ph47.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %.lr.ph47

.lr.ph42:                                         ; preds = %._crit_edge, %.lr.ph42
  %indvars.iv58 = phi i64 [ %indvars.iv.next59, %.lr.ph42 ], [ 0, %._crit_edge ]
  %43 = load i32, ptr @tot, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %44
  %sext68 = shl i64 %indvars.iv58, 33
  %46 = ashr exact i64 %sext68, 32
  %47 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %46
  %48 = tail call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef nonnull @que, ptr noundef nonnull %45, ptr noundef nonnull align 4 dereferenceable(12) %47)
  %49 = ptrtoint ptr %48 to i64
  %50 = sub i64 %49, ptrtoint (ptr @que to i64)
  %51 = sdiv exact i64 %50, 12
  %52 = trunc i64 %51 to i32
  %53 = load i32, ptr @tot, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %54
  %indvars.iv58.tr = trunc i64 %indvars.iv58 to i32
  %56 = shl i32 %indvars.iv58.tr, 1
  %57 = or disjoint i32 %56, 1
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %58
  %60 = tail call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef nonnull @que, ptr noundef nonnull %55, ptr noundef nonnull align 4 dereferenceable(12) %59)
  %61 = ptrtoint ptr %60 to i64
  %62 = sub i64 %61, ptrtoint (ptr @que to i64)
  %63 = sdiv exact i64 %62, 12
  %64 = trunc i64 %63 to i32
  %65 = tail call noundef zeroext i1 @_Z9dsu_mergeii(i32 noundef %52, i32 noundef %64)
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %66 = load i32, ptr @n, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = icmp slt i64 %indvars.iv.next59, %67
  %69 = and i1 %65, %68
  br i1 %69, label %.lr.ph42, label %._crit_edge43.loopexit, !llvm.loop !11

._crit_edge48.loopexit.unr-lcssa:                 ; preds = %.lr.ph47, %.lr.ph47.preheader
  %indvars.iv61.unr = phi i64 [ 0, %.lr.ph47.preheader ], [ %indvars.iv.next62.3, %.lr.ph47 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge48, label %.lr.ph47.epil

.lr.ph47.epil:                                    ; preds = %._crit_edge48.loopexit.unr-lcssa, %.lr.ph47.epil
  %indvars.iv61.epil = phi i64 [ %indvars.iv.next62.epil, %.lr.ph47.epil ], [ %indvars.iv61.unr, %._crit_edge48.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph47.epil ], [ 0, %._crit_edge48.loopexit.unr-lcssa ]
  %70 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %indvars.iv61.epil, i32 1
  store i32 0, ptr %70, align 4, !tbaa !12
  %indvars.iv.next62.epil = add nuw nsw i64 %indvars.iv61.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge48, label %.lr.ph47.epil, !llvm.loop !15

._crit_edge48:                                    ; preds = %._crit_edge48.loopexit.unr-lcssa, %.lr.ph47.epil, %._crit_edge43
  %71 = sext i32 %40 to i64
  %72 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %71
  %73 = tail call noundef ptr @_ZSt6uniqueIPSt4pairIS0_IiiEiEET_S4_S4_(ptr noundef nonnull @que, ptr noundef nonnull %72)
  %74 = ptrtoint ptr %73 to i64
  %75 = sub i64 %74, ptrtoint (ptr @que to i64)
  %76 = sdiv exact i64 %75, 12
  %77 = trunc i64 %76 to i32
  store i32 %77, ptr @tot, align 4, !tbaa !5
  %sext37 = shl i64 %76, 32
  %78 = ashr exact i64 %sext37, 30
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 @dsu, i8 -1, i64 %78, i1 false)
  tail call void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) @multi) #6
  %79 = load i32, ptr @n, align 4, !tbaa !5
  %80 = icmp sgt i32 %79, 0
  br i1 %80, label %.lr.ph52, label %._crit_edge53

.lr.ph47:                                         ; preds = %.lr.ph47, %.lr.ph47.preheader.new
  %indvars.iv61 = phi i64 [ 0, %.lr.ph47.preheader.new ], [ %indvars.iv.next62.3, %.lr.ph47 ]
  %niter = phi i64 [ 0, %.lr.ph47.preheader.new ], [ %niter.next.3, %.lr.ph47 ]
  %81 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %indvars.iv61, i32 1
  store i32 0, ptr %81, align 8, !tbaa !12
  %indvars.iv.next62 = or disjoint i64 %indvars.iv61, 1
  %82 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %indvars.iv.next62, i32 1
  store i32 0, ptr %82, align 4, !tbaa !12
  %indvars.iv.next62.1 = or disjoint i64 %indvars.iv61, 2
  %83 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %indvars.iv.next62.1, i32 1
  store i32 0, ptr %83, align 16, !tbaa !12
  %indvars.iv.next62.2 = or disjoint i64 %indvars.iv61, 3
  %84 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @que, i64 0, i64 %indvars.iv.next62.2, i32 1
  store i32 0, ptr %84, align 4, !tbaa !12
  %indvars.iv.next62.3 = add nuw nsw i64 %indvars.iv61, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge48.loopexit.unr-lcssa, label %.lr.ph47, !llvm.loop !17

._crit_edge53.loopexit:                           ; preds = %.lr.ph52
  %85 = select i1 %111, ptr @.str.5, ptr @.str.4
  br label %._crit_edge53

._crit_edge53:                                    ; preds = %._crit_edge53.loopexit, %._crit_edge48
  %.1.lcssa = phi ptr [ @.str.5, %._crit_edge48 ], [ %85, %._crit_edge53.loopexit ]
  %86 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) %.1.lcssa)
  ret i32 0

.lr.ph52:                                         ; preds = %._crit_edge48, %.lr.ph52
  %indvars.iv64 = phi i64 [ %indvars.iv.next65, %.lr.ph52 ], [ 0, %._crit_edge48 ]
  %87 = shl i64 %indvars.iv64, 33
  %sext69 = ashr exact i64 %87, 32
  %88 = or disjoint i64 %sext69, 1
  %89 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %88
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  store i32 0, ptr %90, align 4, !tbaa !12
  %indvars.iv64.tr = trunc i64 %indvars.iv64 to i32
  %91 = shl i32 %indvars.iv64.tr, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100001 x %"struct.std::pair.0"], ptr @a, i64 0, i64 %92
  %94 = getelementptr inbounds i8, ptr %93, i64 8
  store i32 0, ptr %94, align 8, !tbaa !12
  %95 = load i32, ptr @tot, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %96
  %98 = tail call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef nonnull @que, ptr noundef nonnull %97, ptr noundef nonnull align 4 dereferenceable(12) %93)
  %99 = ptrtoint ptr %98 to i64
  %100 = sub i64 %99, ptrtoint (ptr @que to i64)
  %101 = sdiv exact i64 %100, 12
  %102 = trunc i64 %101 to i32
  %103 = load i32, ptr @tot, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds %"struct.std::pair.0", ptr @que, i64 %104
  %106 = tail call noundef ptr @_ZSt11lower_boundIPSt4pairIS0_IiiEiES2_ET_S4_S4_RKT0_(ptr noundef nonnull @que, ptr noundef nonnull %105, ptr noundef nonnull align 4 dereferenceable(12) %89)
  %107 = ptrtoint ptr %106 to i64
  %108 = sub i64 %107, ptrtoint (ptr @que to i64)
  %109 = sdiv exact i64 %108, 12
  %110 = trunc i64 %109 to i32
  %111 = tail call noundef zeroext i1 @_Z9dsu_mergeii(i32 noundef %102, i32 noundef %110)
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %112 = load i32, ptr @n, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = icmp slt i64 %indvars.iv.next65, %113
  %115 = and i1 %111, %114
  br i1 %115, label %.lr.ph52, label %._crit_edge53.loopexit, !llvm.loop !18
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt4pairIS_IiiEiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPSt4pairIS0_IiiEiEEvT_S4_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6uniqueIPSt4pairIS0_IiiEiEET_S4_S4_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #5 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2

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

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

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


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