; LLVM IR from eyangch/competitive-programming :: USACOcontests/silver/2017.03/where.ll (Z5worksiRA20_A20_c4rect)

; 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.rect = type { i32, i32, i32, i32 }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z5worksiRA20_A20_c4rect(i32 noundef %0, ptr noundef nonnull align 1 dereferenceable(400) %1, i64 %2, i64 %3) #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca %struct.rect, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca [26 x i8], align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca [26 x i32], align 16
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca %"class.std::stack", align 8
  %26 = alloca %"struct.std::pair", align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %"struct.std::pair", align 4
  %32 = alloca i32, align 4
  %33 = alloca %"struct.std::pair", align 4
  %34 = alloca i32, align 4
  %35 = alloca %"struct.std::pair", align 4
  %36 = alloca i32, align 4
  %37 = alloca %"struct.std::pair", align 4
  %38 = alloca i32, align 4
  %39 = alloca i8, align 1
  %40 = alloca i8, align 1
  %41 = alloca i8, align 1
  %42 = alloca i32, align 4
  %43 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
  store i64 %2, ptr %43, align 4
  %44 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
  store i64 %3, ptr %44, align 4
  store i32 %0, ptr %7, align 4, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 26, ptr %9) #6
  %45 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 0
  %46 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 0
  %47 = getelementptr inbounds i8, ptr %46, i64 26
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef %45, ptr noundef %47, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %48 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 0
  %49 = load i32, ptr %48, align 4, !tbaa !11
  store i32 %49, ptr %11, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %82, %4
  %51 = load i32, ptr %11, align 4, !tbaa !5
  %52 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 2
  %53 = load i32, ptr %52, align 4, !tbaa !13
  %54 = icmp sle i32 %51, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %85

56:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %57 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 1
  %58 = load i32, ptr %57, align 4, !tbaa !14
  store i32 %58, ptr %13, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %78, %56
  %60 = load i32, ptr %13, align 4, !tbaa !5
  %61 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 3
  %62 = load i32, ptr %61, align 4, !tbaa !15
  %63 = icmp sle i32 %60, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %59
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %81

65:                                               ; preds = %59
  %66 = load ptr, ptr %8, align 8, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [20 x [20 x i8]], ptr %66, i64 0, i64 %68
  %70 = load i32, ptr %13, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [20 x i8], ptr %69, i64 0, i64 %71
  %73 = load i8, ptr %72, align 1, !tbaa !16
  %74 = sext i8 %73 to i32
  %75 = sub nsw i32 %74, 65
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 %76
  store i8 1, ptr %77, align 1, !tbaa !17
  br label %78

78:                                               ; preds = %65
  %79 = load i32, ptr %13, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %13, align 4, !tbaa !5
  br label %59, !llvm.loop !19

81:                                               ; preds = %64
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %11, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %11, align 4, !tbaa !5
  br label %50, !llvm.loop !21

85:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %99, %85
  %87 = load i32, ptr %15, align 4, !tbaa !5
  %88 = icmp slt i32 %87, 26
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %102

90:                                               ; preds = %86
  %91 = load i32, ptr %15, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [26 x i8], ptr %9, i64 0, i64 %92
  %94 = load i8, ptr %93, align 1, !tbaa !17, !range !22, !noundef !23
  %95 = trunc i8 %94 to i1
  %96 = zext i1 %95 to i32
  %97 = load i32, ptr %14, align 4, !tbaa !5
  %98 = add nsw i32 %97, %96
  store i32 %98, ptr %14, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %90
  %100 = load i32, ptr %15, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %15, align 4, !tbaa !5
  br label %86, !llvm.loop !24

102:                                              ; preds = %89
  %103 = load i32, ptr %14, align 4, !tbaa !5
  %104 = icmp ne i32 %103, 2
  br i1 %104, label %105, label %106

105:                                              ; preds = %102
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %388

106:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 104, ptr %16) #6
  %107 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 0
  %108 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 0
  %109 = getelementptr inbounds i32, ptr %108, i64 26
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef %107, ptr noundef %109, ptr noundef nonnull align 4 dereferenceable(4) %17)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %110 = load i32, ptr %7, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = load i32, ptr %7, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = call ptr @llvm.stacksave.p0()
  store ptr %114, ptr %18, align 8
  %115 = mul nuw i64 %111, %113
  %116 = alloca i8, i64 %115, align 16
  store i64 %111, ptr %19, align 8
  store i64 %113, ptr %20, align 8
  %117 = mul nsw i64 0, %113
  %118 = getelementptr inbounds i8, ptr %116, i64 %117
  %119 = load i32, ptr %7, align 4, !tbaa !5
  %120 = sub nsw i32 %119, 1
  %121 = sext i32 %120 to i64
  %122 = mul nsw i64 %121, %113
  %123 = getelementptr inbounds i8, ptr %116, i64 %122
  %124 = load i32, ptr %7, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %123, i64 %125
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  store i8 0, ptr %21, align 1, !tbaa !17
  call void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef %118, ptr noundef %126, ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %127 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 0
  %128 = load i32, ptr %127, align 4, !tbaa !11
  store i32 %128, ptr %22, align 4, !tbaa !5
  br label %129

129:                                              ; preds = %350, %106
  %130 = load i32, ptr %22, align 4, !tbaa !5
  %131 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 2
  %132 = load i32, ptr %131, align 4, !tbaa !13
  %133 = icmp sle i32 %130, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %129
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %353

135:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %136 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 1
  %137 = load i32, ptr %136, align 4, !tbaa !14
  store i32 %137, ptr %23, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %346, %135
  %139 = load i32, ptr %23, align 4, !tbaa !5
  %140 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 3
  %141 = load i32, ptr %140, align 4, !tbaa !15
  %142 = icmp sle i32 %139, %141
  br i1 %142, label %144, label %143

143:                                              ; preds = %138
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %349

144:                                              ; preds = %138
  %145 = load i32, ptr %22, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = mul nsw i64 %146, %113
  %148 = getelementptr inbounds i8, ptr %116, i64 %147
  %149 = load i32, ptr %23, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds i8, ptr %148, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !17, !range !22, !noundef !23
  %153 = trunc i8 %152 to i1
  br i1 %153, label %169, label %154

