; LLVM IR from kazunetakahashi/atcoder :: 201510_201609/1114_codefes2015_final/F.ll (Z2okv)

; 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::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z2okv() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i1, align 1
  %2 = alloca [7 x i64], align 16
  %3 = alloca i32, align 4
  %4 = alloca [7 x i64], align 16
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [7 x i8], align 1
  %11 = alloca i8, align 1
  %12 = alloca %"class.std::stack", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 56, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %30, %0
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = icmp slt i32 %22, 7
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %33

25:                                               ; preds = %21
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 %27
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %28)
  br label %30

30:                                               ; preds = %25
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %3, align 4, !tbaa !5
  br label %21, !llvm.loop !9

33:                                               ; preds = %24
  %34 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 0
  %35 = load i64, ptr %34, align 16, !tbaa !11
  %36 = add nsw i64 %35, -1
  store i64 %36, ptr %34, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %37 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 0
  %38 = load i64, ptr %37, align 16, !tbaa !11
  %39 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 6
  %40 = load i64, ptr %39, align 16, !tbaa !11
  %41 = sub nsw i64 %38, %40
  %42 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 5
  %43 = load i64, ptr %42, align 8, !tbaa !11
  %44 = add nsw i64 %41, %43
  %45 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 4
  %46 = load i64, ptr %45, align 16, !tbaa !11
  %47 = sub nsw i64 %44, %46
  %48 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 3
  %49 = load i64, ptr %48, align 8, !tbaa !11
  %50 = add nsw i64 %47, %49
  %51 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 2
  %52 = load i64, ptr %51, align 16, !tbaa !11
  %53 = sub nsw i64 %50, %52
  %54 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 1
  %55 = load i64, ptr %54, align 8, !tbaa !11
  %56 = add nsw i64 %53, %55
  store i64 %56, ptr %5, align 8, !tbaa !11
  %57 = load i64, ptr %5, align 8, !tbaa !11
  %58 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 0
  store i64 %57, ptr %58, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %78, %33
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = icmp slt i32 %60, 7
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %81

63:                                               ; preds = %59
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [7 x i64], ptr %2, i64 0, i64 %65
  %67 = load i64, ptr %66, align 8, !tbaa !11
  %68 = mul nsw i64 2, %67
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = sub nsw i32 %69, 1
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %71
  %73 = load i64, ptr %72, align 8, !tbaa !11
  %74 = sub nsw i64 %68, %73
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %76
  store i64 %74, ptr %77, align 8, !tbaa !11
  br label %78

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

81:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %97, %81
  %83 = load i32, ptr %7, align 4, !tbaa !5
  %84 = icmp slt i32 %83, 7
  br i1 %84, label %86, label %85

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

86:                                               ; preds = %82
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
  %88 = load i32, ptr %7, align 4, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %87, i32 noundef %88)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef @.str.1)
  %91 = load i32, ptr %7, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %92
  %94 = load i64, ptr %93, align 8, !tbaa !11
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %90, i64 noundef %94)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %97

97:                                               ; preds = %86
  %98 = load i32, ptr %7, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %7, align 4, !tbaa !5
  br label %82, !llvm.loop !14

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

101:                                              ; preds = %113, %100
  %102 = load i32, ptr %8, align 4, !tbaa !5
  %103 = icmp slt i32 %102, 7
  br i1 %103, label %105, label %104

104:                                              ; preds = %101
  store i32 11, ptr %9, align 4
  br label %116

105:                                              ; preds = %101
  %106 = load i32, ptr %8, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %107
  %109 = load i64, ptr %108, align 8, !tbaa !11
  %110 = icmp slt i64 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %105
  store i1 false, ptr %1, align 1
  store i32 1, ptr %9, align 4
  br label %116

112:                                              ; preds = %105
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %8, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %8, align 4, !tbaa !5
  br label %101, !llvm.loop !15

