; LLVM IR from eyangch/competitive-programming :: USACOcontests/silver/2016.03/reduce.ll (Z3dfsi)

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

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

@N = external dso_local global i32, align 4
@c = external dso_local global [50000 x %"struct.std::pair"], align 16
@sx = external dso_local global [50000 x i32], align 16
@sy = external dso_local global [50000 x i32], align 16
@xset = external dso_local global %"class.std::set", align 8
@yset = external dso_local global %"class.std::set", align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z3dfsi(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair", align 4
  %5 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %6 = alloca %"struct.std::pair", align 4
  %7 = alloca %"class.std::reverse_iterator", align 8
  %8 = alloca %"struct.std::pair", align 4
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::pair", align 4
  %11 = alloca %"class.std::reverse_iterator", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca %"struct.std::pair", align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair", align 4
  %20 = alloca %"struct.std::pair.0", align 8
  %21 = alloca %"struct.std::pair", align 4
  %22 = alloca %"struct.std::pair.0", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::pair", align 4
  %25 = alloca %"struct.std::pair", align 4
  %26 = alloca %"struct.std::pair", align 4
  %27 = alloca i32, align 4
  %28 = alloca %"struct.std::pair", align 4
  %29 = alloca %"struct.std::pair.0", align 8
  %30 = alloca %"struct.std::pair", align 4
  %31 = alloca %"struct.std::pair.0", align 8
  %32 = alloca i32, align 4
  %33 = alloca %"struct.std::pair", align 4
  %34 = alloca %"struct.std::pair", align 4
  %35 = alloca %"struct.std::pair", align 4
  %36 = alloca i32, align 4
  %37 = alloca %"struct.std::pair", align 4
  %38 = alloca %"struct.std::pair.0", align 8
  %39 = alloca %"struct.std::pair", align 4
  %40 = alloca %"struct.std::pair.0", align 8
  %41 = alloca i32, align 4
  %42 = alloca %"struct.std::pair", align 4
  %43 = alloca %"struct.std::pair", align 4
  %44 = alloca %"struct.std::pair", align 4
  %45 = alloca i32, align 4
  %46 = alloca %"struct.std::pair", align 4
  %47 = alloca %"struct.std::pair.0", align 8
  %48 = alloca %"struct.std::pair", align 4
  %49 = alloca %"struct.std::pair.0", align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp eq i32 %50, 3
  br i1 %51, label %52, label %72

52:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %53 = call ptr @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @xset) #5
  %54 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %5, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  %55 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIiiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %55, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) @xset) #5
  %56 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorISt4pairIiiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %56, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %57 = call ptr @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @yset) #5
  %58 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %9, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  %59 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIiiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %59, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) @yset) #5
  %60 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorISt4pairIiiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %60, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %61 = getelementptr inbounds %"struct.std::pair", ptr %6, i32 0, i32 0
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = getelementptr inbounds %"struct.std::pair", ptr %4, i32 0, i32 0
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = sub nsw i32 %62, %64
  %66 = getelementptr inbounds %"struct.std::pair", ptr %10, i32 0, i32 0
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = getelementptr inbounds %"struct.std::pair", ptr %8, i32 0, i32 0
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = sub nsw i32 %67, %69
  %71 = mul nsw i32 %65, %70
  store i32 %71, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %550

72:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 2000000000, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %173, %72
  %74 = load i32, ptr %14, align 4, !tbaa !5
  %75 = icmp slt i32 %74, 3
  br i1 %75, label %77, label %76

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

77:                                               ; preds = %73
  br label %78

78:                                               ; preds = %96, %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %79 = load i32, ptr %14, align 4, !tbaa !5
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = add nsw i32 %79, %80
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %85
  %87 = getelementptr inbounds %"struct.std::pair", ptr %86, i32 0, i32 0
  %88 = load i32, ptr %14, align 4, !tbaa !5
  %89 = load i32, ptr %13, align 4, !tbaa !5
  %90 = add nsw i32 %88, %89
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %91
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %87, ptr noundef nonnull align 4 dereferenceable(4) %92)
  %93 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %94 = icmp ne i64 %93, 0
  %95 = xor i1 %94, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br i1 %95, label %96, label %99

96:                                               ; preds = %78
  %97 = load i32, ptr %13, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %13, align 4, !tbaa !5
  br label %78, !llvm.loop !11

99:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %100 = load i32, ptr %14, align 4, !tbaa !5
  %101 = load i32, ptr %13, align 4, !tbaa !5
  %102 = add nsw i32 %100, %101
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %106
  %108 = getelementptr inbounds %"struct.std::pair", ptr %107, i32 0, i32 0
  %109 = load i32, ptr %14, align 4, !tbaa !5
  %110 = load i32, ptr %13, align 4, !tbaa !5
  %111 = add nsw i32 %109, %110
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %112
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(4) %113)
  %114 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %115 = load i32, ptr %14, align 4, !tbaa !5
  %116 = load i32, ptr %13, align 4, !tbaa !5
  %117 = add nsw i32 %115, %116
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %121
  %123 = getelementptr inbounds %"struct.std::pair", ptr %122, i32 0, i32 1
  %124 = load i32, ptr %14, align 4, !tbaa !5
  %125 = load i32, ptr %13, align 4, !tbaa !5
  %126 = add nsw i32 %124, %125
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %127
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %123, ptr noundef nonnull align 4 dereferenceable(4) %128)
  %129 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %130 = load i32, ptr %3, align 4, !tbaa !5
  %131 = add nsw i32 %130, 1
  %132 = call noundef i32 @_Z3dfsi(i32 noundef %131)
  store i32 %132, ptr %18, align 4, !tbaa !5
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %134 = load i32, ptr %133, align 4, !tbaa !5
  store i32 %134, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %135 = load i32, ptr %14, align 4, !tbaa !5
  %136 = load i32, ptr %13, align 4, !tbaa !5
  %137 = add nsw i32 %135, %136
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %141
  %143 = getelementptr inbounds %"struct.std::pair", ptr %142, i32 0, i32 0
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = load i32, ptr %13, align 4, !tbaa !5
  %146 = add nsw i32 %144, %145
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %147
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %143, ptr noundef nonnull align 4 dereferenceable(4) %148)
  %149 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %150 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 0
  %151 = extractvalue { ptr, i8 } %149, 0
  store ptr %151, ptr %150, align 8
  %152 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 1
  %153 = extractvalue { ptr, i8 } %149, 1
  store i8 %153, ptr %152, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %154 = load i32, ptr %14, align 4, !tbaa !5
  %155 = load i32, ptr %13, align 4, !tbaa !5
  %156 = add nsw i32 %154, %155
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %157
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %160
  %162 = getelementptr inbounds %"struct.std::pair", ptr %161, i32 0, i32 1
  %163 = load i32, ptr %14, align 4, !tbaa !5
  %164 = load i32, ptr %13, align 4, !tbaa !5
  %165 = add nsw i32 %163, %164
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %166
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %162, ptr noundef nonnull align 4 dereferenceable(4) %167)
  %168 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %21)
  %169 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 0
  %170 = extractvalue { ptr, i8 } %168, 0
  store ptr %170, ptr %169, align 8
  %171 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 1
  %172 = extractvalue { ptr, i8 } %168, 1
  store i8 %172, ptr %171, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %173