154:                                              ; preds = %144
  %155 = load ptr, ptr %8, align 8, !tbaa !9
  %156 = load i32, ptr %22, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [20 x [20 x i8]], ptr %155, i64 0, i64 %157
  %159 = load i32, ptr %23, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [20 x i8], ptr %158, i64 0, i64 %160
  %162 = load i8, ptr %161, align 1, !tbaa !16
  %163 = sext i8 %162 to i32
  %164 = sub nsw i32 %163, 65
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = icmp sgt i32 %167, 1
  br i1 %168, label %169, label %170

169:                                              ; preds = %154, %144
  br label %346

170:                                              ; preds = %154
  %171 = load ptr, ptr %8, align 8, !tbaa !9
  %172 = load i32, ptr %22, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [20 x [20 x i8]], ptr %171, i64 0, i64 %173
  %175 = load i32, ptr %23, align 4, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [20 x i8], ptr %174, i64 0, i64 %176
  %178 = load i8, ptr %177, align 1, !tbaa !16
  %179 = sext i8 %178 to i32
  %180 = sub nsw i32 %179, 65
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 %181
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = icmp eq i32 %183, 1
  br i1 %184, label %185, label %200

185:                                              ; preds = %170
  %186 = load ptr, ptr %8, align 8, !tbaa !9
  %187 = load i32, ptr %22, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [20 x [20 x i8]], ptr %186, i64 0, i64 %188
  %190 = load i32, ptr %23, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [20 x i8], ptr %189, i64 0, i64 %191
  %193 = load i8, ptr %192, align 1, !tbaa !16
  %194 = sext i8 %193 to i32
  %195 = sub nsw i32 %194, 65
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %197, align 4, !tbaa !5
  br label %345

200:                                              ; preds = %170
  %201 = load ptr, ptr %8, align 8, !tbaa !9
  %202 = load i32, ptr %22, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [20 x [20 x i8]], ptr %201, i64 0, i64 %203
  %205 = load i32, ptr %23, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [20 x i8], ptr %204, i64 0, i64 %206
  %208 = load i8, ptr %207, align 1, !tbaa !16
  %209 = sext i8 %208 to i32
  %210 = sub nsw i32 %209, 65
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %212, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %215 = load ptr, ptr %8, align 8, !tbaa !9
  %216 = load i32, ptr %22, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [20 x [20 x i8]], ptr %215, i64 0, i64 %217
  %219 = load i32, ptr %23, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [20 x i8], ptr %218, i64 0, i64 %220
  %222 = load i8, ptr %221, align 1, !tbaa !16
  store i8 %222, ptr %24, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 80, ptr %25) #6
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  invoke 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) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %223 unwind label %282

223:                                              ; preds = %200
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 4 dereferenceable(8) %26)
          to label %224 unwind label %282

224:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %225

225:                                              ; preds = %324, %322, %224
  %226 = invoke noundef zeroext i1 @_ZNKSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
          to label %227 unwind label %286

227:                                              ; preds = %225
  %228 = xor i1 %226, true
  br i1 %228, label %229, label %343

229:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %230 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
          to label %231 unwind label %290

231:                                              ; preds = %229
  %232 = getelementptr inbounds %"struct.std::pair", ptr %230, i32 0, i32 0
  %233 = load i32, ptr %232, align 4, !tbaa !25
  store i32 %233, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %234 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
          to label %235 unwind label %294

235:                                              ; preds = %231
  %236 = getelementptr inbounds %"struct.std::pair", ptr %234, i32 0, i32 1
  %237 = load i32, ptr %236, align 4, !tbaa !27
  store i32 %237, ptr %30, align 4, !tbaa !5
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
          to label %238 unwind label %294

238:                                              ; preds = %235
  %239 = load i32, ptr %29, align 4, !tbaa !5
  %240 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 0
  %241 = load i32, ptr %240, align 4, !tbaa !11
  %242 = icmp slt i32 %239, %241
  br i1 %242, label %281, label %243

243:                                              ; preds = %238
  %244 = load i32, ptr %29, align 4, !tbaa !5
  %245 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 2
  %246 = load i32, ptr %245, align 4, !tbaa !13
  %247 = icmp sgt i32 %244, %246
  br i1 %247, label %281, label %248

248:                                              ; preds = %243
  %249 = load i32, ptr %30, align 4, !tbaa !5
  %250 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 1
  %251 = load i32, ptr %250, align 4, !tbaa !14
  %252 = icmp slt i32 %249, %251
  br i1 %252, label %281, label %253

253:                                              ; preds = %248
  %254 = load i32, ptr %30, align 4, !tbaa !5
  %255 = getelementptr inbounds %struct.rect, ptr %6, i32 0, i32 3
  %256 = load i32, ptr %255, align 4, !tbaa !15
  %257 = icmp sgt i32 %254, %256
  br i1 %257, label %281, label %258

258:                                              ; preds = %253
  %259 = load i32, ptr %29, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = mul nsw i64 %260, %113
  %262 = getelementptr inbounds i8, ptr %116, i64 %261
  %263 = load i32, ptr %30, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds i8, ptr %262, i64 %264
  %266 = load i8, ptr %265, align 1, !tbaa !17, !range !22, !noundef !23
  %267 = trunc i8 %266 to i1
  br i1 %267, label %281, label %268

268:                                              ; preds = %258
  %269 = load ptr, ptr %8, align 8, !tbaa !9
  %270 = load i32, ptr %29, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [20 x [20 x i8]], ptr %269, i64 0, i64 %271
  %273 = load i32, ptr %30, align 4, !tbaa !5
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds [20 x i8], ptr %272, i64 0, i64 %274
  %276 = load i8, ptr %275, align 1, !tbaa !16
  %277 = sext i8 %276 to i32
  %278 = load i8, ptr %24, align 1, !tbaa !16
  %279 = sext i8 %278 to i32
  %280 = icmp ne i32 %277, %279
  br i1 %280, label %281, label %298

281:                                              ; preds = %268, %258, %253, %248, %243, %238
  store i32 17, ptr %12, align 4
  br label %322, !llvm.loop !28

282:                                              ; preds = %223, %200
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %27, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %344

286:                                              ; preds = %225
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %27, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %28, align 4
  br label %344

290:                                              ; preds = %229
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %27, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %28, align 4
  br label %342

294:                                              ; preds = %235, %231
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %27, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %28, align 4
  br label %341

