; LLVM IR from DionysiosB/CodeForces :: 1904A-Forked (main)

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

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %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 = alloca i64, align 8
  %9 = alloca %"class.std::set", align 8
  %10 = alloca %"class.std::set", align 8
  %11 = alloca %"struct.std::pair.0", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"struct.std::pair", align 8
  %17 = alloca %"struct.std::pair.0", align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca %"struct.std::pair", align 8
  %21 = alloca %"struct.std::pair.0", align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca %"struct.std::pair.0", align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca %"struct.std::pair", align 8
  %29 = alloca %"struct.std::pair.0", align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca %"struct.std::pair", align 8
  %33 = alloca %"struct.std::pair.0", align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca %"struct.std::pair", align 8
  %37 = alloca %"struct.std::pair.0", align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca %"struct.std::pair", align 8
  %41 = alloca %"struct.std::pair.0", align 8
  %42 = alloca i64, align 8
  %43 = alloca i64, align 8
  %44 = alloca %"struct.std::pair", align 8
  %45 = alloca %"struct.std::pair.0", align 8
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca %"struct.std::pair", align 8
  %49 = alloca %"struct.std::pair.0", align 8
  %50 = alloca i64, align 8
  %51 = alloca i64, align 8
  %52 = alloca %"struct.std::pair", align 8
  %53 = alloca %"struct.std::pair.0", align 8
  %54 = alloca i64, align 8
  %55 = alloca i64, align 8
  %56 = alloca %"struct.std::pair", align 8
  %57 = alloca %"struct.std::pair.0", align 8
  %58 = alloca i64, align 8
  %59 = alloca i64, align 8
  %60 = alloca %"struct.std::pair", align 8
  %61 = alloca %"struct.std::pair.0", align 8
  %62 = alloca i64, align 8
  %63 = alloca i64, align 8
  %64 = alloca %"struct.std::pair", align 8
  %65 = alloca %"struct.std::pair.0", align 8
  %66 = alloca i64, align 8
  %67 = alloca i64, align 8
  %68 = alloca %"struct.std::pair", align 8
  %69 = alloca %"struct.std::pair.0", align 8
  %70 = alloca i64, align 8
  %71 = alloca i64, align 8
  %72 = alloca %"struct.std::pair", align 8
  %73 = alloca %"struct.std::pair.0", align 8
  %74 = alloca i64, align 8
  %75 = alloca i64, align 8
  %76 = alloca %"struct.std::pair", align 8
  %77 = alloca i64, align 8
  %78 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %79 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %80 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %81 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  br label %82

82:                                               ; preds = %465, %0
  %83 = load i64, ptr %2, align 8, !tbaa !5
  %84 = add nsw i64 %83, -1
  store i64 %84, ptr %2, align 8, !tbaa !5
  %85 = icmp ne i64 %83, 0
  br i1 %85, label %86, label %472

86:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %87 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %88 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %89 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %7, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %90 = load i64, ptr %5, align 8, !tbaa !5
  %91 = load i64, ptr %3, align 8, !tbaa !5
  %92 = add nsw i64 %90, %91
  store i64 %92, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %93 = load i64, ptr %6, align 8, !tbaa !5
  %94 = load i64, ptr %4, align 8, !tbaa !5
  %95 = add nsw i64 %93, %94
  store i64 %95, ptr %13, align 8, !tbaa !5
  %96 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %97 unwind label %385

97:                                               ; preds = %86
  %98 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 0
  %99 = extractvalue { i64, i64 } %96, 0
  store i64 %99, ptr %98, align 8
  %100 = getelementptr inbounds { i64, i64 }, ptr %11, i32 0, i32 1
  %101 = extractvalue { i64, i64 } %96, 1
  store i64 %101, ptr %100, align 8
  %102 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %103 unwind label %385

103:                                              ; preds = %97
  %104 = getelementptr inbounds { ptr, i8 }, ptr %16, i32 0, i32 0
  %105 = extractvalue { ptr, i8 } %102, 0
  store ptr %105, ptr %104, align 8
  %106 = getelementptr inbounds { ptr, i8 }, ptr %16, i32 0, i32 1
  %107 = extractvalue { ptr, i8 } %102, 1
  store i8 %107, ptr %106, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %108 = load i64, ptr %5, align 8, !tbaa !5
  %109 = load i64, ptr %3, align 8, !tbaa !5
  %110 = sub nsw i64 %108, %109
  store i64 %110, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %111 = load i64, ptr %6, align 8, !tbaa !5
  %112 = load i64, ptr %4, align 8, !tbaa !5
  %113 = add nsw i64 %111, %112
  store i64 %113, ptr %19, align 8, !tbaa !5
  %114 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %115 unwind label %389

115:                                              ; preds = %103
  %116 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 0
  %117 = extractvalue { i64, i64 } %114, 0
  store i64 %117, ptr %116, align 8
  %118 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 1
  %119 = extractvalue { i64, i64 } %114, 1
  store i64 %119, ptr %118, align 8
  %120 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %121 unwind label %389

121:                                              ; preds = %115
  %122 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 0
  %123 = extractvalue { ptr, i8 } %120, 0
  store ptr %123, ptr %122, align 8
  %124 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 1
  %125 = extractvalue { ptr, i8 } %120, 1
  store i8 %125, ptr %124, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %126 = load i64, ptr %5, align 8, !tbaa !5
  %127 = load i64, ptr %3, align 8, !tbaa !5
  %128 = add nsw i64 %126, %127
  store i64 %128, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %129 = load i64, ptr %6, align 8, !tbaa !5
  %130 = load i64, ptr %4, align 8, !tbaa !5
  %131 = sub nsw i64 %129, %130
  store i64 %131, ptr %23, align 8, !tbaa !5
  %132 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %133 unwind label %393