173:                                              ; preds = %99
  %174 = load i32, ptr %14, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %14, align 4, !tbaa !5
  br label %73, !llvm.loop !13

176:                                              ; preds = %76
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %307, %176
  %178 = load i32, ptr %23, align 4, !tbaa !5
  %179 = icmp slt i32 %178, 3
  br i1 %179, label %181, label %180

180:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %310

181:                                              ; preds = %177
  br label %182

182:                                              ; preds = %206, %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %183 = load i32, ptr @N, align 4, !tbaa !5
  %184 = sub nsw i32 %183, 1
  %185 = load i32, ptr %23, align 4, !tbaa !5
  %186 = sub nsw i32 %184, %185
  %187 = load i32, ptr %13, align 4, !tbaa !5
  %188 = sub nsw i32 %186, %187
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %192
  %194 = getelementptr inbounds %"struct.std::pair", ptr %193, i32 0, i32 0
  %195 = load i32, ptr @N, align 4, !tbaa !5
  %196 = sub nsw i32 %195, 1
  %197 = load i32, ptr %23, align 4, !tbaa !5
  %198 = sub nsw i32 %196, %197
  %199 = load i32, ptr %13, align 4, !tbaa !5
  %200 = sub nsw i32 %198, %199
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %201
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(4) %194, ptr noundef nonnull align 4 dereferenceable(4) %202)
  %203 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %24)
  %204 = icmp ne i64 %203, 0
  %205 = xor i1 %204, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br i1 %205, label %206, label %209

206:                                              ; preds = %182
  %207 = load i32, ptr %13, align 4, !tbaa !5
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %13, align 4, !tbaa !5
  br label %182, !llvm.loop !14

209:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %210 = load i32, ptr @N, align 4, !tbaa !5
  %211 = sub nsw i32 %210, 1
  %212 = load i32, ptr %23, align 4, !tbaa !5
  %213 = sub nsw i32 %211, %212
  %214 = load i32, ptr %13, align 4, !tbaa !5
  %215 = sub nsw i32 %213, %214
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %216
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %219
  %221 = getelementptr inbounds %"struct.std::pair", ptr %220, i32 0, i32 0
  %222 = load i32, ptr @N, align 4, !tbaa !5
  %223 = sub nsw i32 %222, 1
  %224 = load i32, ptr %23, align 4, !tbaa !5
  %225 = sub nsw i32 %223, %224
  %226 = load i32, ptr %13, align 4, !tbaa !5
  %227 = sub nsw i32 %225, %226
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %228
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %221, ptr noundef nonnull align 4 dereferenceable(4) %229)
  %230 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %231 = load i32, ptr @N, align 4, !tbaa !5
  %232 = sub nsw i32 %231, 1
  %233 = load i32, ptr %23, align 4, !tbaa !5
  %234 = sub nsw i32 %232, %233
  %235 = load i32, ptr %13, align 4, !tbaa !5
  %236 = sub nsw i32 %234, %235
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %237
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %240
  %242 = getelementptr inbounds %"struct.std::pair", ptr %241, i32 0, i32 1
  %243 = load i32, ptr @N, align 4, !tbaa !5
  %244 = sub nsw i32 %243, 1
  %245 = load i32, ptr %23, align 4, !tbaa !5
  %246 = sub nsw i32 %244, %245
  %247 = load i32, ptr %13, align 4, !tbaa !5
  %248 = sub nsw i32 %246, %247
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %249
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %242, ptr noundef nonnull align 4 dereferenceable(4) %250)
  %251 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %252 = load i32, ptr %3, align 4, !tbaa !5
  %253 = add nsw i32 %252, 1
  %254 = call noundef i32 @_Z3dfsi(i32 noundef %253)
  store i32 %254, ptr %27, align 4, !tbaa !5
  %255 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %27)
  %256 = load i32, ptr %255, align 4, !tbaa !5
  store i32 %256, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %257 = load i32, ptr @N, align 4, !tbaa !5
  %258 = sub nsw i32 %257, 1
  %259 = load i32, ptr %23, align 4, !tbaa !5
  %260 = sub nsw i32 %258, %259
  %261 = load i32, ptr %13, align 4, !tbaa !5
  %262 = sub nsw i32 %260, %261
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %263
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %266
  %268 = getelementptr inbounds %"struct.std::pair", ptr %267, i32 0, i32 0
  %269 = load i32, ptr @N, align 4, !tbaa !5
  %270 = sub nsw i32 %269, 1
  %271 = load i32, ptr %23, align 4, !tbaa !5
  %272 = sub nsw i32 %270, %271
  %273 = load i32, ptr %13, align 4, !tbaa !5
  %274 = sub nsw i32 %272, %273
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %275
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(4) %268, ptr noundef nonnull align 4 dereferenceable(4) %276)
  %277 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %28)
  %278 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 0
  %279 = extractvalue { ptr, i8 } %277, 0
  store ptr %279, ptr %278, align 8
  %280 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 1
  %281 = extractvalue { ptr, i8 } %277, 1
  store i8 %281, ptr %280, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %282 = load i32, ptr @N, align 4, !tbaa !5
  %283 = sub nsw i32 %282, 1
  %284 = load i32, ptr %23, align 4, !tbaa !5
  %285 = sub nsw i32 %283, %284
  %286 = load i32, ptr %13, align 4, !tbaa !5
  %287 = sub nsw i32 %285, %286
  %288 = sext i32 %287 to i64
  %289 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %288
  %290 = load i32, ptr %289, align 4, !tbaa !5
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %291
  %293 = getelementptr inbounds %"struct.std::pair", ptr %292, i32 0, i32 1
  %294 = load i32, ptr @N, align 4, !tbaa !5
  %295 = sub nsw i32 %294, 1
  %296 = load i32, ptr %23, align 4, !tbaa !5
  %297 = sub nsw i32 %295, %296
  %298 = load i32, ptr %13, align 4, !tbaa !5
  %299 = sub nsw i32 %297, %298
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %300
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %293, ptr noundef nonnull align 4 dereferenceable(4) %301)
  %302 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %30)
  %303 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 0
  %304 = extractvalue { ptr, i8 } %302, 0
  store ptr %304, ptr %303, align 8
  %305 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 1
  %306 = extractvalue { ptr, i8 } %302, 1
  store i8 %306, ptr %305, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %307