298:                                              ; preds = %268
  %299 = load i32, ptr %29, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = mul nsw i64 %300, %113
  %302 = getelementptr inbounds i8, ptr %116, i64 %301
  %303 = load i32, ptr %30, align 4, !tbaa !5
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds i8, ptr %302, i64 %304
  store i8 1, ptr %305, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %306 = load i32, ptr %29, align 4, !tbaa !5
  %307 = add nsw i32 %306, 1
  store i32 %307, ptr %32, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %308 unwind label %325

308:                                              ; preds = %298
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 4 dereferenceable(8) %31)
          to label %309 unwind label %325

309:                                              ; preds = %308
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %310 = load i32, ptr %29, align 4, !tbaa !5
  %311 = sub nsw i32 %310, 1
  store i32 %311, ptr %34, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_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) %34, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %312 unwind label %329

312:                                              ; preds = %309
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 4 dereferenceable(8) %33)
          to label %313 unwind label %329

313:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %314 = load i32, ptr %30, align 4, !tbaa !5
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr %36, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_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) %29, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %316 unwind label %333

316:                                              ; preds = %313
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 4 dereferenceable(8) %35)
          to label %317 unwind label %333

317:                                              ; preds = %316
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %318 = load i32, ptr %30, align 4, !tbaa !5
  %319 = sub nsw i32 %318, 1
  store i32 %319, ptr %38, align 4, !tbaa !5
  invoke void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_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) %29, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %320 unwind label %337

320:                                              ; preds = %317
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 4 dereferenceable(8) %37)
          to label %321 unwind label %337

321:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  store i32 0, ptr %12, align 4
  br label %322

322:                                              ; preds = %321, %281
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  %323 = load i32, ptr %12, align 4
  switch i32 %323, label %395 [
    i32 0, label %324
    i32 17, label %225
  ]

324:                                              ; preds = %322
  br label %225, !llvm.loop !28

325:                                              ; preds = %308, %298
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %27, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %341

329:                                              ; preds = %312, %309
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %27, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %341

333:                                              ; preds = %316, %313
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %27, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %341

337:                                              ; preds = %320, %317
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %27, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %341

341:                                              ; preds = %337, %333, %329, %325, %294
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %342

342:                                              ; preds = %341, %290
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %344

343:                                              ; preds = %227
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %25) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %345

344:                                              ; preds = %342, %286, %282
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %25) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 104, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 26, ptr %9) #6
  br label %390

345:                                              ; preds = %343, %185
  br label %346

346:                                              ; preds = %345, %169
  %347 = load i32, ptr %23, align 4, !tbaa !5
  %348 = add nsw i32 %347, 1
  store i32 %348, ptr %23, align 4, !tbaa !5
  br label %138, !llvm.loop !29

349:                                              ; preds = %143
  br label %350

350:                                              ; preds = %349
  %351 = load i32, ptr %22, align 4, !tbaa !5
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %22, align 4, !tbaa !5
  br label %129, !llvm.loop !30

353:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #6
  store i8 1, ptr %39, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #6
  store i8 0, ptr %40, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #6
  store i8 0, ptr %41, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %354

354:                                              ; preds = %372, %353
  %355 = load i32, ptr %42, align 4, !tbaa !5
  %356 = icmp slt i32 %355, 26
  br i1 %356, label %358, label %357

357:                                              ; preds = %354
  store i32 19, ptr %12, align 4
  br label %375

358:                                              ; preds = %354
  %359 = load i32, ptr %42, align 4, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [26 x i32], ptr %16, i64 0, i64 %360
  %362 = load i32, ptr %361, align 4, !tbaa !5
  %363 = icmp eq i32 %362, 1
  br i1 %363, label %364, label %370

364:                                              ; preds = %358
  %365 = load i8, ptr %40, align 1, !tbaa !17, !range !22, !noundef !23
  %366 = trunc i8 %365 to i1
  br i1 %366, label %367, label %368

367:                                              ; preds = %364
  store i8 0, ptr %39, align 1, !tbaa !17
  store i32 19, ptr %12, align 4
  br label %375

368:                                              ; preds = %364
  store i8 1, ptr %40, align 1, !tbaa !17
  br label %369

369:                                              ; preds = %368
  br label %371

370:                                              ; preds = %358
  store i8 1, ptr %41, align 1, !tbaa !17
  br label %371

371:                                              ; preds = %370, %369
  br label %372

372:                                              ; preds = %371
  %373 = load i32, ptr %42, align 4, !tbaa !5
  %374 = add nsw i32 %373, 1
  store i32 %374, ptr %42, align 4, !tbaa !5
  br label %354, !llvm.loop !31

375:                                              ; preds = %367, %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  br label %376

376:                                              ; preds = %375
  %377 = load i8, ptr %39, align 1, !tbaa !17, !range !22, !noundef !23
  %378 = trunc i8 %377 to i1
  br i1 %378, label %379, label %385

379:                                              ; preds = %376
  %380 = load i8, ptr %40, align 1, !tbaa !17, !range !22, !noundef !23
  %381 = trunc i8 %380 to i1
  br i1 %381, label %382, label %385

382:                                              ; preds = %379
  %383 = load i8, ptr %41, align 1, !tbaa !17, !range !22, !noundef !23
  %384 = trunc i8 %383 to i1
  br label %385

385:                                              ; preds = %382, %379, %376
  %386 = phi i1 [ false, %379 ], [ false, %376 ], [ %384, %382 ]
  store i1 %386, ptr %5, align 1
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  %387 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %387)
  call void @llvm.lifetime.end.p0(i64 104, ptr %16) #6
  br label %388

388:                                              ; preds = %385, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 26, ptr %9) #6
  %389 = load i1, ptr %5, align 1
  ret i1 %389

390:                                              ; preds = %344
  %391 = load ptr, ptr %27, align 8
  %392 = load i32, ptr %28, align 4
  %393 = insertvalue { ptr, i32 } poison, ptr %391, 0
  %394 = insertvalue { ptr, i32 } %393, i32 %392, 1
  resume { ptr, i32 } %394

395:                                              ; preds = %322
  unreachable
}

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80), 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 #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_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 #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_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 #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS4rect", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !6, i64 4}
!15 = !{!12, !6, i64 12}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !20}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!27 = !{!26, !6, i64 4}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}