133:                                              ; preds = %121
  %134 = getelementptr inbounds { i64, i64 }, ptr %21, i32 0, i32 0
  %135 = extractvalue { i64, i64 } %132, 0
  store i64 %135, ptr %134, align 8
  %136 = getelementptr inbounds { i64, i64 }, ptr %21, i32 0, i32 1
  %137 = extractvalue { i64, i64 } %132, 1
  store i64 %137, ptr %136, align 8
  %138 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %139 unwind label %393

139:                                              ; preds = %133
  %140 = getelementptr inbounds { ptr, i8 }, ptr %24, i32 0, i32 0
  %141 = extractvalue { ptr, i8 } %138, 0
  store ptr %141, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i8 }, ptr %24, i32 0, i32 1
  %143 = extractvalue { ptr, i8 } %138, 1
  store i8 %143, ptr %142, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %144 = load i64, ptr %5, align 8, !tbaa !5
  %145 = load i64, ptr %3, align 8, !tbaa !5
  %146 = sub nsw i64 %144, %145
  store i64 %146, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %147 = load i64, ptr %6, align 8, !tbaa !5
  %148 = load i64, ptr %4, align 8, !tbaa !5
  %149 = sub nsw i64 %147, %148
  store i64 %149, ptr %27, align 8, !tbaa !5
  %150 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %151 unwind label %397

151:                                              ; preds = %139
  %152 = getelementptr inbounds { i64, i64 }, ptr %25, i32 0, i32 0
  %153 = extractvalue { i64, i64 } %150, 0
  store i64 %153, ptr %152, align 8
  %154 = getelementptr inbounds { i64, i64 }, ptr %25, i32 0, i32 1
  %155 = extractvalue { i64, i64 } %150, 1
  store i64 %155, ptr %154, align 8
  %156 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %157 unwind label %397

157:                                              ; preds = %151
  %158 = getelementptr inbounds { ptr, i8 }, ptr %28, i32 0, i32 0
  %159 = extractvalue { ptr, i8 } %156, 0
  store ptr %159, ptr %158, align 8
  %160 = getelementptr inbounds { ptr, i8 }, ptr %28, i32 0, i32 1
  %161 = extractvalue { ptr, i8 } %156, 1
  store i8 %161, ptr %160, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %162 = load i64, ptr %5, align 8, !tbaa !5
  %163 = load i64, ptr %4, align 8, !tbaa !5
  %164 = add nsw i64 %162, %163
  store i64 %164, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %165 = load i64, ptr %6, align 8, !tbaa !5
  %166 = load i64, ptr %3, align 8, !tbaa !5
  %167 = add nsw i64 %165, %166
  store i64 %167, ptr %31, align 8, !tbaa !5
  %168 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %169 unwind label %401

169:                                              ; preds = %157
  %170 = getelementptr inbounds { i64, i64 }, ptr %29, i32 0, i32 0
  %171 = extractvalue { i64, i64 } %168, 0
  store i64 %171, ptr %170, align 8
  %172 = getelementptr inbounds { i64, i64 }, ptr %29, i32 0, i32 1
  %173 = extractvalue { i64, i64 } %168, 1
  store i64 %173, ptr %172, align 8
  %174 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %175 unwind label %401

175:                                              ; preds = %169
  %176 = getelementptr inbounds { ptr, i8 }, ptr %32, i32 0, i32 0
  %177 = extractvalue { ptr, i8 } %174, 0
  store ptr %177, ptr %176, align 8
  %178 = getelementptr inbounds { ptr, i8 }, ptr %32, i32 0, i32 1
  %179 = extractvalue { ptr, i8 } %174, 1
  store i8 %179, ptr %178, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %180 = load i64, ptr %5, align 8, !tbaa !5
  %181 = load i64, ptr %4, align 8, !tbaa !5
  %182 = sub nsw i64 %180, %181
  store i64 %182, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %183 = load i64, ptr %6, align 8, !tbaa !5
  %184 = load i64, ptr %3, align 8, !tbaa !5
  %185 = add nsw i64 %183, %184
  store i64 %185, ptr %35, align 8, !tbaa !5
  %186 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %187 unwind label %405

187:                                              ; preds = %175
  %188 = getelementptr inbounds { i64, i64 }, ptr %33, i32 0, i32 0
  %189 = extractvalue { i64, i64 } %186, 0
  store i64 %189, ptr %188, align 8
  %190 = getelementptr inbounds { i64, i64 }, ptr %33, i32 0, i32 1
  %191 = extractvalue { i64, i64 } %186, 1
  store i64 %191, ptr %190, align 8
  %192 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %193 unwind label %405

193:                                              ; preds = %187
  %194 = getelementptr inbounds { ptr, i8 }, ptr %36, i32 0, i32 0
  %195 = extractvalue { ptr, i8 } %192, 0
  store ptr %195, ptr %194, align 8
  %196 = getelementptr inbounds { ptr, i8 }, ptr %36, i32 0, i32 1
  %197 = extractvalue { ptr, i8 } %192, 1
  store i8 %197, ptr %196, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %198 = load i64, ptr %5, align 8, !tbaa !5
  %199 = load i64, ptr %4, align 8, !tbaa !5
  %200 = add nsw i64 %198, %199
  store i64 %200, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %201 = load i64, ptr %6, align 8, !tbaa !5
  %202 = load i64, ptr %3, align 8, !tbaa !5
  %203 = sub nsw i64 %201, %202
  store i64 %203, ptr %39, align 8, !tbaa !5
  %204 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %205 unwind label %409

205:                                              ; preds = %193
  %206 = getelementptr inbounds { i64, i64 }, ptr %37, i32 0, i32 0
  %207 = extractvalue { i64, i64 } %204, 0
  store i64 %207, ptr %206, align 8
  %208 = getelementptr inbounds { i64, i64 }, ptr %37, i32 0, i32 1
  %209 = extractvalue { i64, i64 } %204, 1
  store i64 %209, ptr %208, align 8
  %210 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %211 unwind label %409