307:                                              ; preds = %209
  %308 = load i32, ptr %23, align 4, !tbaa !5
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %23, align 4, !tbaa !5
  br label %177, !llvm.loop !15

310:                                              ; preds = %180
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %311

311:                                              ; preds = %411, %310
  %312 = load i32, ptr %32, align 4, !tbaa !5
  %313 = icmp slt i32 %312, 3
  br i1 %313, label %315, label %314

314:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %414

315:                                              ; preds = %311
  br label %316

316:                                              ; preds = %334, %315
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %317 = load i32, ptr %32, align 4, !tbaa !5
  %318 = load i32, ptr %13, align 4, !tbaa !5
  %319 = add nsw i32 %317, %318
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %320
  %322 = load i32, ptr %321, align 4, !tbaa !5
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %323
  %325 = getelementptr inbounds %"struct.std::pair", ptr %324, i32 0, i32 1
  %326 = load i32, ptr %32, align 4, !tbaa !5
  %327 = load i32, ptr %13, align 4, !tbaa !5
  %328 = add nsw i32 %326, %327
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %329
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(4) %325, ptr noundef nonnull align 4 dereferenceable(4) %330)
  %331 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %33)
  %332 = icmp ne i64 %331, 0
  %333 = xor i1 %332, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br i1 %333, label %334, label %337

334:                                              ; preds = %316
  %335 = load i32, ptr %13, align 4, !tbaa !5
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr %13, align 4, !tbaa !5
  br label %316, !llvm.loop !16

337:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %338 = load i32, ptr %32, align 4, !tbaa !5
  %339 = load i32, ptr %13, align 4, !tbaa !5
  %340 = add nsw i32 %338, %339
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %341
  %343 = load i32, ptr %342, align 4, !tbaa !5
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %344
  %346 = getelementptr inbounds %"struct.std::pair", ptr %345, i32 0, i32 0
  %347 = load i32, ptr %32, align 4, !tbaa !5
  %348 = load i32, ptr %13, align 4, !tbaa !5
  %349 = add nsw i32 %347, %348
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %350
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(4) %346, ptr noundef nonnull align 4 dereferenceable(4) %351)
  %352 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %353 = load i32, ptr %32, align 4, !tbaa !5
  %354 = load i32, ptr %13, align 4, !tbaa !5
  %355 = add nsw i32 %353, %354
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %356
  %358 = load i32, ptr %357, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %359
  %361 = getelementptr inbounds %"struct.std::pair", ptr %360, i32 0, i32 1
  %362 = load i32, ptr %32, align 4, !tbaa !5
  %363 = load i32, ptr %13, align 4, !tbaa !5
  %364 = add nsw i32 %362, %363
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %365
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(4) %361, ptr noundef nonnull align 4 dereferenceable(4) %366)
  %367 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %368 = load i32, ptr %3, align 4, !tbaa !5
  %369 = add nsw i32 %368, 1
  %370 = call noundef i32 @_Z3dfsi(i32 noundef %369)
  store i32 %370, ptr %36, align 4, !tbaa !5
  %371 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %36)
  %372 = load i32, ptr %371, align 4, !tbaa !5
  store i32 %372, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %373 = load i32, ptr %32, align 4, !tbaa !5
  %374 = load i32, ptr %13, align 4, !tbaa !5
  %375 = add nsw i32 %373, %374
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %376
  %378 = load i32, ptr %377, align 4, !tbaa !5
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %379
  %381 = getelementptr inbounds %"struct.std::pair", ptr %380, i32 0, i32 0
  %382 = load i32, ptr %32, align 4, !tbaa !5
  %383 = load i32, ptr %13, align 4, !tbaa !5
  %384 = add nsw i32 %382, %383
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %385
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(4) %381, ptr noundef nonnull align 4 dereferenceable(4) %386)
  %387 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %37)
  %388 = getelementptr inbounds { ptr, i8 }, ptr %38, i32 0, i32 0
  %389 = extractvalue { ptr, i8 } %387, 0
  store ptr %389, ptr %388, align 8
  %390 = getelementptr inbounds { ptr, i8 }, ptr %38, i32 0, i32 1
  %391 = extractvalue { ptr, i8 } %387, 1
  store i8 %391, ptr %390, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %392 = load i32, ptr %32, align 4, !tbaa !5
  %393 = load i32, ptr %13, align 4, !tbaa !5
  %394 = add nsw i32 %392, %393
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %395
  %397 = load i32, ptr %396, align 4, !tbaa !5
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %398
  %400 = getelementptr inbounds %"struct.std::pair", ptr %399, i32 0, i32 1
  %401 = load i32, ptr %32, align 4, !tbaa !5
  %402 = load i32, ptr %13, align 4, !tbaa !5
  %403 = add nsw i32 %401, %402
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %404
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(4) %400, ptr noundef nonnull align 4 dereferenceable(4) %405)
  %406 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %39)
  %407 = getelementptr inbounds { ptr, i8 }, ptr %40, i32 0, i32 0
  %408 = extractvalue { ptr, i8 } %406, 0
  store ptr %408, ptr %407, align 8
  %409 = getelementptr inbounds { ptr, i8 }, ptr %40, i32 0, i32 1
  %410 = extractvalue { ptr, i8 } %406, 1
  store i8 %410, ptr %409, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %411