; 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::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z5worksiRA20_A20_c4rect(i32 noundef %0, ptr nocapture noundef nonnull readonly align 1 dereferenceable(400) %1, i64 %2, i64 %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca [26 x i8], align 16
  %6 = alloca i32, align 4
  %7 = alloca [26 x i32], align 16
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::stack", align 8
  %13 = alloca %"struct.std::pair", align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"struct.std::pair", align 4
  %17 = alloca i32, align 4
  %18 = alloca %"struct.std::pair", align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::pair", align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.std::pair", align 4
  %23 = alloca i32, align 4
  %.sroa.0.0.extract.trunc = trunc i64 %2 to i32
  %.sroa.4.0.extract.shift = lshr i64 %2, 32
  %.sroa.4.0.extract.trunc = trunc nuw i64 %.sroa.4.0.extract.shift to i32
  %.sroa.7.8.extract.trunc = trunc i64 %3 to i32
  %.sroa.11.8.extract.shift = lshr i64 %3, 32
  %.sroa.11.8.extract.trunc = trunc nuw i64 %.sroa.11.8.extract.shift to i32
  call void @llvm.lifetime.start.p0(i64 26, ptr nonnull %5) #7
  %24 = getelementptr inbounds i8, ptr %5, i64 26
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef nonnull %5, ptr noundef nonnull %24, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  %.not72 = icmp sgt i32 %.sroa.0.0.extract.trunc, %.sroa.7.8.extract.trunc
  %.not6570 = icmp sgt i32 %.sroa.4.0.extract.trunc, %.sroa.11.8.extract.trunc
  %or.cond111 = select i1 %.not72, i1 true, i1 %.not6570
  br i1 %or.cond111, label %.preheader, label %.preheader67.preheader

.preheader67.preheader:                           ; preds = %4
  %25 = ashr i64 %2, 32
  %26 = add i32 %.sroa.11.8.extract.trunc, 1
  %sext = shl i64 %2, 32
  %27 = ashr exact i64 %sext, 32
  %28 = add i32 %.sroa.7.8.extract.trunc, 1
  %29 = trunc nsw i64 %25 to i32
  %30 = sub i32 %26, %29
  %31 = sub i32 %.sroa.11.8.extract.trunc, %29
  %xtraiter = and i32 %30, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  %32 = icmp ult i32 %31, 3
  br label %.preheader67

.preheader67:                                     ; preds = %.preheader67.preheader, %._crit_edge
  %indvars.iv93 = phi i64 [ %27, %.preheader67.preheader ], [ %indvars.iv.next94, %._crit_edge ]
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.preheader

.prol.preheader:                                  ; preds = %.preheader67, %.prol.preheader
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.prol.preheader ], [ %25, %.preheader67 ]
  %prol.iter = phi i32 [ %prol.iter.next, %.prol.preheader ], [ 0, %.preheader67 ]
  %33 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %indvars.iv93, i64 %indvars.iv.prol
  %34 = load i8, ptr %33, align 1, !tbaa !9
  %35 = sext i8 %34 to i64
  %36 = add nsw i64 %35, -65
  %37 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %36
  store i8 1, ptr %37, align 1, !tbaa !10
  %indvars.iv.next.prol = add nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.prol.loopexit, label %.prol.preheader, !llvm.loop !12

.prol.loopexit:                                   ; preds = %.prol.preheader, %.preheader67
  %indvars.iv.unr = phi i64 [ %25, %.preheader67 ], [ %indvars.iv.next.prol, %.prol.preheader ]
  br i1 %32, label %._crit_edge, label %.preheader67.new

.preheader:                                       ; preds = %._crit_edge, %4
  %38 = load <4 x i8>, ptr %5, align 16, !tbaa !10
  %39 = getelementptr inbounds i8, ptr %5, i64 4
  %40 = load i8, ptr %39, align 4, !tbaa !10, !range !14, !noundef !15
  %41 = getelementptr inbounds i8, ptr %5, i64 5
  %42 = load i8, ptr %41, align 1, !tbaa !10, !range !14, !noundef !15
  %43 = getelementptr inbounds i8, ptr %5, i64 6
  %44 = load i8, ptr %43, align 2, !tbaa !10, !range !14, !noundef !15
  %45 = call i8 @llvm.vector.reduce.add.v4i8(<4 x i8> %38)
  %op.rdx118 = add i8 %45, %40
  %op.rdx119 = add nuw nsw i8 %42, %44
  %op.rdx120 = add i8 %op.rdx118, %op.rdx119
  %46 = zext nneg i8 %op.rdx120 to i32
  %47 = getelementptr inbounds i8, ptr %5, i64 7
  %48 = load <16 x i8>, ptr %47, align 1, !tbaa !10
  %49 = getelementptr inbounds i8, ptr %5, i64 23
  %50 = load i8, ptr %49, align 1, !tbaa !10, !range !14, !noundef !15
  %51 = zext nneg i8 %50 to i32
  %52 = getelementptr inbounds i8, ptr %5, i64 24
  %53 = load i8, ptr %52, align 8, !tbaa !10, !range !14, !noundef !15
  %54 = getelementptr inbounds i8, ptr %5, i64 25
  %55 = load i8, ptr %54, align 1, !tbaa !10, !range !14, !noundef !15
  %.mask = and <16 x i8> %48, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  %56 = zext nneg <16 x i8> %.mask to <16 x i32>
  %57 = call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %56)
  %op.rdx = add i32 %57, %51
  %narrow = add nuw nsw i8 %53, %55
  %op.rdx115 = zext nneg i8 %narrow to i32
  %op.rdx116 = add i32 %op.rdx, %op.rdx115
  %op.rdx117 = add i32 %op.rdx116, %46
  %.not58 = icmp eq i32 %op.rdx117, 2
  br i1 %.not58, label %78, label %318

._crit_edge:                                      ; preds = %.preheader67.new, %.prol.loopexit
  %indvars.iv.next94 = add nsw i64 %indvars.iv93, 1
  %lftr.wideiv96 = trunc i64 %indvars.iv.next94 to i32
  %exitcond97.not = icmp eq i32 %28, %lftr.wideiv96
  br i1 %exitcond97.not, label %.preheader, label %.preheader67, !llvm.loop !16