211:                                              ; preds = %205
  %212 = getelementptr inbounds { ptr, i8 }, ptr %40, i32 0, i32 0
  %213 = extractvalue { ptr, i8 } %210, 0
  store ptr %213, ptr %212, align 8
  %214 = getelementptr inbounds { ptr, i8 }, ptr %40, i32 0, i32 1
  %215 = extractvalue { ptr, i8 } %210, 1
  store i8 %215, ptr %214, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %216 = load i64, ptr %5, align 8, !tbaa !5
  %217 = load i64, ptr %4, align 8, !tbaa !5
  %218 = sub nsw i64 %216, %217
  store i64 %218, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %219 = load i64, ptr %6, align 8, !tbaa !5
  %220 = load i64, ptr %3, align 8, !tbaa !5
  %221 = sub nsw i64 %219, %220
  store i64 %221, ptr %43, align 8, !tbaa !5
  %222 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %223 unwind label %413

223:                                              ; preds = %211
  %224 = getelementptr inbounds { i64, i64 }, ptr %41, i32 0, i32 0
  %225 = extractvalue { i64, i64 } %222, 0
  store i64 %225, ptr %224, align 8
  %226 = getelementptr inbounds { i64, i64 }, ptr %41, i32 0, i32 1
  %227 = extractvalue { i64, i64 } %222, 1
  store i64 %227, ptr %226, align 8
  %228 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %229 unwind label %413

229:                                              ; preds = %223
  %230 = getelementptr inbounds { ptr, i8 }, ptr %44, i32 0, i32 0
  %231 = extractvalue { ptr, i8 } %228, 0
  store ptr %231, ptr %230, align 8
  %232 = getelementptr inbounds { ptr, i8 }, ptr %44, i32 0, i32 1
  %233 = extractvalue { ptr, i8 } %228, 1
  store i8 %233, ptr %232, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %234 = load i64, ptr %7, align 8, !tbaa !5
  %235 = load i64, ptr %3, align 8, !tbaa !5
  %236 = add nsw i64 %234, %235
  store i64 %236, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  %237 = load i64, ptr %8, align 8, !tbaa !5
  %238 = load i64, ptr %4, align 8, !tbaa !5
  %239 = add nsw i64 %237, %238
  store i64 %239, ptr %47, align 8, !tbaa !5
  %240 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %241 unwind label %417

241:                                              ; preds = %229
  %242 = getelementptr inbounds { i64, i64 }, ptr %45, i32 0, i32 0
  %243 = extractvalue { i64, i64 } %240, 0
  store i64 %243, ptr %242, align 8
  %244 = getelementptr inbounds { i64, i64 }, ptr %45, i32 0, i32 1
  %245 = extractvalue { i64, i64 } %240, 1
  store i64 %245, ptr %244, align 8
  %246 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %247 unwind label %417

247:                                              ; preds = %241
  %248 = getelementptr inbounds { ptr, i8 }, ptr %48, i32 0, i32 0
  %249 = extractvalue { ptr, i8 } %246, 0
  store ptr %249, ptr %248, align 8
  %250 = getelementptr inbounds { ptr, i8 }, ptr %48, i32 0, i32 1
  %251 = extractvalue { ptr, i8 } %246, 1
  store i8 %251, ptr %250, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #5
  %252 = load i64, ptr %7, align 8, !tbaa !5
  %253 = load i64, ptr %3, align 8, !tbaa !5
  %254 = sub nsw i64 %252, %253
  store i64 %254, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  %255 = load i64, ptr %8, align 8, !tbaa !5
  %256 = load i64, ptr %4, align 8, !tbaa !5
  %257 = add nsw i64 %255, %256
  store i64 %257, ptr %51, align 8, !tbaa !5
  %258 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %259 unwind label %421

259:                                              ; preds = %247
  %260 = getelementptr inbounds { i64, i64 }, ptr %49, i32 0, i32 0
  %261 = extractvalue { i64, i64 } %258, 0
  store i64 %261, ptr %260, align 8
  %262 = getelementptr inbounds { i64, i64 }, ptr %49, i32 0, i32 1
  %263 = extractvalue { i64, i64 } %258, 1
  store i64 %263, ptr %262, align 8
  %264 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %265 unwind label %421

265:                                              ; preds = %259
  %266 = getelementptr inbounds { ptr, i8 }, ptr %52, i32 0, i32 0
  %267 = extractvalue { ptr, i8 } %264, 0
  store ptr %267, ptr %266, align 8
  %268 = getelementptr inbounds { ptr, i8 }, ptr %52, i32 0, i32 1
  %269 = extractvalue { ptr, i8 } %264, 1
  store i8 %269, ptr %268, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %270 = load i64, ptr %7, align 8, !tbaa !5
  %271 = load i64, ptr %3, align 8, !tbaa !5
  %272 = add nsw i64 %270, %271
  store i64 %272, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #5
  %273 = load i64, ptr %8, align 8, !tbaa !5
  %274 = load i64, ptr %4, align 8, !tbaa !5
  %275 = sub nsw i64 %273, %274
  store i64 %275, ptr %55, align 8, !tbaa !5
  %276 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %277 unwind label %425

277:                                              ; preds = %265
  %278 = getelementptr inbounds { i64, i64 }, ptr %53, i32 0, i32 0
  %279 = extractvalue { i64, i64 } %276, 0
  store i64 %279, ptr %278, align 8
  %280 = getelementptr inbounds { i64, i64 }, ptr %53, i32 0, i32 1
  %281 = extractvalue { i64, i64 } %276, 1
  store i64 %281, ptr %280, align 8
  %282 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %53)
          to label %283 unwind label %425