116:                                              ; preds = %111, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %117 = load i32, ptr %9, align 4
  switch i32 %117, label %265 [
    i32 11, label %118
  ]

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 7, ptr %10) #6
  %119 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 0
  %120 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 0
  %121 = getelementptr inbounds i8, ptr %120, i64 7
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 0, ptr %11, align 1, !tbaa !16
  call void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef %119, ptr noundef %121, ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %12) #6
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %122 unwind label %159

122:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %123

123:                                              ; preds = %201, %122
  %124 = invoke noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %125 unwind label %163

125:                                              ; preds = %123
  %126 = xor i1 %124, true
  br i1 %126, label %127, label %203

127:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %128 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %129 unwind label %167

129:                                              ; preds = %127
  %130 = load i32, ptr %128, align 4, !tbaa !5
  store i32 %130, ptr %16, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %12)
          to label %131 unwind label %167

131:                                              ; preds = %129
  %132 = load i32, ptr %16, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 %133
  %135 = load i8, ptr %134, align 1, !tbaa !16, !range !18, !noundef !19
  %136 = trunc i8 %135 to i1
  br i1 %136, label %201, label %137

137:                                              ; preds = %131
  %138 = load i32, ptr %16, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 %139
  store i8 1, ptr %140, align 1, !tbaa !16
  %141 = load i32, ptr %16, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %142
  %144 = load i64, ptr %143, align 8, !tbaa !11
  %145 = icmp sgt i64 %144, 0
  br i1 %145, label %146, label %175

146:                                              ; preds = %137
  %147 = load i32, ptr %16, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  %149 = srem i32 %148, 7
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !16, !range !18, !noundef !19
  %153 = trunc i8 %152 to i1
  br i1 %153, label %175, label %154

154:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %155 = load i32, ptr %16, align 4, !tbaa !5
  %156 = add nsw i32 %155, 1
  %157 = srem i32 %156, 7
  store i32 %157, ptr %17, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %158 unwind label %171

158:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %175

159:                                              ; preds = %118
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %14, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %264

163:                                              ; preds = %123
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %14, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %15, align 4
  br label %264

167:                                              ; preds = %129, %127
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %14, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %15, align 4
  br label %202

171:                                              ; preds = %154
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %14, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %202

175:                                              ; preds = %158, %146, %137
  %176 = load i32, ptr %16, align 4, !tbaa !5
  %177 = add nsw i32 %176, 6
  %178 = srem i32 %177, 7
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %179
  %181 = load i64, ptr %180, align 8, !tbaa !11
  %182 = icmp sgt i64 %181, 0
  br i1 %182, label %183, label %200

183:                                              ; preds = %175
  %184 = load i32, ptr %16, align 4, !tbaa !5
  %185 = add nsw i32 %184, 6
  %186 = srem i32 %185, 7
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 %187
  %189 = load i8, ptr %188, align 1, !tbaa !16, !range !18, !noundef !19
  %190 = trunc i8 %189 to i1
  br i1 %190, label %200, label %191

191:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %192 = load i32, ptr %16, align 4, !tbaa !5
  %193 = add nsw i32 %192, 6
  %194 = srem i32 %193, 7
  store i32 %194, ptr %18, align 4, !tbaa !5
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %195 unwind label %196

195:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %200

196:                                              ; preds = %191
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %14, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %202

200:                                              ; preds = %195, %183, %175
  br label %201

201:                                              ; preds = %200, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %123, !llvm.loop !20

202:                                              ; preds = %196, %171, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %264

203:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %204

204:                                              ; preds = %227, %203
  %205 = load i32, ptr %19, align 4, !tbaa !5
  %206 = icmp slt i32 %205, 7
  br i1 %206, label %208, label %207

207:                                              ; preds = %204
  store i32 16, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %230

208:                                              ; preds = %204
  %209 = load i32, ptr %19, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 %210
  %212 = load i8, ptr %211, align 1, !tbaa !16, !range !18, !noundef !19
  %213 = trunc i8 %212 to i1
  br i1 %213, label %226, label %214

