; LLVM IR from ShahjalalShohag/code-library :: Math/Gaussian Elimination Modulo 2.ll (Z5GaussiiSt6vectorISt6bitsetILm2010EESaIS1_EERS1_)

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

%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [32 x i64] }
%"class.std::bitset<2010>::reference" = type { ptr, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5GaussiiSt6vectorISt6bitsetILm2010EESaIS1_EERS1_(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(256) %3) #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::bitset", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::bitset<2010>::reference", align 8
  %15 = alloca %"class.std::bitset<2010>::reference", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::bitset<2010>::reference", align 8
  %19 = alloca %"class.std::bitset<2010>::reference", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector.0", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::allocator.2", align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::bitset<2010>::reference", align 8
  %30 = alloca %"class.std::bitset<2010>::reference", align 8
  %31 = alloca %"class.std::bitset<2010>::reference", align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.std::bitset<2010>::reference", align 8
  %34 = alloca i1, align 1
  %35 = alloca i1, align 1
  %36 = alloca i32, align 4
  %37 = alloca %"class.std::bitset<2010>::reference", align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"class.std::bitset<2010>::reference", align 8
  %41 = alloca %"class.std::bitset<2010>::reference", align 8
  %42 = alloca %"class.std::bitset<2010>::reference", align 8
  %43 = alloca %"class.std::bitset<2010>::reference", align 8
  %44 = alloca %"class.std::bitset<2010>::reference", align 8
  %45 = alloca %"class.std::bitset<2010>::reference", align 8
  %46 = alloca %"class.std::bitset<2010>::reference", align 8
  %47 = alloca i32, align 4
  %48 = alloca %"class.std::bitset<2010>::reference", align 8
  %49 = alloca %"class.std::bitset", align 8
  %50 = alloca i32, align 4
  %51 = alloca %"class.std::bitset<2010>::reference", align 8
  %52 = alloca %"class.std::bitset<2010>::reference", align 8
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %99, %4
  %56 = load i32, ptr %10, align 4, !tbaa !5
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %107

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 256, ptr %12) #5
  call void @_ZNSt6bitsetILm2010EEC2Ev(ptr noundef nonnull align 8 dereferenceable(256) %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %79, %60
  %62 = load i32, ptr %13, align 4, !tbaa !5
  %63 = load i32, ptr %7, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %86

66:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %67 = load i32, ptr %10, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %68) #5
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = load i32, ptr %13, align 4, !tbaa !5
  %72 = sub nsw i32 %70, %71
  %73 = sub nsw i32 %72, 1
  %74 = sext i32 %73 to i64
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %14, ptr noundef nonnull align 8 dereferenceable(256) %69, i64 noundef %74)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %75 = load i32, ptr %13, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %15, ptr noundef nonnull align 8 dereferenceable(256) %12, i64 noundef %76)
          to label %77 unwind label %82

77:                                               ; preds = %66
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  br label %79

79:                                               ; preds = %77
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %13, align 4, !tbaa !5
  br label %61, !llvm.loop !11

82:                                               ; preds = %66
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %16, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %106

86:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %87 = load i32, ptr %10, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %88) #5
  %90 = load i32, ptr %7, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %18, ptr noundef nonnull align 8 dereferenceable(256) %89, i64 noundef %91)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %92 = load i32, ptr %7, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %19, ptr noundef nonnull align 8 dereferenceable(256) %12, i64 noundef %93)
          to label %94 unwind label %102

94:                                               ; preds = %86
  %95 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  %96 = load i32, ptr %10, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %97) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %98, ptr align 8 %12, i64 256, i1 false)
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #5
  br label %99

99:                                               ; preds = %94
  %100 = load i32, ptr %10, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %10, align 4, !tbaa !5
  br label %55, !llvm.loop !13

102:                                              ; preds = %86
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %16, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %106

106:                                              ; preds = %102, %82
  call void @llvm.lifetime.end.p0(i64 256, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %469

107:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 1, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 -1, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 2010, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %108 unwind label %120

108:                                              ; preds = %107
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %109

109:                                              ; preds = %253, %108
  %110 = load i32, ptr %25, align 4, !tbaa !5
  %111 = load i32, ptr %7, align 4, !tbaa !5
  %112 = icmp slt i32 %110, %111
  br i1 %112, label %113, label %117

113:                                              ; preds = %109
  %114 = load i32, ptr %26, align 4, !tbaa !5
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = icmp slt i32 %114, %115
  br label %117

117:                                              ; preds = %113, %109
  %118 = phi i1 [ false, %109 ], [ %116, %113 ]
  br i1 %118, label %124, label %119

119:                                              ; preds = %117
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %257

120:                                              ; preds = %107
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %16, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %468

124:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %125 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %125, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %126 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %126, ptr %28, align 4, !tbaa !5
  br label %127

127:                                              ; preds = %147, %124
  %128 = load i32, ptr %28, align 4, !tbaa !5
  %129 = load i32, ptr %6, align 4, !tbaa !5
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  store i32 11, ptr %11, align 4
  br label %150

132:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  %133 = load i32, ptr %28, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %134) #5
  %136 = load i32, ptr %25, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %29, ptr noundef nonnull align 8 dereferenceable(256) %135, i64 noundef %137)
          to label %138 unwind label %142