411:                                              ; preds = %337
  %412 = load i32, ptr %32, align 4, !tbaa !5
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %32, align 4, !tbaa !5
  br label %311, !llvm.loop !17

414:                                              ; preds = %314
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 0, ptr %41, align 4, !tbaa !5
  br label %415

415:                                              ; preds = %545, %414
  %416 = load i32, ptr %41, align 4, !tbaa !5
  %417 = icmp slt i32 %416, 3
  br i1 %417, label %419, label %418

418:                                              ; preds = %415
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %548

419:                                              ; preds = %415
  br label %420

420:                                              ; preds = %444, %419
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %421 = load i32, ptr @N, align 4, !tbaa !5
  %422 = sub nsw i32 %421, 1
  %423 = load i32, ptr %41, align 4, !tbaa !5
  %424 = sub nsw i32 %422, %423
  %425 = load i32, ptr %13, align 4, !tbaa !5
  %426 = sub nsw i32 %424, %425
  %427 = sext i32 %426 to i64
  %428 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %427
  %429 = load i32, ptr %428, align 4, !tbaa !5
  %430 = sext i32 %429 to i64
  %431 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %430
  %432 = getelementptr inbounds %"struct.std::pair", ptr %431, i32 0, i32 1
  %433 = load i32, ptr @N, align 4, !tbaa !5
  %434 = sub nsw i32 %433, 1
  %435 = load i32, ptr %41, align 4, !tbaa !5
  %436 = sub nsw i32 %434, %435
  %437 = load i32, ptr %13, align 4, !tbaa !5
  %438 = sub nsw i32 %436, %437
  %439 = sext i32 %438 to i64
  %440 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %439
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(4) %432, ptr noundef nonnull align 4 dereferenceable(4) %440)
  %441 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %42)
  %442 = icmp ne i64 %441, 0
  %443 = xor i1 %442, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br i1 %443, label %444, label %447

444:                                              ; preds = %420
  %445 = load i32, ptr %13, align 4, !tbaa !5
  %446 = add nsw i32 %445, 1
  store i32 %446, ptr %13, align 4, !tbaa !5
  br label %420, !llvm.loop !18

447:                                              ; preds = %420
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %448 = load i32, ptr @N, align 4, !tbaa !5
  %449 = sub nsw i32 %448, 1
  %450 = load i32, ptr %41, align 4, !tbaa !5
  %451 = sub nsw i32 %449, %450
  %452 = load i32, ptr %13, align 4, !tbaa !5
  %453 = sub nsw i32 %451, %452
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %454
  %456 = load i32, ptr %455, align 4, !tbaa !5
  %457 = sext i32 %456 to i64
  %458 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %457
  %459 = getelementptr inbounds %"struct.std::pair", ptr %458, i32 0, i32 0
  %460 = load i32, ptr @N, align 4, !tbaa !5
  %461 = sub nsw i32 %460, 1
  %462 = load i32, ptr %41, align 4, !tbaa !5
  %463 = sub nsw i32 %461, %462
  %464 = load i32, ptr %13, align 4, !tbaa !5
  %465 = sub nsw i32 %463, %464
  %466 = sext i32 %465 to i64
  %467 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %466
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(4) %459, ptr noundef nonnull align 4 dereferenceable(4) %467)
  %468 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %43)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  %469 = load i32, ptr @N, align 4, !tbaa !5
  %470 = sub nsw i32 %469, 1
  %471 = load i32, ptr %41, align 4, !tbaa !5
  %472 = sub nsw i32 %470, %471
  %473 = load i32, ptr %13, align 4, !tbaa !5
  %474 = sub nsw i32 %472, %473
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %475
  %477 = load i32, ptr %476, align 4, !tbaa !5
  %478 = sext i32 %477 to i64
  %479 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %478
  %480 = getelementptr inbounds %"struct.std::pair", ptr %479, i32 0, i32 1
  %481 = load i32, ptr @N, align 4, !tbaa !5
  %482 = sub nsw i32 %481, 1
  %483 = load i32, ptr %41, align 4, !tbaa !5
  %484 = sub nsw i32 %482, %483
  %485 = load i32, ptr %13, align 4, !tbaa !5
  %486 = sub nsw i32 %484, %485
  %487 = sext i32 %486 to i64
  %488 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %487
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(4) %480, ptr noundef nonnull align 4 dereferenceable(4) %488)
  %489 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %44)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  %490 = load i32, ptr %3, align 4, !tbaa !5
  %491 = add nsw i32 %490, 1
  %492 = call noundef i32 @_Z3dfsi(i32 noundef %491)
  store i32 %492, ptr %45, align 4, !tbaa !5
  %493 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %45)
  %494 = load i32, ptr %493, align 4, !tbaa !5
  store i32 %494, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %495 = load i32, ptr @N, align 4, !tbaa !5
  %496 = sub nsw i32 %495, 1
  %497 = load i32, ptr %41, align 4, !tbaa !5
  %498 = sub nsw i32 %496, %497
  %499 = load i32, ptr %13, align 4, !tbaa !5
  %500 = sub nsw i32 %498, %499
  %501 = sext i32 %500 to i64
  %502 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %501
  %503 = load i32, ptr %502, align 4, !tbaa !5
  %504 = sext i32 %503 to i64
  %505 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %504
  %506 = getelementptr inbounds %"struct.std::pair", ptr %505, i32 0, i32 0
  %507 = load i32, ptr @N, align 4, !tbaa !5
  %508 = sub nsw i32 %507, 1
  %509 = load i32, ptr %41, align 4, !tbaa !5
  %510 = sub nsw i32 %508, %509
  %511 = load i32, ptr %13, align 4, !tbaa !5
  %512 = sub nsw i32 %510, %511
  %513 = sext i32 %512 to i64
  %514 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %513
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %46, ptr noundef nonnull align 4 dereferenceable(4) %506, ptr noundef nonnull align 4 dereferenceable(4) %514)
  %515 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %46)
  %516 = getelementptr inbounds { ptr, i8 }, ptr %47, i32 0, i32 0
  %517 = extractvalue { ptr, i8 } %515, 0
  store ptr %517, ptr %516, align 8
  %518 = getelementptr inbounds { ptr, i8 }, ptr %47, i32 0, i32 1
  %519 = extractvalue { ptr, i8 } %515, 1
  store i8 %519, ptr %518, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %520 = load i32, ptr @N, align 4, !tbaa !5
  %521 = sub nsw i32 %520, 1
  %522 = load i32, ptr %41, align 4, !tbaa !5
  %523 = sub nsw i32 %521, %522
  %524 = load i32, ptr %13, align 4, !tbaa !5
  %525 = sub nsw i32 %523, %524
  %526 = sext i32 %525 to i64
  %527 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %526
  %528 = load i32, ptr %527, align 4, !tbaa !5
  %529 = sext i32 %528 to i64
  %530 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %529
  %531 = getelementptr inbounds %"struct.std::pair", ptr %530, i32 0, i32 1
  %532 = load i32, ptr @N, align 4, !tbaa !5
  %533 = sub nsw i32 %532, 1
  %534 = load i32, ptr %41, align 4, !tbaa !5
  %535 = sub nsw i32 %533, %534
  %536 = load i32, ptr %13, align 4, !tbaa !5
  %537 = sub nsw i32 %535, %536
  %538 = sext i32 %537 to i64
  %539 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %538
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(4) %531, ptr noundef nonnull align 4 dereferenceable(4) %539)
  %540 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %48)
  %541 = getelementptr inbounds { ptr, i8 }, ptr %49, i32 0, i32 0
  %542 = extractvalue { ptr, i8 } %540, 0
  store ptr %542, ptr %541, align 8
  %543 = getelementptr inbounds { ptr, i8 }, ptr %49, i32 0, i32 1
  %544 = extractvalue { ptr, i8 } %540, 1
  store i8 %544, ptr %543, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  br label %545

545:                                              ; preds = %447
  %546 = load i32, ptr %41, align 4, !tbaa !5
  %547 = add nsw i32 %546, 1
  store i32 %547, ptr %41, align 4, !tbaa !5
  br label %415, !llvm.loop !19

548:                                              ; preds = %418
  %549 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %549, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %550

550:                                              ; preds = %548, %52
  %551 = load i32, ptr %2, align 4
  ret i32 %551
}

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; 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 void @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::pair" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }

@N = external dso_local local_unnamed_addr global i32, align 4
@c = external dso_local global [50000 x %"struct.std::pair"], align 16
@sx = external dso_local global [50000 x i32], align 16
@sy = external dso_local global [50000 x i32], align 16
@xset = external dso_local global %"class.std::set", align 8
@yset = external dso_local global %"class.std::set", align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z3dfsi(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %3 = alloca %"class.std::reverse_iterator", align 8
  %4 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %5 = alloca %"class.std::reverse_iterator", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::pair", align 4
  %8 = alloca %"struct.std::pair", align 4
  %9 = alloca %"struct.std::pair", align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::pair", align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca %"struct.std::pair", align 4
  %14 = alloca %"struct.std::pair", align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca %"struct.std::pair", align 4
  %19 = alloca %"struct.std::pair", align 4
  %20 = alloca %"struct.std::pair", align 4
  %21 = alloca %"struct.std::pair", align 4
  %22 = alloca i32, align 4
  %23 = alloca %"struct.std::pair", align 4
  %24 = alloca %"struct.std::pair", align 4
  %25 = alloca %"struct.std::pair", align 4
  %26 = alloca %"struct.std::pair", align 4
  %27 = alloca %"struct.std::pair", align 4
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::pair", align 4
  %30 = alloca %"struct.std::pair", align 4
  %31 = icmp eq i32 %0, 3
  br i1 %31, label %32, label %.preheader133

32:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %33 = tail call ptr @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @xset) #4
  store ptr %33, ptr %2, align 8
  %34 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIiiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #4
  %.sroa.0111.0.copyload = load i32, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(48) @xset) #4
  %35 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorISt4pairIiiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %.sroa.0109.0.copyload = load i32, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %36 = call ptr @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @yset) #4
  store ptr %36, ptr %4, align 8
  %37 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIiiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %.sroa.0107.0.copyload = load i32, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) @yset) #4
  %38 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorISt4pairIiiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %.sroa.0106.0.copyload = load i32, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  %39 = sub nsw i32 %.sroa.0109.0.copyload, %.sroa.0111.0.copyload
  %40 = sub nsw i32 %.sroa.0106.0.copyload, %.sroa.0107.0.copyload
  %41 = mul nsw i32 %40, %39
  br label %479

.preheader133:                                    ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 2000000000, ptr %6, align 4, !tbaa !5
  %42 = add nsw i32 %0, 1
  br label %43

43:                                               ; preds = %43, %.preheader133
  %indvars.iv = phi i64 [ %indvars.iv.next, %43 ], [ 0, %.preheader133 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %44 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %indvars.iv
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %46
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %44)
  %48 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %7)
  %.not127 = icmp eq i64 %48, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %.not127, label %43, label %.preheader133.1, !llvm.loop !9

.preheader133.1:                                  ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %49 = load i32, ptr %44, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %50
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %44)
  %52 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %53 = load i32, ptr %44, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %54, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %44)
  %56 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  %57 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %57, ptr %10, align 4, !tbaa !5
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %59 = load i32, ptr %58, align 4, !tbaa !5
  store i32 %59, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %60 = load i32, ptr %44, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %61
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %44)
  %63 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %64 = load i32, ptr %44, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %65, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %44)
  %67 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  %sext = shl i64 %indvars.iv, 32
  %68 = ashr exact i64 %sext, 32
  br label %69

69:                                               ; preds = %69, %.preheader133.1
  %indvars.iv.1 = phi i64 [ %70, %69 ], [ %68, %.preheader133.1 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %70 = add nsw i64 %indvars.iv.1, 1
  %71 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %73
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %75 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %7)
  %.not127.1 = icmp eq i64 %75, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br i1 %.not127.1, label %69, label %.preheader133.2, !llvm.loop !9