214:                                              ; preds = %208
  %215 = load i32, ptr %19, align 4, !tbaa !5
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef %215)
          to label %217 unwind label %222

217:                                              ; preds = %214
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef @.str.2)
          to label %219 unwind label %222

219:                                              ; preds = %217
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %221 unwind label %222

221:                                              ; preds = %219
  br label %226

222:                                              ; preds = %219, %217, %214
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %14, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %264

226:                                              ; preds = %221, %208
  br label %227

227:                                              ; preds = %226
  %228 = load i32, ptr %19, align 4, !tbaa !5
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %19, align 4, !tbaa !5
  br label %204, !llvm.loop !21

230:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %231

231:                                              ; preds = %257, %230
  %232 = load i32, ptr %20, align 4, !tbaa !5
  %233 = icmp slt i32 %232, 7
  br i1 %233, label %235, label %234

234:                                              ; preds = %231
  store i32 19, ptr %9, align 4
  br label %260

235:                                              ; preds = %231
  %236 = load i32, ptr %20, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds [7 x i8], ptr %10, i64 0, i64 %237
  %239 = load i8, ptr %238, align 1, !tbaa !16, !range !18, !noundef !19
  %240 = trunc i8 %239 to i1
  br i1 %240, label %256, label %241

241:                                              ; preds = %235
  %242 = load i32, ptr %20, align 4, !tbaa !5
  %243 = add nsw i32 %242, 6
  %244 = srem i32 %243, 7
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %245
  %247 = load i64, ptr %246, align 8, !tbaa !11
  %248 = icmp ne i64 %247, 0
  br i1 %248, label %255, label %249

249:                                              ; preds = %241
  %250 = load i32, ptr %20, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %251
  %253 = load i64, ptr %252, align 8, !tbaa !11
  %254 = icmp ne i64 %253, 0
  br i1 %254, label %255, label %256

255:                                              ; preds = %249, %241
  store i1 false, ptr %1, align 1
  store i32 1, ptr %9, align 4
  br label %260

256:                                              ; preds = %249, %235
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %20, align 4, !tbaa !5
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %20, align 4, !tbaa !5
  br label %231, !llvm.loop !22

260:                                              ; preds = %255, %234
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  %261 = load i32, ptr %9, align 4
  switch i32 %261, label %263 [
    i32 19, label %262
  ]

262:                                              ; preds = %260
  store i1 true, ptr %1, align 1
  store i32 1, ptr %9, align 4
  br label %263

263:                                              ; preds = %262, %260
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 7, ptr %10) #6
  br label %265

264:                                              ; preds = %222, %202, %163, %159
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 7, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #6
  br label %267

265:                                              ; preds = %263, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #6
  %266 = load i1, ptr %1, align 1
  ret i1 %266