283:                                              ; preds = %277
  %284 = getelementptr inbounds { ptr, i8 }, ptr %56, i32 0, i32 0
  %285 = extractvalue { ptr, i8 } %282, 0
  store ptr %285, ptr %284, align 8
  %286 = getelementptr inbounds { ptr, i8 }, ptr %56, i32 0, i32 1
  %287 = extractvalue { ptr, i8 } %282, 1
  store i8 %287, ptr %286, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #5
  %288 = load i64, ptr %7, align 8, !tbaa !5
  %289 = load i64, ptr %3, align 8, !tbaa !5
  %290 = sub nsw i64 %288, %289
  store i64 %290, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  %291 = load i64, ptr %8, align 8, !tbaa !5
  %292 = load i64, ptr %4, align 8, !tbaa !5
  %293 = sub nsw i64 %291, %292
  store i64 %293, ptr %59, align 8, !tbaa !5
  %294 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(8) %59)
          to label %295 unwind label %429

295:                                              ; preds = %283
  %296 = getelementptr inbounds { i64, i64 }, ptr %57, i32 0, i32 0
  %297 = extractvalue { i64, i64 } %294, 0
  store i64 %297, ptr %296, align 8
  %298 = getelementptr inbounds { i64, i64 }, ptr %57, i32 0, i32 1
  %299 = extractvalue { i64, i64 } %294, 1
  store i64 %299, ptr %298, align 8
  %300 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %57)
          to label %301 unwind label %429

301:                                              ; preds = %295
  %302 = getelementptr inbounds { ptr, i8 }, ptr %60, i32 0, i32 0
  %303 = extractvalue { ptr, i8 } %300, 0
  store ptr %303, ptr %302, align 8
  %304 = getelementptr inbounds { ptr, i8 }, ptr %60, i32 0, i32 1
  %305 = extractvalue { ptr, i8 } %300, 1
  store i8 %305, ptr %304, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  %306 = load i64, ptr %7, align 8, !tbaa !5
  %307 = load i64, ptr %4, align 8, !tbaa !5
  %308 = add nsw i64 %306, %307
  store i64 %308, ptr %62, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #5
  %309 = load i64, ptr %8, align 8, !tbaa !5
  %310 = load i64, ptr %3, align 8, !tbaa !5
  %311 = add nsw i64 %309, %310
  store i64 %311, ptr %63, align 8, !tbaa !5
  %312 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %63)
          to label %313 unwind label %433

313:                                              ; preds = %301
  %314 = getelementptr inbounds { i64, i64 }, ptr %61, i32 0, i32 0
  %315 = extractvalue { i64, i64 } %312, 0
  store i64 %315, ptr %314, align 8
  %316 = getelementptr inbounds { i64, i64 }, ptr %61, i32 0, i32 1
  %317 = extractvalue { i64, i64 } %312, 1
  store i64 %317, ptr %316, align 8
  %318 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %61)
          to label %319 unwind label %433

319:                                              ; preds = %313
  %320 = getelementptr inbounds { ptr, i8 }, ptr %64, i32 0, i32 0
  %321 = extractvalue { ptr, i8 } %318, 0
  store ptr %321, ptr %320, align 8
  %322 = getelementptr inbounds { ptr, i8 }, ptr %64, i32 0, i32 1
  %323 = extractvalue { ptr, i8 } %318, 1
  store i8 %323, ptr %322, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  %324 = load i64, ptr %7, align 8, !tbaa !5
  %325 = load i64, ptr %4, align 8, !tbaa !5
  %326 = sub nsw i64 %324, %325
  store i64 %326, ptr %66, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #5
  %327 = load i64, ptr %8, align 8, !tbaa !5
  %328 = load i64, ptr %3, align 8, !tbaa !5
  %329 = add nsw i64 %327, %328
  store i64 %329, ptr %67, align 8, !tbaa !5
  %330 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %331 unwind label %437

331:                                              ; preds = %319
  %332 = getelementptr inbounds { i64, i64 }, ptr %65, i32 0, i32 0
  %333 = extractvalue { i64, i64 } %330, 0
  store i64 %333, ptr %332, align 8
  %334 = getelementptr inbounds { i64, i64 }, ptr %65, i32 0, i32 1
  %335 = extractvalue { i64, i64 } %330, 1
  store i64 %335, ptr %334, align 8
  %336 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %65)
          to label %337 unwind label %437

337:                                              ; preds = %331
  %338 = getelementptr inbounds { ptr, i8 }, ptr %68, i32 0, i32 0
  %339 = extractvalue { ptr, i8 } %336, 0
  store ptr %339, ptr %338, align 8
  %340 = getelementptr inbounds { ptr, i8 }, ptr %68, i32 0, i32 1
  %341 = extractvalue { ptr, i8 } %336, 1
  store i8 %341, ptr %340, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #5
  %342 = load i64, ptr %7, align 8, !tbaa !5
  %343 = load i64, ptr %4, align 8, !tbaa !5
  %344 = add nsw i64 %342, %343
  store i64 %344, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #5
  %345 = load i64, ptr %8, align 8, !tbaa !5
  %346 = load i64, ptr %3, align 8, !tbaa !5
  %347 = sub nsw i64 %345, %346
  store i64 %347, ptr %71, align 8, !tbaa !5
  %348 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %349 unwind label %441

349:                                              ; preds = %337
  %350 = getelementptr inbounds { i64, i64 }, ptr %69, i32 0, i32 0
  %351 = extractvalue { i64, i64 } %348, 0
  store i64 %351, ptr %350, align 8
  %352 = getelementptr inbounds { i64, i64 }, ptr %69, i32 0, i32 1
  %353 = extractvalue { i64, i64 } %348, 1
  store i64 %353, ptr %352, align 8
  %354 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %355 unwind label %441

355:                                              ; preds = %349
  %356 = getelementptr inbounds { ptr, i8 }, ptr %72, i32 0, i32 0
  %357 = extractvalue { ptr, i8 } %354, 0
  store ptr %357, ptr %356, align 8
  %358 = getelementptr inbounds { ptr, i8 }, ptr %72, i32 0, i32 1
  %359 = extractvalue { ptr, i8 } %354, 1
  store i8 %359, ptr %358, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #5
  %360 = load i64, ptr %7, align 8, !tbaa !5
  %361 = load i64, ptr %4, align 8, !tbaa !5
  %362 = sub nsw i64 %360, %361
  store i64 %362, ptr %74, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #5
  %363 = load i64, ptr %8, align 8, !tbaa !5
  %364 = load i64, ptr %3, align 8, !tbaa !5
  %365 = sub nsw i64 %363, %364
  store i64 %365, ptr %75, align 8, !tbaa !5
  %366 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %367 unwind label %445