.preheader67.new:                                 ; preds = %.prol.loopexit, %.preheader67.new
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.preheader67.new ], [ %indvars.iv.unr, %.prol.loopexit ]
  %58 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %indvars.iv93, i64 %indvars.iv
  %59 = load i8, ptr %58, align 1, !tbaa !9
  %60 = sext i8 %59 to i64
  %61 = add nsw i64 %60, -65
  %62 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %61
  store i8 1, ptr %62, align 1, !tbaa !10
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %63 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %indvars.iv93, i64 %indvars.iv.next
  %64 = load i8, ptr %63, align 1, !tbaa !9
  %65 = sext i8 %64 to i64
  %66 = add nsw i64 %65, -65
  %67 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %66
  store i8 1, ptr %67, align 1, !tbaa !10
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %68 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %indvars.iv93, i64 %indvars.iv.next.1
  %69 = load i8, ptr %68, align 1, !tbaa !9
  %70 = sext i8 %69 to i64
  %71 = add nsw i64 %70, -65
  %72 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %71
  store i8 1, ptr %72, align 1, !tbaa !10
  %indvars.iv.next.2 = add nsw i64 %indvars.iv, 3
  %73 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %indvars.iv93, i64 %indvars.iv.next.2
  %74 = load i8, ptr %73, align 1, !tbaa !9
  %75 = sext i8 %74 to i64
  %76 = add nsw i64 %75, -65
  %77 = getelementptr inbounds [26 x i8], ptr %5, i64 0, i64 %76
  store i8 1, ptr %77, align 1, !tbaa !10
  %indvars.iv.next.3 = add nsw i64 %indvars.iv, 4
  %lftr.wideiv.3 = trunc i64 %indvars.iv.next.3 to i32
  %exitcond.not.3 = icmp eq i32 %26, %lftr.wideiv.3
  br i1 %exitcond.not.3, label %._crit_edge, label %.preheader67.new, !llvm.loop !18

78:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %7) #7
  %79 = getelementptr inbounds i8, ptr %7, i64 104
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull %7, ptr noundef nonnull %79, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %80 = zext i32 %0 to i64
  %81 = call ptr @llvm.stacksave.p0()
  %82 = mul nuw i64 %80, %80
  %83 = alloca i8, i64 %82, align 16
  %84 = add nsw i32 %0, -1
  %85 = sext i32 %84 to i64
  %86 = mul nsw i64 %85, %80
  %87 = getelementptr inbounds i8, ptr %83, i64 %86
  %88 = sext i32 %0 to i64
  %89 = getelementptr inbounds i8, ptr %87, i64 %88
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  store i8 0, ptr %9, align 1, !tbaa !10
  call void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef nonnull %83, ptr noundef nonnull %89, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 %.sroa.0.0.extract.trunc, ptr %10, align 4, !tbaa !5
  %.not6178 = icmp sgt i32 %.sroa.4.0.extract.trunc, %.sroa.11.8.extract.trunc
  %or.cond114 = select i1 %.not72, i1 true, i1 %.not6178
  br i1 %or.cond114, label %._crit_edge86, label %.lr.ph81

._crit_edge86:                                    ; preds = %._crit_edge82, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %90 = load i32, ptr %7, align 16, !tbaa !5
  %91 = icmp ne i32 %90, 1
  %92 = getelementptr inbounds i8, ptr %7, i64 4
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = icmp ne i32 %93, 1
  %brmerge = select i1 %94, i1 true, i1 %91
  %95 = select i1 %94, i1 %91, i1 false
  %.mux = select i1 %94, i1 true, i1 %91
  br i1 %brmerge, label %174, label %.loopexit

.lr.ph81:                                         ; preds = %78, %._crit_edge82
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 %.sroa.4.0.extract.trunc, ptr %11, align 4, !tbaa !5
  br label %98

._crit_edge82:                                    ; preds = %171
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %96 = load i32, ptr %10, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %10, align 4, !tbaa !5
  %.not59.not = icmp slt i32 %96, %.sroa.7.8.extract.trunc
  br i1 %.not59.not, label %.lr.ph81, label %._crit_edge86, !llvm.loop !19

98:                                               ; preds = %.lr.ph81, %171
  %storemerge6079 = phi i32 [ %.sroa.4.0.extract.trunc, %.lr.ph81 ], [ %173, %171 ]
  %99 = load i32, ptr %10, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = mul nsw i64 %100, %80
  %102 = getelementptr inbounds i8, ptr %83, i64 %101
  %103 = sext i32 %storemerge6079 to i64
  %104 = getelementptr inbounds i8, ptr %102, i64 %103
  %105 = load i8, ptr %104, align 1, !tbaa !10, !range !14, !noundef !15
  %106 = trunc nuw i8 %105 to i1
  br i1 %106, label %171, label %107

107:                                              ; preds = %98
  %108 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %100, i64 %103
  %109 = load i8, ptr %108, align 1, !tbaa !9
  %110 = sext i8 %109 to i64
  %111 = add nsw i64 %110, -65
  %112 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = icmp sgt i32 %113, 1
  br i1 %114, label %171, label %115

115:                                              ; preds = %107
  %116 = icmp eq i32 %113, 1
  br i1 %116, label %117, label %118

117:                                              ; preds = %115
  store i32 2, ptr %112, align 4, !tbaa !5
  br label %171

118:                                              ; preds = %115
  %119 = add nsw i32 %113, 1
  store i32 %119, ptr %112, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #7
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  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) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(8) %13)
          to label %120 unwind label %145

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  %121 = call noundef zeroext i1 @_ZNKSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  br i1 %121, label %._crit_edge77, label %.lr.ph

.lr.ph:                                           ; preds = %120, %159
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %122 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  %123 = load i32, ptr %122, align 4, !tbaa !20
  store i32 %123, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  %124 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  %125 = getelementptr inbounds i8, ptr %124, i64 4
  %126 = load i32, ptr %125, align 4, !tbaa !22
  store i32 %126, ptr %15, align 4, !tbaa !5
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  %127 = load i32, ptr %14, align 4, !tbaa !5
  %128 = icmp slt i32 %127, %.sroa.0.0.extract.trunc
  %129 = icmp sgt i32 %127, %.sroa.7.8.extract.trunc
  %or.cond = select i1 %128, i1 true, i1 %129
  br i1 %or.cond, label %159, label %130, !llvm.loop !23

130:                                              ; preds = %.lr.ph
  %131 = load i32, ptr %15, align 4, !tbaa !5
  %132 = icmp slt i32 %131, %.sroa.4.0.extract.trunc
  %133 = icmp sgt i32 %131, %.sroa.11.8.extract.trunc
  %or.cond66 = select i1 %132, i1 true, i1 %133
  br i1 %or.cond66, label %159, label %134, !llvm.loop !23