267:                                              ; preds = %264
  %268 = load ptr, ptr %14, align 8
  %269 = load i32, ptr %15, align 4
  %270 = insertvalue { ptr, i32 } poison, ptr %268, 0
  %271 = insertvalue { ptr, i32 } %270, i32 %269, 1
  resume { ptr, i32 } %271
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 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: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; 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 @_ZNSt5stackIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z2okv() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
.preheader61.preheader:
  %0 = alloca [7 x i64], align 16
  %1 = alloca [7 x i64], align 16
  %2 = alloca [7 x i8], align 1
  %3 = alloca i8, align 1
  %4 = alloca %"class.std::stack", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %0) #6
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %0)
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %17 = getelementptr inbounds i8, ptr %0, i64 40
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 48
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %21 = load i64, ptr %0, align 16, !tbaa !5
  %22 = add nsw i64 %21, -1
  store i64 %22, ptr %0, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %1) #6
  %23 = load i64, ptr %19, align 16, !tbaa !5
  %24 = load i64, ptr %17, align 8, !tbaa !5
  %25 = load i64, ptr %15, align 16, !tbaa !5
  %26 = load i64, ptr %13, align 8, !tbaa !5
  %27 = load i64, ptr %11, align 16, !tbaa !5
  %28 = load i64, ptr %9, align 8, !tbaa !5
  %29 = add i64 %22, %24
  %30 = add i64 %23, %25
  %31 = add i64 %29, %26
  %32 = add i64 %30, %27
  %33 = sub i64 %31, %32
  %34 = add nsw i64 %33, %28
  store i64 %34, ptr %1, align 16, !tbaa !5
  %35 = shl nsw i64 %28, 1
  %36 = sub nsw i64 %35, %34
  %37 = getelementptr inbounds i8, ptr %1, i64 8
  store i64 %36, ptr %37, align 8, !tbaa !5
  %38 = shl nsw i64 %27, 1
  %39 = sub nsw i64 %38, %36
  %40 = getelementptr inbounds i8, ptr %1, i64 16
  store i64 %39, ptr %40, align 16, !tbaa !5
  %41 = shl nsw i64 %26, 1
  %42 = sub nsw i64 %41, %39
  %43 = getelementptr inbounds i8, ptr %1, i64 24
  store i64 %42, ptr %43, align 8, !tbaa !5
  %44 = shl nsw i64 %25, 1
  %45 = sub nsw i64 %44, %42
  %46 = getelementptr inbounds i8, ptr %1, i64 32
  store i64 %45, ptr %46, align 16, !tbaa !5
  %47 = shl nsw i64 %24, 1
  %48 = sub nsw i64 %47, %45
  %49 = getelementptr inbounds i8, ptr %1, i64 40
  store i64 %48, ptr %49, align 8, !tbaa !5
  %50 = shl nsw i64 %23, 1
  %51 = sub nsw i64 %50, %48
  %52 = getelementptr inbounds i8, ptr %1, i64 48
  store i64 %51, ptr %52, align 16, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %53, i32 noundef 0)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull @.str.1)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %55, i64 noundef %34)
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %58, i32 noundef 1)
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @.str.1)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %60, i64 noundef %36)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %63, i32 noundef 2)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @.str.1)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %65, i64 noundef %39)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %68, i32 noundef 3)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @.str.1)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %70, i64 noundef %42)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %73, i32 noundef 4)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull @.str.1)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %75, i64 noundef %45)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %78, i32 noundef 5)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull @.str.1)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %80, i64 noundef %48)
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %83, i32 noundef 6)
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull @.str.1)
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %85, i64 noundef %51)
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %88 = icmp slt i64 %34, 0
  %89 = icmp slt i64 %36, 0
  %or.cond = select i1 %88, i1 true, i1 %89
  %90 = icmp slt i64 %39, 0
  %or.cond77 = select i1 %or.cond, i1 true, i1 %90
  %91 = icmp slt i64 %42, 0
  %or.cond78 = select i1 %or.cond77, i1 true, i1 %91
  %92 = icmp slt i64 %45, 0
  %or.cond79 = select i1 %or.cond78, i1 true, i1 %92
  %93 = icmp slt i64 %48, 0
  %or.cond80 = select i1 %or.cond79, i1 true, i1 %93
  %94 = icmp slt i64 %51, 0
  %or.cond81 = select i1 %or.cond80, i1 true, i1 %94
  br i1 %or.cond81, label %.loopexit, label %.critedge