367:                                              ; preds = %355
  %368 = getelementptr inbounds { i64, i64 }, ptr %73, i32 0, i32 0
  %369 = extractvalue { i64, i64 } %366, 0
  store i64 %369, ptr %368, align 8
  %370 = getelementptr inbounds { i64, i64 }, ptr %73, i32 0, i32 1
  %371 = extractvalue { i64, i64 } %366, 1
  store i64 %371, ptr %370, align 8
  %372 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %73)
          to label %373 unwind label %445

373:                                              ; preds = %367
  %374 = getelementptr inbounds { ptr, i8 }, ptr %76, i32 0, i32 0
  %375 = extractvalue { ptr, i8 } %372, 0
  store ptr %375, ptr %374, align 8
  %376 = getelementptr inbounds { ptr, i8 }, ptr %76, i32 0, i32 1
  %377 = extractvalue { ptr, i8 } %372, 1
  store i8 %377, ptr %376, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #5
  store i64 0, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #5
  %378 = call ptr @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  %379 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %78, i32 0, i32 0
  store ptr %378, ptr %379, align 8
  br label %380

380:                                              ; preds = %455, %373
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #5
  %381 = call ptr @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  %382 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %79, i32 0, i32 0
  store ptr %381, ptr %382, align 8
  %383 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIllEES4_(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull align 8 dereferenceable(8) %79) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #5
  br i1 %383, label %449, label %384

384:                                              ; preds = %380
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #5
  br label %462

385:                                              ; preds = %97, %86
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %14, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %471

389:                                              ; preds = %115, %103
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %14, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  br label %471

393:                                              ; preds = %133, %121
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %14, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br label %471

397:                                              ; preds = %151, %139
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %14, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  br label %471

401:                                              ; preds = %169, %157
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %14, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  br label %471

405:                                              ; preds = %187, %175
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %14, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  br label %471

409:                                              ; preds = %205, %193
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %14, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  br label %471

413:                                              ; preds = %223, %211
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %14, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  br label %471

417:                                              ; preds = %241, %229
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %14, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #5
  br label %471

421:                                              ; preds = %259, %247
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %14, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  br label %471

425:                                              ; preds = %277, %265
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %14, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #5
  br label %471

429:                                              ; preds = %295, %283
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %14, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #5
  br label %471

433:                                              ; preds = %313, %301
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %14, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #5
  br label %471

437:                                              ; preds = %331, %319
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %14, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #5
  br label %471

441:                                              ; preds = %349, %337
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %14, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #5
  br label %471

445:                                              ; preds = %367, %355
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %14, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #5
  br label %471

449:                                              ; preds = %380
  %450 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIllEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #5
  %451 = invoke noundef i64 @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(16) %450)
          to label %452 unwind label %458

452:                                              ; preds = %449
  %453 = load i64, ptr %77, align 8, !tbaa !5
  %454 = add i64 %453, %451
  store i64 %454, ptr %77, align 8, !tbaa !5
  br label %455

455:                                              ; preds = %452
  %456 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIllEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %78, i32 noundef 0) #5
  %457 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %80, i32 0, i32 0
  store ptr %456, ptr %457, align 8
  br label %380, !llvm.loop !9

458:                                              ; preds = %449
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %14, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #5
  br label %470

462:                                              ; preds = %384
  %463 = load i64, ptr %77, align 8, !tbaa !5
  %464 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %463)
          to label %465 unwind label %466

465:                                              ; preds = %462
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %82, !llvm.loop !11

466:                                              ; preds = %462
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %14, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %15, align 4
  br label %470

470:                                              ; preds = %466, %458
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #5
  br label %471

471:                                              ; preds = %470, %445, %441, %437, %433, %429, %425, %421, %417, %413, %409, %405, %401, %397, %393, %389, %385
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  br label %474

472:                                              ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %473 = load i32, ptr %1, align 4
  ret i32 %473

474:                                              ; preds = %471
  %475 = load ptr, ptr %14, align 8
  %476 = load i32, ptr %15, align 4
  %477 = insertvalue { ptr, i32 } poison, ptr %475, 0
  %478 = insertvalue { ptr, i32 } %477, i32 %476, 1
  resume { ptr, i32 } %478
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIllEES4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !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}