134:                                              ; preds = %130
  %135 = sext i32 %127 to i64
  %136 = mul nsw i64 %135, %80
  %137 = getelementptr inbounds i8, ptr %83, i64 %136
  %138 = sext i32 %131 to i64
  %139 = getelementptr inbounds i8, ptr %137, i64 %138
  %140 = load i8, ptr %139, align 1, !tbaa !10, !range !14, !noundef !15
  %141 = trunc nuw i8 %140 to i1
  br i1 %141, label %159, label %142, !llvm.loop !23

142:                                              ; preds = %134
  %143 = getelementptr inbounds [20 x [20 x i8]], ptr %1, i64 0, i64 %135, i64 %138
  %144 = load i8, ptr %143, align 1, !tbaa !9
  %.not62 = icmp eq i8 %144, %109
  br i1 %.not62, label %147, label %159, !llvm.loop !23

145:                                              ; preds = %118
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %170

147:                                              ; preds = %142
  store i8 1, ptr %139, align 1, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  %148 = add nsw i32 %127, 1
  store i32 %148, ptr %17, align 4, !tbaa !5
  call void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_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) %17, ptr noundef nonnull align 4 dereferenceable(4) %15)
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %149 unwind label %161

149:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #7
  %150 = load i32, ptr %14, align 4, !tbaa !5
  %151 = add nsw i32 %150, -1
  store i32 %151, ptr %19, align 4, !tbaa !5
  call void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_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) %19, ptr noundef nonnull align 4 dereferenceable(4) %15)
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(8) %18)
          to label %152 unwind label %163

152:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  %153 = load i32, ptr %15, align 4, !tbaa !5
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %21, align 4, !tbaa !5
  call void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_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) %14, ptr noundef nonnull align 4 dereferenceable(4) %21)
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(8) %20)
          to label %155 unwind label %165

155:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  %156 = load i32, ptr %15, align 4, !tbaa !5
  %157 = add nsw i32 %156, -1
  store i32 %157, ptr %23, align 4, !tbaa !5
  call void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %23)
  invoke void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(8) %22)
          to label %158 unwind label %167

158:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %159

159:                                              ; preds = %.lr.ph, %130, %134, %142, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  %160 = call noundef zeroext i1 @_ZNKSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  br i1 %160, label %._crit_edge77, label %.lr.ph

161:                                              ; preds = %147
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %169

163:                                              ; preds = %149
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %169

165:                                              ; preds = %152
  %166 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %169

167:                                              ; preds = %155
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %169

169:                                              ; preds = %167, %165, %163, %161
  %.pn = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ], [ %164, %163 ], [ %162, %161 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %170

._crit_edge77:                                    ; preds = %159, %120
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #7
  %.pre = load i32, ptr %11, align 4, !tbaa !5
  br label %171

170:                                              ; preds = %169, %145
  %.pn.pn = phi { ptr, i32 } [ %.pn, %169 ], [ %146, %145 ]
  call void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 26, ptr nonnull %5) #7
  resume { ptr, i32 } %.pn.pn

171:                                              ; preds = %117, %._crit_edge77, %98, %107
  %172 = phi i32 [ %storemerge6079, %117 ], [ %.pre, %._crit_edge77 ], [ %storemerge6079, %98 ], [ %storemerge6079, %107 ]
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %11, align 4, !tbaa !5
  %.not61.not = icmp slt i32 %172, %.sroa.11.8.extract.trunc
  br i1 %.not61.not, label %98, label %._crit_edge82, !llvm.loop !24

174:                                              ; preds = %._crit_edge86
  %narrow121 = xor i1 %95, true
  %spec.select112.mux = zext i1 %narrow121 to i8
  %175 = getelementptr inbounds i8, ptr %7, i64 8
  %176 = load i32, ptr %175, align 8, !tbaa !5
  %177 = icmp eq i32 %176, 1
  %.not = xor i1 %177, true
  %brmerge123 = select i1 %.not, i1 true, i1 %95
  %spec.select112.mux.mux = select i1 %.not, i8 %spec.select112.mux, i8 1
  %.mux124 = select i1 %.not, i1 true, i1 %.mux
  br i1 %brmerge123, label %178, label %.loopexit

178:                                              ; preds = %174
  %179 = getelementptr inbounds i8, ptr %7, i64 12
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = icmp eq i32 %180, 1
  br i1 %181, label %182, label %184

182:                                              ; preds = %178
  %183 = trunc nuw i8 %spec.select112.mux.mux to i1
  br i1 %183, label %.loopexit, label %184

184:                                              ; preds = %182, %178
  %.143.3 = phi i8 [ 1, %182 ], [ %spec.select112.mux.mux, %178 ]
  %.1.3 = phi i1 [ %.mux124, %182 ], [ true, %178 ]
  %185 = getelementptr inbounds i8, ptr %7, i64 16
  %186 = load i32, ptr %185, align 16, !tbaa !5
  %187 = icmp eq i32 %186, 1
  br i1 %187, label %188, label %190

188:                                              ; preds = %184
  %189 = trunc nuw i8 %.143.3 to i1
  br i1 %189, label %.loopexit, label %190

190:                                              ; preds = %188, %184
  %.143.4 = phi i8 [ 1, %188 ], [ %.143.3, %184 ]
  %.1.4 = phi i1 [ %.1.3, %188 ], [ true, %184 ]
  %191 = getelementptr inbounds i8, ptr %7, i64 20
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = icmp eq i32 %192, 1
  br i1 %193, label %194, label %196

194:                                              ; preds = %190
  %195 = trunc nuw i8 %.143.4 to i1
  br i1 %195, label %.loopexit, label %196

196:                                              ; preds = %194, %190
  %.143.5 = phi i8 [ 1, %194 ], [ %.143.4, %190 ]
  %.1.5 = phi i1 [ %.1.4, %194 ], [ true, %190 ]
  %197 = getelementptr inbounds i8, ptr %7, i64 24
  %198 = load i32, ptr %197, align 8, !tbaa !5
  %199 = icmp eq i32 %198, 1
  br i1 %199, label %200, label %202

200:                                              ; preds = %196
  %201 = trunc nuw i8 %.143.5 to i1
  br i1 %201, label %.loopexit, label %202