.critedge:                                        ; preds = %.preheader61.preheader
  call void @llvm.lifetime.start.p0(i64 7, ptr nonnull %2) #6
  %95 = getelementptr inbounds i8, ptr %2, i64 7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  store i8 0, ptr %3, align 1, !tbaa !9
  call void @_ZSt4fillIPbbEvT_S1_RKT0_(ptr noundef nonnull %2, ptr noundef nonnull %95, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #6
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 0, ptr %5, align 4, !tbaa !11
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %96 unwind label %119

96:                                               ; preds = %.critedge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  %97 = call noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  br i1 %97, label %.preheader59, label %.lr.ph

.preheader59:                                     ; preds = %138, %96
  %98 = load i8, ptr %2, align 1, !tbaa !9, !range !13, !noundef !14
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %148, label %140

.lr.ph:                                           ; preds = %96, %138
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  %101 = load i32, ptr %100, align 4, !tbaa !11
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !9, !range !13, !noundef !14
  %105 = trunc nuw i8 %104 to i1
  br i1 %105, label %138, label %106

106:                                              ; preds = %.lr.ph
  store i8 1, ptr %103, align 1, !tbaa !9
  %107 = getelementptr inbounds [7 x i64], ptr %1, i64 0, i64 %102
  %108 = load i64, ptr %107, align 8, !tbaa !5
  %109 = icmp sgt i64 %108, 0
  br i1 %109, label %110, label %123

110:                                              ; preds = %106
  %111 = add nsw i32 %101, 1
  %112 = srem i32 %111, 7
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %113
  %115 = load i8, ptr %114, align 1, !tbaa !9, !range !13, !noundef !14
  %116 = trunc nuw i8 %115 to i1
  br i1 %116, label %123, label %117

117:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 %112, ptr %6, align 4, !tbaa !11
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %118 unwind label %121

118:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %123

119:                                              ; preds = %.critedge
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %235

121:                                              ; preds = %117
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %235

123:                                              ; preds = %118, %110, %106
  %124 = add nsw i32 %101, 6
  %125 = srem i32 %124, 7
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [7 x i64], ptr %1, i64 0, i64 %126
  %128 = load i64, ptr %127, align 8, !tbaa !5
  %129 = icmp sgt i64 %128, 0
  br i1 %129, label %130, label %138

130:                                              ; preds = %123
  %131 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %126
  %132 = load i8, ptr %131, align 1, !tbaa !9, !range !13, !noundef !14
  %133 = trunc nuw i8 %132 to i1
  br i1 %133, label %138, label %134

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 %125, ptr %7, align 4, !tbaa !11
  invoke void @_ZNSt5stackIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %135 unwind label %136

135:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %138

136:                                              ; preds = %134
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %235

138:                                              ; preds = %123, %130, %135, %.lr.ph
  %139 = call noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  br i1 %139, label %.preheader59, label %.lr.ph, !llvm.loop !15

140:                                              ; preds = %.preheader59
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 0)
          to label %142 unwind label %146

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @.str.2)
          to label %144 unwind label %146

144:                                              ; preds = %142
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %148 unwind label %146

146:                                              ; preds = %206, %204, %202, %196, %194, %192, %186, %184, %182, %176, %174, %172, %166, %164, %162, %156, %154, %152, %144, %142, %140
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %235

148:                                              ; preds = %.preheader59, %144
  %149 = getelementptr inbounds i8, ptr %2, i64 1
  %150 = load i8, ptr %149, align 1, !tbaa !9, !range !13, !noundef !14
  %151 = trunc nuw i8 %150 to i1
  br i1 %151, label %158, label %152

152:                                              ; preds = %148
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 1)
          to label %154 unwind label %146

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull @.str.2)
          to label %156 unwind label %146

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %158 unwind label %146

158:                                              ; preds = %156, %148
  %159 = getelementptr inbounds i8, ptr %2, i64 2
  %160 = load i8, ptr %159, align 1, !tbaa !9, !range !13, !noundef !14
  %161 = trunc nuw i8 %160 to i1
  br i1 %161, label %168, label %162

162:                                              ; preds = %158
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 2)
          to label %164 unwind label %146

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef nonnull @.str.2)
          to label %166 unwind label %146

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %168 unwind label %146

168:                                              ; preds = %166, %158
  %169 = getelementptr inbounds i8, ptr %2, i64 3
  %170 = load i8, ptr %169, align 1, !tbaa !9, !range !13, !noundef !14
  %171 = trunc nuw i8 %170 to i1
  br i1 %171, label %178, label %172

172:                                              ; preds = %168
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 3)
          to label %174 unwind label %146

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull @.str.2)
          to label %176 unwind label %146