138:                                              ; preds = %132
  %139 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  br i1 %139, label %140, label %146

140:                                              ; preds = %138
  %141 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %141, ptr %27, align 4, !tbaa !5
  store i32 11, ptr %11, align 4
  br label %150

142:                                              ; preds = %132
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %16, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %256

146:                                              ; preds = %138
  br label %147

147:                                              ; preds = %146
  %148 = load i32, ptr %28, align 4, !tbaa !5
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %28, align 4, !tbaa !5
  br label %127, !llvm.loop !14

150:                                              ; preds = %140, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %151

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  %152 = load i32, ptr %27, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %153) #5
  %155 = load i32, ptr %25, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %30, ptr noundef nonnull align 8 dereferenceable(256) %154, i64 noundef %156)
          to label %157 unwind label %161

157:                                              ; preds = %151
  %158 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #5
  %159 = xor i1 %158, true
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  br i1 %159, label %160, label %165

160:                                              ; preds = %157
  store i32 0, ptr %21, align 4, !tbaa !5
  store i32 10, ptr %11, align 4
  br label %250

161:                                              ; preds = %151
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %16, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  br label %256

165:                                              ; preds = %157
  %166 = load i32, ptr %27, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  %168 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %167) #5
  %169 = load i32, ptr %26, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %170) #5
  call void @_ZSt4swapISt6bitsetILm2010EEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(256) %168, ptr noundef nonnull align 8 dereferenceable(256) %171) #5
  %172 = load i32, ptr %26, align 4, !tbaa !5
  %173 = load i32, ptr %27, align 4, !tbaa !5
  %174 = icmp ne i32 %172, %173
  br i1 %174, label %175, label %180

175:                                              ; preds = %165
  %176 = load i32, ptr %21, align 4, !tbaa !5
  %177 = icmp eq i32 %176, 0
  %178 = zext i1 %177 to i64
  %179 = select i1 %177, i32 0, i32 1
  store i32 %179, ptr %21, align 4, !tbaa !5
  br label %180

180:                                              ; preds = %175, %165
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #5
  %181 = load i32, ptr %26, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %182) #5
  %184 = load i32, ptr %25, align 4, !tbaa !5
  %185 = sext i32 %184 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %31, ptr noundef nonnull align 8 dereferenceable(256) %183, i64 noundef %185)
          to label %186 unwind label %202

186:                                              ; preds = %180
  %187 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %31) #5
  %188 = zext i1 %187 to i32
  %189 = load i32, ptr %21, align 4, !tbaa !5
  %190 = and i32 %189, %188
  store i32 %190, ptr %21, align 4, !tbaa !5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  %191 = load i32, ptr %26, align 4, !tbaa !5
  %192 = load i32, ptr %25, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %193) #5
  store i32 %191, ptr %194, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %195 = load i32, ptr %26, align 4, !tbaa !5
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %32, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %242, %186
  %198 = load i32, ptr %32, align 4, !tbaa !5
  %199 = load i32, ptr %6, align 4, !tbaa !5
  %200 = icmp slt i32 %198, %199
  br i1 %200, label %206, label %201

201:                                              ; preds = %197
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %245

202:                                              ; preds = %180
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %16, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  br label %256

206:                                              ; preds = %197
  %207 = load i32, ptr %32, align 4, !tbaa !5
  %208 = load i32, ptr %26, align 4, !tbaa !5
  %209 = icmp ne i32 %207, %208
  store i1 false, ptr %34, align 1
  store i1 false, ptr %35, align 1
  br i1 %209, label %210, label %218

210:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  store i1 true, ptr %34, align 1
  %211 = load i32, ptr %32, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %212) #5
  %214 = load i32, ptr %25, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %33, ptr noundef nonnull align 8 dereferenceable(256) %213, i64 noundef %215)
          to label %216 unwind label %234

216:                                              ; preds = %210
  store i1 true, ptr %35, align 1
  %217 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %33) #5
  br label %218

218:                                              ; preds = %216, %206
  %219 = phi i1 [ false, %206 ], [ %217, %216 ]
  %220 = load i1, ptr %35, align 1
  br i1 %220, label %221, label %222

221:                                              ; preds = %218
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #5
  br label %222

222:                                              ; preds = %221, %218
  %223 = load i1, ptr %34, align 1
  br i1 %223, label %224, label %225

224:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  br label %225

225:                                              ; preds = %224, %222
  br i1 %219, label %226, label %241