202:                                              ; preds = %200, %196
  %.143.6 = phi i8 [ 1, %200 ], [ %.143.5, %196 ]
  %.1.6 = phi i1 [ %.1.5, %200 ], [ true, %196 ]
  %203 = getelementptr inbounds i8, ptr %7, i64 28
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = icmp eq i32 %204, 1
  br i1 %205, label %206, label %208

206:                                              ; preds = %202
  %207 = trunc nuw i8 %.143.6 to i1
  br i1 %207, label %.loopexit, label %208

208:                                              ; preds = %206, %202
  %.143.7 = phi i8 [ 1, %206 ], [ %.143.6, %202 ]
  %.1.7 = phi i1 [ %.1.6, %206 ], [ true, %202 ]
  %209 = getelementptr inbounds i8, ptr %7, i64 32
  %210 = load i32, ptr %209, align 16, !tbaa !5
  %211 = icmp eq i32 %210, 1
  br i1 %211, label %212, label %214

212:                                              ; preds = %208
  %213 = trunc nuw i8 %.143.7 to i1
  br i1 %213, label %.loopexit, label %214

214:                                              ; preds = %212, %208
  %.143.8 = phi i8 [ 1, %212 ], [ %.143.7, %208 ]
  %.1.8 = phi i1 [ %.1.7, %212 ], [ true, %208 ]
  %215 = getelementptr inbounds i8, ptr %7, i64 36
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = icmp eq i32 %216, 1
  br i1 %217, label %218, label %220

218:                                              ; preds = %214
  %219 = trunc nuw i8 %.143.8 to i1
  br i1 %219, label %.loopexit, label %220

220:                                              ; preds = %218, %214
  %.143.9 = phi i8 [ 1, %218 ], [ %.143.8, %214 ]
  %.1.9 = phi i1 [ %.1.8, %218 ], [ true, %214 ]
  %221 = getelementptr inbounds i8, ptr %7, i64 40
  %222 = load i32, ptr %221, align 8, !tbaa !5
  %223 = icmp eq i32 %222, 1
  br i1 %223, label %224, label %226

224:                                              ; preds = %220
  %225 = trunc nuw i8 %.143.9 to i1
  br i1 %225, label %.loopexit, label %226

226:                                              ; preds = %224, %220
  %.143.10 = phi i8 [ 1, %224 ], [ %.143.9, %220 ]
  %.1.10 = phi i1 [ %.1.9, %224 ], [ true, %220 ]
  %227 = getelementptr inbounds i8, ptr %7, i64 44
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %229 = icmp eq i32 %228, 1
  br i1 %229, label %230, label %232

230:                                              ; preds = %226
  %231 = trunc nuw i8 %.143.10 to i1
  br i1 %231, label %.loopexit, label %232

232:                                              ; preds = %230, %226
  %.143.11 = phi i8 [ 1, %230 ], [ %.143.10, %226 ]
  %.1.11 = phi i1 [ %.1.10, %230 ], [ true, %226 ]
  %233 = getelementptr inbounds i8, ptr %7, i64 48
  %234 = load i32, ptr %233, align 16, !tbaa !5
  %235 = icmp eq i32 %234, 1
  br i1 %235, label %236, label %238

236:                                              ; preds = %232
  %237 = trunc nuw i8 %.143.11 to i1
  br i1 %237, label %.loopexit, label %238

238:                                              ; preds = %236, %232
  %.143.12 = phi i8 [ 1, %236 ], [ %.143.11, %232 ]
  %.1.12 = phi i1 [ %.1.11, %236 ], [ true, %232 ]
  %239 = getelementptr inbounds i8, ptr %7, i64 52
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = icmp eq i32 %240, 1
  br i1 %241, label %242, label %244

242:                                              ; preds = %238
  %243 = trunc nuw i8 %.143.12 to i1
  br i1 %243, label %.loopexit, label %244

244:                                              ; preds = %242, %238
  %.143.13 = phi i8 [ 1, %242 ], [ %.143.12, %238 ]
  %.1.13 = phi i1 [ %.1.12, %242 ], [ true, %238 ]
  %245 = getelementptr inbounds i8, ptr %7, i64 56
  %246 = load i32, ptr %245, align 8, !tbaa !5
  %247 = icmp eq i32 %246, 1
  br i1 %247, label %248, label %250

248:                                              ; preds = %244
  %249 = trunc nuw i8 %.143.13 to i1
  br i1 %249, label %.loopexit, label %250

250:                                              ; preds = %248, %244
  %.143.14 = phi i8 [ 1, %248 ], [ %.143.13, %244 ]
  %.1.14 = phi i1 [ %.1.13, %248 ], [ true, %244 ]
  %251 = getelementptr inbounds i8, ptr %7, i64 60
  %252 = load i32, ptr %251, align 4, !tbaa !5
  %253 = icmp eq i32 %252, 1
  br i1 %253, label %254, label %256

254:                                              ; preds = %250
  %255 = trunc nuw i8 %.143.14 to i1
  br i1 %255, label %.loopexit, label %256

256:                                              ; preds = %254, %250
  %.143.15 = phi i8 [ 1, %254 ], [ %.143.14, %250 ]
  %.1.15 = phi i1 [ %.1.14, %254 ], [ true, %250 ]
  %257 = getelementptr inbounds i8, ptr %7, i64 64
  %258 = load i32, ptr %257, align 16, !tbaa !5
  %259 = icmp eq i32 %258, 1
  br i1 %259, label %260, label %262

260:                                              ; preds = %256
  %261 = trunc nuw i8 %.143.15 to i1
  br i1 %261, label %.loopexit, label %262

262:                                              ; preds = %260, %256
  %.143.16 = phi i8 [ 1, %260 ], [ %.143.15, %256 ]
  %.1.16 = phi i1 [ %.1.15, %260 ], [ true, %256 ]
  %263 = getelementptr inbounds i8, ptr %7, i64 68
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = icmp eq i32 %264, 1
  br i1 %265, label %266, label %268

266:                                              ; preds = %262
  %267 = trunc nuw i8 %.143.16 to i1
  br i1 %267, label %.loopexit, label %268