.preheader133.2:                                  ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %76 = load i32, ptr %71, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %77
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %79 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %80 = load i32, ptr %71, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %81, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %82, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %83 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  %84 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %84, ptr %10, align 4, !tbaa !5
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %86 = load i32, ptr %85, align 4, !tbaa !5
  store i32 %86, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %87 = load i32, ptr %71, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %88
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %89, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %90 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %91 = load i32, ptr %71, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %92, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %93, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %94 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  %sext156 = shl i64 %indvars.iv.1, 32
  %95 = ashr exact i64 %sext156, 32
  br label %96

96:                                               ; preds = %96, %.preheader133.2
  %indvars.iv.2 = phi i64 [ %indvars.iv.next.2, %96 ], [ %95, %.preheader133.2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %97 = add nsw i64 %indvars.iv.2, 2
  %98 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %100
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(4) %101, ptr noundef nonnull align 4 dereferenceable(4) %98)
  %102 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %7)
  %.not127.2 = icmp eq i64 %102, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %indvars.iv.next.2 = add nsw i64 %indvars.iv.2, 1
  br i1 %.not127.2, label %96, label %.preheader132, !llvm.loop !9

.preheader132:                                    ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %103 = load i32, ptr %98, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %104
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(4) %105, ptr noundef nonnull align 4 dereferenceable(4) %98)
  %106 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %107 = load i32, ptr %98, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %108, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %109, ptr noundef nonnull align 4 dereferenceable(4) %98)
  %110 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  %111 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %111, ptr %10, align 4, !tbaa !5
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %113 = load i32, ptr %112, align 4, !tbaa !5
  store i32 %113, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %114 = load i32, ptr %98, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %115
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %116, ptr noundef nonnull align 4 dereferenceable(4) %98)
  %117 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %118 = load i32, ptr %98, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %119, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %120, ptr noundef nonnull align 4 dereferenceable(4) %98)
  %121 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br label %122

122:                                              ; preds = %122, %.preheader132
  %.3 = phi i32 [ %132, %122 ], [ 0, %.preheader132 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %123 = load i32, ptr @N, align 4, !tbaa !5
  %124 = xor i32 %.3, -1
  %125 = add i32 %123, %124
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %129
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(4) %130, ptr noundef nonnull align 4 dereferenceable(4) %127)
  %131 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %.not126 = icmp eq i64 %131, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  %132 = add nuw nsw i32 %.3, 1
  br i1 %.not126, label %122, label %.preheader131.1, !llvm.loop !11

.preheader131.1:                                  ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %133 = load i32, ptr @N, align 4, !tbaa !5
  %134 = add i32 %133, %124
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %138
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(4) %139, ptr noundef nonnull align 4 dereferenceable(4) %136)
  %140 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  %141 = load i32, ptr @N, align 4, !tbaa !5
  %142 = add i32 %141, %124
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %146, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %147, ptr noundef nonnull align 4 dereferenceable(4) %144)
  %148 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %149 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %149, ptr %16, align 4, !tbaa !5
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %151 = load i32, ptr %150, align 4, !tbaa !5
  store i32 %151, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  %152 = load i32, ptr @N, align 4, !tbaa !5
  %153 = add i32 %152, %124
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %154
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %157
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %158, ptr noundef nonnull align 4 dereferenceable(4) %155)
  %159 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  %160 = load i32, ptr @N, align 4, !tbaa !5
  %161 = add i32 %160, %124
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %165, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(4) %166, ptr noundef nonnull align 4 dereferenceable(4) %163)
  %167 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  br label %168

168:                                              ; preds = %168, %.preheader131.1
  %.3.1 = phi i32 [ %178, %168 ], [ %.3, %.preheader131.1 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %169 = load i32, ptr @N, align 4, !tbaa !5
  %170 = sub nuw i32 -2, %.3.1
  %171 = add i32 %170, %169
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %175
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(4) %176, ptr noundef nonnull align 4 dereferenceable(4) %173)
  %177 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %.not126.1 = icmp eq i64 %177, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  %178 = add nuw nsw i32 %.3.1, 1
  br i1 %.not126.1, label %168, label %.preheader131.2, !llvm.loop !11

.preheader131.2:                                  ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %179 = load i32, ptr @N, align 4, !tbaa !5
  %180 = add i32 %170, %179
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %181
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %184
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(4) %185, ptr noundef nonnull align 4 dereferenceable(4) %182)
  %186 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  %187 = load i32, ptr @N, align 4, !tbaa !5
  %188 = add i32 %170, %187
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %192, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %193, ptr noundef nonnull align 4 dereferenceable(4) %190)
  %194 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %195 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %195, ptr %16, align 4, !tbaa !5
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %197 = load i32, ptr %196, align 4, !tbaa !5
  store i32 %197, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  %198 = load i32, ptr @N, align 4, !tbaa !5
  %199 = add i32 %170, %198
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %203
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %204, ptr noundef nonnull align 4 dereferenceable(4) %201)
  %205 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  %206 = load i32, ptr @N, align 4, !tbaa !5
  %207 = add i32 %170, %206
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %211, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(4) %212, ptr noundef nonnull align 4 dereferenceable(4) %209)
  %213 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  br label %214

214:                                              ; preds = %214, %.preheader131.2
  %.3.2 = phi i32 [ %224, %214 ], [ %.3.1, %.preheader131.2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %215 = load i32, ptr @N, align 4, !tbaa !5
  %216 = sub nuw i32 -3, %.3.2
  %217 = add i32 %216, %215
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %221
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(4) %222, ptr noundef nonnull align 4 dereferenceable(4) %219)
  %223 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %13)
  %.not126.2 = icmp eq i64 %223, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  %224 = add nuw nsw i32 %.3.2, 1
  br i1 %.not126.2, label %214, label %.preheader130, !llvm.loop !11

.preheader130:                                    ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %225 = load i32, ptr @N, align 4, !tbaa !5
  %226 = add i32 %216, %225
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %227
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %230
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(4) %231, ptr noundef nonnull align 4 dereferenceable(4) %228)
  %232 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  %233 = load i32, ptr @N, align 4, !tbaa !5
  %234 = add i32 %216, %233
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %238, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %239, ptr noundef nonnull align 4 dereferenceable(4) %236)
  %240 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %241 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %241, ptr %16, align 4, !tbaa !5
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %243 = load i32, ptr %242, align 4, !tbaa !5
  store i32 %243, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  %244 = load i32, ptr @N, align 4, !tbaa !5
  %245 = add i32 %216, %244
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %246
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %249
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %250, ptr noundef nonnull align 4 dereferenceable(4) %247)
  %251 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  %252 = load i32, ptr @N, align 4, !tbaa !5
  %253 = add i32 %216, %252
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [50000 x i32], ptr @sx, i64 0, i64 %254
  %256 = load i32, ptr %255, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %257, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(4) %258, ptr noundef nonnull align 4 dereferenceable(4) %255)
  %259 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  br label %260

260:                                              ; preds = %260, %.preheader130
  %indvars.iv150 = phi i64 [ %indvars.iv.next151, %260 ], [ 0, %.preheader130 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  %261 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %indvars.iv150
  %262 = load i32, ptr %261, align 4, !tbaa !5
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %263, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %264, ptr noundef nonnull align 4 dereferenceable(4) %261)
  %265 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %.not125 = icmp eq i64 %265, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  br i1 %.not125, label %260, label %.preheader129.1, !llvm.loop !12

.preheader129.1:                                  ; preds = %260
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  %266 = load i32, ptr %261, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %267
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(4) %268, ptr noundef nonnull align 4 dereferenceable(4) %261)
  %269 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  %270 = load i32, ptr %261, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %271, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %272, ptr noundef nonnull align 4 dereferenceable(4) %261)
  %273 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #4
  %274 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %274, ptr %22, align 4, !tbaa !5
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %276 = load i32, ptr %275, align 4, !tbaa !5
  store i32 %276, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  %277 = load i32, ptr %261, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %278
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %279, ptr noundef nonnull align 4 dereferenceable(4) %261)
  %280 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  %281 = load i32, ptr %261, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %282, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(4) %283, ptr noundef nonnull align 4 dereferenceable(4) %261)
  %284 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  %sext157 = shl i64 %indvars.iv150, 32
  %285 = ashr exact i64 %sext157, 32
  br label %286

286:                                              ; preds = %286, %.preheader129.1
  %indvars.iv150.1 = phi i64 [ %287, %286 ], [ %285, %.preheader129.1 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  %287 = add nsw i64 %indvars.iv150.1, 1
  %288 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %287
  %289 = load i32, ptr %288, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %290, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %291, ptr noundef nonnull align 4 dereferenceable(4) %288)
  %292 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %.not125.1 = icmp eq i64 %292, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  br i1 %.not125.1, label %286, label %.preheader129.2, !llvm.loop !12

.preheader129.2:                                  ; preds = %286
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  %293 = load i32, ptr %288, align 4, !tbaa !5
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %294
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(4) %295, ptr noundef nonnull align 4 dereferenceable(4) %288)
  %296 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  %297 = load i32, ptr %288, align 4, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %298, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %299, ptr noundef nonnull align 4 dereferenceable(4) %288)
  %300 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #4
  %301 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %301, ptr %22, align 4, !tbaa !5
  %302 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %303 = load i32, ptr %302, align 4, !tbaa !5
  store i32 %303, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  %304 = load i32, ptr %288, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %305
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %306, ptr noundef nonnull align 4 dereferenceable(4) %288)
  %307 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  %308 = load i32, ptr %288, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %309, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(4) %310, ptr noundef nonnull align 4 dereferenceable(4) %288)
  %311 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  %sext158 = shl i64 %indvars.iv150.1, 32
  %312 = ashr exact i64 %sext158, 32
  br label %313

313:                                              ; preds = %313, %.preheader129.2
  %indvars.iv150.2 = phi i64 [ %indvars.iv.next151.2, %313 ], [ %312, %.preheader129.2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  %314 = add nsw i64 %indvars.iv150.2, 2
  %315 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %314
  %316 = load i32, ptr %315, align 4, !tbaa !5
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %317, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %318, ptr noundef nonnull align 4 dereferenceable(4) %315)
  %319 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %.not125.2 = icmp eq i64 %319, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  %indvars.iv.next151.2 = add nsw i64 %indvars.iv150.2, 1
  br i1 %.not125.2, label %313, label %.preheader128, !llvm.loop !12

.preheader128:                                    ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  %320 = load i32, ptr %315, align 4, !tbaa !5
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %321
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(4) %322, ptr noundef nonnull align 4 dereferenceable(4) %315)
  %323 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  %324 = load i32, ptr %315, align 4, !tbaa !5
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %325, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4) %326, ptr noundef nonnull align 4 dereferenceable(4) %315)
  %327 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #4
  %328 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %328, ptr %22, align 4, !tbaa !5
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %330 = load i32, ptr %329, align 4, !tbaa !5
  store i32 %330, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  %331 = load i32, ptr %315, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %332
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %333, ptr noundef nonnull align 4 dereferenceable(4) %315)
  %334 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  %335 = load i32, ptr %315, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %336, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(4) %337, ptr noundef nonnull align 4 dereferenceable(4) %315)
  %338 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  br label %339

339:                                              ; preds = %339, %.preheader128
  %.7 = phi i32 [ %349, %339 ], [ 0, %.preheader128 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  %340 = load i32, ptr @N, align 4, !tbaa !5
  %341 = xor i32 %.7, -1
  %342 = add i32 %340, %341
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %343
  %345 = load i32, ptr %344, align 4, !tbaa !5
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %346, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %347, ptr noundef nonnull align 4 dereferenceable(4) %344)
  %348 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %.not = icmp eq i64 %348, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  %349 = add nuw nsw i32 %.7, 1
  br i1 %.not, label %339, label %.preheader.1, !llvm.loop !13