226:                                              ; preds = %225
  %227 = load i32, ptr %26, align 4, !tbaa !5
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %228) #5
  %230 = load i32, ptr %32, align 4, !tbaa !5
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %231) #5
  %233 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2010EEeOERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %232, ptr noundef nonnull align 8 dereferenceable(256) %229) #5
  br label %241

234:                                              ; preds = %210
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %16, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %17, align 4
  %238 = load i1, ptr %34, align 1
  br i1 %238, label %239, label %240

239:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  br label %240

240:                                              ; preds = %239, %234
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %256

241:                                              ; preds = %226, %225
  br label %242

242:                                              ; preds = %241
  %243 = load i32, ptr %32, align 4, !tbaa !5
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %32, align 4, !tbaa !5
  br label %197, !llvm.loop !15

245:                                              ; preds = %201
  %246 = load i32, ptr %26, align 4, !tbaa !5
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %26, align 4, !tbaa !5
  %248 = load i32, ptr %20, align 4, !tbaa !5
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %20, align 4, !tbaa !5
  store i32 0, ptr %11, align 4
  br label %250

250:                                              ; preds = %245, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  %251 = load i32, ptr %11, align 4
  switch i32 %251, label %474 [
    i32 0, label %252
    i32 10, label %253
  ]

252:                                              ; preds = %250
  br label %253

253:                                              ; preds = %252, %250
  %254 = load i32, ptr %25, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %25, align 4, !tbaa !5
  br label %109, !llvm.loop !16

256:                                              ; preds = %240, %202, %161, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %467

257:                                              ; preds = %119
  %258 = load ptr, ptr %9, align 8, !tbaa !9
  %259 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2010EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256) %258) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %260 = load i32, ptr %7, align 4, !tbaa !5
  %261 = sub nsw i32 %260, 1
  store i32 %261, ptr %36, align 4, !tbaa !5
  br label %262

262:                                              ; preds = %383, %257
  %263 = load i32, ptr %36, align 4, !tbaa !5
  %264 = icmp sge i32 %263, 0
  br i1 %264, label %266, label %265

265:                                              ; preds = %262
  store i32 17, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %387

266:                                              ; preds = %262
  %267 = load i32, ptr %36, align 4, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %268) #5
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %271 = icmp eq i32 %270, -1
  br i1 %271, label %272, label %282

272:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  %273 = load ptr, ptr %9, align 8, !tbaa !9
  %274 = load i32, ptr %36, align 4, !tbaa !5
  %275 = sext i32 %274 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %37, ptr noundef nonnull align 8 dereferenceable(256) %273, i64 noundef %275)
          to label %276 unwind label %278

276:                                              ; preds = %272
  %277 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %37, i1 noundef zeroext true) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  br label %382

278:                                              ; preds = %272
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %16, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  br label %386

282:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  %283 = load i32, ptr %36, align 4, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %284) #5
  %286 = load i32, ptr %285, align 4, !tbaa !5
  store i32 %286, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %287 = load i32, ptr %36, align 4, !tbaa !5
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %39, align 4, !tbaa !5
  br label %289

289:                                              ; preds = %341, %282
  %290 = load i32, ptr %39, align 4, !tbaa !5
  %291 = load i32, ptr %7, align 4, !tbaa !5
  %292 = icmp slt i32 %290, %291
  br i1 %292, label %294, label %293

293:                                              ; preds = %289
  store i32 20, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %345

294:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #5
  %295 = load i32, ptr %38, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %296) #5
  %298 = load i32, ptr %39, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %40, ptr noundef nonnull align 8 dereferenceable(256) %297, i64 noundef %299)
          to label %300 unwind label %322

300:                                              ; preds = %294
  %301 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %40) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #5
  br i1 %301, label %302, label %340

302:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #5
  %303 = load ptr, ptr %9, align 8, !tbaa !9
  %304 = load i32, ptr %36, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %41, ptr noundef nonnull align 8 dereferenceable(256) %303, i64 noundef %305)
          to label %306 unwind label %326

306:                                              ; preds = %302
  %307 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #5
  %308 = zext i1 %307 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #5
  %309 = load ptr, ptr %9, align 8, !tbaa !9
  %310 = load i32, ptr %39, align 4, !tbaa !5
  %311 = sext i32 %310 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %42, ptr noundef nonnull align 8 dereferenceable(256) %309, i64 noundef %311)
          to label %312 unwind label %330

312:                                              ; preds = %306
  %313 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %42) #5
  %314 = zext i1 %313 to i32
  %315 = xor i32 %308, %314
  %316 = icmp ne i32 %315, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #5
  %317 = load ptr, ptr %9, align 8, !tbaa !9
  %318 = load i32, ptr %36, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %43, ptr noundef nonnull align 8 dereferenceable(256) %317, i64 noundef %319)
          to label %320 unwind label %334

320:                                              ; preds = %312
  %321 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %43, i1 noundef zeroext %316) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  br label %340