; 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::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<long, long>, std::pair<long, long>, std::_Identity<std::pair<long, long>>, std::less<std::pair<long, long>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<long, long>, std::pair<long, long>, std::_Identity<std::pair<long, long>>, std::less<std::pair<long, long>>>::_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 }
%"struct.std::pair.0" = type { i64, i64 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %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 = alloca %"class.std::set", align 8
  %9 = alloca %"class.std::set", align 8
  %10 = alloca %"struct.std::pair.0", align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca %"struct.std::pair.0", align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca %"struct.std::pair.0", align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.std::pair.0", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"struct.std::pair.0", align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca %"struct.std::pair.0", align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca %"struct.std::pair.0", align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca %"struct.std::pair.0", align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca %"struct.std::pair.0", align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca %"struct.std::pair.0", align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca %"struct.std::pair.0", align 8
  %41 = alloca i64, align 8
  %42 = alloca i64, align 8
  %43 = alloca %"struct.std::pair.0", align 8
  %44 = alloca i64, align 8
  %45 = alloca i64, align 8
  %46 = alloca %"struct.std::pair.0", align 8
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca %"struct.std::pair.0", align 8
  %50 = alloca i64, align 8
  %51 = alloca i64, align 8
  %52 = alloca %"struct.std::pair.0", align 8
  %53 = alloca i64, align 8
  %54 = alloca i64, align 8
  %55 = alloca %"struct.std::pair.0", align 8
  %56 = alloca i64, align 8
  %57 = alloca i64, align 8
  %58 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %59 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %60 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %61 = load i64, ptr %1, align 8, !tbaa !5
  %62 = add nsw i64 %61, -1
  store i64 %62, ptr %1, align 8, !tbaa !5
  %.not40 = icmp eq i64 %61, 0
  br i1 %.not40, label %._crit_edge43, label %.lr.ph42

.lr.ph42:                                         ; preds = %0
  %63 = getelementptr inbounds i8, ptr %10, i64 8
  %64 = getelementptr inbounds i8, ptr %13, i64 8
  %65 = getelementptr inbounds i8, ptr %16, i64 8
  %66 = getelementptr inbounds i8, ptr %19, i64 8
  %67 = getelementptr inbounds i8, ptr %22, i64 8
  %68 = getelementptr inbounds i8, ptr %25, i64 8
  %69 = getelementptr inbounds i8, ptr %28, i64 8
  %70 = getelementptr inbounds i8, ptr %31, i64 8
  %71 = getelementptr inbounds i8, ptr %34, i64 8
  %72 = getelementptr inbounds i8, ptr %37, i64 8
  %73 = getelementptr inbounds i8, ptr %40, i64 8
  %74 = getelementptr inbounds i8, ptr %43, i64 8
  %75 = getelementptr inbounds i8, ptr %46, i64 8
  %76 = getelementptr inbounds i8, ptr %49, i64 8
  %77 = getelementptr inbounds i8, ptr %52, i64 8
  %78 = getelementptr inbounds i8, ptr %55, i64 8
  br label %79

79:                                               ; preds = %.lr.ph42, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %80 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %81 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %82 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %6, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %83 = load i64, ptr %4, align 8, !tbaa !5
  %84 = load i64, ptr %2, align 8, !tbaa !5
  %85 = add nsw i64 %84, %83
  store i64 %85, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %86 = load i64, ptr %5, align 8, !tbaa !5
  %87 = load i64, ptr %3, align 8, !tbaa !5
  %88 = add nsw i64 %87, %86
  store i64 %88, ptr %12, align 8, !tbaa !5
  %89 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %90 unwind label %281

90:                                               ; preds = %79
  %91 = extractvalue { i64, i64 } %89, 0
  store i64 %91, ptr %10, align 8
  %92 = extractvalue { i64, i64 } %89, 1
  store i64 %92, ptr %63, align 8
  %93 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %94 unwind label %281

94:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %95 = load i64, ptr %4, align 8, !tbaa !5
  %96 = load i64, ptr %2, align 8, !tbaa !5
  %97 = sub nsw i64 %95, %96
  store i64 %97, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %98 = load i64, ptr %5, align 8, !tbaa !5
  %99 = load i64, ptr %3, align 8, !tbaa !5
  %100 = add nsw i64 %99, %98
  store i64 %100, ptr %15, align 8, !tbaa !5
  %101 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %102 unwind label %283

102:                                              ; preds = %94
  %103 = extractvalue { i64, i64 } %101, 0
  store i64 %103, ptr %13, align 8
  %104 = extractvalue { i64, i64 } %101, 1
  store i64 %104, ptr %64, align 8
  %105 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %106 unwind label %283

106:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %107 = load i64, ptr %4, align 8, !tbaa !5
  %108 = load i64, ptr %2, align 8, !tbaa !5
  %109 = add nsw i64 %108, %107
  store i64 %109, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %110 = load i64, ptr %5, align 8, !tbaa !5
  %111 = load i64, ptr %3, align 8, !tbaa !5
  %112 = sub nsw i64 %110, %111
  store i64 %112, ptr %18, align 8, !tbaa !5
  %113 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %114 unwind label %285

114:                                              ; preds = %106
  %115 = extractvalue { i64, i64 } %113, 0
  store i64 %115, ptr %16, align 8
  %116 = extractvalue { i64, i64 } %113, 1
  store i64 %116, ptr %65, align 8
  %117 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %118 unwind label %285

118:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  %119 = load i64, ptr %4, align 8, !tbaa !5
  %120 = load i64, ptr %2, align 8, !tbaa !5
  %121 = sub nsw i64 %119, %120
  store i64 %121, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  %122 = load i64, ptr %5, align 8, !tbaa !5
  %123 = load i64, ptr %3, align 8, !tbaa !5
  %124 = sub nsw i64 %122, %123
  store i64 %124, ptr %21, align 8, !tbaa !5
  %125 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %126 unwind label %287

126:                                              ; preds = %118
  %127 = extractvalue { i64, i64 } %125, 0
  store i64 %127, ptr %19, align 8
  %128 = extractvalue { i64, i64 } %125, 1
  store i64 %128, ptr %66, align 8
  %129 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %130 unwind label %287

130:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  %131 = load i64, ptr %4, align 8, !tbaa !5
  %132 = load i64, ptr %3, align 8, !tbaa !5
  %133 = add nsw i64 %132, %131
  store i64 %133, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #5
  %134 = load i64, ptr %5, align 8, !tbaa !5
  %135 = load i64, ptr %2, align 8, !tbaa !5
  %136 = add nsw i64 %135, %134
  store i64 %136, ptr %24, align 8, !tbaa !5
  %137 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %138 unwind label %289

138:                                              ; preds = %130
  %139 = extractvalue { i64, i64 } %137, 0
  store i64 %139, ptr %22, align 8
  %140 = extractvalue { i64, i64 } %137, 1
  store i64 %140, ptr %67, align 8
  %141 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %142 unwind label %289

142:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #5
  %143 = load i64, ptr %4, align 8, !tbaa !5
  %144 = load i64, ptr %3, align 8, !tbaa !5
  %145 = sub nsw i64 %143, %144
  store i64 %145, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  %146 = load i64, ptr %5, align 8, !tbaa !5
  %147 = load i64, ptr %2, align 8, !tbaa !5
  %148 = add nsw i64 %147, %146
  store i64 %148, ptr %27, align 8, !tbaa !5
  %149 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %150 unwind label %291

150:                                              ; preds = %142
  %151 = extractvalue { i64, i64 } %149, 0
  store i64 %151, ptr %25, align 8
  %152 = extractvalue { i64, i64 } %149, 1
  store i64 %152, ptr %68, align 8
  %153 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %154 unwind label %291

154:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #5
  %155 = load i64, ptr %4, align 8, !tbaa !5
  %156 = load i64, ptr %3, align 8, !tbaa !5
  %157 = add nsw i64 %156, %155
  store i64 %157, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #5
  %158 = load i64, ptr %5, align 8, !tbaa !5
  %159 = load i64, ptr %2, align 8, !tbaa !5
  %160 = sub nsw i64 %158, %159
  store i64 %160, ptr %30, align 8, !tbaa !5
  %161 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %162 unwind label %293

162:                                              ; preds = %154
  %163 = extractvalue { i64, i64 } %161, 0
  store i64 %163, ptr %28, align 8
  %164 = extractvalue { i64, i64 } %161, 1
  store i64 %164, ptr %69, align 8
  %165 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %166 unwind label %293

166:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #5
  %167 = load i64, ptr %4, align 8, !tbaa !5
  %168 = load i64, ptr %3, align 8, !tbaa !5
  %169 = sub nsw i64 %167, %168
  store i64 %169, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #5
  %170 = load i64, ptr %5, align 8, !tbaa !5
  %171 = load i64, ptr %2, align 8, !tbaa !5
  %172 = sub nsw i64 %170, %171
  store i64 %172, ptr %33, align 8, !tbaa !5
  %173 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %174 unwind label %295

174:                                              ; preds = %166
  %175 = extractvalue { i64, i64 } %173, 0
  store i64 %175, ptr %31, align 8
  %176 = extractvalue { i64, i64 } %173, 1
  store i64 %176, ptr %70, align 8
  %177 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %178 unwind label %295

178:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #5
  %179 = load i64, ptr %6, align 8, !tbaa !5
  %180 = load i64, ptr %2, align 8, !tbaa !5
  %181 = add nsw i64 %180, %179
  store i64 %181, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #5
  %182 = load i64, ptr %7, align 8, !tbaa !5
  %183 = load i64, ptr %3, align 8, !tbaa !5
  %184 = add nsw i64 %183, %182
  store i64 %184, ptr %36, align 8, !tbaa !5
  %185 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %186 unwind label %297

186:                                              ; preds = %178
  %187 = extractvalue { i64, i64 } %185, 0
  store i64 %187, ptr %34, align 8
  %188 = extractvalue { i64, i64 } %185, 1
  store i64 %188, ptr %71, align 8
  %189 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %190 unwind label %297

190:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #5
  %191 = load i64, ptr %6, align 8, !tbaa !5
  %192 = load i64, ptr %2, align 8, !tbaa !5
  %193 = sub nsw i64 %191, %192
  store i64 %193, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #5
  %194 = load i64, ptr %7, align 8, !tbaa !5
  %195 = load i64, ptr %3, align 8, !tbaa !5
  %196 = add nsw i64 %195, %194
  store i64 %196, ptr %39, align 8, !tbaa !5
  %197 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %198 unwind label %299

198:                                              ; preds = %190
  %199 = extractvalue { i64, i64 } %197, 0
  store i64 %199, ptr %37, align 8
  %200 = extractvalue { i64, i64 } %197, 1
  store i64 %200, ptr %72, align 8
  %201 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %202 unwind label %299

202:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #5
  %203 = load i64, ptr %6, align 8, !tbaa !5
  %204 = load i64, ptr %2, align 8, !tbaa !5
  %205 = add nsw i64 %204, %203
  store i64 %205, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #5
  %206 = load i64, ptr %7, align 8, !tbaa !5
  %207 = load i64, ptr %3, align 8, !tbaa !5
  %208 = sub nsw i64 %206, %207
  store i64 %208, ptr %42, align 8, !tbaa !5
  %209 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %210 unwind label %301

210:                                              ; preds = %202
  %211 = extractvalue { i64, i64 } %209, 0
  store i64 %211, ptr %40, align 8
  %212 = extractvalue { i64, i64 } %209, 1
  store i64 %212, ptr %73, align 8
  %213 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %214 unwind label %301

214:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #5
  %215 = load i64, ptr %6, align 8, !tbaa !5
  %216 = load i64, ptr %2, align 8, !tbaa !5
  %217 = sub nsw i64 %215, %216
  store i64 %217, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #5
  %218 = load i64, ptr %7, align 8, !tbaa !5
  %219 = load i64, ptr %3, align 8, !tbaa !5
  %220 = sub nsw i64 %218, %219
  store i64 %220, ptr %45, align 8, !tbaa !5
  %221 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %222 unwind label %303

222:                                              ; preds = %214
  %223 = extractvalue { i64, i64 } %221, 0
  store i64 %223, ptr %43, align 8
  %224 = extractvalue { i64, i64 } %221, 1
  store i64 %224, ptr %74, align 8
  %225 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %226 unwind label %303

226:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #5
  %227 = load i64, ptr %6, align 8, !tbaa !5
  %228 = load i64, ptr %3, align 8, !tbaa !5
  %229 = add nsw i64 %228, %227
  store i64 %229, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #5
  %230 = load i64, ptr %7, align 8, !tbaa !5
  %231 = load i64, ptr %2, align 8, !tbaa !5
  %232 = add nsw i64 %231, %230
  store i64 %232, ptr %48, align 8, !tbaa !5
  %233 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %234 unwind label %305

234:                                              ; preds = %226
  %235 = extractvalue { i64, i64 } %233, 0
  store i64 %235, ptr %46, align 8
  %236 = extractvalue { i64, i64 } %233, 1
  store i64 %236, ptr %75, align 8
  %237 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %238 unwind label %305

238:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #5
  %239 = load i64, ptr %6, align 8, !tbaa !5
  %240 = load i64, ptr %3, align 8, !tbaa !5
  %241 = sub nsw i64 %239, %240
  store i64 %241, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #5
  %242 = load i64, ptr %7, align 8, !tbaa !5
  %243 = load i64, ptr %2, align 8, !tbaa !5
  %244 = add nsw i64 %243, %242
  store i64 %244, ptr %51, align 8, !tbaa !5
  %245 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %246 unwind label %307

246:                                              ; preds = %238
  %247 = extractvalue { i64, i64 } %245, 0
  store i64 %247, ptr %49, align 8
  %248 = extractvalue { i64, i64 } %245, 1
  store i64 %248, ptr %76, align 8
  %249 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %250 unwind label %307

250:                                              ; preds = %246
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %52) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %53) #5
  %251 = load i64, ptr %6, align 8, !tbaa !5
  %252 = load i64, ptr %3, align 8, !tbaa !5
  %253 = add nsw i64 %252, %251
  store i64 %253, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #5
  %254 = load i64, ptr %7, align 8, !tbaa !5
  %255 = load i64, ptr %2, align 8, !tbaa !5
  %256 = sub nsw i64 %254, %255
  store i64 %256, ptr %54, align 8, !tbaa !5
  %257 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %258 unwind label %309