176:                                              ; preds = %174
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %178 unwind label %146

178:                                              ; preds = %176, %168
  %179 = getelementptr inbounds i8, ptr %2, i64 4
  %180 = load i8, ptr %179, align 1, !tbaa !9, !range !13, !noundef !14
  %181 = trunc nuw i8 %180 to i1
  br i1 %181, label %188, label %182

182:                                              ; preds = %178
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 4)
          to label %184 unwind label %146

184:                                              ; preds = %182
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef nonnull @.str.2)
          to label %186 unwind label %146

186:                                              ; preds = %184
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %188 unwind label %146

188:                                              ; preds = %186, %178
  %189 = getelementptr inbounds i8, ptr %2, i64 5
  %190 = load i8, ptr %189, align 1, !tbaa !9, !range !13, !noundef !14
  %191 = trunc nuw i8 %190 to i1
  br i1 %191, label %198, label %192

192:                                              ; preds = %188
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 5)
          to label %194 unwind label %146

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull @.str.2)
          to label %196 unwind label %146

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %198 unwind label %146

198:                                              ; preds = %196, %188
  %199 = getelementptr inbounds i8, ptr %2, i64 6
  %200 = load i8, ptr %199, align 1, !tbaa !9, !range !13, !noundef !14
  %201 = trunc nuw i8 %200 to i1
  br i1 %201, label %.preheader.preheader, label %202

202:                                              ; preds = %198
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, i32 noundef 6)
          to label %204 unwind label %146

204:                                              ; preds = %202
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %203, ptr noundef nonnull @.str.2)
          to label %206 unwind label %146

206:                                              ; preds = %204
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.preheader unwind label %146

.preheader.preheader:                             ; preds = %206, %198
  %208 = load i8, ptr %2, align 1, !tbaa !9, !range !13, !noundef !14
  %209 = trunc nuw i8 %208 to i1
  br i1 %209, label %.preheader.1, label %210

210:                                              ; preds = %.preheader.preheader
  %.not = icmp eq i64 %50, %48
  %.not50 = icmp eq i64 %34, 0
  %or.cond82 = select i1 %.not, i1 %.not50, i1 false
  br i1 %or.cond82, label %.preheader.1.thread, label %.critedge54

.preheader.1:                                     ; preds = %.preheader.preheader
  %211 = load i8, ptr %149, align 1, !tbaa !9, !range !13, !noundef !14
  %212 = trunc nuw i8 %211 to i1
  br i1 %212, label %.preheader.2, label %215

.preheader.1.thread:                              ; preds = %210
  %213 = load i8, ptr %149, align 1, !tbaa !9, !range !13, !noundef !14
  %214 = trunc nuw i8 %213 to i1
  br i1 %214, label %.preheader.2, label %.thread

215:                                              ; preds = %.preheader.1
  %216 = or i64 %34, %28
  %or.cond83 = icmp eq i64 %216, 0
  br i1 %or.cond83, label %.preheader.2.thread, label %.critedge54

.thread:                                          ; preds = %.preheader.1.thread
  %.not50.1.old = icmp eq i64 %35, %34
  br i1 %.not50.1.old, label %.preheader.2.thread, label %.critedge54

.preheader.2:                                     ; preds = %.preheader.1.thread, %.preheader.1
  %217 = load i8, ptr %159, align 1, !tbaa !9, !range !13, !noundef !14
  %218 = trunc nuw i8 %217 to i1
  br i1 %218, label %.preheader.3, label %221

.preheader.2.thread:                              ; preds = %215, %.thread
  %219 = load i8, ptr %159, align 1, !tbaa !9, !range !13, !noundef !14
  %220 = trunc nuw i8 %219 to i1
  %.not50.2 = icmp eq i64 %38, %36
  %or.cond84 = select i1 %220, i1 true, i1 %.not50.2
  br i1 %or.cond84, label %.preheader.3, label %.critedge54