322:                                              ; preds = %294
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %16, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #5
  br label %344

326:                                              ; preds = %302
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %16, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %17, align 4
  br label %339

330:                                              ; preds = %306
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %16, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %17, align 4
  br label %338

334:                                              ; preds = %312
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %16, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #5
  br label %338

338:                                              ; preds = %334, %330
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #5
  br label %339

339:                                              ; preds = %338, %326
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  br label %344

340:                                              ; preds = %320, %300
  br label %341

341:                                              ; preds = %340
  %342 = load i32, ptr %39, align 4, !tbaa !5
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr %39, align 4, !tbaa !5
  br label %289, !llvm.loop !17

344:                                              ; preds = %339, %322
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %381

345:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #5
  %346 = load ptr, ptr %9, align 8, !tbaa !9
  %347 = load i32, ptr %36, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %44, ptr noundef nonnull align 8 dereferenceable(256) %346, i64 noundef %348)
          to label %349 unwind label %367

349:                                              ; preds = %345
  %350 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %44) #5
  %351 = zext i1 %350 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #5
  %352 = load i32, ptr %38, align 4, !tbaa !5
  %353 = sext i32 %352 to i64
  %354 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %353) #5
  %355 = load i32, ptr %7, align 4, !tbaa !5
  %356 = sext i32 %355 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %45, ptr noundef nonnull align 8 dereferenceable(256) %354, i64 noundef %356)
          to label %357 unwind label %371

357:                                              ; preds = %349
  %358 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %45) #5
  %359 = zext i1 %358 to i32
  %360 = xor i32 %351, %359
  %361 = icmp ne i32 %360, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #5
  %362 = load ptr, ptr %9, align 8, !tbaa !9
  %363 = load i32, ptr %36, align 4, !tbaa !5
  %364 = sext i32 %363 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %46, ptr noundef nonnull align 8 dereferenceable(256) %362, i64 noundef %364)
          to label %365 unwind label %375

365:                                              ; preds = %357
  %366 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %46, i1 noundef zeroext %361) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %382

367:                                              ; preds = %345
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %16, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %17, align 4
  br label %380

371:                                              ; preds = %349
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %16, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %17, align 4
  br label %379

375:                                              ; preds = %357
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %16, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %45) #5
  br label %379

379:                                              ; preds = %375, %371
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #5
  br label %380

380:                                              ; preds = %379, %367
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #5
  br label %381

381:                                              ; preds = %380, %344
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %386

382:                                              ; preds = %365, %276
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr %36, align 4, !tbaa !5
  %385 = add nsw i32 %384, -1
  store i32 %385, ptr %36, align 4, !tbaa !5
  br label %262, !llvm.loop !18

386:                                              ; preds = %381, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %467

387:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  %388 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %388, ptr %47, align 4, !tbaa !5
  br label %389

389:                                              ; preds = %408, %387
  %390 = load i32, ptr %47, align 4, !tbaa !5
  %391 = load i32, ptr %6, align 4, !tbaa !5
  %392 = icmp slt i32 %390, %391
  br i1 %392, label %394, label %393

393:                                              ; preds = %389
  store i32 23, ptr %11, align 4
  br label %411

394:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #5
  %395 = load i32, ptr %47, align 4, !tbaa !5
  %396 = sext i32 %395 to i64
  %397 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %396) #5
  %398 = load i32, ptr %7, align 4, !tbaa !5
  %399 = sext i32 %398 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %48, ptr noundef nonnull align 8 dereferenceable(256) %397, i64 noundef %399)
          to label %400 unwind label %403

400:                                              ; preds = %394
  %401 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %48) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %48) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #5
  br i1 %401, label %402, label %407

402:                                              ; preds = %400
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %411

403:                                              ; preds = %394
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %16, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  br label %467

407:                                              ; preds = %400
  br label %408

408:                                              ; preds = %407
  %409 = load i32, ptr %47, align 4, !tbaa !5
  %410 = add nsw i32 %409, 1
  store i32 %410, ptr %47, align 4, !tbaa !5
  br label %389, !llvm.loop !19

411:                                              ; preds = %402, %393
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  %412 = load i32, ptr %11, align 4
  switch i32 %412, label %465 [
    i32 23, label %413
  ]

413:                                              ; preds = %411
  call void @llvm.lifetime.start.p0(i64 256, ptr %49) #5
  call void @_ZNSt6bitsetILm2010EEC2Ev(ptr noundef nonnull align 8 dereferenceable(256) %49) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %414

414:                                              ; preds = %431, %413
  %415 = load i32, ptr %50, align 4, !tbaa !5
  %416 = load i32, ptr %7, align 4, !tbaa !5
  %417 = icmp slt i32 %415, %416
  br i1 %417, label %419, label %418

418:                                              ; preds = %414
  store i32 26, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br label %443

419:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #5
  %420 = load ptr, ptr %9, align 8, !tbaa !9
  %421 = load i32, ptr %7, align 4, !tbaa !5
  %422 = load i32, ptr %50, align 4, !tbaa !5
  %423 = sub nsw i32 %421, %422
  %424 = sub nsw i32 %423, 1
  %425 = sext i32 %424 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %51, ptr noundef nonnull align 8 dereferenceable(256) %420, i64 noundef %425)
          to label %426 unwind label %434

426:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #5
  %427 = load i32, ptr %50, align 4, !tbaa !5
  %428 = sext i32 %427 to i64
  invoke void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<2010>::reference") align 8 %52, ptr noundef nonnull align 8 dereferenceable(256) %49, i64 noundef %428)
          to label %429 unwind label %438

429:                                              ; preds = %426
  %430 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(16) %51) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #5
  br label %431

431:                                              ; preds = %429
  %432 = load i32, ptr %50, align 4, !tbaa !5
  %433 = add nsw i32 %432, 1
  store i32 %433, ptr %50, align 4, !tbaa !5
  br label %414, !llvm.loop !20

434:                                              ; preds = %419
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %16, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %17, align 4
  br label %442

438:                                              ; preds = %426
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %16, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #5
  br label %442

442:                                              ; preds = %438, %434
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr %49) #5
  br label %467

443:                                              ; preds = %418
  %444 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %444, ptr align 8 %49, i64 256, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #5
  store i32 0, ptr %53, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #5
  store i32 0, ptr %54, align 4, !tbaa !5
  br label %445

445:                                              ; preds = %460, %443
  %446 = load i32, ptr %54, align 4, !tbaa !5
  %447 = load i32, ptr %7, align 4, !tbaa !5
  %448 = icmp slt i32 %446, %447
  br i1 %448, label %450, label %449

449:                                              ; preds = %445
  store i32 29, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  br label %463

450:                                              ; preds = %445
  %451 = load i32, ptr %54, align 4, !tbaa !5
  %452 = sext i32 %451 to i64
  %453 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %452) #5
  %454 = load i32, ptr %453, align 4, !tbaa !5
  %455 = icmp eq i32 %454, -1
  br i1 %455, label %456, label %459

456:                                              ; preds = %450
  %457 = load i32, ptr %53, align 4, !tbaa !5
  %458 = add nsw i32 %457, 1
  store i32 %458, ptr %53, align 4, !tbaa !5
  br label %459

459:                                              ; preds = %456, %450
  br label %460

460:                                              ; preds = %459
  %461 = load i32, ptr %54, align 4, !tbaa !5
  %462 = add nsw i32 %461, 1
  store i32 %462, ptr %54, align 4, !tbaa !5
  br label %445, !llvm.loop !21

463:                                              ; preds = %449
  %464 = load i32, ptr %53, align 4, !tbaa !5
  store i32 %464, ptr %5, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr %49) #5
  br label %465

465:                                              ; preds = %463, %411
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  %466 = load i32, ptr %5, align 4
  ret i32 %466

467:                                              ; preds = %442, %403, %386, %256
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  br label %468

468:                                              ; preds = %467, %120
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %469

469:                                              ; preds = %468, %106
  %470 = load ptr, ptr %16, align 8
  %471 = load i32, ptr %17, align 4
  %472 = insertvalue { ptr, i32 } poison, ptr %470, 0
  %473 = insertvalue { ptr, i32 } %472, i32 %471, 1
  resume { ptr, i32 } %473

474:                                              ; preds = %250
  unreachable
}

; 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 void @_ZNSt6bitsetILm2010EEC2Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<2010>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(256), i64 noundef) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!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}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !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"

%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [32 x i64] }
%"class.std::bitset<2010>::reference" = type { ptr, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5GaussiiSt6vectorISt6bitsetILm2010EESaIS1_EERS1_(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(256) %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::bitset", align 8
  %6 = alloca %"class.std::bitset<2010>::reference", align 8
  %7 = alloca %"class.std::bitset<2010>::reference", align 8
  %8 = alloca %"class.std::bitset<2010>::reference", align 8
  %9 = alloca %"class.std::bitset<2010>::reference", align 8
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::allocator.2", align 1
  %13 = alloca %"class.std::bitset<2010>::reference", align 8
  %14 = alloca %"class.std::bitset<2010>::reference", align 8
  %15 = alloca %"class.std::bitset<2010>::reference", align 8
  %16 = alloca %"class.std::bitset<2010>::reference", align 8
  %17 = alloca %"class.std::bitset<2010>::reference", align 8
  %18 = alloca %"class.std::bitset<2010>::reference", align 8
  %19 = alloca %"class.std::bitset<2010>::reference", align 8
  %20 = alloca %"class.std::bitset<2010>::reference", align 8
  %21 = alloca %"class.std::bitset<2010>::reference", align 8
  %22 = alloca %"class.std::bitset<2010>::reference", align 8
  %23 = alloca %"class.std::bitset<2010>::reference", align 8
  %24 = alloca %"class.std::bitset<2010>::reference", align 8
  %25 = alloca %"class.std::bitset<2010>::reference", align 8
  %26 = alloca %"class.std::bitset", align 8
  %27 = alloca %"class.std::bitset<2010>::reference", align 8
  %28 = alloca %"class.std::bitset<2010>::reference", align 8
  %29 = icmp sgt i32 %0, 0
  br i1 %29, label %.lr.ph136, label %._crit_edge137

.lr.ph136:                                        ; preds = %4
  %30 = icmp sgt i32 %1, 0
  %31 = sext i32 %1 to i64
  %wide.trip.count173 = zext nneg i32 %0 to i64
  %wide.trip.count = zext nneg i32 %1 to i64
  br label %32

._crit_edge137:                                   ; preds = %._crit_edge, %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 -1, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 2010, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %40 unwind label %49

32:                                               ; preds = %.lr.ph136, %._crit_edge
  %indvars.iv170 = phi i64 [ 0, %.lr.ph136 ], [ %indvars.iv.next171, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #5
  call void @_ZNSt6bitsetILm2010EEC2Ev(ptr noundef nonnull align 8 dereferenceable(256) %5) #5
  br i1 %30, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %33 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv170) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %8, ptr noundef nonnull align 8 dereferenceable(256) %33, i64 noundef %31)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %9, ptr noundef nonnull align 8 dereferenceable(256) %5, i64 noundef %31)
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %35 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv170) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef nonnull align 8 dereferenceable(256) %5, i64 256, i1 false)
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #5
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %exitcond174.not = icmp eq i64 %indvars.iv.next171, %wide.trip.count173
  br i1 %exitcond174.not, label %._crit_edge137, label %32, !llvm.loop !9

.lr.ph:                                           ; preds = %32, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %32 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %36 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv170) #5
  %37 = xor i64 %indvars.iv, -1
  %38 = add nsw i64 %37, %31
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %6, ptr noundef nonnull align 8 dereferenceable(256) %36, i64 noundef %38)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %7, ptr noundef nonnull align 8 dereferenceable(256) %5, i64 noundef %indvars.iv)
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

40:                                               ; preds = %._crit_edge137
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %41 = icmp sgt i32 %1, 0
  %42 = and i1 %41, %29
  br i1 %42, label %.preheader132.preheader, label %._crit_edge147

.preheader132.preheader:                          ; preds = %40
  %43 = zext nneg i32 %0 to i64
  %44 = zext nneg i32 %1 to i64
  br label %.preheader132

.preheader132:                                    ; preds = %.preheader132.preheader, %75
  %indvars.iv182 = phi i64 [ 0, %.preheader132.preheader ], [ %indvars.iv.next183, %75 ]
  %.0114146 = phi i32 [ 0, %.preheader132.preheader ], [ %.1115, %75 ]
  %.0119143 = phi i32 [ 0, %.preheader132.preheader ], [ %.1120, %75 ]
  %45 = sext i32 %.0114146 to i64
  br label %51

._crit_edge147:                                   ; preds = %75, %40
  %.0119.lcssa = phi i32 [ 0, %40 ], [ %.1120, %75 ]
  %46 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2010EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256) %3) #5
  br i1 %41, label %.lr.ph156, label %.preheader

.lr.ph156:                                        ; preds = %._crit_edge147
  %47 = zext nneg i32 %1 to i64
  %48 = zext nneg i32 %1 to i64
  br label %81

49:                                               ; preds = %._crit_edge137
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  resume { ptr, i32 } %50

51:                                               ; preds = %.preheader132, %54
  %indvars.iv175 = phi i64 [ %45, %.preheader132 ], [ %indvars.iv.next176, %54 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  %52 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv175) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %13, ptr noundef nonnull align 8 dereferenceable(256) %52, i64 noundef %indvars.iv182)
  %53 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br i1 %53, label %._crit_edge206, label %54

._crit_edge206:                                   ; preds = %51
  %sext = shl i64 %indvars.iv175, 32
  %.pre = ashr exact i64 %sext, 32
  br label %split

54:                                               ; preds = %51
  %indvars.iv.next176 = add nsw i64 %indvars.iv175, 1
  %55 = icmp slt i64 %indvars.iv.next176, %43
  br i1 %55, label %51, label %split, !llvm.loop !12

split:                                            ; preds = %54, %._crit_edge206
  %.pre-phi = phi i64 [ %.pre, %._crit_edge206 ], [ %45, %54 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %56 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.pre-phi) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %14, ptr noundef nonnull align 8 dereferenceable(256) %56, i64 noundef %indvars.iv182)
  %57 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br i1 %57, label %58, label %75

58:                                               ; preds = %split
  %59 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.pre-phi) #5
  %60 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %45) #5
  call void @_ZSt4swapISt6bitsetILm2010EEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(256) %59, ptr noundef nonnull align 8 dereferenceable(256) %60) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  %61 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %45) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %15, ptr noundef nonnull align 8 dereferenceable(256) %61, i64 noundef %indvars.iv182)
  %62 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv182) #5
  store i32 %.0114146, ptr %63, align 4, !tbaa !5
  %64 = add nsw i32 %.0114146, 1
  %65 = icmp slt i32 %64, %0
  br i1 %65, label %.lr.ph141.preheader, label %._crit_edge142

.lr.ph141.preheader:                              ; preds = %58
  %66 = sext i32 %64 to i64
  br label %.lr.ph141

._crit_edge142:                                   ; preds = %.critedge.thread, %58
  %67 = add nsw i32 %.0119143, 1
  br label %75

.lr.ph141:                                        ; preds = %.lr.ph141.preheader, %.critedge.thread
  %indvars.iv178 = phi i64 [ %66, %.lr.ph141.preheader ], [ %indvars.iv.next179, %.critedge.thread ]
  %68 = icmp eq i64 %indvars.iv178, %45
  br i1 %68, label %.critedge.thread, label %.critedge

.critedge:                                        ; preds = %.lr.ph141
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  %69 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv178) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %16, ptr noundef nonnull align 8 dereferenceable(256) %69, i64 noundef %indvars.iv182)
  %70 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br i1 %70, label %71, label %.critedge.thread

71:                                               ; preds = %.critedge
  %72 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %45) #5
  %73 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv178) #5
  %74 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2010EEeOERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %73, ptr noundef nonnull align 8 dereferenceable(256) %72) #5
  br label %.critedge.thread

.critedge.thread:                                 ; preds = %.lr.ph141, %.critedge, %71
  %indvars.iv.next179 = add nsw i64 %indvars.iv178, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next179 to i32
  %exitcond181.not = icmp eq i32 %lftr.wideiv, %0
  br i1 %exitcond181.not, label %._crit_edge142, label %.lr.ph141, !llvm.loop !13

75:                                               ; preds = %split, %._crit_edge142
  %.1120 = phi i32 [ %67, %._crit_edge142 ], [ %.0119143, %split ]
  %.1115 = phi i32 [ %64, %._crit_edge142 ], [ %.0114146, %split ]
  %indvars.iv.next183 = add nuw nsw i64 %indvars.iv182, 1
  %76 = icmp ult i64 %indvars.iv.next183, %44
  %77 = icmp slt i32 %.1115, %0
  %78 = select i1 %76, i1 %77, i1 false
  br i1 %78, label %.preheader132, label %._crit_edge147, !llvm.loop !14

.preheader:                                       ; preds = %107, %._crit_edge147
  %.not157 = icmp slt i32 %.0119.lcssa, %0
  br i1 %.not157, label %.lr.ph159, label %.critedge131

.lr.ph159:                                        ; preds = %.preheader
  %79 = sext i32 %1 to i64
  %80 = sext i32 %.0119.lcssa to i64
  br label %110

81:                                               ; preds = %.lr.ph156, %107
  %indvars.iv185 = phi i64 [ %47, %.lr.ph156 ], [ %indvars.iv.next186, %107 ]
  %indvars.iv.next186 = add nsw i64 %indvars.iv185, -1
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv.next186) #5
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = icmp eq i32 %83, -1
  br i1 %84, label %85, label %87

85:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %17, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %indvars.iv.next186)
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %17, i1 noundef zeroext true) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  br label %107

87:                                               ; preds = %81
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv.next186) #5
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = icmp slt i64 %indvars.iv185, %48
  %91 = sext i32 %89 to i64
  br i1 %90, label %.lr.ph150, label %._crit_edge151

._crit_edge151:                                   ; preds = %104, %87
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %22, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %indvars.iv.next186)
  %92 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  %93 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %91) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %23, ptr noundef nonnull align 8 dereferenceable(256) %93, i64 noundef %47)
  %94 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  %95 = xor i1 %92, %94
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %24, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %indvars.iv.next186)
  %96 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %24, i1 noundef zeroext %95) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  br label %107

.lr.ph150:                                        ; preds = %87, %104
  %indvars.iv187 = phi i64 [ %indvars.iv.next188, %104 ], [ %indvars.iv185, %87 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  %97 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %91) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %18, ptr noundef nonnull align 8 dereferenceable(256) %97, i64 noundef %indvars.iv187)
  %98 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  br i1 %98, label %99, label %104

99:                                               ; preds = %.lr.ph150
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %19, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %indvars.iv.next186)
  %100 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %20, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %indvars.iv187)
  %101 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #5
  %102 = xor i1 %100, %101
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %21, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %indvars.iv.next186)
  %103 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %21, i1 noundef zeroext %102) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  br label %104