.preheader.1:                                     ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #4
  %350 = load i32, ptr @N, align 4, !tbaa !5
  %351 = add i32 %350, %341
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %352
  %354 = load i32, ptr %353, align 4, !tbaa !5
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %355
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %356, ptr noundef nonnull align 4 dereferenceable(4) %353)
  %357 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #4
  %358 = load i32, ptr @N, align 4, !tbaa !5
  %359 = add i32 %358, %341
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %360
  %362 = load i32, ptr %361, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %363, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(4) %364, ptr noundef nonnull align 4 dereferenceable(4) %361)
  %365 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #4
  %366 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %366, ptr %28, align 4, !tbaa !5
  %367 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %368 = load i32, ptr %367, align 4, !tbaa !5
  store i32 %368, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #4
  %369 = load i32, ptr @N, align 4, !tbaa !5
  %370 = add i32 %369, %341
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %371
  %373 = load i32, ptr %372, align 4, !tbaa !5
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %374
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(4) %375, ptr noundef nonnull align 4 dereferenceable(4) %372)
  %376 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #4
  %377 = load i32, ptr @N, align 4, !tbaa !5
  %378 = add i32 %377, %341
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %379
  %381 = load i32, ptr %380, align 4, !tbaa !5
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %382, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %383, ptr noundef nonnull align 4 dereferenceable(4) %380)
  %384 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #4
  br label %385

385:                                              ; preds = %385, %.preheader.1
  %.7.1 = phi i32 [ %395, %385 ], [ %.7, %.preheader.1 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  %386 = load i32, ptr @N, align 4, !tbaa !5
  %387 = sub nuw i32 -2, %.7.1
  %388 = add i32 %387, %386
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %389
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %392, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %393, ptr noundef nonnull align 4 dereferenceable(4) %390)
  %394 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %.not.1 = icmp eq i64 %394, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  %395 = add nuw nsw i32 %.7.1, 1
  br i1 %.not.1, label %385, label %.preheader.2, !llvm.loop !13

.preheader.2:                                     ; preds = %385
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #4
  %396 = load i32, ptr @N, align 4, !tbaa !5
  %397 = add i32 %387, %396
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %398
  %400 = load i32, ptr %399, align 4, !tbaa !5
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %401
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %402, ptr noundef nonnull align 4 dereferenceable(4) %399)
  %403 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #4
  %404 = load i32, ptr @N, align 4, !tbaa !5
  %405 = add i32 %387, %404
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %406
  %408 = load i32, ptr %407, align 4, !tbaa !5
  %409 = sext i32 %408 to i64
  %410 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %409, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(4) %410, ptr noundef nonnull align 4 dereferenceable(4) %407)
  %411 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #4
  %412 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %412, ptr %28, align 4, !tbaa !5
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %414 = load i32, ptr %413, align 4, !tbaa !5
  store i32 %414, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #4
  %415 = load i32, ptr @N, align 4, !tbaa !5
  %416 = add i32 %387, %415
  %417 = sext i32 %416 to i64
  %418 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %417
  %419 = load i32, ptr %418, align 4, !tbaa !5
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %420
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(4) %421, ptr noundef nonnull align 4 dereferenceable(4) %418)
  %422 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #4
  %423 = load i32, ptr @N, align 4, !tbaa !5
  %424 = add i32 %387, %423
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %425
  %427 = load i32, ptr %426, align 4, !tbaa !5
  %428 = sext i32 %427 to i64
  %429 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %428, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %429, ptr noundef nonnull align 4 dereferenceable(4) %426)
  %430 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #4
  br label %431

431:                                              ; preds = %431, %.preheader.2
  %.7.2 = phi i32 [ %441, %431 ], [ %.7.1, %.preheader.2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  %432 = load i32, ptr @N, align 4, !tbaa !5
  %433 = sub nuw i32 -3, %.7.2
  %434 = add i32 %433, %432
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %435
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %438 = sext i32 %437 to i64
  %439 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %438, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %439, ptr noundef nonnull align 4 dereferenceable(4) %436)
  %440 = call noundef i64 @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %.not.2 = icmp eq i64 %440, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  %441 = add nuw nsw i32 %.7.2, 1
  br i1 %.not.2, label %431, label %442, !llvm.loop !13

442:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #4
  %443 = load i32, ptr @N, align 4, !tbaa !5
  %444 = add i32 %433, %443
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %445
  %447 = load i32, ptr %446, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %448
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %449, ptr noundef nonnull align 4 dereferenceable(4) %446)
  %450 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #4
  %451 = load i32, ptr @N, align 4, !tbaa !5
  %452 = add i32 %433, %451
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %453
  %455 = load i32, ptr %454, align 4, !tbaa !5
  %456 = sext i32 %455 to i64
  %457 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %456, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(4) %457, ptr noundef nonnull align 4 dereferenceable(4) %454)
  %458 = call noundef i64 @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5eraseERKS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #4
  %459 = call noundef i32 @_Z3dfsi(i32 noundef %42)
  store i32 %459, ptr %28, align 4, !tbaa !5
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %461 = load i32, ptr %460, align 4, !tbaa !5
  store i32 %461, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #4
  %462 = load i32, ptr @N, align 4, !tbaa !5
  %463 = add i32 %433, %462
  %464 = sext i32 %463 to i64
  %465 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %464
  %466 = load i32, ptr %465, align 4, !tbaa !5
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %467
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(4) %468, ptr noundef nonnull align 4 dereferenceable(4) %465)
  %469 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @xset, ptr noundef nonnull align 4 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #4
  %470 = load i32, ptr @N, align 4, !tbaa !5
  %471 = add i32 %433, %470
  %472 = sext i32 %471 to i64
  %473 = getelementptr inbounds [50000 x i32], ptr @sy, i64 0, i64 %472
  %474 = load i32, ptr %473, align 4, !tbaa !5
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds [50000 x %"struct.std::pair"], ptr @c, i64 0, i64 %475, i32 1
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(4) %476, ptr noundef nonnull align 4 dereferenceable(4) %473)
  %477 = call { ptr, i8 } @_ZNSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6insertEOS1_(ptr noundef nonnull align 8 dereferenceable(48) @yset, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #4
  %478 = load i32, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  br label %479

479:                                              ; preds = %442, %32
  %.0 = phi i32 [ %41, %32 ], [ %478, %442 ]
  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: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

; 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 void @_ZNKSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


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