221:                                              ; preds = %.preheader.2
  %.not.2 = icmp eq i64 %35, %34
  %.not50.2.old = icmp eq i64 %38, %36
  %or.cond85 = select i1 %.not.2, i1 %.not50.2.old, i1 false
  br i1 %or.cond85, label %.preheader.3, label %.critedge54

.preheader.3:                                     ; preds = %221, %.preheader.2.thread, %.preheader.2
  %222 = load i8, ptr %169, align 1, !tbaa !9, !range !13, !noundef !14
  %223 = trunc nuw i8 %222 to i1
  br i1 %223, label %.preheader.4, label %224

224:                                              ; preds = %.preheader.3
  %.not.3 = icmp eq i64 %38, %36
  %.not50.3 = icmp eq i64 %41, %39
  %or.cond86 = select i1 %.not.3, i1 %.not50.3, i1 false
  br i1 %or.cond86, label %.preheader.4, label %.critedge54

.preheader.4:                                     ; preds = %224, %.preheader.3
  %225 = load i8, ptr %179, align 1, !tbaa !9, !range !13, !noundef !14
  %226 = trunc nuw i8 %225 to i1
  br i1 %226, label %.preheader.5, label %227

227:                                              ; preds = %.preheader.4
  %.not.4 = icmp eq i64 %41, %39
  %.not50.4 = icmp eq i64 %44, %42
  %or.cond87 = select i1 %.not.4, i1 %.not50.4, i1 false
  br i1 %or.cond87, label %.preheader.5, label %.critedge54

.preheader.5:                                     ; preds = %227, %.preheader.4
  %228 = load i8, ptr %189, align 1, !tbaa !9, !range !13, !noundef !14
  %229 = trunc nuw i8 %228 to i1
  br i1 %229, label %.preheader.6, label %230

230:                                              ; preds = %.preheader.5
  %.not.5 = icmp eq i64 %44, %42
  %.not50.5 = icmp eq i64 %47, %45
  %or.cond88 = select i1 %.not.5, i1 %.not50.5, i1 false
  br i1 %or.cond88, label %.preheader.6, label %.critedge54

.preheader.6:                                     ; preds = %230, %.preheader.5
  %231 = load i8, ptr %199, align 1, !tbaa !9, !range !13, !noundef !14
  %232 = trunc nuw i8 %231 to i1
  br i1 %232, label %234, label %233

233:                                              ; preds = %.preheader.6
  %.not.6 = icmp eq i64 %47, %45
  %.not50.6 = icmp eq i64 %50, %48
  %or.cond89 = select i1 %.not.6, i1 %.not50.6, i1 false
  br i1 %or.cond89, label %234, label %.critedge54

234:                                              ; preds = %233, %.preheader.6
  br label %.critedge54

.critedge54:                                      ; preds = %.preheader.2.thread, %234, %233, %230, %227, %224, %221, %.thread, %215, %210
  %.lcssa = phi i1 [ false, %210 ], [ false, %215 ], [ false, %.thread ], [ false, %221 ], [ false, %224 ], [ false, %227 ], [ false, %230 ], [ false, %233 ], [ true, %234 ], [ false, %.preheader.2.thread ]
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 7, ptr nonnull %2) #6
  br label %.loopexit

235:                                              ; preds = %121, %136, %146, %119
  %.pn.pn = phi { ptr, i32 } [ %147, %146 ], [ %120, %119 ], [ %137, %136 ], [ %122, %121 ]
  call void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 7, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %0) #6
  resume { ptr, i32 } %.pn.pn

.loopexit:                                        ; preds = %.preheader61.preheader, %.critedge54
  %.3 = phi i1 [ %.lcssa, %.critedge54 ], [ false, %.preheader61.preheader ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %0) #6
  ret i1 %.3
}

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 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: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; 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 @_ZNSt5stackIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5stackIiSt5dequeIiSaIiEEE5emptyEv(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(4) ptr @_ZNSt5stackIiSt5dequeIiSaIiEEE3topEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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