104:                                              ; preds = %.lr.ph150, %99
  %indvars.iv.next188 = add nuw nsw i64 %indvars.iv187, 1
  %105 = trunc nuw i64 %indvars.iv.next188 to i32
  %106 = icmp slt i32 %105, %1
  br i1 %106, label %.lr.ph150, label %._crit_edge151, !llvm.loop !15

107:                                              ; preds = %85, %._crit_edge151
  %108 = icmp sgt i64 %indvars.iv185, 1
  br i1 %108, label %81, label %.preheader, !llvm.loop !16

109:                                              ; preds = %110
  %indvars.iv.next192 = add nsw i64 %indvars.iv191, 1
  %lftr.wideiv194 = trunc i64 %indvars.iv.next192 to i32
  %exitcond195.not = icmp eq i32 %lftr.wideiv194, %0
  br i1 %exitcond195.not, label %.critedge131, label %110, !llvm.loop !17

110:                                              ; preds = %.lr.ph159, %109
  %indvars.iv191 = phi i64 [ %80, %.lr.ph159 ], [ %indvars.iv.next192, %109 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #5
  %111 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv191) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %25, ptr noundef nonnull align 8 dereferenceable(256) %111, i64 noundef %79)
  %112 = call noundef zeroext i1 @_ZNKSt6bitsetILm2010EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %25) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #5
  br i1 %112, label %.loopexit, label %109

.critedge131:                                     ; preds = %109, %.preheader
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %26) #5
  call void @_ZNSt6bitsetILm2010EEC2Ev(ptr noundef nonnull align 8 dereferenceable(256) %26) #5
  br i1 %41, label %.lr.ph161.preheader, label %._crit_edge162.thread

._crit_edge162.thread:                            ; preds = %.critedge131
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %3, ptr noundef nonnull align 8 dereferenceable(256) %26, i64 256, i1 false)
  br label %._crit_edge167

.lr.ph161.preheader:                              ; preds = %.critedge131
  %113 = zext nneg i32 %1 to i64
  %wide.trip.count199 = zext nneg i32 %1 to i64
  br label %.lr.ph161

._crit_edge162:                                   ; preds = %.lr.ph161
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %3, ptr noundef nonnull align 8 dereferenceable(256) %26, i64 256, i1 false)
  br i1 %41, label %.lr.ph166.preheader, label %._crit_edge167

.lr.ph166.preheader:                              ; preds = %._crit_edge162
  %wide.trip.count204 = zext nneg i32 %1 to i64
  br label %.lr.ph166

.lr.ph161:                                        ; preds = %.lr.ph161.preheader, %.lr.ph161
  %indvars.iv196 = phi i64 [ 0, %.lr.ph161.preheader ], [ %indvars.iv.next197, %.lr.ph161 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #5
  %114 = xor i64 %indvars.iv196, -1
  %115 = add nsw i64 %114, %113
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %27, ptr noundef nonnull align 8 dereferenceable(256) %3, i64 noundef %115)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #5
  call void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<2010>::reference") align 8 %28, ptr noundef nonnull align 8 dereferenceable(256) %26, i64 noundef %indvars.iv196)
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm2010EE9referenceaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #5
  call void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  %indvars.iv.next197 = add nuw nsw i64 %indvars.iv196, 1
  %exitcond200.not = icmp eq i64 %indvars.iv.next197, %wide.trip.count199
  br i1 %exitcond200.not, label %._crit_edge162, label %.lr.ph161, !llvm.loop !18

._crit_edge167:                                   ; preds = %.lr.ph166, %._crit_edge162.thread, %._crit_edge162
  %.0102.lcssa = phi i32 [ 0, %._crit_edge162 ], [ 0, %._crit_edge162.thread ], [ %spec.select, %.lr.ph166 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %26) #5
  br label %.loopexit

.lr.ph166:                                        ; preds = %.lr.ph166.preheader, %.lr.ph166
  %indvars.iv201 = phi i64 [ 0, %.lr.ph166.preheader ], [ %indvars.iv.next202, %.lr.ph166 ]
  %.0102163 = phi i32 [ 0, %.lr.ph166.preheader ], [ %spec.select, %.lr.ph166 ]
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv201) #5
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = icmp eq i32 %118, -1
  %120 = zext i1 %119 to i32
  %spec.select = add nuw nsw i32 %.0102163, %120
  %indvars.iv.next202 = add nuw nsw i64 %indvars.iv201, 1
  %exitcond205.not = icmp eq i64 %indvars.iv.next202, %wide.trip.count204
  br i1 %exitcond205.not, label %._crit_edge167, label %.lr.ph166, !llvm.loop !19

.loopexit:                                        ; preds = %110, %._crit_edge167
  %.1107 = phi i32 [ %.0102.lcssa, %._crit_edge167 ], [ -1, %110 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  ret i32 %.1107
}

; 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 void @_ZNSt6bitsetILm2010EEC2Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6vectorISt6bitsetILm2010EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm2010EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<2010>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(256), i64 noundef) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm2010EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 = { mustprogress 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


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