258:                                              ; preds = %250
  %259 = extractvalue { i64, i64 } %257, 0
  store i64 %259, ptr %52, align 8
  %260 = extractvalue { i64, i64 } %257, 1
  store i64 %260, ptr %77, align 8
  %261 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %52)
          to label %262 unwind label %309

262:                                              ; preds = %258
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %52) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %55) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #5
  %263 = load i64, ptr %6, align 8, !tbaa !5
  %264 = load i64, ptr %3, align 8, !tbaa !5
  %265 = sub nsw i64 %263, %264
  store i64 %265, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %57) #5
  %266 = load i64, ptr %7, align 8, !tbaa !5
  %267 = load i64, ptr %2, align 8, !tbaa !5
  %268 = sub nsw i64 %266, %267
  store i64 %268, ptr %57, align 8, !tbaa !5
  %269 = invoke { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %270 unwind label %311

270:                                              ; preds = %262
  %271 = extractvalue { i64, i64 } %269, 0
  store i64 %271, ptr %55, align 8
  %272 = extractvalue { i64, i64 } %269, 1
  store i64 %272, ptr %78, align 8
  %273 = invoke { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %55)
          to label %274 unwind label %311

274:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %57) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %58) #5
  %275 = call ptr @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  store ptr %275, ptr %58, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #5
  %276 = call ptr @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  store ptr %276, ptr %59, align 8
  %277 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIllEES4_(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(8) %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #5
  br i1 %277, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %315, %274
  %.035.lcssa = phi i64 [ 0, %274 ], [ %316, %315 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #5
  %278 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.035.lcssa)
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %279 = load i64, ptr %1, align 8, !tbaa !5
  %280 = add nsw i64 %279, -1
  store i64 %280, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i64 %279, 0
  br i1 %.not, label %._crit_edge43, label %79, !llvm.loop !9

281:                                              ; preds = %90, %79
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  br label %322

283:                                              ; preds = %102, %94
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %322

285:                                              ; preds = %114, %106
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br label %322

287:                                              ; preds = %126, %118
  %288 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  br label %322

289:                                              ; preds = %138, %130
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  br label %322

291:                                              ; preds = %150, %142
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #5
  br label %322

293:                                              ; preds = %162, %154
  %294 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #5
  br label %322

295:                                              ; preds = %174, %166
  %296 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #5
  br label %322

297:                                              ; preds = %186, %178
  %298 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #5
  br label %322

299:                                              ; preds = %198, %190
  %300 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #5
  br label %322

301:                                              ; preds = %210, %202
  %302 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #5
  br label %322

303:                                              ; preds = %222, %214
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #5
  br label %322

305:                                              ; preds = %234, %226
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #5
  br label %322

307:                                              ; preds = %246, %238
  %308 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #5
  br label %322

309:                                              ; preds = %258, %250
  %310 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %52) #5
  br label %322

311:                                              ; preds = %270, %262
  %312 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %57) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #5
  br label %322

.lr.ph:                                           ; preds = %274, %315
  %.03539 = phi i64 [ %316, %315 ], [ 0, %274 ]
  %313 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIllEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %58) #5
  %314 = invoke noundef i64 @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(16) %313)
          to label %315 unwind label %320

315:                                              ; preds = %.lr.ph
  %316 = add i64 %314, %.03539
  %317 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIllEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %58, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #5
  %318 = call ptr @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  store ptr %318, ptr %59, align 8
  %319 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIllEES4_(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(8) %59) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #5
  br i1 %319, label %.lr.ph, label %._crit_edge, !llvm.loop !11

320:                                              ; preds = %.lr.ph
  %321 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %58) #5
  br label %322

322:                                              ; preds = %320, %311, %309, %307, %305, %303, %301, %299, %297, %295, %293, %291, %289, %287, %285, %283, %281
  %.pn = phi { ptr, i32 } [ %321, %320 ], [ %312, %311 ], [ %310, %309 ], [ %308, %307 ], [ %306, %305 ], [ %304, %303 ], [ %302, %301 ], [ %300, %299 ], [ %298, %297 ], [ %296, %295 ], [ %294, %293 ], [ %292, %291 ], [ %290, %289 ], [ %288, %287 ], [ %286, %285 ], [ %284, %283 ], [ %282, %281 ]
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  call void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZSt9make_pairIllESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIllEES4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setISt4pairIllESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setISt4pairIllESt4lessIS1_ESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !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}


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