268:                                              ; preds = %266, %262
  %.143.17 = phi i8 [ 1, %266 ], [ %.143.16, %262 ]
  %.1.17 = phi i1 [ %.1.16, %266 ], [ true, %262 ]
  %269 = getelementptr inbounds i8, ptr %7, i64 72
  %270 = load i32, ptr %269, align 8, !tbaa !5
  %271 = icmp eq i32 %270, 1
  br i1 %271, label %272, label %274

272:                                              ; preds = %268
  %273 = trunc nuw i8 %.143.17 to i1
  br i1 %273, label %.loopexit, label %274

274:                                              ; preds = %272, %268
  %.143.18 = phi i8 [ 1, %272 ], [ %.143.17, %268 ]
  %.1.18 = phi i1 [ %.1.17, %272 ], [ true, %268 ]
  %275 = getelementptr inbounds i8, ptr %7, i64 76
  %276 = load i32, ptr %275, align 4, !tbaa !5
  %277 = icmp eq i32 %276, 1
  br i1 %277, label %278, label %280

278:                                              ; preds = %274
  %279 = trunc nuw i8 %.143.18 to i1
  br i1 %279, label %.loopexit, label %280

280:                                              ; preds = %278, %274
  %.143.19 = phi i8 [ 1, %278 ], [ %.143.18, %274 ]
  %.1.19 = phi i1 [ %.1.18, %278 ], [ true, %274 ]
  %281 = getelementptr inbounds i8, ptr %7, i64 80
  %282 = load i32, ptr %281, align 16, !tbaa !5
  %283 = icmp eq i32 %282, 1
  br i1 %283, label %284, label %286

284:                                              ; preds = %280
  %285 = trunc nuw i8 %.143.19 to i1
  br i1 %285, label %.loopexit, label %286

286:                                              ; preds = %284, %280
  %.143.20 = phi i8 [ 1, %284 ], [ %.143.19, %280 ]
  %.1.20 = phi i1 [ %.1.19, %284 ], [ true, %280 ]
  %287 = getelementptr inbounds i8, ptr %7, i64 84
  %288 = load i32, ptr %287, align 4, !tbaa !5
  %289 = icmp eq i32 %288, 1
  br i1 %289, label %290, label %292

290:                                              ; preds = %286
  %291 = trunc nuw i8 %.143.20 to i1
  br i1 %291, label %.loopexit, label %292

292:                                              ; preds = %290, %286
  %.143.21 = phi i8 [ 1, %290 ], [ %.143.20, %286 ]
  %.1.21 = phi i1 [ %.1.20, %290 ], [ true, %286 ]
  %293 = getelementptr inbounds i8, ptr %7, i64 88
  %294 = load i32, ptr %293, align 8, !tbaa !5
  %295 = icmp eq i32 %294, 1
  br i1 %295, label %296, label %298

296:                                              ; preds = %292
  %297 = trunc nuw i8 %.143.21 to i1
  br i1 %297, label %.loopexit, label %298

298:                                              ; preds = %296, %292
  %.143.22 = phi i8 [ 1, %296 ], [ %.143.21, %292 ]
  %.1.22 = phi i1 [ %.1.21, %296 ], [ true, %292 ]
  %299 = getelementptr inbounds i8, ptr %7, i64 92
  %300 = load i32, ptr %299, align 4, !tbaa !5
  %301 = icmp eq i32 %300, 1
  br i1 %301, label %302, label %304

302:                                              ; preds = %298
  %303 = trunc nuw i8 %.143.22 to i1
  br i1 %303, label %.loopexit, label %304

304:                                              ; preds = %302, %298
  %.143.23 = phi i8 [ 1, %302 ], [ %.143.22, %298 ]
  %.1.23 = phi i1 [ %.1.22, %302 ], [ true, %298 ]
  %305 = getelementptr inbounds i8, ptr %7, i64 96
  %306 = load i32, ptr %305, align 16, !tbaa !5
  %307 = icmp eq i32 %306, 1
  br i1 %307, label %308, label %310

308:                                              ; preds = %304
  %309 = trunc nuw i8 %.143.23 to i1
  br i1 %309, label %.loopexit, label %310

310:                                              ; preds = %308, %304
  %.143.24 = phi i8 [ 1, %308 ], [ %.143.23, %304 ]
  %.1.24 = phi i1 [ %.1.23, %308 ], [ true, %304 ]
  %311 = getelementptr inbounds i8, ptr %7, i64 100
  %312 = load i32, ptr %311, align 4, !tbaa !5
  %313 = icmp eq i32 %312, 1
  br i1 %313, label %314, label %.critedge

314:                                              ; preds = %310
  %315 = trunc nuw i8 %.143.24 to i1
  br i1 %315, label %.loopexit, label %.critedge

.critedge:                                        ; preds = %314, %310
  %.143.25 = phi i8 [ 1, %314 ], [ %.143.24, %310 ]
  %.1.25 = phi i1 [ %.1.24, %314 ], [ true, %310 ]
  %316 = trunc nuw i8 %.143.25 to i1
  %spec.select = select i1 %316, i1 %.1.25, i1 false
  br label %.loopexit

.loopexit:                                        ; preds = %174, %._crit_edge86, %182, %188, %194, %200, %206, %212, %218, %224, %230, %236, %242, %248, %254, %260, %266, %272, %278, %284, %290, %296, %302, %308, %314, %.critedge
  %317 = phi i1 [ %spec.select, %.critedge ], [ false, %314 ], [ false, %308 ], [ false, %302 ], [ false, %296 ], [ false, %290 ], [ false, %284 ], [ false, %278 ], [ false, %272 ], [ false, %266 ], [ false, %260 ], [ false, %254 ], [ false, %248 ], [ false, %242 ], [ false, %236 ], [ false, %230 ], [ false, %224 ], [ false, %218 ], [ false, %212 ], [ false, %206 ], [ false, %200 ], [ false, %194 ], [ false, %188 ], [ false, %182 ], [ false, %._crit_edge86 ], [ false, %174 ]
  call void @llvm.stackrestore.p0(ptr %81)
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %7) #7
  br label %318

318:                                              ; preds = %.preheader, %.loopexit
  %.049 = phi i1 [ %317, %.loopexit ], [ false, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 26, ptr nonnull %5) #7
  ret i1 %.049
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80), 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 #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_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 #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IRiiTnNSt9enable_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 #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackISt4pairIiiESt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v16i32(<16 x i32>) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.vector.reduce.add.v4i8(<4 x i8>) #6

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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

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

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


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass